Where does the 2,000 come from? One RAM calculation explained

Robot’s RAM Upgrade · Episode 5 of 10

The question: how do I calculate CAS delay, and where does the 2,000 come from?

Where does the 2,000 come from? One RAM calculation explained
CAS delay (ns) = CL × 1,000 ÷ (MT/s ÷ 2) = CL × 2,000 ÷ MT/s. The shortcut works for DDR4 too.Select the sketch to open it full size.

Quick rule: CAS delay in nanoseconds = CL × 2,000 ÷ MT/s.
Common mistake: using the advertised transfer rate as the clock frequency. The clock runs at half that figure.

What it means

The 2,000 is 2 × 1,000:

  • The 2: DDR means double data rate. Memory sends data twice per clock cycle, so the clock speed in MHz is half the MT/s figure. DDR5-6400 runs a 3,200 MHz clock.
  • The 1,000: a 1 MHz clock has a cycle of 1,000 nanoseconds (ns), so cycle time in ns = 1,000 ÷ MHz.
  • Together: 1,000 ÷ (MT/s ÷ 2) = 2,000 ÷ MT/s.

Worked example, DDR5-6400 CL32:

  • Clock speed: 6,400 ÷ 2 = 3,200 MHz
  • Cycle time: 1,000 ÷ 3,200 = 0.3125 ns
  • CAS delay: 32 × 0.3125 = 10 ns
  • Shortcut: 32 × 2,000 ÷ 6,400 = 10 ns

The same shortcut works for DDR4.

RAM timing calculator

Enter the numbers from a kit’s label. Add a second kit to compare. Leave any timing blank if the label does not list it.

Kit A
Kit B (optional)

The calculator converts label numbers into time. It does not predict how fast your applications will run.

What to check

  • The transfer rate in MT/s.
  • CL in clock cycles.
  • That your result is in nanoseconds.

Not sure what fits? Send us your computer model and what you use it for. We check compatibility before you buy.

Ask us to check

All episodes

Sources

General guidance. Check the documentation for your exact hardware before you buy. Full notice.