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.