Skip to content

Time unit converter

Nanoseconds to centuries: seconds, minutes, hours, days, weeks, average months and Gregorian years.

Loading tool…

Fromhour (h)
1
Tominute (min)
60
DecimalsAuto (up to 10 significant digits)

Formula: min = h × 60

1 h = 60 min

Common values: hour to minute

hmin
1 h60 min
2 h120 min
5 h300 min
10 h600 min
12 h720 min
24 h1,440 min
30 h1,800 min
48 h2,880 min
60 h3,600 min
100 h6,000 min
1,000 h60,000 min

How it works

Convert durations between any two units, from nanoseconds (CPU timings) and milliseconds (API timeouts, video frames) up to years and centuries. Minutes, hours, days and weeks are exact: 1 day = 86,400 s, 1 week = 604,800 s.

Months and years are not fixed lengths, so this converter uses the averages of the Gregorian calendar: a year of 365.2425 days (the 400-year cycle has 97 leap years) and a month of one twelfth of that, 30.436875 days. That is the right choice for turning "18 months" into days on average, but not for counting days between two dates; use the date difference calculator for that. Leap seconds are ignored.

Programmers often need milliseconds: 1 hour = 3,600,000 ms, and a Unix timestamp counts seconds since 1970-01-01 (see the timestamp converter).

Common time conversions

Months and years here are averages of the Gregorian calendar (365.2425 days per year), which is right for long spans but not for a specific calendar month; use the date-difference calculator for exact dates.

  • 1 h = 60 min (min = h × 60)
  • 1 d = 24 h (h = d × 24)
  • 1 wk = 7 d (d = wk × 7)
  • 1 mo = 30.436875 d (d = mo × 30.436875)
  • 1 yr = 365.2425 d (d = yr × 365.2425)
  • 1 yr = 8,765.82 h (h = yr × 8,765.82)

Every time unit in this converter

The size of each unit in seconds (s), the base unit the converter uses internally. Values are exact where the unit has an exact definition.

UnitIn s
nanosecond (ns)1e-9 s
microsecond (µs)0.000001 s
millisecond (ms)0.001 s
second (s)1 s
minute (min)60 s
hour (h)3,600 s
day (d)86,400 s
week (wk)604,800 s
month (average Gregorian, 30.436875 d) (mo)2,629,746 s
year (average Gregorian, 365.2425 d) (yr)31,556,952 s
decade (10 Gregorian years) (decade)315,569,520 s
century (100 Gregorian years) (century)3,155,695,200 s

How to use it

  1. Pick the unit you have and the unit you want.
  2. Type the duration in either box.
  3. Use the table for common durations.

Frequently asked questions

How many seconds are in a year?

An average Gregorian year is 31,556,952 s (365.2425 days). A common 365-day year is 31,536,000 s and a leap year 31,622,400 s.

How long is a month in this converter?

30.436875 days, the average Gregorian month (365.2425 ÷ 12). Real months have 28 to 31 days.

How many hours are in a week?

168 hours (7 × 24), or 10,080 minutes.

Can I add or subtract dates here?

No, this converts durations only. To count days between two dates, or add days to a date, use the date difference calculator.