Time Unit Converter
Convert between time units — seconds, minutes, hours, days, weeks, months, years.
Convert Seconds, Minutes, Hours, Days, and Years
This time unit converter switches between milliseconds, seconds, minutes, hours, days, weeks, months, and years. It is useful for timesheets and billing, video and audio lengths, programming timeouts written in milliseconds, project estimates, and questions like "how many days is a million seconds?" Below the tool are the formulas and ready-made charts for the conversions people look up most.
How to Use the Time Converter
- Type an amount of time into the top number box.
- Choose its unit in the top dropdown (Seconds by default).
- Choose the target unit in the bottom dropdown (Milliseconds by default). The answer updates instantly, rounded to six decimal places.
- Click Copy result to copy the number.
How the Conversion Works
Every value is converted to seconds and then to the target unit. Fixed units convert exactly:
- 1 minute = 60 seconds; 1 hour = 3,600 seconds
- 1 day = 24 hours = 86,400 seconds
- 1 week = 7 days = 604,800 seconds
Months and years vary in length, so the converter uses averages. A year is 365.25 days (31,557,600 seconds), which spreads one leap day across every four years; astronomers call this the Julian year. A month is one twelfth of that: 30.4375 days. The Gregorian calendar's long-run average is slightly shorter, 365.2425 days, because most century years skip the leap day, a difference of about 11 minutes per year.
Seconds to Minutes, Hours, and Days
To convert seconds to minutes, divide by 60; to hours, divide by 3,600; to days, divide by 86,400. Going the other way, multiply. Milliseconds are a thousandth of a second, so divide milliseconds by 1,000 to get seconds.
| Seconds | Minutes | Hours | Days | As a duration |
|---|---|---|---|---|
| 30 | 0.5 | 0.00833333 | 0.000347222 | 30 s |
| 90 | 1.5 | 0.025 | 0.00104167 | 1 min 30 s |
| 100 | 1.66667 | 0.0277778 | 0.00115741 | 1 min 40 s |
| 300 | 5 | 0.0833333 | 0.00347222 | 5 min |
| 600 | 10 | 0.166667 | 0.00694444 | 10 min |
| 1,000 | 16.6667 | 0.277778 | 0.0115741 | 16 min 40 s |
| 1,800 | 30 | 0.5 | 0.0208333 | 30 min |
| 3,600 | 60 | 1 | 0.0416667 | 1 h |
| 10,000 | 166.667 | 2.77778 | 0.115741 | 2 h 46 min 40 s |
| 86,400 | 1,440 | 24 | 1 | 1 d |
| 100,000 | 1,666.67 | 27.7778 | 1.15741 | 1 d 3 h 46 min 40 s |
| 1,000,000 | 16,666.7 | 277.778 | 11.5741 | 11 d 13 h 46 min 40 s |
Where you'll meet it: video and audio lengths, stopwatch and race times, cache lifetimes and API rate limits written in seconds, and timeouts in code, which are usually milliseconds (30,000 ms is 30 seconds). A billion seconds is about 31.69 years.
Minutes to Decimal Hours
To convert minutes to decimal hours, divide by 60. To turn decimal hours back into minutes, multiply the part after the decimal point by 60: 7.6 hours is 7 hours and 0.6 × 60 = 36 minutes.
| Minutes | Decimal hours | Seconds |
|---|---|---|
| 1 min | 0.01667 h | 60 s |
| 5 min | 0.08333 h | 300 s |
| 6 min | 0.1 h | 360 s |
| 10 min | 0.1667 h | 600 s |
| 12 min | 0.2 h | 720 s |
| 15 min | 0.25 h | 900 s |
| 20 min | 0.3333 h | 1,200 s |
| 30 min | 0.5 h | 1,800 s |
| 40 min | 0.6667 h | 2,400 s |
| 45 min | 0.75 h | 2,700 s |
| 50 min | 0.8333 h | 3,000 s |
| 90 min | 1.5 h | 5,400 s |
Where you'll meet it: timesheets, payroll, and client billing. Many payroll systems record time in decimal hours, often rounded to the nearest quarter hour (15 minutes, 0.25 h) or tenth of an hour (6 minutes, 0.1 h). To total a week of clock-in and clock-out times, use the Time Card Calculator.
Hours to Days and Weeks
To convert hours to days, divide by 24. To convert hours to weeks, divide by 168 (7 × 24). Multiply to go the other way.
| Hours | Minutes | Days | Weeks |
|---|---|---|---|
| 1 h | 60 | 0.0416667 | 0.00595238 |
| 8 h | 480 | 0.333333 | 0.047619 |
| 12 h | 720 | 0.5 | 0.0714286 |
| 24 h | 1,440 | 1 | 0.142857 |
| 36 h | 2,160 | 1.5 | 0.214286 |
| 40 h | 2,400 | 1.66667 | 0.238095 |
| 48 h | 2,880 | 2 | 0.285714 |
| 72 h | 4,320 | 3 | 0.428571 |
| 100 h | 6,000 | 4.16667 | 0.595238 |
| 168 h | 10,080 | 7 | 1 |
| 1,000 h | 60,000 | 41.6667 | 5.95238 |
Where you'll meet it: delivery and response windows (48 or 72 hours), shift schedules and 40-hour work weeks, fasting and medication intervals, and battery or uptime figures.
Days to Weeks
To convert days to weeks, divide by 7. For whole weeks and leftover days, take the whole number of the result as weeks and the remainder of the division as days: 100 ÷ 7 = 14 remainder 2, so 100 days is 14 weeks and 2 days.
| Days | Weeks (decimal) | Weeks and days | Hours | Average months |
|---|---|---|---|---|
| 1 | 0.142857 | 1 day | 24 | 0.03285 |
| 7 | 1 | 1 week | 168 | 0.23 |
| 10 | 1.42857 | 1 week 3 days | 240 | 0.3285 |
| 14 | 2 | 2 weeks | 336 | 0.46 |
| 21 | 3 | 3 weeks | 504 | 0.6899 |
| 30 | 4.28571 | 4 weeks 2 days | 720 | 0.9856 |
| 45 | 6.42857 | 6 weeks 3 days | 1,080 | 1.478 |
| 60 | 8.57143 | 8 weeks 4 days | 1,440 | 1.971 |
| 90 | 12.8571 | 12 weeks 6 days | 2,160 | 2.957 |
| 100 | 14.2857 | 14 weeks 2 days | 2,400 | 3.285 |
| 180 | 25.7143 | 25 weeks 5 days | 4,320 | 5.914 |
| 280 | 40 | 40 weeks | 6,720 | 9.199 |
Where you'll meet it: pregnancy (counted in weeks from the first day of the last period, with the due date set 280 days, or 40 weeks, later), return and trial periods, notice periods, probation periods, and project sprints.
How Long Is a Month or a Year?
Seconds through weeks are fixed, but calendar months and years are not, so any converter has to pick a definition. This one uses the 365.25-day Julian year and a month of exactly one twelfth of it. The table shows how that compares with real calendar years. The tool also treats every day as exactly 86,400 seconds and ignores leap seconds, which have occasionally been added to UTC (most recently at the end of 2016).
| Year | Days | Weeks | Hours | Seconds |
|---|---|---|---|---|
| Common year | 365 | 52.1429 | 8,760 | 31,536,000 |
| Leap year | 366 | 52.2857 | 8,784 | 31,622,400 |
| Gregorian average year | 365.2425 | 52.1775 | 8,765.82 | 31,556,952 |
| Julian year (used by this converter) | 365.25 | 52.1786 | 8,766 | 31,557,600 |
Tips and Common Mistakes
- Decimal hours are not hours and minutes. 1.75 hours is 1 hour 45 minutes (0.75 × 60), not 1 hour 75 minutes.
- Days here are 24-hour days. 40 hours converts to 1.666667 days, which is not the same as five 8-hour workdays.
- Month and year results are averages. To count the actual days between two calendar dates, use the Days Between Dates calculator.
- For length, weight, temperature, and other kinds of units, use the general Unit Converter.
Frequently Asked Questions
How many seconds are in a day?
There are 86,400 seconds in a day (24 × 60 × 60). A week has 604,800 seconds and an hour has 3,600.
How many weeks are in a year?
A common 365-day year is 52 weeks and 1 day (about 52.14 weeks), and a 366-day leap year is 52 weeks and 2 days. The converter's 365.25-day average year is about 52.18 weeks.
How many days are in a month on average?
This converter uses 30.4375 days, which is 365.25 ÷ 12. Real calendar months have 28 to 31 days, and the Gregorian calendar's long-run average is 30.436875 days.
Does the converter account for leap years?
Yes, by averaging. The 365.25-day year includes a quarter day per year to cover the leap day every fourth year. It does not know whether a specific year is a leap year.
How many hours are in a year?
Using the 365.25-day average, a year has 8,766 hours. A common 365-day year has exactly 8,760 hours, and a 366-day leap year has 8,784.
How do I convert decimal hours to hours and minutes?
Keep the whole number as hours and multiply the decimal part by 60 to get minutes. For example, 2.4 hours is 2 hours plus 0.4 × 60 = 24 minutes.
Can it convert decades or centuries?
Not directly, but a decade is 10 years and a century is 100 years, so convert to years first and multiply. One century is 36,525 days using the 365.25-day average.
Love using BreezyTools?
Go Pro for an ad-free experience, priority features, and support independent development — for less than a coffee a month.