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.
| Span | Seconds | Hours | Days | Basis |
|---|---|---|---|---|
| 1 millisecond | 0.001 | 0.000000278 | 0.0000000116 | Exact |
| 1 second | 1 | 0.000277778 | 0.0000115741 | Exact |
| 1 minute | 60 | 0.0166667 | 0.000694444 | Exact |
| 1 hour | 3,600 | 1 | 0.0416667 | Exact |
| 1 day | 86,400 | 24 | 1 | Exact |
| 1 week | 604,800 | 168 | 7 | Exact |
| 1 month (this tool) | 2,629,746 | 730.485 | 30.436875 | Gregorian average |
| 1 year (this tool) | 31,556,952 | 8,765.82 | 365.2425 | Gregorian average |
| February, common year | 2,419,200 | 672 | 28 | Exact for that month |
| February, leap year | 2,505,600 | 696 | 29 | Exact for that month |
| A 30-day month | 2,592,000 | 720 | 30 | Exact for that month |
| A 31-day month | 2,678,400 | 744 | 31 | Exact for that month |
| A common year | 31,536,000 | 8,760 | 365 | Exact for that year |
| A leap year | 31,622,400 | 8,784 | 366 | Exact for that year |
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 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- 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.
seconds to minutes
minutes to seconds
minutes to hours
minutes to days
hours to minutes
hours to seconds
hours to days
hours to weeks
hours to years
days to weeks
days to months
weeks to days
weeks to hours
months to hours
years to hours
years to minutes
years to seconds
years to weeks
Questions people ask
Sources
Where the constants and formulas on this page come from. Each line names the figure it backs.
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 UTC — BIPM, 2022
Related guides
Putting JSON in a URL: Validate, Minify, Percent-Encode, or Base64url?
A decision guide for flattening, encoding, checking, and safely transporting JSON in a query string.
August 11, 2026 · 9 min read
How Many Grams in a Cup? Every Ingredient, One Chart
One formula, fourteen densities. Why flour is 120 g, honey is 340 g, and the ingredient — not the cup — decides the number.
August 10, 2026 · 14 min read
How Are Loan Payments Calculated? Amortization, Explained
One level payment, front-loaded interest — the formula worked by hand, the two levers you control, and why the smaller payment is often the costlier loan.
July 23, 2026 · 13 min read