Skip to content

Time Converter: Seconds, Minutes, Hours, Days, Years

Convert seconds, milliseconds, minutes, hours, days, weeks and years, with the factor shown.

Inputs

90 min
1.5 h

Use this calculator on your own site

Free embed

  • Two lines of HTML, unlimited views
  • Shows a small CalculateEveryday bar, with a credit link under the calculator

What each Time input means

Value
The length of time to convert. Decimals are fine: 1.5 hours, 2.5 weeks.
From
Milliseconds up to years. A year here is 365.25 days, the average of a leap-year cycle, not a calendar year.
To
The unit you want. For calendar spans between two dates, use the date difference calculator instead.

Time conversion formula

result = value × (seconds in one 'from' unit ÷ seconds in one 'to' unit)

xto=xfrom×ffromftox_{\text{to}} = x_{\text{from}} \times \frac{f_{\text{from}}}{f_{\text{to}}}

Time converts through the second: 60 to a minute, 3,600 to an hour, 86,400 to a day, 604,800 to a week. Months are left out because they are not a fixed length — they run from 28 to 31 days. The year here is the 365.25-day Julian year that astronomers use for averages; a calendar year is 365 or 366 days, so for exact dates use the date calculators instead. The page handles anything from milliseconds to years, switches to scientific notation when a figure is very large or very small, and lists your value in every unit at once. A common use is turning minutes into decimal hours for timesheets: 45 minutes is 45 ÷ 60 = 0.75 hours.

Time conversion worked example

90 minutes ÷ 60 = 1.5 hours. For a timesheet, 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours. A day is 86,400 seconds, and a 365.25-day year 8,766 hours.

More Time examples

A million seconds: 1,000,000 ÷ 86,400 = 11.574074 days — about 11 days and 14 hours.

Two and a half weeks in hours: 2.5 × 168 = 420 h.

The song's 525,600 minutes are exactly 365 days, which is 0.999316 years of 365.25 days — a quarter of a day short.

Where the Time converter can give the wrong answer

  • A calendar year is 365 days (8,760 hours) or 366; the 365.25-day year is an average.
  • Daylight-saving changes alter the clock, not elapsed time; a 'day' here is always 24 hours.
  • Leap seconds are not counted.

Spotted a mistake? Tell us

Time conversion reference table

Time units in seconds, minutes, hours and days
OneSecondsMinutesHoursDays
Minute6010.01670.0007
Hour3,6006010.0417
Day86,4001,440241
Week604,80010,0801687
Year (365.25 days)31,557,600525,9608,766365.25
Source: Computed from the NIST SP 811 factors this page uses: minute = 60 s, hour = 3,600 s, day = 86,400 s; year = 365.25 days (Julian year)

Time conversion FAQ

86,400: 24 × 60 × 60.