Time converter — seconds, minutes, hours, days and years
Turn a duration into whatever unit the job needs: server timeouts in milliseconds, project estimates in weeks, machine cycles in microseconds. Several rows can be added in one go.
How to use it
- 1
Type into any row — say h or min. The results appear immediately, no button needed.
- 2
Need a combined figure? Fill in two rows, for example h and d, and they are added together before converting.
- 3
Set how many digits you want (4–12) and click a result to copy the plain number.
Exact conversion factors
These are the definitions the calculator uses. Nothing here is rounded for convenience — where a value is exact by definition, it says so.
- 1 min = 60 s · 1 h = 3600 s · 1 day = 86 400 s
- 1 week = 604 800 s · 1 year (365 d) = 31 536 000 s
- 1 ms = 0.001 s · 1 µs = 10⁻⁶ s · 1 ns = 10⁻⁹ s
- The month row uses 30.4167 days — 365 ÷ 12, an averaged month
s = min × 60 = h × 3600 = d × 86 400 · ms = s × 1000 · µs = s × 10⁶Time conversion table — every unit
One of each unit, converted into the three units people ask for most.
| Unit | h | min | d |
|---|---|---|---|
| 1 yr | 8 760 h | 525 600 min | 365 d |
| 1 mo | 730 h | 43 800 min | 30.4167 d |
| 1 wk | 168 h | 10 080 min | 7 d |
| 1 d | 24 h | 1 440 min | 1 d |
| 1 h | 1 h | 60 min | 0.0416667 d |
| 1 min | 0.0166667 h | 1 min | 0.000694444 d |
| 1 s | 0.000277778 h | 0.0166667 min | 0.0000115741 d |
| 1 ms | 0.000000277778 h | 0.0000166667 min | 0.0000000115741 d |
| 1 µs | 2.77778×10^-10 h | 0.0000000166667 min | 1.15741×10^-11 d |
| 1 ns | 2.77778×10^-13 h | 1.66667×10^-11 min | 1.15741×10^-14 d |
h → min, d — quick values
| h | min | d |
|---|---|---|
| 0.5 h | 30 min | 0.0208333 d |
| 1 h | 60 min | 0.0416667 d |
| 2 h | 120 min | 0.0833333 d |
| 3 h | 180 min | 0.125 d |
| 5 h | 300 min | 0.208333 d |
| 10 h | 600 min | 0.416667 d |
| 20 h | 1 200 min | 0.833333 d |
| 25 h | 1 500 min | 1.04167 d |
| 50 h | 3 000 min | 2.08333 d |
| 100 h | 6 000 min | 4.16667 d |
| 250 h | 15 000 min | 10.4167 d |
| 1 000 h | 60 000 min | 41.6667 d |
How this converter works
Because entries are summed, you can describe a duration the way people actually speak. Enter 2 days, 6 hours and 30 minutes across three rows and read the answer as 195 000 s, or 54.17 h, or 0.00618 years.
A note on the long units: the year here is a flat 365 days and the month is 30.4 days, an average that ignores leap years and calendar lengths. That matches how engineering tables treat them and is fine for durations — but do not use it for calendar dates, where February and leap days matter.
Notes and abbreviations
- ms — millisecond, 10⁻³ s; µs — microsecond, 10⁻⁶ s; ns — nanosecond, 10⁻⁹ s
- Year = 365 days, month = 30.4 days (an averaged month, not a calendar month)
- One week is 604 800 s — a handy number for cache and token lifetimes
Questions
How many seconds are in a day?
86 400. In a week, 604 800. In a 365-day year, 31 536 000.
Can I add hours and minutes together?
Yes — that is the point of the layout. Fill in as many rows as you like and every output reflects the sum.
Why does the month row say 30.4 days?
It is 365 ÷ 12 = 30.4167 days, the average month length. Real months run 28 to 31 days, so treat month results as approximations.