Cloud Storage, CDN Bandwidth & Egress Cost Calculator
Model monthly infrastructure expenditure across object storage classes, CDN edge cache-hit ratios, and Class A/B API operations.
Workload & Routing Parameters
Includes base storage volume and minimum retention commitments.
Models origin cache-miss fetches plus regional CDN edge delivery.
Expenditure Breakdown by Vector
Lowest-Cost Provider Stacks
Ranked by Monthly TCOHow Cloud Storage & Egress TCO Is Calculated
Origin Fills vs. Edge Delivery
When a CDN serves 100 TB of monthly traffic at an 88% cache-hit ratio, 88 TB is billed at the lower CDN edge rate while 12 TB is fetched from origin storage. Adding an Origin Shield PoP collapses duplicate regional misses, reducing origin bandwidth exposure further.
Hyperscaler vs. Bandwidth Alliance
Legacy hyperscalers (AWS S3, GCP, Azure) subsidize storage hardware by charging 5x–10x markups on outbound internet egress ($0.085–$0.14/GB). Modern S3-compatible stores like Cloudflare R2 and Backblaze B2 eliminate origin egress fees across peered CDN networks.
Lifecycle Tiering Break-Even Math
Moving data to Infrequent Access or Archive tiers cuts per-GB storage rates by 45%–80%, but introduces per-GB retrieval fees ($0.01–$0.03/GB) and 2x–4x higher API operation costs. Workloads with high read velocity frequently lose money when prematurely tiered down.
Cloud Storage & CDN Engineering Reference
18 technical specifications covering egress mathematics, S3 lifecycle formulas, Origin Shielding, and NAT Gateway avoidance.
The Mathematics of Cloud Egress: AWS S3 & Inter-AZ Transfer Costs
Formulas for tiered public egress, cross-AZ replication charges, and peering breakeven thresholds.
AWS S3 vs Cloudflare R2: Zero-Egress Storage & API Economics
Evaluating S3 API compatibility, Class A/B request pricing, and TTFB latency across global workloads.
CDN Cache-Hit Ratio Engineering: Cache-Control & Key Normalization
Configuring s-maxage, stale-while-revalidate, and query-string stripping to push offload above 95%.
Object Storage Lifecycle Tiering: Standard vs IA vs Glacier Math
Calculating exact access-frequency breakeven points and avoiding 128 KB minimum object size penalties.
Eliminating AWS NAT Gateway Fees with Gateway VPC Endpoints
Routing private subnet S3 and DynamoDB traffic over free Gateway Endpoints instead of $0.045/GB NAT nodes.
AI Training Dataset & Checkpoint Storage: Parallel Reads & Egress
Designing multi-cloud GPU training pipelines without incurring massive cross-provider dataset egress bills.
Technical Frequently Asked Questions
1 GiB = 1,073,741,824 bytes) while network interfaces measure transfer in decimal gigabytes (1 GB = 1,000,000,000 bytes). Consequently, 100 TB of decimal files occupies 90.95 TiB of binary storage, creating a 7.37% unit conversion discrepancy on raw invoice line items.
$0.00/GB) for origin cache misses. However, you still pay S3 Class B GET request fees on every origin fetch, CloudFront regional data transfer-out to the internet, and CloudFront per-10,000 HTTPS request charges.
PUT or LIST calls must carefully audit Class A operation charges.