Time Unit Converter

Convert between time units (seconds, minutes, hours, days).

Convert between units of time: nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks, months and years. Enter a value and unit to see all the others at once. Months and years use average Gregorian lengths (a year is 365.2425 days), which is right for averages and rates; for the exact span between two dates, use a date calculator.

1 hour, 30 minutes

Nanoseconds5,400,000,000,000
Microseconds5,400,000,000
Milliseconds5,400,000
Seconds5,400
Minutes90
Hours1.5
Days0.0625
Weeks0.008929
Months (30.44 days)0.002053
Years (365.2425 days)0.000171
Decades0.000017
Centuries0.000002

Months and years use average Gregorian lengths (a year is 365.2425 days). For the exact span between two dates, use the date difference calculator.

Common use cases

  • Convert milliseconds from logs or code into seconds or minutes
  • Work out how many seconds are in a week or a year
  • Convert durations for timeouts, caches and schedules

How to use

  1. Enter a value.
  2. Choose its unit.
  3. Read the equivalents.

FAQ

How many seconds are in a year?

31,556,952 using the average Gregorian year; a common year of 365 days has 31,536,000.

Why not use 30 days for a month?

An average month is 30.44 days. Using 30 makes a year come out five days short.