Average memory access time calculator
Estimate average access time from cache hit time, miss rate, and miss penalty. Enter your values below to see the result and method.
inputs.
Related calculators and articles
Cache hit rate and CPU timing tools help separate cache behavior from a system’s broader execution time.
How to use the Average memory access time calculator
Estimate average access time from cache hit time, miss rate, and miss penalty. Use the free tool above without creating an account.
What it calculates
Estimate average access time from cache hit time, miss rate, and miss penalty. The output reflects the input definitions and conventions used by the formula, so keep formats and units consistent when comparing scenarios.
Inputs and units
Enter hit time and additional miss penalty in nanoseconds, plus miss rate as a percentage (5 means 5%, not 0.05).
- Cache hit time (ns): enter a value in the unit shown; the browser checks the accepted format and range.
- Miss rate (%): enter a value in the unit shown; the browser checks the accepted format and range.
Miss penalty is the additional delay after a cache miss, in nanoseconds.
Formula and method
AMAT = hit time + miss rate × miss penalty
Convert the entered miss-rate percent to a fraction, and treat miss penalty as additional delay after hit time.
Worked example
With 1 ns hit time, 5% misses, and 60 ns miss penalty, AMAT is 4 ns.
How to interpret the result
The result is average access time under a single-level cache model, where miss penalty is added after the hit-time component.
Assumptions and limitations
Enter miss rate as a percent. The simple one-level model assumes the stated miss penalty is additional to the cache hit time.
Frequently asked questions
How is average memory access time calculated here?
AMAT = hit time + miss rate × miss penalty. Convert the entered miss-rate percentage to a fraction before multiplying.
Is miss penalty the total time for a miss?
In this one-level model it is additional delay after the hit-time component. If a source defines penalty as total miss time, avoid adding hit time twice.
What does a 5% miss rate mean?
It is a fraction of 0.05. With 1 ns hit time and a 60 ns additional penalty, AMAT is 1+0.05×60=4 ns.
How do I use the Average memory access time calculator?
Enter Cache hit time (ns), Miss rate (%). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Average memory access time?
With 1 ns hit time, 5% misses, and 60 ns miss penalty, AMAT is 4 ns.
Read the calculation methodology and privacy policy.