Skip to content
PratronHome

Time Unit Converter

Convert durations between time units — from milliseconds all the way up to years. Handy for programmers converting timeouts, project planners estimating durations, or anyone curious how many seconds are in a year. Month and year conversions use average calendar lengths (30.44 days and 365.24 days).

Converters

Private by default

This tool runs entirely in your browser. Your data is never uploaded to a server.

How it works

Which second, month, and year the converter uses

1 min = 60 s · 1 h = 3,600 s · 1 day = 86,400 s · 1 week = 604,800 s

Everything up to a week is exact, because those units are fixed multiples of the SI second. Months and years are not: their length depends on the calendar, so the converter uses the average Gregorian month and year — the only choice that stays consistent when you convert back.

  • 1 average year = 365.2425 days = 31,556,952 seconds, the mean Gregorian year including the 400-year leap rule.
  • 1 average month = 365.2425 ÷ 12 = 30.436875 days = 2,629,746 seconds.
  • Leap seconds are not modelled: a day is always 86,400 seconds here, exactly as it is in Unix time.
  • For a span between two real dates, use the Date Difference Calculator instead — an average year cannot tell you whether February had 28 days or 29.

For reference

Common time conversions

DurationSecondsDays
1 minute600.000694
1 hour3,6000.0417
1 day86,4001
1 week604,8007
30 days2,592,00030
1 average month2,629,74630.436875
365 days31,536,000365
1 average year31,556,952365.2425

The two pairs show why the average matters: a flat 365-day year is 20,952 seconds — about 5 hours 49 minutes — short of the calendar average.

How to use

3 clear steps.

  1. Enter a duration value.

  2. Choose its unit (e.g. hours).

  3. Choose the target unit (e.g. minutes) and read the converted duration.

Good to know

Frequently asked questions

How many seconds are in a day?
There are 86,400 seconds in a day: 24 hours × 60 minutes × 60 seconds.
How is a month defined in this converter?
As the average Gregorian month: 30.44 days (365.2425 days ÷ 12). Individual calendar months vary from 28 to 31 days.