Millisecond is 0.001 second units.
Milliseconds to Nanoseconds Converter — ms to ns
Convert Millisecond (ms) to Nanosecond (ns) using the exact conversion factor (1 millisecond = 1,000,000 nanosecond). See the formula, worked examples, and conversion table.
Milliseconds to Nanoseconds converter
Converter
Time Converter
Convert SI time, civil time, historical durations, months, and years.
Nanosecond is 1e-9 second units.
Result = input x 0.001 / 1e-9.
Months and years use the average Gregorian year.
Reserved above the conversion cards and below the converter.
About Converting Milliseconds to Nanoseconds
Millisecond and Nanosecond are both everyday units of duration, and converting between them is one of the most routine calculations there is — scheduling, project planning, and billing all depend on it. Specifically: Millisecond is 0.001 second units, and nanosecond is 1e-9 second units.
Formula
nanoseconds = milliseconds × 1000000
This factor comes from each unit's defined relationship to the category's base unit: 1 millisecond equals 0.001 base units, and 1 nanosecond equals 1e-9 base units, so dividing one by the other gives the direct millisecond-to-nanosecond factor of 1000000.
Simple example
1 ms × 1000000 = 1,000,000 ns
1 millisecond = 1,000,000 nanoseconds.
Real-world example
24 ms × 1000000 = 24,000,000 ns
24 milliseconds = 24,000,000 nanoseconds.
Conversion table
| Millisecond (ms) | Nanosecond (ns) |
|---|---|
| 1 ms | 1,000,000 ns |
| 7 ms | 7,000,000 ns |
| 24 ms | 24,000,000 ns |
| 30 ms | 30,000,000 ns |
| 100 ms | 100,000,000 ns |
| 365 ms | 365,000,000 ns |
Reverse conversion: Nanosecond to Millisecond
1 ns × 0.000001 = 0.000001 ms
1 nanosecond = 0.000001 milliseconds.
milliseconds = nanoseconds × 0.000001
For a page dedicated to this direction, see Nanosecond to Millisecond.
Understanding the Millisecond (ms)
Millisecond is 0.001 second units.
Understanding the Nanosecond (ns)
Nanosecond is 1e-9 second units.
Reserved between the cards and the FAQ so the page stays balanced.
Frequently asked questions
How many nanoseconds are in 1 millisecond?
1 millisecond equals 1,000,000 nanoseconds, using the exact defined conversion factor rather than an estimate.
How do I convert millisecond to nanosecond?
Multiply the millisecond value by 1000000. The converter above does this instantly to whatever precision you set.
How do I convert nanosecond back to millisecond?
Use the reverse factor: 1 nanosecond equals 0.000001 milliseconds. You can also use the swap control in the converter above to flip the direction instantly.
What is a millisecond?
Millisecond (ms) is a unit of time.
What is a nanosecond?
Nanosecond (ns) is a unit of time.
Is the millisecond to nanosecond conversion exact?
Yes. Both millisecond and nanosecond are defined by fixed standards rather than physical artifacts, so the factor of 1000000 used above is exact to as many digits as you choose to display.