Time / s → ns
Convert Seconds to Nanoseconds
Convert fixed elapsed durations from nanoseconds to weeks. Convert Seconds (s) to Nanoseconds (ns). Find the formula, worked examples, unit definitions, and practical guidance below.
Reverse: Nanoseconds to Seconds →
How to convert seconds 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 s, b for the intermediate value in s, and y for the result in ns.
ns = s ÷ 1e-9
Worked examples
10 s ≈ 10000000000 ns
Step 1: (10 × 1) ≈ 10 s.
Step 2: 10 ÷ 1e-9 ≈ 10000000000 ns.20 s ≈ 20000000000 ns
Step 1: (20 × 1) ≈ 20 s.
Step 2: 20 ÷ 1e-9 ≈ 20000000000 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 Seconds
Seconds (s) measures time under the conventions above. The base value in s is (x × 1), where x is the numerical value in s. 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.
Seconds to nanoseconds reference table
| Seconds (s) | Nanoseconds (ns) |
|---|---|
| 1 | 1000000000 |
| 5 | 5000000000 |
| 10 | 10000000000 |
| 25 | 25000000000 |
| 50 | 50000000000 |
| 100 | 100000000000 |
| 1000 | 1000000000000 |
Browse every time conversion →