OneWebDesk

Bandwidth Cost Calculator

Estimate monthly bandwidth/CDN cost from traffic and unit price.

In hosting, cloud and CDN bills, bandwidth (data transfer) is the line item that grows fastest as traffic rises. This bandwidth cost calculator lets you enter your monthly traffic directly, or derive total transfer from an average page size and monthly page views, then multiplies it by a per-GB price to show monthly and yearly cost at a glance.

Use it to budget infrastructure for a new service, to compare how much image and video optimization cuts your transfer cost, or to quote CDN versus direct hosting transfer fees. All calculations run entirely in your browser and your inputs are never sent anywhere.

Estimated bandwidth cost
Total transfer (GB)500
Monthly cost45.00
Yearly cost540.00

Two input modes

If you already know your transfer volume, use (A) Monthly traffic and enter it in GB or TB. For a new service without traffic stats yet, (B) Page size × page views is handier: enter your average page weight (bytes transferred) and expected monthly page views to estimate total transfer.

  • Conversions use binary units: 1 TB = 1024 GB, 1 MB = 1024 KB.
  • Total transfer = average page size (GB) × monthly page views
  • Monthly cost = total transfer (GB) × price per GB; yearly cost = monthly × 12

How to reduce transfer

Bandwidth cost is ultimately the number of bytes you ship. For the same traffic, these optimizations cut transfer significantly.

  • Image optimization: switching to WebP/AVIF and resizing properly can halve image weight or more.
  • Compression: using Brotli instead of Gzip further shrinks text assets (HTML/CSS/JS). Confirm it is actually active with the compression check.
  • Cache headers: a long Cache-Control max-age on static assets drops repeat-visit transfer to zero.
  • CDN: a higher edge cache hit ratio reduces origin transfer, and CDN per-GB pricing is often cheaper than direct egress.
  • Lazy loading: deferring off-screen images and video avoids shipping bytes nobody consumes.

Estimation caveats

Provider pricing usually has a free tier followed by tiered rates, and the per-GB price varies by region. This calculator uses a single flat rate, so it may not match your bill exactly. Also budget headroom for traffic spikes from launches or viral events.

Frequently asked questions

Is 1 TB 1000 GB or 1024 GB?
This calculator uses binary units (1 TB = 1024 GB, 1 MB = 1024 KB). Some providers bill in decimal units (1 TB = 1000 GB), which can cause a ~2-5% difference.
What value should I use for page size?
Use the 'Transferred' total from your browser DevTools Network tab when loading a page, averaged across typical pages. Post-compression bytes give the most accurate result.
Can the monthly cost differ from my actual bill?
Yes. Free tiers, tiered pricing, per-region rates and per-request fees are not captured by a single flat GB price. This tool is for quick estimates.
Are my inputs sent to a server?
No. Everything is computed in your browser; your traffic volume, price and other inputs are never stored or transmitted.
Is a CDN cheaper than direct hosting?
It depends on volume and pricing. Enter each provider's per-GB price to compare monthly and yearly cost. With a high cache hit ratio, a CDN often wins.

Related tools