Skip to content
ExactUnit

Time / ns → ms

Convert Nanoseconds to Milliseconds

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

Reverse: Milliseconds to Nanoseconds →

Unit converter
Edit either value
1 ns = 0.000001 ms

Results rounded to 12 significant digits.

How to convert nanoseconds to milliseconds

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 ns, b for the intermediate value in s, and y for the result in ms.

ms = ns × 1e-9 ÷ 0.001

Worked examples

  • 10 ns ≈ 0.00001 ms

    Step 1: (10 × 1e-9) ≈ 1e-8 s.
    Step 2: 1e-8 ÷ 0.001 ≈ 0.00001 ms.

  • 20 ns ≈ 0.00002 ms

    Step 1: (20 × 1e-9) ≈ 2e-8 s.
    Step 2: 2e-8 ÷ 0.001 ≈ 0.00002 ms.

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 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.

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.

Definitions and sources

Carry the same physical assumptions into subsequent physics calculations.

Nanoseconds to milliseconds reference table

Common nanoseconds values converted to milliseconds
Nanoseconds (ns)Milliseconds (ms)
10.000001
50.000005
100.00001
250.000025
500.00005
1000.0001
10000.001

Browse every time conversion →

Popular conversions

A shortcut to your next answer