⏱️ Time Duration Converter

Convert between nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks, months, and years — all bidirectional, all live. Type in any field, every other one updates instantly. Ideal for durations, timeouts, and elapsed-time math.

Try:
3600 s 90 min 24 hr 7 days 500 ms 1 year
Sub-second
Seconds & up
Approximate (calendar-average)
Copied

About the Time Duration Converter

The Time Converter turns any duration into every other common unit at once — nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks, months, and years. Type in any field and every other one updates instantly.

Everything runs in your browser. Nothing you type leaves the device.

Common uses

  • Programming — convert timeouts and durations between ms, seconds, and minutes for API config, cache TTLs, and rate limits.
  • Video & audio editing — convert millisecond frame offsets to seconds and back.
  • Project planning — convert hours to days, weeks, or months for estimation.
  • Fitness & running — split-time math between minutes and seconds.
  • Scientific timing — ns / µs / ms conversions for benchmarks and physics.

Supported units

Sub-second: nanosecond (ns = 10⁻⁹ s), microsecond (µs = 10⁻⁶ s), millisecond (ms = 10⁻³ s).

Seconds and up: second (s), minute (min = 60 s), hour (hr = 3600 s), day (86,400 s), week (7 days).

Approximate calendar-average: month (30.4375 days) and year (365.25 days). These are the standard averages for duration math — see the section below on why exact month/year length depends on calendar context.

Exact conversion ratios

  • 1 s = 1000 ms = 1,000,000 µs = 1,000,000,000 ns
  • 1 min = 60 s
  • 1 hr = 60 min = 3600 s
  • 1 day = 24 hr = 1440 min = 86,400 s
  • 1 week = 7 days = 604,800 s
  • 1 average month = 30.4375 days ≈ 2,629,800 s (= 1/12 of an average year)
  • 1 average year = 365.25 days ≈ 31,557,600 s (Julian year, accounts for leap-year cadence)

Why "average" month and year?

Calendar months are between 28 and 31 days, and years are 365 or 366 days depending on whether it's a leap year. For a fixed duration in seconds, we need an average — the convention used here is:

  • Year = 365.25 days (Julian year — the standard for astronomical and duration calculations, since it averages out one leap year every four).
  • Month = 1/12 of a year = 30.4375 days.

If you need the exact length of a specific calendar interval — say, from March 1 to April 1 — use a calendar-date subtraction, not this converter. These averages are for arithmetic durations only, which is why they're shown in a separate "approximate" block.

Privacy

All conversion runs client-side. Your input never leaves the browser.

Frequently asked questions

One hour = 3,600 seconds (60 seconds × 60 minutes).
One day = 1,440 minutes (24 hours × 60 minutes). One day is also 86,400 seconds.
Calendar months vary between 28 and 31 days. This converter uses the average Gregorian month of 30.4375 days (365.25 ÷ 12), which is the standard for duration math. For a specific calendar month, use a date-subtraction instead.
A common year has 365 days; a leap year has 366. This converter uses the Julian year of 365.25 days, the standard convention for duration math, because it averages out one leap year every four.
A millisecond is 10⁻³ s (1/1000 s). A microsecond is 10⁻⁶ s (1/1,000,000 s). A nanosecond is 10⁻⁹ s. Each step is 1000× shorter than the previous one.
No. Time conversion is arithmetic — no server round-trip is needed and none is made.