Time Converter
Convert any duration between units of time, from nanoseconds to years.
From
To
- 1
Convert to the base unit
1 h × 3,600 = 3,600 - 2
Convert to the target unit
3,600 ÷ 60 = 60 min
1 h =
| Nanosecond | 3,600,000,000,000 ns |
| Microsecond | 3,600,000,000 us |
| Millisecond | 3,600,000 ms |
| Second | 3,600 s |
| Minute | 60 min |
| Day | 0.041667 d |
| Week | 0.005952 wk |
| Month (30 days) | 0.001389 mo |
Formula
How this is calculated
Every unit is defined by a fixed factor that expresses how many seconds it contains: 1 ns = 1e-9 s, 1 ms = 1e-3 s, 1 min = 60 s, 1 h = 3,600 s, 1 day = 86,400 s, 1 week = 604,800 s. These factors are the "toBase" values, and the second is the common base unit.
The conversion runs in two steps. First the input amount is multiplied by the source unit's factor to get the duration in seconds (value_from x toBase_from). Then that result is divided by the target unit's factor to express it in the destination unit. Combined, this is value_to = value_from x (toBase_from / toBase_to), so the answer never depends on which intermediate base you pick.
Two simplifying assumptions matter: a month is fixed at exactly 30 days (2,592,000 s) and a year at 365 days (31,536,000 s). These ignore leap years and the real 28-31 day month lengths, so month and year results are approximations. Sub-second units rely on decimal floating point, which can introduce tiny rounding at extreme magnitudes. For exact calendar dates, use a dedicated date calculator.
About this calculator
Time is measured in seconds in the International System of Units (SI), with both smaller subdivisions (milliseconds, microseconds, nanoseconds) and larger multiples (minutes, hours, days, weeks). Each step uses a fixed ratio: 60 seconds per minute, 60 minutes per hour and 24 hours per day.
This converter uses the second as its base unit. For convenience, a month is treated as 30 days (2,592,000 seconds) and a year as 365 days (31,536,000 seconds). For exact calendar arithmetic involving leap years and varying month lengths, use a dedicated date calculator instead.
Frequently asked questions
One hour equals 3,600 seconds (60 minutes x 60 seconds).
One week equals 7 days, or 604,800 seconds.
A month is treated as exactly 30 days (2,592,000 seconds) and a year as 365 days, for simple, consistent conversions.
Also known as
TG we-Calculate Editorial Team. (2026). Time Converter [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/time-converter
TG we-Calculate Editorial Team. "Time Converter." TG we-Calculate. 2026. https://we-calculate.com/calculator/time-converter.
TG we-Calculate Editorial Team, "Time Converter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/time-converter
@misc{wecalculate_time_converter, title = {Time Converter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/time-converter}}, year = {2026}, note = {TG we-Calculate} }
Did this calculator help you?
