# Nanoseconds to Seconds (ns to s)

Source: https://www.unitconvertercalculator.com/time/nanoseconds-to-seconds/

**1 ns = 1.0E-9 s**

One second contains exactly 1,000,000,000 nanoseconds (10⁹), so to convert nanoseconds to seconds you divide by 1,000,000,000. This conversion spans nine orders of magnitude — the largest single-step jump in the standard time unit system — bridging the realm of individual transistor cycles and atomic events with the human-perceptible second.

The conversion is most used when profiling the cumulative performance of code that runs millions or billions of times. A sorting function that takes 500 nanoseconds per call, invoked 1 billion times, costs 500,000,000,000 nanoseconds = 500 seconds of total CPU time — a calculation that makes performance optimisation decisions immediately legible at the second scale.

In GPS and precision navigation, atomic clock signals are transmitted with nanosecond-level timing accuracy. The GPS system maintains synchronisation to within ±20 nanoseconds (0.00000002 seconds) across its satellite constellation. This nanosecond precision translates to positional accuracy of ±6 metres (since light travels approximately 30 cm per nanosecond, and GPS uses signal timing to determine position). Converting between nanoseconds and seconds is fundamental to understanding why GPS accuracy is ultimately limited by the speed of light and atomic clock precision.

In particle physics, the lifetimes of unstable subatomic particles are measured in nanoseconds and compared against reaction timescales in seconds. The muon, produced by cosmic ray interactions in the upper atmosphere, has a mean lifetime of approximately 2,197 nanoseconds (0.000002197 seconds). Without relativistic time dilation, muons would decay before reaching Earth's surface from 15 kilometres altitude — but at near-light speeds, their nanosecond lifetime stretches to allow detection at ground level.

## Formula

Divide the nanosecond value by 1,000,000,000

## Conversion Table

| Nanoseconds (ns) | Seconds (s) |
|---|---|
| 20 ns | 2.0E-8 s |
| 100 ns | 1.0E-7 s |
| 1000 ns | 1.0E-6 s |
| 2197 ns | 2.197E-6 s |
| 10000 ns | 1.0E-5 s |
| 100000 ns | 0.0001 s |
| 1000000 ns | 0.001 s |
| 100000000 ns | 0.1 s |
| 1000000000 ns | 1 s |
| 5000000000 ns | 5 s |

## Units

### Nanosecond (ns)

One billionth of a second. The timescale at which modern computer processors and semiconductors operate, and at which light travels roughly 30 centimeters.

### Second (s)

The SI base unit of time, defined by the radiation frequency of the caesium-133 atom. Used universally in science, engineering, and everyday timekeeping.

## Background

The nanoseconds-to-seconds conversion is used in radio astronomy and very long baseline interferometry (VLBI), where signals from distant radio sources arrive at widely separated antennas with nanosecond-level timing differences. Converting these nanosecond delays to seconds and then to light-travel distances enables astronomers to measure the separation between continents and monitor continental drift at millimetre precision.

In semiconductor testing, automated test equipment (ATE) characterises chip timing specifications at nanosecond resolution across billions of test vectors. A chip with a 10 nanosecond (0.00000001 second) setup time for its data inputs must be verified across millions of test cases — each specified in nanoseconds but the total test suite running for seconds to minutes of wall-clock time.

In laser rangefinding and LIDAR (Light Detection And Ranging), the time of flight of laser pulses is measured in nanoseconds and converted to distances via the speed of light. A LIDAR pulse that returns after 100 nanoseconds (0.0000001 seconds) has travelled 100 × 0.3 m = 30 metres (round-trip), placing the target object at 15 metres distance. Autonomous vehicle LIDAR systems perform this nanoseconds-to-seconds-to-metres conversion thousands of times per second to build real-time 3D maps of the vehicle's surroundings.

## Good to Know

1,000,000,000 nanoseconds per second — one billion — is one of the most evocative large numbers in science. Carl Sagan's 'billions and billions' was famously parodied, but the nanosecond-to-second conversion literally requires a billion: exactly the number that separates the atomic world of transistors from the human world of heartbeats.

## FAQ

### How many nanoseconds are in a second?

There are exactly 1,000,000,000 nanoseconds in one second — one billion nanoseconds. A nanosecond is 10⁻⁹ seconds, so it takes one billion of them to make a full second. This 10⁹ relationship is why converting between nanoseconds and seconds always involves moving the decimal point 9 places.

### How do I convert nanoseconds to seconds?

Divide the number of nanoseconds by 1,000,000,000. For example, 500,000,000 nanoseconds ÷ 1,000,000,000 = 0.5 seconds. For 2,197 nanoseconds (the muon lifetime), the result is 0.000002197 seconds. For 1,000,000,000 nanoseconds, the result is exactly 1 second.

### How precise is GPS timing in seconds?

GPS maintains satellite clock synchronisation to within ±20 nanoseconds, which corresponds to ±0.00000002 seconds. At the speed of light (0.3 m/nanosecond), 20 nanoseconds corresponds to ±6 metres of positional uncertainty. Consumer GPS receivers typically achieve 3–5 metre accuracy, meaning timing precision of approximately 10–17 nanoseconds (0.00000001 to 0.000000017 seconds) is required for this positional resolution.

## Non-Frequently Asked Questions

### Grace Hopper famously handed out 'nanoseconds' — pieces of wire 30 cm long — to explain how far light travels in 1 nanosecond. How long a wire would represent 1 second?

1 second × 1,000,000,000 nanoseconds × 30 cm/nanosecond = 300,000,000 cm = 3,000 kilometres of wire. To represent 1 second in Grace Hopper's 'nanosecond wire' demonstration, you would need 3,000 km of wire — roughly the length of the US East Coast from Maine to Florida and back. Hopper reportedly said she kept the nanosecond wires short so they fit in her pocket; the second-wire would require its own logistics fleet.

### A sneeze lasts approximately 150 milliseconds = 150,000,000 nanoseconds. In that time, at a CPU speed of 3 GHz, how many complete programs could a computer theoretically execute?

150,000,000 nanoseconds ÷ (1/3,000,000,000) nanoseconds/cycle = 450,000,000 CPU cycles during one sneeze. A simple 'Hello World' program in C compiles to approximately 10,000 to 50,000 instructions. Complete programs executable during one sneeze: 450,000,000 ÷ 25,000 ≈ 18,000. A modern computer could theoretically execute approximately 18,000 complete simple programs during the time it takes you to sneeze — which, given that most people sneeze with their eyes closed, suggests that significant computational potential is being wasted during nasal emergencies.

### The SI definition of the second uses caesium-133 oscillations. How many such oscillations occur in 1 nanosecond — and does that seem like a reasonable way to define a unit?

The SI second is defined as exactly 9,192,631,770 caesium-133 oscillations. Per nanosecond: 9,192,631,770 ÷ 1,000,000,000 ≈ 9.19 oscillations per nanosecond — about 9 complete waves in a billionth of a second. This seems like an entirely unreasonable number until you consider that the caesium hyperfine frequency was chosen specifically because it is extremely stable and reproducible, not because it is memorable or convenient. The second, as officially defined, is 9.19 caesium waves per nanosecond — a definition that prioritises atomic stability over human intuition.

## Related Articles

- [Why We Measure: The Deepest Urge in Human Civilisation](https://www.unitconvertercalculator.com/blog/why-we-measure)
- [How We Invented Time: The Strange History of Seconds, Minutes and Hours](https://www.unitconvertercalculator.com/blog/how-we-invented-time)

## See Also

- [Seconds to Nanoseconds](https://www.unitconvertercalculator.com/time/seconds-to-nanoseconds/)
