Bandwidth Cost Calculator
PerformanceEnter your monthly data transfer volume and per-GB price to get an instant bandwidth cost estimate. Works with AWS, GCP, Azure, Cloudflare, and any pay-per-GB provider.
Last updated: April 2026
This calculator is designed for real-world usage based on typical engineering scenarios and publicly available documentation.
The bandwidth cost calculator gives you the monthly egress bill for any cloud provider or CDN in seconds. Enter your transfer volume, per-GB price, and optional free tier allowance — the calculator handles the arithmetic and shows you exactly what you will be billed. Cloud egress is consistently one of the most underestimated line items on infrastructure bills. AWS charges $0.09/GB for outbound transfer in us-east-1; GCP charges $0.08–$0.12/GB depending on destination; Cloudflare and Bunny CDN start as low as $0.01/GB. A service pushing 50 TB/month can see monthly bandwidth costs swing from under $500 to over $4,500 depending purely on provider and delivery strategy. Use this calculator before choosing a CDN or cloud region, when planning a migration, or when investigating a surprise bill spike. The free-tier field handles the first-N-GB-free structure used by most cloud providers — enter zero to model straightforward pay-per-GB plans without any included allowance. For a fuller picture of infrastructure cost, pair this calculator with the Throughput Calculator to understand transfer rates over time, and the Latency Budget Calculator to model the performance tradeoffs of your CDN and origin strategy.
How to Calculate Bandwidth Cost
1. Find your provider's per-GB egress price — check the AWS EC2 data transfer page, GCP Network pricing, or your CDN's pricing documentation. 2. Estimate your monthly outbound transfer in GB. Use your monitoring dashboard, or multiply average response size × daily requests × 30. 3. Enter any free tier allowance — AWS gives 100 GB/month free on EC2; Cloudflare's CDN includes unlimited free egress to end users. 4. The calculator subtracts the free tier from your total transfer to get billable GB. 5. Multiply billable GB by the per-GB price to get your monthly bandwidth cost. 6. Scale to an annual projection by multiplying your monthly result by 12.
Formula
Billable GB = max(0, Monthly Transfer GB − Free Tier GB) Monthly Cost = Billable GB × Price per GB Monthly Transfer GB — total outbound data transferred in a calendar month Free Tier GB — GB included at no charge (enter 0 if your plan has none) Price per GB — provider's egress rate (e.g. $0.09 for AWS us-east-1 to internet)
Example Bandwidth Cost Calculations
Example 1 — AWS EC2 egress at 5 TB/month
Monthly Transfer: 5,120 GB (5 TB) Free Tier: 100 GB (AWS free tier) Billable GB: 5,020 GB Price per GB: $0.09 (EC2 us-east-1 to internet) ───────────────────────────────────── Monthly Cost: $451.80 → $5,421.60/year
Example 2 — CloudFront CDN at 50 TB/month
Monthly Transfer: 51,200 GB (50 TB) Free Tier: 1,000 GB (CloudFront free tier) Billable GB: 50,200 GB Price per GB: $0.009 (CloudFront first 10 TB tier, blended) ───────────────────────────────────── Monthly Cost: $451.80 → Same bill, 10× more transfer — CDN caching reduces origin egress 80%+
Example 3 — Cloudflare R2 (zero egress)
Monthly Transfer: 51,200 GB (50 TB of static assets) Free Tier: Unlimited (R2 egress to Cloudflare CDN is free) Billable GB: 0 GB Price per GB: $0.00 ───────────────────────────────────── Monthly Cost: $0.00 → R2 storage ($0.015/GB/month) replaces all bandwidth charges for static content
Tips to Reduce Bandwidth Costs
- › Switch from EC2 direct egress ($0.09/GB) to CloudFront CDN ($0.009/GB for the first 10 TB) — a 10× cost reduction for any cacheable content at production volumes.
- › Enable gzip or Brotli compression at your CDN or origin. Text-based responses (HTML, JSON, JS) typically compress 70–80%, cutting your billable GB by the same amount.
- › Use Cloudflare R2 or Backblaze B2 for static asset storage — both charge zero egress fees when serving through Cloudflare's CDN edge, eliminating bandwidth costs for images, videos, and builds.
- › Co-locate your origin and storage in the same cloud region. Cross-AZ traffic within AWS costs $0.01/GB each way on top of your internet egress charge — avoidable with same-AZ placement.
- › Set up daily transfer alerts in CloudWatch, GCP Monitoring, or your CDN dashboard. Unexpected spikes from hot content, scraping bots, or DDoS traffic are easiest to catch before the monthly bill lands.
- › Negotiate a committed-use or volume discount with your CDN if you exceed 1 PB/month. Most providers offer 20–40% off list price at that scale — a direct conversation with your account rep is worth the 30 minutes.
Notes
- › Results are estimates and may vary based on actual usage.
- › Always validate against your production environment.