Convert a duration between nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks, months, years, decades, centuries and millennia. Months and years use the average Gregorian calendar (365.2425 days per year), so long spans such as 1 billion seconds convert consistently.
It converts a length of time into 14 units, from nanoseconds up to millennia. Enter a duration in any unit, for example a timeout in milliseconds or a project length in weeks, and every other unit is shown at once. Calculations are done in your browser with high-precision decimals.
| Unit | Definition |
|---|---|
| Nanosecond (ns) | 10⁻⁹ s |
| Microsecond (μs) | 10⁻⁶ s |
| Millisecond (ms) | 0.001 s |
| Second (s) | SI base unit of time |
| Minute / Hour | 60 s / 3,600 s |
| Day | 24 h = 86,400 s |
| Week / Fortnight | 7 days / 14 days |
| Month | 1/12 year = 30.436875 days |
| Year | 365.2425 days = 31,556,952 s |
| Decade / Century / Millennium | 10 / 100 / 1,000 years |
Calendar months vary from 28 to 31 days, so a fixed factor is needed for conversion. The tool uses the average Gregorian year of 365.2425 days divided by 12. For the exact difference between two calendar dates, use ToolPocket's time difference tool instead.
No. Each row shows the whole duration in a single unit with decimals. It does not split a duration into mixed units or add and subtract times.
No. This tool converts durations. To turn Unix timestamps into dates, use ToolPocket's Unix timestamp tool.