Skip to content
Omnikalc

CDN savings calculator

Enter the monthly traffic, the cache hit ratio and the price per GB of the origin egress and of the CDN to get the monthly cost with and without a CDN, the saving, the break-even hit ratio and the average latency.

Updated on
Your inputs
GB

Value out of range

%

Value out of range

$

Value out of range

$

Value out of range

ms

Value out of range

ms

Value out of range

Results

Monthly saving

$730.00

The CDN reduces the delivery bill
Cost without a CDN
$1,800.00
Cost with a CDN
$1,070.00
Saving as a share of the bill
40.6 %
Traffic still served by the origin
3,000 GB
Break-even hit ratio
44.4 %
Average latency
58.5 ms

The CDN savings calculator compares the monthly delivery cost with and without a content delivery network, from the traffic, the cache hit ratio and the price per gigabyte, and gives the break-even hit ratio and the average latency.

How the calculation works

  • Enter the monthly traffic and the cache hit ratio.
  • Enter the origin egress price and the CDN price per GB.
  • Enter the latency of a hit and of a miss.
  • The calculator gives the saving, the two costs, the share saved, the traffic reaching the origin, the break-even hit ratio and the average latency.

Example

For 20,000 GB a month at an origin price of $0.09, the bill without a CDN is $1,800.00. With a CDN at $0.04 and an 85 % hit ratio, it is 20,000 × 0.04 plus the 3,000 GB of misses at the origin price, or $1,070.00. The saving is $730.00, or 40.6 %. The break-even hit ratio is 0.04 / 0.09 = 44.4 %, and the average latency is 58.5 ms.

Why it matters

The calculator helps website owners, developers and finance teams who decide whether to put a CDN in front of a site, a download service or a video platform.

Good to know

The model is deliberately simple. Real CDN prices depend on the region, the volume tier and the number of requests, and some include a monthly fee or a commit. Origin egress may be free if the origin is on the same provider as the CDN, in which case the break-even hit ratio drops to zero and the CDN mostly saves latency. Cache hit ratios can be measured by bytes or by requests, and the two differ when large files are rarely cached. Try several hit ratios to see how sensitive the bill is: moving from 70 % to 90 % can cut the origin traffic by two thirds. Keep in mind that free tiers and discounts can change the picture for small sites.

The cloud storage cost calculator covers storage and egress fees, the download time calculator estimates transfers, the network latency calculator explores delays and the break-even calculator treats fixed costs.

Frequently asked questions

When does a CDN save money?

Every gigabyte costs the CDN price, and the share that misses the cache also costs the origin egress price. The CDN is cheaper when hit ratio × origin price is greater than the CDN price, so the break-even hit ratio is CDN price / origin price. With $0.04 and $0.09, it is 44 %.

Is the saving only about the bill?

No. A CDN also cuts the load on the origin servers, which can then be smaller, and brings content closer to the visitors, so the average latency falls. The calculator weights the hit and miss latencies by the hit ratio to show it. It does not value the resilience against traffic peaks.

How can I raise the hit ratio?

Use long cache lifetimes for static files with versioned names, avoid query strings and cookies that split the cache, and add a shield or tiered cache so that misses from many edges hit the origin only once. Personalized pages are hard to cache, so they lower the ratio.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.