How to use
- Enter a time value and pick the unit to convert from and the unit to convert to. Twelve units are supported, from nanoseconds to centuries.
- The result appears right away, and the table below shows the same duration in every unit. The arrow button swaps the two units.
- The Seconds and H:MM:SS section at the bottom reads text like “1:30:45” or “1h 30m” as seconds, and spells a number of seconds out as H:MM:SS and as “1 h 30 min 45 s”.
What each unit is worth
Seconds, minutes, hours, days and weeks are fixed by definition, so those conversions are exact. Only months (which vary in length) and years (which include leap years) use the Gregorian average.
| Unit | In seconds | Note |
|---|---|---|
| 1 minute | 60 | |
| 1 hour | 3,600 | 60 minutes |
| 1 day | 86,400 | 24 hours |
| 1 week | 604,800 | 7 days |
| 1 month | 2,629,746 | average 30.436875 days, one twelfth of a year |
| 1 year | 31,556,952 | average 365.2425 days |
| 1 millisecond | 0.001 | one thousandth of a second |
Accepted duration formats
| You type | Read as |
|---|---|
| 1:30:45 | 5,445 seconds (hours:minutes:seconds) |
| 90:15 | 5,415 seconds (minutes:seconds, minutes may exceed 59) |
| 1h 30m 45s | 5,445 seconds |
| 2d 3h | 183,600 seconds |
| 5445 | a bare number is seconds |
Worked examples
- 90 minutes is 1.5 hours.
- 100,000 seconds is 27:46:40, or 1 d 3 h 46 min 40 s.
- One year averages 8,765.82 hours.
- Two weeks is 336 hours, and one century is 36,524.25 days.
Things to keep in mind
- Months and years are averages. For the exact number of days between two calendar dates, use the time difference calculator or the time calculator.
- Leap seconds and time zones are not modeled. To turn a clock time into a number, use the Unix timestamp converter.
- For other kinds of units, the unit converter covers them on one page. To measure time yourself, try the stopwatch or the timer.
FAQ
How many seconds are in a year?
31,556,952 on the Gregorian average, which is 365.2425 days times 86,400 seconds. A plain 365-day year is 31,536,000 seconds and a leap year is 31,622,400.
How do I convert seconds to hours, minutes and seconds?
Divide by 3,600 for the hours, divide the remainder by 60 for the minutes, and what is left is the seconds. 5,445 seconds is 1 hour 30 minutes 45 seconds, written 1:30:45. Type the seconds into the lower box and the tool does it for you.
How many days is one month here?
The average, 30.436875 days, which is a year divided by twelve. Real months have 28, 30 or 31 days, so use a calendar when you need a specific month.
Does it show more than 24 hours?
Yes. The H:MM:SS form keeps counting hours, for example 27:46:40, and the spelled-out form adds a days part.
Are my values sent to a server?
No. Values you enter are processed only in your browser and never sent to a server.