Skip to content
AllCalcHub

Time Unit Converter

Convert milliseconds, seconds, minutes, hours, days, weeks, months and years.

About the Time Unit Converter

Seconds, minutes, hours, days and weeks have fixed sizes. Months and years don't, so this converter uses Gregorian-calendar averages: a year of 365.2425 days and a month of 30.436875 days.

For exact durations between two dates, use the date difference calculator instead.

The formula

Result = Value × (size of the “from” unit ÷ size of the “to” unit)

1 ms
0.001 ms
1 s
1 ms
1 min
60 ms
1 h
3,600 ms
1 d
86,400 ms
1 wk
604,800 ms

Every time unit is converted through millisecond using its exact definition.

Common conversions

FromTo
1 h60 min
1 d24 h
1 wk7 d
1 yr365.2425 d
1 mo30.436875 d
1 d86,400 s
1 yr8,765.82 h

How to read your result

  • Month and year results are averages.

Worked example

Example: 3 hour = 180 min

  1. Inputs: Value: 3; From: Hour (h); To: Minute (min).
  2. Formula: Result = Value × (size of the “from” unit ÷ size of the “to” unit)
  3. Multiply by the number of min in one h 3 × 60 = 180 min
  4. Result: 3 hour = 180 min
  5. 1 h = 60 min
  6. 1 min = 0.01666666667 h

Questions people ask

How many seconds are in a day?

86,400 seconds (24 × 60 × 60).

Why is a year 365.2425 days?

That's the Gregorian calendar average: a leap day every 4 years, except century years not divisible by 400.

Sources