Skip to content
ExactUnit

Time / ms → ns

Convert Milliseconds to Nanoseconds

Convert fixed elapsed durations from nanoseconds to weeks. Convert Milliseconds (ms) to Nanoseconds (ns). Find the formula, worked examples, unit definitions, and practical guidance below.

Reverse: Nanoseconds to Milliseconds →

Unit converter
Edit either value
1 ms = 1000000 ns

Results rounded to 12 significant digits.

How to convert milliseconds to nanoseconds

Days mean exactly 86400 seconds here. Calendar months and years vary and are deliberately excluded; this is not a date, time-zone, or leap-second calculator.

Use x for the value in ms, b for the intermediate value in s, and y for the result in ns.

ns = ms × 0.001 ÷ 1e-9

Worked examples

  • 10 ms ≈ 10000000 ns

    Step 1: (10 × 0.001) ≈ 0.01 s.
    Step 2: 0.01 ÷ 1e-9 ≈ 10000000 ns.

  • 20 ms ≈ 20000000 ns

    Step 1: (20 × 0.001) ≈ 0.02 s.
    Step 2: 0.02 ÷ 1e-9 ≈ 20000000 ns.

Results are rounded to 12 significant digits. Converting units does not increase the precision of the original measurement. Very large or small values outside JavaScript’s finite numeric range are rejected.

About Milliseconds

Milliseconds (ms) measures time under the conventions above. The base value in s is (x × 0.001), where x is the numerical value in ms. Factors shown here are rounded for display; calculations use the stored factor.

About Nanoseconds

Nanoseconds (ns) measures time under the conventions above. The base value in s is (x × 1e-9), where x is the numerical value in ns. Factors shown here are rounded for display; calculations use the stored factor.

Definitions and sources

Carry the same physical assumptions into subsequent physics calculations.

Milliseconds to nanoseconds reference table

Common milliseconds values converted to nanoseconds
Milliseconds (ms)Nanoseconds (ns)
11000000
55000000
1010000000
2525000000
5050000000
100100000000
10001000000000

Browse every time conversion →

Popular conversions

A shortcut to your next answer