⏱️ Time Unit Converter
Convert a time duration between seconds, minutes, hours, days, weeks and years (365-day year).
Seconds are the base unit
Your duration is turned into seconds, then divided out into the other five units. Each step multiplies by the one before it:
1 minute = 60 s
1 hour = 60 × 60 = 3,600 s
1 day = 24 × 3,600 = 86,400 s
1 week = 7 × 86,400 = 604,800 s
1 year = 365 × 86,400 = 31,536,000 s
Every factor above is a whole number except the last division you are likely to want: a year holds 52.142857 weeks, not 52, because 365 does not divide by 7.
The numbers people are usually after
| Duration | Seconds | Minutes | Hours | Days |
|---|---|---|---|---|
| 1 hour | 3,600 | 60 | 1 | 0.0417 |
| 1 day | 86,400 | 1,440 | 24 | 1 |
| 1 week | 604,800 | 10,080 | 168 | 7 |
| 30 days | 2,592,000 | 43,200 | 720 | 30 |
| 1 year | 31,536,000 | 525,600 | 8,760 | 365 |
Two that come up in contracts and cache settings: 86,400 seconds is a day, and 604,800 is a week. If you work 40 hours across 52 weeks, that is 2,080 hours before any leave is taken off.
Frequently asked questions
How many seconds are in a day?
86,400 seconds, from 24 hours of 60 minutes of 60 seconds. It is the number behind a one day cache header or token lifetime, and a week is 604,800.
How many hours are in a year?
8,760 hours in a 365 day year, which is what this tool reports. A leap year has 8,784 hours, and the average calendar year works out at 8,765.82.
How many weeks are in a year?
52.142857 weeks, so a year is 52 weeks plus one day, or plus two days in a leap year. That leftover day is why a fixed date shifts forward one weekday each year.