Skip to content
ENExplore Calculators

CDN Cost Calculator

Work out cdn cost instantly with clear inputs, formula shown and shareable results.

About CDN Cost Calculator

CDN cost has three components: delivery to end users, request charges, and origin egress for the misses. The hit rate controls the third, which is billed at full origin egress rates — so improving the hit rate from 92 to 98 percent cuts origin cost by three quarters even though delivery volume is unchanged.

Formula

CDN cost

delivery = TB x 1000 x CDN rate; requests = requests / 10000 x request rate; origin = TB x 1000 x (1 - hit rate) x origin egress rate

Worked example

With the default values below, CDN Cost Calculator returns Monthly CDN cost of $8,364.00. Change any input above and every figure here is recalculated in your browser.

Inputs used

Data delivered per monthminimum 0 TB
120 TB
CDN price per GBminimum 0
0.055
Requests per monthminimum 0 millions
900 millions
Cache hit rateaccepts 0–100 %
92 %

Results

Monthly CDN cost
$8,364.00
Data delivery
$6,600.00
Request charges
$900.00
Origin egress for cache misses
$864.00

Step by step

  1. 1Values used
  2. 2CDN cost
  3. 3Monthly CDN cost= 8,364.00
  4. 4Data delivery= 6,600.00
  5. 5Request charges= 900.00
  6. 6Origin egress for cache misses= 864.00

Assumptions and limits

  • The result is derived only from the 4 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to 2 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

How is the cache hit rate improved?

Longer TTLs, cache keys that ignore irrelevant query parameters and cookies, and origin shielding so multiple edge locations do not each fetch the same object.

Is a CDN cheaper than direct egress?

Almost always for public content, both because per-gigabyte rates are lower and because the hit ratio removes most origin traffic. Committed-volume contracts reduce it further.

CDN Cost Calculator | Calcrivo