Convert Milliseconds to Nanoseconds

Milliseconds → Nanoseconds
ms × 1000000 = ns ns × 0.000001 = ms

To convert milliseconds (ms) to nanoseconds (ns), multiply the milliseconds value by 1000000. 1 ms = 1000000 ns, and 1 ns = 0.000001 ms. The conversion is a linear scaling with no offset, so the same factor applies to any value.

Going the other way? Convert ns to ms.

ms to ns table
Milliseconds (ms) Nanoseconds (ns)
0.1 ms 100000 ns
0.5 ms 500000 ns
1 ms 1000000 ns
2 ms 2000000 ns
5 ms 5000000 ns
10 ms 10000000 ns
20 ms 20000000 ns
50 ms 50000000 ns
100 ms 100000000 ns
500 ms 500000000 ns
1000 ms 1000000000 ns
Common time ranges
Typical real-world values (s)
Application Typical range
PLC / control cycle 0.001 – 0.01 s
Motion settling time 0.01 – 0.5 s
Typical positioning move 0.5 – 5 s
Process / batch cycle 5 – 300 s