Works on this device
Memory Latency Calculator
Memory timings are printed in clock cycles, so a higher number is not always slower. This tool turns a whole set of timings into nanoseconds, compares two kits, and finds the cycle counts for another data rate. You type the figures from the label of your memory.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Memory timings in nanoseconds.
- Enter the data rate. It is the number in the name of the memory: 3200 for DDR4-3200, 6000 for DDR5-6000.
- Type the timings in the rows, or paste them as printed, such as
16-18-18-38, and choose Read into rows. - Choose Calculate. The table shows each timing in nanoseconds.
- To compare two kits or to change the data rate, choose the other options in the menu.
The formula
Time in nanoseconds = clock cycles × 2000 ÷ data rate in MT/s.
The data rate counts transfers, and one clock cycle carries two transfers. So at 3200 MT/s the clock runs at 1600 MHz and one cycle lasts 2000 ÷ 3200 = 0.625 ns.
- CL (CAS latency): the delay from a read command to the first data. In nanoseconds it is called the first word latency.
- tRCD: the delay from opening a row to a read or write.
- tRP: the time to close a row.
- tRAS: the shortest time a row stays open.
- tRC, the shortest row cycle, is tRAS + tRP.
Worked example
DDR4-3200 with the timings 16-18-18-38. One cycle lasts 0.625 ns. CL: 16 × 0.625 = 10 ns. tRCD and tRP: 18 × 0.625 = 11.25 ns each. tRAS: 38 × 0.625 = 23.75 ns. A read from a closed row takes tRCD + CL = 21.25 ns.
Compare with DDR5-6000 with 30-38-38-96. One cycle lasts 0.3333 ns, so CL is 30 × 2000 ÷ 6000 = 10 ns. The two kits have the same first word latency, although 30 looks much higher than 16.
To run the first kit at 3600 MT/s with the same times, the counts become 18-21-21-43. For example 18 × 3600 ÷ 3200 = 20.25, which is rounded up to 21 cycles.
Limits you should know
- These are the delays inside the memory. The time a program waits for data is longer, because the processor and the memory controller add their own delays.
- The tool does not know your memory, board or processor. It cannot tell whether a data rate or a set of timings will work. Test for errors after any change.
- Latency is one side of memory speed. A higher data rate also moves more data each second. See the Memory Bandwidth Calculator.
- A timing string has at most four numbers here: CL, tRCD, tRP and tRAS. Add other timings as extra rows in the first option.
- For the CAS latency alone, you can also use the CAS Latency Calculator.