ratio.

Find a tool

Browse all tools and categories β†—
COMPUTING

Two Level Cache Average Access Time Calculator

Calculate average memory access time and path probabilities for serial L1, L2 and memory lookups.

Enter your values

01 / INPUT
Calculated on your device

YOUR CALCULATION

Result

β€”

Calculation steps

Work through one step at a time or reveal the complete calculation. The steps use your current inputs.

    How to calculate

    Weight each serial path by its probability. L2 hit rate is conditional on an L1 miss; all requests pay L1 lookup time.

    AMAT=t1+(1βˆ’h1)[t2+(1βˆ’h2)tm]

    Worked example

    L1 hit 90%, conditional L2 hit 80%, times 1 ns + 5 ns + 100 ns give AMAT=1+0.1(5+0.2Γ—100)=3.5 ns.

    Assumptions and input details

    Times are incremental costs, not already accumulated path latencies. Hit rates are entered long-run proportions. The model is blocking and serial; no overlapping lookup, prefetch, write buffer, cache-line transfer, bandwidth saturation or contention is included. Path contributions sum to the average. Rates of 0% and 100% are supported.

    Using this calculator

    Can I enter my own problem?

    Yes. Replace the example values with your own inputs. The result, calculation steps, tables and applicable diagrams update from those inputs. Blank or invalid values clear the result; example values are never silently substituted for missing inputs.

    Are the results exact?

    Results use floating-point arithmetic and displayed rounding. Read the formula, assumptions and any stated data precision before interpreting the result.

    Is my input uploaded?

    The calculation runs in your browser. No account, file upload or external AI service is required. Inputs are not saved between page reloads.

    RELATED TOOL Β· COMPUTINGData Transfer Calculator

    Find transfer time, required nominal speed or data size. Distinguish bits, bytes, decimal and binary units and include an explicit effective-throughput percentage.

    RELATED TOOL Β· COMPUTINGRaster Row Stride and Memory Calculator

    Calculate uncompressed interleaved raster storage with bit packing, byte alignment and multiple independent images.

    RELATED TOOL Β· NUMBER THEORYExact Modular Exponentiation Calculator

    Calculate a large integer power modulo a positive integer without constructing the full power.

    ADVERTISEMENT

    Reserved advertising space.