Time Converter
Convert time between seconds, minutes, hours, days, weeks and years.
Results update as you type.
About this calculator
A time converter changes a duration between milliseconds, seconds, minutes, hours, days, weeks, months and years. It converts through the second as a common base, and to keep long spans consistent it fixes a month at the average 30.44 days and a year at 365.25 days so leap years average out.
The everyday anchors are 60 seconds in a minute, 60 minutes in an hour, 24 hours in a day and 7 days in a week. The month and year here are averages rather than calendar values, which is why they will not match a specific date range exactly.
Worked example: to convert 3 hours to minutes, multiply by 60, giving 180 minutes. To find the seconds in a day, 24 × 60 × 60 = 86,400. A results table shows the same duration in every unit from milliseconds to decades, useful for timeouts, billing periods and project schedules.
Frequently asked questions
How many seconds are in a day?
A day has 86,400 seconds (24 × 60 × 60). A week has 604,800 seconds.
How many hours are in a year?
Using an average year of 365.25 days, there are about 8,766 hours in a year. Over four years the quarter-days add up to one extra leap day.
How long is a month here?
A month is treated as 1/12 of an average year, about 30.44 days, because calendar months vary from 28 to 31 days. For exact calendar spans use a date-difference tool.
How many minutes are in a day?
A day holds 1,440 minutes (24 × 60), and a week holds 10,080 minutes. That makes it easy to size timers and shift schedules.
Why does this time converter use 365.25 days for a year?
The time converter averages in the extra quarter-day that leap years absorb, so a converted year is 365.25 days. That keeps long-duration conversions consistent, though it differs slightly from any single calendar year.
How do I convert seconds to hours?
Divide the number of seconds by 3,600, since an hour is 60 × 60 seconds. So 7,200 seconds is exactly 2 hours.
API — use this calculator from code
Call this calculator as a free JSON endpoint — no key required. Send the field values below as query parameters or JSON. Read the full API docs →
Endpoint
GET https://calculator.free/api/v1/time/
curl
curl "https://calculator.free/api/v1/time/?amount=1&from=h&to=min"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/time/?" + new URLSearchParams({
"amount": "1",
"from": "h",
"to": "min"
}));
const data = await r.json();
console.log(data.results);
Results are estimates for general guidance only, not financial, medical or tax advice.