How to use the time converter
Enter a duration in Value and pick the units to convert from and to. The converter calculates the exact duration and shows the equivalent across all supported time units from milliseconds to years.
Time units and calendar definitions
Sub-day and weekly durations have fixed ratios to the SI second, while months and years follow the modern Gregorian calendar cycle (400 years = 146,097 days = 365.2425 days per year):
| Time Unit | Seconds (s) | Equivalent Duration |
|---|---|---|
| 1 Millisecond (ms) | 0.001 s | 1/1,000 of a second |
| 1 Second (s) | 1 s | 1,000 ms |
| 1 Minute (min) | 60 s | 60,000 ms |
| 1 Hour (h) | 3,600 s | 60 minutes |
| 1 Day | 86,400 s | 24 hours (1,440 minutes) |
| 1 Week | 604,800 s | 7 days (168 hours) |
| 1 Month (Gregorian avg.) | 2,629,746 s | 30.436875 days (730.485 hours) |
| 1 Year (Gregorian avg.) | 31,556,952 s | 365.2425 days (8,765.82 hours) |
Frequently asked questions
- How many seconds are in a day, a week, and a year?
- There are 86,400 seconds in 1 day (24 × 60 × 60), 604,800 seconds in 1 week (7 days), and 31,556,952 seconds in an average Gregorian year (365.2425 days). A standard 365-day non-leap year has 31,536,000 seconds.
- Why does this converter use 365.2425 days for a year and 30.44 days for a month?
- In the Gregorian calendar, leap years occur every 4 years, except century years not divisible by 400. Over a 400-year cycle there are 97 leap years, giving an exact average year of 365.2425 days (31,556,952 seconds) and an average month of 1/12 of a year (30.436875 days, or 2,629,746 seconds).
- How do I convert milliseconds to seconds or minutes?
- Divide milliseconds by 1,000 to get seconds, or by 60,000 to get minutes. For example, a 300,000 ms timeout equals 300 seconds, or 5 minutes.