Example 1
- 950 hits
- 50 misses
95.0%
What cache hit ratio at 950 and 50? 95.0%. Requests, not byte-hit.
Type hits and misses. 950 and 50 give 95.0%. 800 and 200 give 80.0%. 99 and 1 give 99.0%. This is a request hit ratio, not a byte share.
This is request counts: hits / (hits + misses). Not byte-hit and not GB volume. Call cost sits on cost per request.
Enter data and click Calculate.
Cache hit ratio in this calculator is a request count. 950 hits and 50 misses give 95.0%. 800 and 200 give 80.0%. 99 and 1 give 99.0%. The formula is hits / (hits + misses) × 100. This is not a byte-hit ratio and not the share of gigabytes served from cache.
A hit is a request served from cache. A miss is a request that went farther. 95.0% at 950 and 50 means 50 of 1000 requests skip cache. The calculator does not weigh responses in bytes. A large miss and a small hit count the same.
Both numbers must come from the same window. Hits from a day and misses from an hour break the ratio. A CDN layer and Redis are two separate hit ratios. Here you type one pair.
Cost per request next door multiplies a price per million by a call count. Here only the percentage stays. 95.0% is not an invoice. 80.0% at 800 and 200 is still 200 requests outside cache.
Type 950 and 50, then Calculate. The result is 95.0%. A comma in 950,5 works. Zero in both fields gives no ratio, because there is no divide by zero.
950 and 50 give 95.0%. 800 and 200 give 80.0%. 99 and 1 give 99.0%. A different request pair gives a different hit ratio.
hit ratio = hits / (hits + misses) × 100
Hit ratio = hits / (hits + misses). 950 and 50 give 95.0%. Requests, not byte-hit.
95.0%
What cache hit ratio at 950 and 50? 95.0%. Requests, not byte-hit.
80.0%
What hit ratio at 800 and 200? 80.0%. 200 requests miss cache.
99.0%
What hit ratio at 99 and 1? 99.0%. Still a request count.
95.0%. 950 / 1000 requests. This is not byte-hit.
80.0%. 200 of 1000 requests leave cache.
99.0%. 99 / 100 requests. Still a request count.
No. The calculator counts requests. A large response and a small one count the same.
No. It is a share of requests. Byte volume is outside this calculator.
Not in one entry. One pair, one layer, one window.
There is no ratio, because we do not divide by zero. Type at least one request.
Yes. 950,5 and 50 give a different hit ratio than 950 and 50.
That card is price / 1e6 × count. Here 950 and 50 stay 95.0%.
The calculator counts bits, bytes or throughput from your numbers. Below are SI and bit definitions (NIST).
Page updated in 2026.
Cache hit ratio is the share of requests served from cache without falling through to a slower origin (database, disk, API, or CDN origin). A hit means the response came from cache; a miss means data had to be fetched or recomputed. Always measure it over a defined time window — the last hour, day, or the period between deploys.
The ratio only makes sense when both counts come from the same period and the same cache layer. Hits from a day and misses from an hour produce a false picture. Likewise: mixing CDN edge metrics with Redis, or summing several clusters without a clear definition of “request.”
Every miss adds latency and origin load. At 90% hit ratio the backend still handles 10% of traffic; at 99%, only 1%. Moving from 90% to 99% is therefore a 10× cut in origin calls — not “just 9 percentage points.”