How much origin bandwidth do you need with a 95 % CDN hit ratio?
10 million views of 1 MB move 10 TB a month at the edge. With 95 % cache hits, the origin serves just 500 GB, about $45 at an example $0.09/GB.
Last updated:
Monthly transfer
10TB
- Monthly transfer (GB)
- 10,000 GB
- Served from origin
- 500 GB
- Average throughput
- 30.9 Mbps
- Peak throughput
- 123 Mbps
- Origin egress cost
- $45.00
Results are engineering estimates for planning. Final designs must follow your local code and be checked by a qualified professional.
This scenario at a glance
| Page views / requests | 10,000,000 per month |
|---|---|
| Transfer size per view | 1 MB |
| CDN cache hit ratio | 95 % |
| Peak-to-average factor | 4 |
| Origin egress price | 0.09 $/GB |
| Monthly transfer | 10 TB |
|---|---|
| Monthly transfer (GB) | 10,000 GB |
| Served from origin | 500 GB |
| Average throughput | 30.9 Mbps |
| Peak throughput | 123 Mbps |
| Origin egress cost | $45.00 |
Engineering notes for this workload
At ten million views a month, the difference between edge traffic and origin traffic becomes the central number in hosting cost. A web app transferring 1 MB per view moves 10 TB a month to users, an average of about 31 Mbps and a peak of about 125 Mbps with a peak factor of 4.
With a CDN cache hit ratio of 95 % by bytes, only 5 % of that traffic, 500 GB, comes from the origin. At an example cloud egress rate of $0.09 per GB, origin egress costs about $45 a month instead of about $900 without a CDN. Whether the CDN itself bills for the 10 TB depends on the provider and plan; compare plans on both bandwidth and request pricing.
Reaching 95 % requires deliberate cache design. Fingerprint static assets (app.3f9c2.js) and serve them with Cache-Control: public, max-age=31536000, immutable. Cache HTML for anonymous users with short TTLs or stale-while-revalidate, and keep personalized responses out of shared caches with Cache-Control: private. Avoid cookies and query strings that fragment the cache key unnecessarily.
Measure the hit ratio by bytes, not by requests. A site can have a 98 % request hit ratio while large uncached downloads dominate origin egress. CDN analytics usually show both; use the byte ratio in this calculator.
Origin capacity planning follows from the miss traffic: 5 % of 125 Mbps peak is about 6 Mbps at the origin, plus cache revalidations. That is modest, but a cache purge after a deployment temporarily sends everything to the origin. Purge selectively by tag or path, and warm critical pages after a release.
Finally, review the egress pricing tiers of your cloud provider: rates usually fall with volume, and some offer free egress to specific CDNs.
Track the byte hit ratio after every major release, because new asset paths or cookies can quietly reduce it.
Reference table
| Item | Typical size | Notes |
|---|---|---|
| Median web page (all resources) | 2–3 MB | HTTP Archive median, mobile slightly lower |
| HTML document (compressed) | 20–100 KB | Brotli/gzip |
| Hero image (WebP/AVIF) | 50–300 KB | Responsive sizes help |
| JavaScript bundle | 300–800 KB | Often the largest cost on mobile |
| JSON API response | 1–50 KB | Compress and paginate |
| 1080p video, 1 minute | 30–60 MB | 4–8 Mbps bitrate |
| 4K video, 1 minute | 110–190 MB | 15–25 Mbps bitrate |
Measure your own pages in the browser’s network panel (transferred, not resource size).
Questions about this scenario
What is a good CDN cache hit ratio?
Above 90 % by bytes is good for content sites and static assets; dynamic apps often reach 70–90 % with careful headers.
How much does a CDN save on egress?
In this example about $855 a month: origin egress falls from 10 TB to 500 GB.
Should I measure cache hits by requests or bytes?
By bytes for cost estimates, because a few large uncached files can dominate egress.