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

Advertisement

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.

Advertisement

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 duration 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 duration calculator

For that, the 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.

Advertisement

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

Advertisement

Questions people ask

How many seconds in a day?

A day is 86,400 seconds: 24 hours of 60 minutes of 60 seconds each. That is exact by definition, as is the week at 604,800 seconds. The one exception is astronomical rather than arithmetical — UTC has occasionally had a leap second inserted to stay in step with the rotation of the Earth, which makes that particular day 86,401 seconds long. The General Conference on Weights and Measures resolved in 2022 to stop the practice by 2035 at the latest. For every practical purpose, including this converter, a day is 86,400 seconds.

How many days in a month?

There is no single answer, which is exactly why this tool flags the month as an average. Seven months have 31 days, four have 30, and February has 28 or 29. This converter uses the Gregorian average of 30.436875 days, a twelfth of an average year, or exactly 2,629,746 seconds. That average is right for generic spans like a subscription term but wrong for a specific one: a stretch from January 1 to February 1 is 31 days, and from February 1 to March 1 it is 28 or 29. When the dates matter, count them with the date difference calculator instead.

Why does this tool say a year is 365.2425 days?

Because that is the average length of a year under the Gregorian calendar, and no shorter number would be honest. The leap rule adds a day every four years, skips century years, then restores the leap day for years divisible by 400. Over a full 400-year cycle that gives 97 leap days rather than 100, so the cycle runs 400 × 365 + 97 = 146,097 days. Divide by 400 and you get 365.2425 days, which is 365 days 5 hours 49 minutes 12 seconds, or exactly 31,556,952 seconds. It is an exact fraction of a real repeating cycle, not a rounded estimate.

How many weeks in a year?

On this tool, 52.1775 weeks, since 365.2425 divided by 7 is 52.1775. In any actual year it is 52 weeks plus a remainder: a common year of 365 days is 52 weeks and 1 day, and a leap year of 366 days is 52 weeks and 2 days. That leftover day is why your birthday moves forward one weekday each year and two across a leap year. There is a neat closing fact: the 400-year Gregorian cycle of 146,097 days is exactly 20,871 weeks, so the whole calendar repeats its weekday pattern every 400 years.

How many hours in a year?

This converter gives 8,765.82 hours, which is 365.2425 days times 24. A specific year is a whole number: 8,760 hours in a common year and 8,784 in a leap year. The average sits between them because leap years are a little under a quarter of all years. The same pattern holds one level down, where an average month is 730.485 hours against a real 672, 696, 720 or 744. For the most-searched spans this site also has direct instant-answer pages, including one for 72 hours to days and another for 90 minutes to hours.

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