Skip to main content
Unit ConvertersFree · no sign-up

Time Converter

Convert between milliseconds, seconds, minutes, hours, days, weeks, months, and years — with instant-answer pages for the common ones.

Updated

days

3d

72 hr = 3 d

Quick pairs

How to use the time converter

Type a duration, pick the unit it is in, pick the unit you want, and the answer updates as you type. Every unit stores how many seconds it is worth, so any pair converts through that base: milliseconds to minutes, hours to weeks, days to years, and back the other way with the swap button. Eight units are covered — millisecond, second, minute, hour, day, week, month, year.

What this tool measures is elapsed duration: how long something lasts, not what the clock reads. It has nothing to do with time zones, so if you are trying to work out what 3 p.m. in London is in Chicago, this is the wrong tool. It also does not know what today is, which matters once you get to months and years.

3,600 s

one hour

exact by definition

86,400 s

one day

exact by definition

604,800 s

one week

exact by definition

31,556,952 s

one year here

the Gregorian average

Everything from milliseconds up to weeks is exact by definition. A minute is 60 seconds, an hour is 3,600, a day is 86,400, a week is 604,800, and none of those numbers is a rounding of anything. Months and years are different, and the difference is not a technicality. Calendar months run 28, 29, 30 or 31 days, so there is no single number of seconds in a month; a year is 365 days or 366.

The only honest way to put a month or a year on a converter dropdown is to use an average and say so, which is what this tool does. Any result involving months or years is therefore an approximation of a specific calendar span, accurate in aggregate and off by up to a day and a half on a single month.

Use the average when the span is generic and you have no particular dates — a 6-month subscription, a 90-day payment term expressed in months, a device rated for 50,000 hours of life. Use a real calendar whenever the answer depends on which dates you mean, because February and a leap year will not average themselves out over a short span.

When the dates are actually known

The date difference calculator counts the actual days between two dates, rather than the average month or year this hub has to fall back on.

Open the date difference calculator

For that, the age calculator at /date/age-calculator gives an exact years, months and days breakdown from a birth date. A rough guide: under a year, and where the dates are known, calendar-exact is worth the extra step; longer than that, or with no dates in hand, the average is the better answer.

What each span is worth in seconds, hours and days — with the exact definitions separated from the two averages this tool has to use. The last six rows are the real calendar spans the averages stand in for.

SpanSecondsHoursDaysBasis
1 millisecond0.0010.0000002780.0000000116Exact
1 second10.0002777780.0000115741Exact
1 minute600.01666670.000694444Exact
1 hour3,60010.0416667Exact
1 day86,400241Exact
1 week604,8001687Exact
1 month (this tool)2,629,746730.48530.436875Gregorian average
1 year (this tool)31,556,9528,765.82365.2425Gregorian average
February, common year2,419,20067228Exact for that month
February, leap year2,505,60069629Exact for that month
A 30-day month2,592,00072030Exact for that month
A 31-day month2,678,40074431Exact for that month
A common year31,536,0008,760365Exact for that year
A leap year31,622,4008,784366Exact for that year
Definitions, not data: seconds through weeks are fixed by definition, and the averages follow the Gregorian 400-year cycle of 146,097 days. Nothing here expires.

Where does 365.2425 come from?

The average used here is the Gregorian one: 365.2425 days per year. That number comes straight out of the leap-year rule. Every fourth year is a leap year, except century years, except again those divisible by 400 — so a full 400-year cycle contains 97 leap days rather than 100.

That gives 400 × 365 + 97 = 146,097 days, and 146,097 ÷ 400 = 365.2425 days exactly. Multiply by 86,400 and a year is exactly 31,556,952 seconds. A month is a twelfth of that: 30.436875 days, or exactly 2,629,746 seconds. Both are exact fractions of a real repeating cycle, not a rounded guess, which is why they come out as clean whole numbers of seconds.

The 400-year cycle, worked through
The leap rule
97 leap days in 400 years, not 100
Days in the cycle
400 × 365 + 97 = 146,097
Divide by the years
146,097 ÷ 400
Average year
365.2425 days

Multiply by 86,400 and a year is exactly 31,556,952 seconds; a month, one twelfth of that, is exactly 2,629,746.

The formula, worked line by line

Each unit stores one number: how many seconds it is worth. Converting between any two is a pivot through that base — multiply into seconds, divide out into the target — so a single expression handles every pair, including the two average-based ones.

seconds = value × from.perBase
result = seconds ÷ to.perBase
result = value × from.perBase ÷ to.perBase
1 year = 365.2425 × 86,400 = 31,556,952 s;  1 month = 31,556,952 ÷ 12 = 2,629,746 s
Time units on a scale from milliseconds to yearsEvery time unit is defined against the second. Second through week are exact; the month and year are Gregorian averages. 72 hours is 3 days.EVERY UNIT MEASURED AGAINST THE SECONDmssminhrdwkmoyrsmallerlargervalue × from ÷ to72 hr → days1 hr in seconds3,6001 day in seconds86,40072 hr in seconds259,200days3
The exact ladder from milliseconds to weeks, and the point past it where a month and a year become averages.
10,000 hours, into months
Hours entered
10,000
Into the second base
10,000 × 3,600 = 36,000,000 s
Out into average months
36,000,000 ÷ 2,629,746
Months
13.6895

That is 416.67 days, or roughly 1 year 1 month and 3 weeks. A simpler one runs entirely on exact factors: 90 minutes is 90 × 60 = 5,400 seconds, and 5,400 ÷ 3,600 = 1.5 hours.

Anything that touches the month or year dropdown inherits the average, and the error is not evenly spread. The average month is 30.436875 days, so it overstates a 28-day February by 2.44 days and understates a 31-day month by 0.56 — an error of about 8.7 percent at the February end and 1.8 percent at the other.

Across a full year the twelve errors nearly cancel, and across the 400-year cycle they cancel exactly by construction, so the average is at its best over long horizons and at its worst over a single short month.

Instant answers for the common conversions

105 conversions get their own page, each with the arithmetic worked out, the clock reading, the same span in every other unit, and what that duration is in practice.

minutes to days

hours to weeks

hours to years

months to hours

years to minutes

years to seconds

Questions people ask

Sources

Where the constants and formulas on this page come from. Each line names the figure it backs.

  1. That UTC has occasionally had a leap second inserted to stay in step with the Earth, and that the practice is being ended by 2035.

    Resolution 4 of the 27th CGPM — On the use and future development of UTCBIPM, 2022