Seconds, hours, days — and what a “month” has to mean
Convert durations between milliseconds, seconds, minutes, hours, days, weeks, months and years. Everything up to a week is exact. Months and years are not, because a calendar month is 28 to 31 days, so this page uses the average Gregorian month of 30.436875 days and a year of 365.2425 days — and says so beside every answer that depends on it rather than picking quietly. Nothing is uploaded or saved.
- Nothing is uploaded or saved
- Works offline
Time converter
Year (average) to Day
365.2425d
1 yr = 365.2425 d
1 yr = 365.2425 d
1 d = 0.00273790700699 yr
A year here is the average Gregorian year: 365.2425 days, which is what the leap-year rule averages out to over its 400-year cycle.
The same amount in every unit
Common time conversions
Every figure below is produced by the same conversion code as the calculator above, so the two can never disagree.
Minutes to hours
| Minute (min) | Hour (h) | Second (s) |
|---|---|---|
| 1 | 0.0166666666667 | 60 |
| 5 | 0.0833333333333 | 300 |
| 10 | 0.166666666667 | 600 |
| 15 | 0.25 | 900 |
| 20 | 0.333333333333 | 1,200 |
| 30 | 0.5 | 1,800 |
| 45 | 0.75 | 2,700 |
| 60 | 1 | 3,600 |
| 90 | 1.5 | 5,400 |
| 120 | 2 | 7,200 |
| 180 | 3 | 10,800 |
| 240 | 4 | 14,400 |
| 480 | 8 | 28,800 |
Hours to minutes and seconds
| Hour (h) | Minute (min) | Second (s) |
|---|---|---|
| 0.25 | 15 | 900 |
| 0.5 | 30 | 1,800 |
| 0.75 | 45 | 2,700 |
| 1 | 60 | 3,600 |
| 1.5 | 90 | 5,400 |
| 2 | 120 | 7,200 |
| 3 | 180 | 10,800 |
| 4 | 240 | 14,400 |
| 6 | 360 | 21,600 |
| 8 | 480 | 28,800 |
| 12 | 720 | 43,200 |
| 24 | 1,440 | 86,400 |
Days to hours
| Day (d) | Hour (h) | Minute (min) |
|---|---|---|
| 1 | 24 | 1,440 |
| 2 | 48 | 2,880 |
| 3 | 72 | 4,320 |
| 4 | 96 | 5,760 |
| 5 | 120 | 7,200 |
| 6 | 144 | 8,640 |
| 7 | 168 | 10,080 |
| 10 | 240 | 14,400 |
| 14 | 336 | 20,160 |
| 21 | 504 | 30,240 |
| 30 | 720 | 43,200 |
| 60 | 1,440 | 86,400 |
| 90 | 2,160 | 129,600 |
| 365 | 8,760 | 525,600 |
Years to days, weeks and hours
| Year (average) (yr) | Day (d) | Week (wk) | Hour (h) |
|---|---|---|---|
| 1 | 365.2425 | 52.1775 | 8,765.82 |
| 2 | 730.485 | 104.355 | 17,531.64 |
| 3 | 1,095.7275 | 156.5325 | 26,297.46 |
| 5 | 1,826.2125 | 260.8875 | 43,829.1 |
| 10 | 3,652.425 | 521.775 | 87,658.2 |
| 18 | 6,574.365 | 939.195 | 157,784.76 |
| 21 | 7,670.0925 | 1,095.7275 | 184,082.22 |
| 25 | 9,131.0625 | 1,304.4375 | 219,145.5 |
| 50 | 18,262.125 | 2,608.875 | 438,291 |
| 100 | 36,524.25 | 5,217.75 | 876,582 |
A year here is the average Gregorian year: 365.2425 days, which is what the leap-year rule averages out to over its 400-year cycle.
How it works
- 1
Type the duration
Enter the number and pick its unit. The result recalculates on every keystroke, and the panel beside it shows the same duration in every unit at once.
- 2
Pick what you want it in
Everything from milliseconds to years is in one list. Milliseconds are there because they are what code measures in, and the conversion to something a human can read is the whole point of the lookup.
- 3
Read the note when months or years are involved
Anything up to a week is fixed by definition and needs no caveat. The moment a month or a year enters the calculation the answer depends on a convention, so the convention appears next to the result instead of being left for you to work out from the number.
- 4
For real dates, use a date calculator instead
This page converts durations, not calendar spans. “How many days from 3 March to 19 November” is a different question, because the answer depends on which months are involved and whether a leap year sits between them — the days calculator on this site is the one that answers it.
Frequently asked questions
How long is a month on this page?
30.436875 days — exactly one twelfth of a Gregorian year of 365.2425 days, which works out at 2,629,746 seconds. It is an average, not a month you can point to on a calendar: no real month is 30.436875 days long. It is used because the alternative is choosing 30 or 31 arbitrarily, and a flat 30 days is right for four months of the year and wrong for the other eight. An honest average beats a number that is silently wrong two thirds of the time.
Why is a year 365.2425 days and not 365?
Because the Earth does not take a whole number of days to go round the Sun. The Gregorian calendar absorbs the leftover with a leap day every four years, then skips it in century years, then puts it back every fourth century — 2000 had a 29 February, 1900 did not, and 2100 will not. Averaged across that 400-year cycle every year is 365.2425 days, which is the figure used here and the reason a year comes to 31,556,952 seconds rather than 31,536,000.
How many seconds are in a day?
86,400 — that is 60 × 60 × 24, and it is exact. A week is 604,800. Neither needs a convention, because for the purpose of measuring a duration a day is defined as that fixed count of seconds. Daylight saving and leap seconds change what a clock reads on a particular date; they do not change what “one day” means as a length of time.
Why does 90 days not convert to exactly 3 months?
It comes out as 2.9569 months, because the average month here is 30.436875 days rather than a flat 30. If what you actually need is the date three months from today, that is a calendar question and no fixed number of days answers it: three months after 30 November is 28 February, which is 90 days in a common year and 91 in a leap year. Durations and calendar spans are different questions and this page only answers the first.
What about leap seconds?
They are ignored here, as they are in every general-purpose converter. A leap second is occasionally inserted into UTC to keep atomic clocks in step with the Earth’s slightly irregular rotation. Counting them would change a year by at most one second — far below the uncertainty already introduced by averaging months — and would require knowing exactly which years you meant.
Why are decades and centuries not in the list?
Because they are nothing but the year multiplied by ten and a hundred, and they would carry the same averaging caveat scaled up with them. Multiplying the year figure yourself keeps it obvious which convention produced the answer, which is worth more than saving one keystroke.
Is anything I type uploaded or saved?
No. The arithmetic runs in your own browser, there is no server behind this site, and this page writes nothing to your device.