Skip to main content
Calcimator

CDN Cost Calculator

Estimate monthly CDN costs from bandwidth, request volume, and feature usage.

About this calculator

This calculator builds a monthly CDN bill from the same line items providers like CloudFront, Fastly, and Cloudflare actually invoice against. Bandwidth is converted from terabytes to gigabytes and multiplied by your per-GB rate — the single biggest lever for most sites. Requests are billed separately in blocks of 10,000, since CDNs meter HTTP/HTTPS requests independently of the bytes they carry, so a site with many small cacheable requests (API calls, images) can rack up request costs even with modest bandwidth. Custom SSL certificates are added as a flat per-certificate monthly charge, which matters if you're not using the CDN's shared or free certificate.

Origin shield — a caching layer that sits between the CDN's edge nodes and your origin server to reduce origin load — is modeled here as adding roughly 15% to your bandwidth cost, reflecting the extra hop's data transfer, in exchange for cutting origin egress and load, a real saving this calculator doesn't itemize but is worth weighing against the surcharge. Everything is summed into a monthly total and annualized, and two blended metrics — effective cost per GB and cost per million requests — are calculated so you can compare pricing plans or CDN vendors on an apples-to-apples basis regardless of how their pricing is structured. Actual invoices often add tiered discounts at volume and regional pricing differences that this flat per-GB, per-10k-request model doesn't itemize, so use it to compare vendors and plans rather than to predict the exact number on next month's bill.

Inputs

Results

Monthly CDN cost

$869.20

Annual CDN cost

$10,430.40

Bandwidth cost$819.20
Request cost$50.00
Origin shield cost$0.00
Effective cost per GB$0.08
Cost per million requests$17.38
How to Use This Calculator
  1. Enter Monthly Bandwidth (TB) and the CDN Bandwidth Price per GB.
  2. Input Monthly Requests (millions) and Price per 10k Requests.
  3. Enter the number of Custom SSL Certificates and their monthly cost.
  4. Toggle Origin Shield to include that cost if applicable.
  5. Review Monthly CDN Cost, Annual CDN Cost, and the breakdown by Bandwidth, Requests, and Extras.

How the result changes with Monthly bandwidth (TB)

Monthly bandwidth (TB)Monthly CDN costAnnual CDN cost
5$459.60$5,515.20
7.5$664.40$7,972.80
15$1,278.80$15,345.60
25$2,098.00$25,176.00

What each input means

Monthly bandwidth (TB)
Total data transferred from CDN edge to end users per month.
Price per GB ($)
CDN charge per GB of data transfer (CloudFront ~$0.085, Cloudflare Pro = $0, Fastly ~$0.08).
Monthly requests (millions)
Total HTTP/HTTPS requests served by the CDN per month.
Price per 10k requests ($)
CDN charge per 10,000 HTTP requests (CloudFront HTTPS ~$0.01/10k).
Custom SSL certificates
Number of custom SSL/TLS certificates (many CDNs include one free).
SSL cert monthly cost ($)
Monthly cost per custom SSL certificate ($0 if included in plan).
Origin shield (0=no, 1=yes)
Enable origin shield to reduce origin fetches (adds ~15% to bandwidth cost).

What each result means

Monthly CDN cost
Total estimated monthly CDN bill.
Annual CDN cost
Projected 12-month CDN spend.
Bandwidth cost
Monthly data transfer charges.
Request cost
Monthly HTTP request charges.
Origin shield cost
Additional cost for origin shield feature.
Effective cost per GB
All-in cost per GB including requests and features.
Cost per million requests
All-in cost per million requests served.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Monthly bandwidth (TB) = 10, Price per GB ($) = 0.08, Monthly requests (millions) = 50, Price per 10k requests ($) = 0.01 = 7 input(s) provided
  2. Calculate Monthly CDN cost
    Monthly CDN cost = bandwidthCost + requestCost + sslCost + originShieldCost
    869.2 = $869.2
  3. Calculate Annual CDN cost
    Annual CDN cost = monthlyCost * 12
    10430.4 = $10,430.4
  4. Calculate Bandwidth cost
    Bandwidth cost = bandwidthGB * bandwidthPricePerGB
    819.2 = $819.2
  5. Calculate Request cost
    Request cost = requestUnits * requestPricePer10k
    50 = $50

Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why are bandwidth and request costs billed separately instead of one combined rate?

CDNs meter data transfer and HTTP requests as two independent resources, because a request that returns a tiny cached response still consumes edge compute and connection overhead regardless of its payload size. This calculator mirrors that by computing bandwidthCost from your monthly terabytes and requestCost from your monthly request count separately, then summing them — so a site full of small, frequently-requested assets (API responses, thumbnails) can have a low bandwidth bill but a surprisingly large request bill.

How does enabling origin shield change the total cost, and is it worth it?

Turning on Origin Shield adds a flat 15% surcharge on top of your calculated bandwidth cost, modeling the extra data transfer for the shield's cache-to-cache hop. The calculator doesn't itemize the offsetting benefit — fewer requests hitting your origin server, which can mean real savings on your own hosting or egress bill — so whether it's worth the 15% depends on comparing that surcharge against what a spike in origin traffic would cost you elsewhere.

What do the 'effective cost per GB' and 'cost per million requests' figures actually represent?

Both are blended metrics that divide your total monthly cost (bandwidth + requests + SSL + origin shield) by a single dimension — total GB served or total millions of requests — rather than isolating just the bandwidth or request line items. That makes them useful for comparing two different CDN plans or vendors even when one prices mostly by bandwidth and another prices mostly by requests, since the blended number reflects your actual traffic mix.

When would the SSL certificate cost actually be nonzero?

Most CDNs bundle a free shared or auto-provisioned certificate, so the default SSL cert monthly cost is $0. It only becomes a real line item if you need a dedicated custom certificate — for example, a specific EV cert or one issued outside the CDN's automated system — in which case you'd enter the number of certificates and each one's monthly charge, and the calculator multiplies them together into sslCost.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Technology & Computing.