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

Turn a duration into whatever unit the job needs: server timeouts in milliseconds, project estimates in weeks, machine cycles in microseconds. Several rows can be added in one go.

How to use it

  1. 1

    Type into any row — say h or min. The results appear immediately, no button needed.

  2. 2

    Need a combined figure? Fill in two rows, for example h and d, and they are added together before converting.

  3. 3

    Set how many digits you want (4–12) and click a result to copy the plain number.

Advertising

Exact conversion factors

These are the definitions the calculator uses. Nothing here is rounded for convenience — where a value is exact by definition, it says so.

  • 1 min = 60 s · 1 h = 3600 s · 1 day = 86 400 s
  • 1 week = 604 800 s · 1 year (365 d) = 31 536 000 s
  • 1 ms = 0.001 s · 1 µs = 10⁻⁶ s · 1 ns = 10⁻⁹ s
  • The month row uses 30.4167 days — 365 ÷ 12, an averaged month
Formulas = min × 60 = h × 3600 = d × 86 400 · ms = s × 1000 · µs = s × 10⁶

Time conversion table — every unit

One of each unit, converted into the three units people ask for most.

Unithmind
1 yr8 760 h525 600 min365 d
1 mo730 h43 800 min30.4167 d
1 wk168 h10 080 min7 d
1 d24 h1 440 min1 d
1 h1 h60 min0.0416667 d
1 min0.0166667 h1 min0.000694444 d
1 s0.000277778 h0.0166667 min0.0000115741 d
1 ms0.000000277778 h0.0000166667 min0.0000000115741 d
1 µs2.77778×10^-10 h0.0000000166667 min1.15741×10^-11 d
1 ns2.77778×10^-13 h1.66667×10^-11 min1.15741×10^-14 d

h → min, d — quick values

hmind
0.5 h30 min0.0208333 d
1 h60 min0.0416667 d
2 h120 min0.0833333 d
3 h180 min0.125 d
5 h300 min0.208333 d
10 h600 min0.416667 d
20 h1 200 min0.833333 d
25 h1 500 min1.04167 d
50 h3 000 min2.08333 d
100 h6 000 min4.16667 d
250 h15 000 min10.4167 d
1 000 h60 000 min41.6667 d

How this converter works

Because entries are summed, you can describe a duration the way people actually speak. Enter 2 days, 6 hours and 30 minutes across three rows and read the answer as 195 000 s, or 54.17 h, or 0.00618 years.

A note on the long units: the year here is a flat 365 days and the month is 30.4 days, an average that ignores leap years and calendar lengths. That matches how engineering tables treat them and is fine for durations — but do not use it for calendar dates, where February and leap days matter.

Notes and abbreviations

  • ms — millisecond, 10⁻³ s; µs — microsecond, 10⁻⁶ s; ns — nanosecond, 10⁻⁹ s
  • Year = 365 days, month = 30.4 days (an averaged month, not a calendar month)
  • One week is 604 800 s — a handy number for cache and token lifetimes

Questions

How many seconds are in a day?

86 400. In a week, 604 800. In a 365-day year, 31 536 000.

Can I add hours and minutes together?

Yes — that is the point of the layout. Fill in as many rows as you like and every output reflects the sum.

Why does the month row say 30.4 days?

It is 365 ÷ 12 = 30.4167 days, the average month length. Real months run 28 to 31 days, so treat month results as approximations.

Other converters