Time converter
Convert durations from nanoseconds to years. Time conversions are exact for fixed units; months and years use average calendar lengths because their real lengths vary.
Time converter
LivePopular time conversions
The time conversion formula
Every unit in this category is defined by a fixed factor relative to the second (s).
The second is the SI base unit of time. One minute is 60 s, one hour is 3,600 s and one day is 86,400 s. A Julian year is exactly 31,557,600 s; the average Gregorian year used here is 31,556,952 s. The average Gregorian month is 2,629,746 s.
Convert step by step
Choose the unit you have, enter a value, and the converter multiplies by the correct factor. For units with offsets (temperature) or inverse relationships (fuel economy), it applies the full formula rather than a single factor. The equation under the result shows exactly what happened.
Calendar months are not all the same length, and a year can be 365 or 366 days. If you need exact date arithmetic, use the date-difference calculator instead of multiplying by an average. Leap seconds can also matter in precise timing systems.
All time conversions
Open any pair for a dedicated page with the reverse formula, a conversion table and worked examples.
Unit reference
| Unit | Symbol | Factor to s | Definition |
|---|---|---|---|
| nanosecond | ns | 1 × 10<sup>-9</sup> | One billionth of a second, used in computing and electronics. |
| millisecond | ms | 0.001 | One thousandth of a second, common in computing and reaction-time measurements. |
| second | s | 1 | The SI base unit of time, defined by the caesium-133 atomic transition. |
| minute | min | 60 | Sixty seconds. |
| hour | h | 3,600 | Sixty minutes, or 3,600 seconds. |
| day | d | 86,400 | Twenty-four hours, or 86,400 seconds. |
| week | wk | 604,800 | Seven days, or 604,800 seconds. |
| average month | mo | 2,629,746 | The average Gregorian month (30.436875 days). Real calendar months vary. |
| average year | yr | 31,556,952 | The average Gregorian year (365.2425 days). |
| decade | dec | 315,569,520 | Ten average Gregorian years. |
“Special” means the unit needs a formula with an offset or an inverse relationship rather than a single multiplier.
Frequently asked questions
How many seconds are in a day?
How many hours are in a year?
How many days are in a month?
How many units are in the time converter?
How precise are the results?
Can I convert the other direction?
Factors on this page follow the definitions and guidance of the bodies below. Where a unit is a convention rather than a fixed definition, the page states the value used.
- NIST / U.S. Naval Observatory — Time.govOfficial U.S. time, used as a sanity check for date and time calculations.
How these are used: sources and standards.
Go beyond time conversion
Use the formula library and science calculators to understand what the number means.