Home › Unit Converters › Time Unit Converter

Time Unit Converter

Convert any duration between nanoseconds and millennia. Pick the two units, see the answer instantly, and get the same duration broken down into days, hours, minutes and seconds.

Last updated:

Used for months, years, decades and longer.

Enter your values to see the result.
Advertisement
Advertisement

How to use the Time Unit Converter

  1. Enter the duration as a plain number (decimals are fine).
  2. Choose the From and To units, e.g. seconds to hours.
  3. Pick a year length if you convert months, years or decades. Gregorian average is the default.
  4. Read the result and the d:h:m:s breakdown in the results panel.
  5. Use the table to see every unit at once, or press Copy results.

How the time unit conversion works

Every unit is first turned into seconds, the SI base unit of time, and then divided by the size of the target unit:

result = value × (seconds per source unit) ÷ (seconds per target unit)

Units up to a week are fixed: a minute is 60 s, an hour 3,600 s, a day 86,400 s and a week 604,800 s. Months and years are not fixed lengths in the calendar, so the converter uses averages that you can choose.

UnitEqualsIn seconds
1 nanosecond (ns)0.001 µs0.000000001
1 microsecond (µs)1,000 ns0.000001
1 millisecond (ms)1,000 µs0.001
1 minute60 s60
1 hour60 min3,600
1 day24 h86,400
1 week7 days604,800
1 average month (Gregorian)30.436875 days2,629,746
1 Gregorian year365.2425 days31,556,952
1 Julian year365.25 days31,557,600
1 decade (Gregorian)3,652.425 days315,569,520

Where each unit is used

  • Nanoseconds and microseconds: CPU and memory timings, network latency inside a data center, camera shutter electronics. Light travels about 30 cm in one nanosecond.
  • Milliseconds: web page load times, ping, audio latency, reaction time (a typical human reaction is roughly 200–250 ms). One frame at 60 fps lasts about 16.7 ms.
  • Seconds to hours: timers, video length, work logs and timeouts in software settings.
  • Days to decades: project planning, warranties, loan terms, ages and historical periods.

Tips

  • For durations measured in calendar terms (e.g. "3 months from today"), use a date calculator, because real months have 28–31 days. This converter uses averages.
  • Unix time counts seconds; JavaScript and many APIs count milliseconds. Divide by 1,000 to switch from ms to s.
  • Leap seconds are not included: a day is always 86,400 s here, which matches how almost all software measures time.

Frequently asked questions

How many seconds are in a day, a week and a year?

A day has 86,400 seconds (24 × 60 × 60), a week has 604,800 seconds, a 365-day year has 31,536,000 seconds and an average Gregorian year (365.2425 days) has 31,556,952 seconds.

How long is a month in this converter?

Months vary from 28 to 31 days, so the converter uses an average month of one twelfth of a year. With the Gregorian year that is 30.436875 days, or 2,629,746 seconds.

Which year length should I choose?

Use the Gregorian average (365.2425 days) for calendar-based durations over many years. Astronomy and the light-year use the Julian year of exactly 365.25 days. Pick 365 days for a single non-leap calendar year.

How do I convert seconds to days, hours, minutes and seconds?

Divide by 86,400 for whole days, take the remainder and divide by 3,600 for hours, then by 60 for minutes; what is left is seconds. For 100,000 s that is 1 day, 3 hours, 46 minutes and 40 seconds.

How many milliseconds, microseconds and nanoseconds are in a second?

One second is 1,000 milliseconds, 1,000,000 microseconds and 1,000,000,000 nanoseconds. Each step is a factor of 1,000.

Why do years and decades give slightly different answers on other sites?

Sites use different year lengths: 365, 365.25 or 365.2425 days. Over a decade the difference between 365 and 365.2425 days is about 2.4 days, so check which definition a source uses.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Seconds to MinutesConvert seconds to minutes (s to min) instantly, with formula and chart.Time Duration CalculatorHours, minutes and seconds between two times, overnight too.MPH to km/hConvert miles per hour to kilometers per hour.km/h to MPHConvert kilometers per hour to miles per hour (km/h to mph) instantly, with formula and chart.Knots to MPHConvert knots to miles per hour (kn to mph) instantly, with formula and chart.Knots to km/hConvert knots to kilometers per hour (kn to km/h) instantly, with formula and chart.m/s to km/hConvert meters per second to kilometers per hour and back, with formula steps.Minutes to HoursConvert minutes to hours (min to h) instantly, with formula and chart.Hours to MinutesConvert hours to minutes (h to min) instantly, with formula and chart.Minutes to SecondsConvert minutes to seconds (min to s) instantly, with formula and chart.MPH to KnotsConvert miles per hour to knots (mph to kn) instantly, with formula and chart.km/h to KnotsConvert kilometers per hour to knots (km/h to kn) instantly, with formula and chart.m/s to MPHConvert meters per second to miles per hour (m/s to mph) instantly, with formula and chart.Feet per Second to MPHConvert feet per second to miles per hour (ft/s to mph) instantly, with formula and chart.Mach to MPHConvert Mach to miles per hour (Mach to mph) instantly, with formula and chart.Weeks to DaysConvert weeks to days (wk to d) instantly, with formula and chart.Days to WeeksConvert days to weeks (d to wk) instantly, with formula and chart.Weeks to MonthsConvert weeks to months (wk to mo) instantly, with formula and chart.Months to WeeksConvert months to weeks (mo to wk) instantly, with formula and chart.RPM to HzConvert revolutions per minute to hertz (rpm to Hz) instantly, with formula and chart.GPM to LPMConvert US gallons per minute to liters per minute and back, with formula steps.CFM to m³/hConvert cubic feet per minute to cubic meters per hour and back, with formula steps.Days to MonthsConvert days to months (d to mo) instantly, with formula and chart.Degrees Minutes Seconds ConverterConvert decimal degrees to DMS and back for angles and GPS coordinates, with N/S/E/W.Months to DaysConvert months to days (mo to d) instantly, with formula and chart.Pace to Speed ConverterConvert running pace (min/km, min/mile) to km/h and mph and back, with a treadmill table.Flow Rate ConverterConvert GPM, GPH, LPM, L/s, m³/h, CFM, CFS and MGD, and work out fill times.Frequency ConverterConvert Hz, kHz, MHz, GHz, RPM, rad/s, BPM and period, with wavelength in air or vacuum.Speed ConverterConvert m/s, km/h, mph, ft/s, knots, Mach and running pace (min/mile, min/km) all at once.Pregnancy Weeks to Months ConverterConvert weeks pregnant to months and trimester, with a full week 1–40 chart.Acceleration ConverterConvert m/s², ft/s², g-force, Gal and km/h/s, and turn a 0–60 mph time into average g.
See all 31 Speed, Flow & Time Converters →