How to convert ms to ns
1 Millisecond is equal to 1,000,000 nanoseconds, so every ms value can be changed to ns with one quick step. This ms to ns converter gives the exact answer as you type, and the guide below shows how to do it by hand.
Searching “ms to ns”, “millisecond to nanosecond” or “millisecond in nanoseconds”? It is the same conversion — the answer is above.
Millisecond to Nanosecond formula
Since 1 Millisecond = 1,000,000 nanoseconds, the rule is ns = ms × 1,000,000. In words: multiply the number of milliseconds by 1,000,000 to get nanoseconds.
ns = ms × 1,000,000
Examples: ms to ns step by step
Typical situations: internet ping, game lag, reaction time and computer timings.
Example 1: 20 ms to ns
- Start with the value: 20 ms.
- Multiply by 1,000,000 (because 1 ms = 1,000,000 ns).
- 20 × 1,000,000 = 20,000,000 ns.
Example 2: 250 ms to ns
- Start with the value: 250 ms.
- Multiply by 1,000,000 (because 1 ms = 1,000,000 ns).
- 250 × 1,000,000 = 250,000,000 ns.
Example 3: 5,000 ms to ns
- Start with the value: 5,000 ms.
- Multiply by 1,000,000 (because 1 ms = 1,000,000 ns).
- 5,000 × 1,000,000 = 5,000,000,000 ns.
What is a Millisecond (ms)?
A millisecond (ms) is one thousandth of a second.
What is a Nanosecond (ns)?
A nanosecond (ns) is one billionth of a second.
Where is ms to ns used?
Time conversions help with work hours, billing, loans, project plans and science. In practice ms appears in internet ping, game lag, reaction time and computer timings; ns is used for computer processors, RAM latency and fibre optics.
Nanosecond to Millisecond (reverse)
To go the other way, 1 Nanosecond = 0.000001 ms, so you divide ns by 1,000,000. For example, 1,000,000 ns is back to 1 ms. Use the Nanosecond to Millisecond converter for that direction.
1 ms in other units
0.001 s
1,000 µs
0.00001667 min
2.777778e-7 h
1.157407e-8 d
1.653439e-9 wk
3.802649e-1 mo
3.168874e-11 yr
3.168874e-12 dec
1,000,000 ns
Good to know
A Millisecond is bigger than a Nanosecond — about 1,000,000 times — so the number in ns is always larger than the number in ms.
Months and years have different lengths, so this converter uses averages (1 month = 30.44 days). For exact dates use a date calculator.
Quick answers: 2 ms = 2,000,000 ns; 10 ms = 10,000,000 ns; 20 ms = 20,000,000 ns; 250 ms = 250,000,000 ns; 5,000 ms = 5,000,000,000 ns.