CDN Bandwidth Cost Calculator

Estimate CDN bandwidth costs for CloudFront, Cloudflare, or Fastly based on monthly data delivery volume. Plan your content delivery budget accurately.

Provider Presets
GB
M
M
GB
%
%
Bandwidth Cost
$850.00
10,000 GB across 3 pricing tiers
Request Cost
$95.00
HTTP $50.00 + HTTPS $45.00
Origin Shield
$20.00
2,000 GB shielded
Monthly CDN Cost
$981.00
all fees included
Annual CDN Cost
$11,772.00
12-month projection
Cost per TB
$98.10
effective blended rate
Cost per 10k Requests
$0.0119
HTTP + HTTPS combined
Cache Miss Cost
$16.00
0.08% miss rate

Cost Breakdown

Bandwidth 86.6%
Other

Tier Pricing Breakdown

TierGB UsedRate ($/GB)Cost
Tier 1 (first 10,240 GB)10,000$0.085$850.00
Tier 2 (next 40,960 GB)0$0.080$0.00
Tier 3 (over 51,200 GB)0$0.060$0.00
Total Bandwidth10,000โ€”$850.00

Monthly Cost Summary

Cost CategoryMonthlyAnnualShare
Bandwidth Transfer$850.00$10,200.000.87%
Request Processing$95.00$1,140.000.10%
Origin Shield$20.00$240.000.02%
Real-Time Logging$0.00$0.000.00%
Cache Miss Penalty$16.00$192.000.02%
Total$981.00$11,772.00100%
Planning notes, formulas, and examples

About the CDN Bandwidth Cost Calculator

Content Delivery Networks accelerate content delivery by caching it at edge locations worldwide. While CDNs improve performance, bandwidth costs scale directly with traffic volume. CloudFront, Cloudflare, Fastly, and other CDNs each use different pricing models โ€” some charge per GB delivered, others offer flat-rate or bundled pricing.

AWS CloudFront charges per GB of data transfer out with tiered pricing that decreases at higher volumes. Cloudflare offers unlimited bandwidth on paid plans. Fastly charges per GB with competitive rates. Understanding these differences is crucial for choosing a cost-effective CDN.

This calculator models per-GB CDN pricing, helping you estimate monthly costs based on your delivery volume. Compare against direct cloud egress to quantify CDN savings, and use the results to negotiate volume discounts with your CDN provider.

When This Page Helps

CDN costs scale linearly with traffic, and a sudden traffic spike or viral content can generate unexpected bills. This calculator helps you forecast CDN expenses based on expected bandwidth, compare providers, and evaluate the ROI of CDN versus direct origin serving. Many teams find CDN bandwidth is 20โ€“50% cheaper than direct cloud egress.

How to Use the Inputs

  1. Enter the total data delivered through the CDN per month in GB.
  2. Set the per-GB rate for your CDN provider and plan.
  3. Optionally enter HTTPS request charges (some CDNs charge per request).
  4. Enter the monthly number of HTTPS requests in millions.
  5. Review the total monthly CDN cost breakdown.
  6. Compare against direct origin egress costs to quantify savings.
Formula used
Bandwidth Cost = delivery_GB ร— per_GB_rate Request Cost = requests_millions ร— per_million_rate Total Monthly = Bandwidth Cost + Request Cost

Example Calculation

Result: $850.50/month

Ten thousand GB delivered through CloudFront at $0.085/GB costs $850 in data transfer. Fifty million HTTPS requests at $0.01/10K adds $0.50. Total CDN cost: $850.50/month, compared to $900/month for direct S3 egress.

Tips & Best Practices

  • CloudFront data transfer starts at $0.085/GB (US/Europe) and decreases with volume.
  • Cloudflare Pro ($20/mo) includes unlimited bandwidth for most sites.
  • Optimize cache hit ratio to reduce origin fetches and associated egress costs.
  • Use HTTP/2 and Brotli compression to reduce delivered bytes significantly.
  • Set appropriate cache TTLs โ€” longer TTLs improve hit ratios and reduce costs.
  • CloudFront to S3 origin transfer is free, making it cheaper than direct S3 egress.

CDN Pricing Model Comparison

CloudFront charges per GB plus per request with tiered volume discounts. Cloudflare offers flat-rate plans with unlimited bandwidth for web traffic. Fastly charges per GB with real-time purging included. Akamai uses custom enterprise pricing. Choose based on your traffic profile: high-bandwidth video favors per-GB models; many small requests favor flat-rate.

Optimizing CDN Costs

The most impactful optimization is improving cache hit ratio. A 95% hit ratio means only 5% of requests reach your origin, dramatically reducing both CDN costs (fewer origin fetches) and origin infrastructure costs. Use cache analytics to identify low-hit-ratio paths and adjust caching rules.

CDN vs Direct Origin Serving

For static content, CDNs almost always save money versus direct egress, even before considering performance benefits. For dynamic content that cannot be cached, CDNs still add value through TLS termination, DDoS protection, and HTTP/2 optimization, though cost savings may be minimal.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Yes. CloudFront data transfer starts at $0.085/GB versus $0.09/GB for direct S3 egress to the internet. Additionally, S3 to CloudFront transfer is free, making CloudFront strictly cheaper for content served from S3.