Time Unit Converter

Convert any time interval across 12 units, from nanoseconds to centuries.

Convert 12 units SI base
Rate this calculator

Time unit converter

12 units · SI seconds base · tropical year

Instructions — Time Unit Converter

1

Enter a time value

Type a number and pick the source unit from the dropdown. Default is 24 hours. The grid below converts to every other unit at once.

2

Pick the right granularity

For very short times (network latency, scientific measurement) use ns, μs, ms. For everyday use, stick with seconds through years. Centuries are useful for geology and history calculations.

3

Use a quick pick

Presets cover 60 min, 24 hr, 1 week, 1 month, 1 year, and 1000 ms. Useful as sanity checks when working in unfamiliar units.

Quick rule: 1 day = 86 400 s. 1 year = 31.56 million seconds.
Caveat: "month" is an average (30.4375 d). A specific calendar month varies 28-31 d.

Formulas

Time conversions route through the SI second. Year and month use Gregorian-mean values to handle leap-year cycles smoothly.

Seconds — the SI base
$$ 1\,\text{s} = 9\,192\,631\,770 \;\text{periods of Cs-133} $$
Since 1967, the second is defined by the radiation frequency of caesium-133 ground-state hyperfine transitions.
Day, week
$$ 1\,\text{day} = 86\,400\,\text{s} \;\;\; 1\,\text{week} = 604\,800\,\text{s} $$
By POSIX convention, a day is always 86 400 s regardless of leap seconds.
Month (average)
$$ 1\,\text{month} = \frac{365.2425}{12} \approx 30.4375\,\text{d} \approx 2\,629\,746\,\text{s} $$
Mean Gregorian month. A specific calendar month is 28, 29, 30, or 31 days.
Year (tropical)
$$ 1\,\text{year} = 365.2425\,\text{d} = 31\,556\,952\,\text{s} $$
Average Gregorian year, the basis of civil time. The sidereal year (relative to fixed stars) is 365.25636 d.
Small units
$$ 1\,\text{ms} = 10^{-3}\,\text{s} \;\;\; 1\,\mu\text{s} = 10^{-6}\,\text{s} \;\;\; 1\,\text{ns} = 10^{-9}\,\text{s} $$
Standard SI prefix factors. Used for I/O latency, networking, signal timing.
Universal conversion
$$ V_{B} = V_{A} \times \frac{\text{seconds in }A}{\text{seconds in }B} $$
Convert to seconds, then divide by target unit's seconds. Works for any two time units.

Reference

Time unit factors
UnitSymbolSeconds
Nanosecondns10⁻⁹
Microsecondμs10⁻⁶
Millisecondms10⁻³
Seconds1
Minutemin60
Hourhr3 600
Dayd86 400
Weekwk604 800
Month (mean)mo2 629 746
Year (tropical)yr31 556 952
Decadedec315 569 520
Centurycen3 155 695 200

Real-world time landmarks

Useful for quick sanity checks across orders of magnitude.

Short times
EventTime
CPU clock cycle~0.3 ns
Camera shutter (fast)1 ms
Eye blink100 ms
Human reaction250 ms
One heartbeat0.83 s
Sprint 100 m10 s
Long times
EventTime
1 work-year (8 h × 250 d)2000 hr
Mortgage (30 y)1.58 bn s
Life expectancy~73 y
1 century3.16 bn s
1 millennium31.6 bn s
Recorded history~50 cen

Article — Time Unit Converter

Time unit converter — seconds, minutes, hours, days, years

The time unit converter converts any duration across 12 units, from nanoseconds (10⁻⁹ s) to centuries (3.156 × 10⁹ s). The SI base unit is the second, defined since 1967 by exactly 9 192 631 770 oscillations of caesium-133. All other units route through seconds — minutes are 60 s, hours 3600 s, days 86 400 s, years 31 556 952 s (tropical).

Time is the one quantity humans have measured longest and disagreed about most. Sundials, water clocks, mechanical escapements, quartz crystals, and atomic clocks have each redefined the second to a finer precision. Modern atomic clocks are accurate to about one second in 300 million years — far beyond any practical conversion need.

What is the time unit converter?

A time unit converter takes a duration in one unit and outputs the same duration in others. The seconds-based architecture is universal: every unit has one factor (its size in seconds), and conversions are just multiplication and division. Subsecond units (ms, μs, ns) are clean decimal powers of 10. Calendar units (week, month, year, decade, century) need careful definition because real calendars have leap years and 28-31 day months.

Why the second is the SI base

The second is one of seven SI base units. Its modern definition comes from the 13th General Conference on Weights and Measures (CGPM) in 1967: "The second is the duration of 9 192 631 770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium-133 atom." Atomic clocks based on this transition (typically caesium-fountain or hydrogen-maser) are accurate to about 10⁻¹⁶, the best-measured quantity in physics.

Did you know

The metre depends on the second. Since 1983, the metre has been defined as the distance light travels in 1/299 792 458 s. So every length measurement ultimately traces back to an atomic-clock tick.

Time unit conversion factors

  • 1 ns = 10⁻⁹ s (CPU clock cycles)
  • 1 μs = 10⁻⁶ s (RAM access latency)
  • 1 ms = 10⁻³ s (network ping)
  • 1 minute = 60 s
  • 1 hour = 3600 s
  • 1 day = 86 400 s
  • 1 week = 604 800 s
  • 1 month (avg) = 2 629 746 s = 30.4375 d
  • 1 year (tropical) = 31 556 952 s = 365.2425 d
  • 1 century = 3 155 695 200 s

Time unit converter for calendar units

Calendar units are harder because the Gregorian calendar uses irregular month lengths and a 400-year leap cycle. The time unit converter uses smooth averages: 1 month = 365.2425/12 = 30.4375 days, 1 year = 365.2425 days (the average Gregorian year, with 97 leap years per 400 years).

