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.
Related tools
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.