Table of contents
Nanoseconds to milliseconds Conversion
1 nanosecond (ns) is equal to 0.000001 milliseconds (msec).
1 ns = 0.000001 msec
or
1 msec = 1,000,000 ns
Formula
To convert a time from nanoseconds (ns) to milliseconds (msec), divide the time in nanoseconds by 1,000,000
t(msec) = t(ns) / 1,000,000
Examples:
Convert 30 nanoseconds to milliseconds:
t(msec) = 30ns / 1,000,000 = 0.00003 msec
Conversion table
| Nanoseconds (ns) | Milliseconds (msec) |
|---|---|
| 1 ns | 0.000001 msec |
| 2 ns | 0.000002 msec |
| 3 ns | 0.000003 msec |
| 5 ns | 0.000005 msec |
| 10 ns | 0.00001 msec |
| 15 ns | 0.000015 msec |
| 20 ns | 0.00002 msec |
| 25 ns | 0.000025 msec |
| 30 ns | 0.00003 msec |
| 50 ns | 0.00005 msec |
| 60 ns | 0.00006 msec |
| 90 ns | 0.00009 msec |
| 100 ns | 0.0001 msec |
| 120 ns | 0.00012 msec |
| 250 ns | 0.00025 msec |
| Milliseconds (msec) | Nanoseconds (ns) |
|---|---|
| 1 msec | 1,000,000 ns |
| 2 msec | 2,000,000 ns |
| 3 msec | 3,000,000 ns |
| 5 msec | 5,000,000 ns |
| 10 msec | 10,000,000 ns |
| 15 msec | 15,000,000 ns |
| 20 msec | 20,000,000 ns |
| 25 msec | 25,000,000 ns |
| 30 msec | 30,000,000 ns |
| 50 msec | 50,000,000 ns |
| 60 msec | 60,000,000 ns |
| 90 msec | 90,000,000 ns |
| 100 msec | 100,000,000 ns |
| 120 msec | 120,000,000 ns |
| 250 msec | 250,000,000 ns |
Frequently asked questions
How do I convert nanoseconds to milliseconds?
Divide the value in nanoseconds by 1,000,000 to get the result in milliseconds. For example, 5 ns ÷ 1,000,000 = 0.000005 msec.
How many milliseconds are in 1 nanosecond?
1 nanosecond (ns) is equal to 0.000001 milliseconds (msec).
How do I convert milliseconds back to nanoseconds?
Use the inverse operation: multiply the value in milliseconds by 1,000,000 to get the result in nanoseconds.
How accurate is the nanoseconds to milliseconds conversion?
The converter multiplies by the conversion factor 1,000,000 and rounds the result to 6 decimal places by default. You can increase or reduce the precision with the digits option on this page.
Sources
Conversion factors are based on internationally recognised standards:
- BIPM — The International System of Units (SI Brochure, 9th edition)
- The Unified Code for Units of Measure (UCUM), Version 2.2 (2024-06-17)
- ISO 80000-3:2019 — Quantities and units — Part 3: Space and time
- NIST Guide to the SI (SP 811), Chapter 6: Rules and Style Conventions for Printing and Using Units
- CLDR Unit Conversions chart (supplemental data, latest release) - convertibility classes and conversion factors only