Time unit converter cheat sheet
1 min = 60 s 1 hr = 3600 s
1 day = 86 400 s 1 week = 604 800 s
1 month ≈ 30.44 d 1 year ≈ 365.2425 d

Tropical year, sidereal year, calendar year

Three "year" definitions appear in scientific literature. The tropical year (365.24219 d) is the time between successive vernal equinoxes — the basis of seasons and civil calendars. The sidereal year (365.25636 d) is the time Earth takes to orbit the Sun once relative to the fixed stars; about 20 minutes longer than the tropical year because of axial precession. The Julian year (exactly 365.25 d) is used in astronomy for chronology.

The Gregorian civil calendar approximates the tropical year with an average of 365.2425 d. The 0.0003-day error builds to one day every 3300 years — not perfect but close enough for practical seasonal alignment. Most time unit converters use the Gregorian-mean year because that matches what civil calendars track. The sidereal year matters for orbital mechanics and astronomy.

Tip

The leap-year rule: divisible by 4, unless divisible by 100, unless divisible by 400. So 2000 was a leap year (÷400), but 1900 was not (÷100, not ÷400). Useful for calculating exact day differences across multi-year spans.

Common time unit conversion mistakes

Time unit conversion pitfalls

Mixing milliseconds and seconds is the most common bug in software. JavaScript's Date.now() returns ms (13-digit). Most languages return seconds (10-digit). A factor-of-1000 error from confusing these can be 31 700 years off — usually obvious, sometimes not.

The second-most common error is over-precise month math. Quoting "30 days = 1 month" for a 90-day contract gives 3 months, but real 90 days might span Feb 1 to May 1 (about 89 days) or Jan 1 to Apr 1 (90 days). Calendar arithmetic needs a specific date, not an average month.

The third error is sidereal vs tropical year confusion in scientific work. NASA mission planners use Julian or sidereal years; civil calendar tools use Gregorian-mean. A 20-minute-per-year discrepancy accumulates to 6 hours per decade — irrelevant for civil scheduling, critical for orbital mechanics.

Time unit conversions in computing and physics

Computer systems live in nanoseconds. A modern 4 GHz CPU completes one cycle every 0.25 ns. RAM access takes 10-100 ns. SSD reads take microseconds. Network round-trips take milliseconds. Web page loads take seconds. Each tier requires a different time unit to communicate sensibly.

Particle physics works in even shorter time scales. The shortest lifetime measured (top quark decay) is 5 × 10⁻²⁵ seconds — far below picoseconds. The Planck time, the theoretical minimum quantum of time, is 5.4 × 10⁻⁴⁴ s. Astronomy goes the other direction: the universe's age is about 13.8 billion years = 4.36 × 10¹⁷ s. A single time unit converter can span all these scales using scientific notation.

Time unit converter quick rules

Memorise four numbers: 60 (seconds in a minute, minutes in an hour), 24 (hours in a day), 7 (days in a week), and 365.25 (days in an average year). With these, you can do most conversions mentally. For sub-second units, just count zeros: ns is 10⁻⁹, μs is 10⁻⁶, ms is 10⁻³. For decade and century, multiply year by 10 or 100. The time unit converter on this page handles the precision; the memorised rules let you sanity-check the result.

For very large or very small times, scientific notation makes life easier. 1 year ≈ 3.16 × 10⁷ s. 1 century ≈ 3.16 × 10⁹ s. 1 million years ≈ 3.16 × 10¹³ s. The age of the universe is about 4.4 × 10¹⁷ s. The Planck time, the theoretical minimum quantum of time in physics, is 5.4 × 10⁻⁴⁴ s. A single time unit converter handles the full 10⁶¹ orders of magnitude using floating-point arithmetic.

FAQ

1 day = 86 400 s exactly, by POSIX and SI convention. (POSIX dictates a day is always 86 400 s, ignoring leap seconds.) The math: 24 hours × 3600 seconds/hour = 86 400.
1 tropical year ≈ 31 556 952 s, based on the Gregorian-mean 365.2425 days. A non-leap year is 31 536 000 s; a leap year is 31 622 400 s. Astronomers also use the sidereal year (relative to fixed stars), which is 31 558 149.5 s, or about 20 minutes longer.
This is the average Gregorian month: 365.2425 days ÷ 12. It is the right value when you need a smooth average over many months. For a specific month, use the actual length (28, 29, 30, or 31 days). Loan and pension calculators that quote interest per month usually assume 30 d or 30.4375 d for clarity.
1 min = 60 000 ms. Useful for system timeouts, event timing, and music tempo (BPM × ms = 60 000).
A tropical year (365.2425 d) is the time between successive spring equinoxes — the basis of civil calendars and seasons. A sidereal year (365.25636 d) is the time Earth takes to complete one orbit relative to fixed stars. The 20-minute gap comes from precession of the equinoxes.
1 ns = 10⁻⁹ s = one-billionth of a second. Light travels about 30 cm in a nanosecond — a useful benchmark in computing and physics. Grace Hopper, the computer scientist, used 11.8-inch wire segments to demonstrate "a nanosecond" in lectures.
Since 1967, the second is defined as 9 192 631 770 periods of the radiation from Cs-133 ground-state hyperfine transitions. This atomic definition is reproducible to about 10⁻¹⁶ — accurate to one second in 300 million years. It is the foundation of SI and underpins GPS, internet time servers, and metrology.
1 century ≈ 3 155 695 200 s, or about 3.16 billion seconds. Equivalent to 36 525 days (using the Gregorian-mean year of 365.25 days for the centennial average). A millennium is 10× that — roughly 31.6 billion seconds.