Seconds Converter (sec to min, hr, day, year)

Convert seconds to and from milliseconds, microseconds, nanoseconds, minutes, hours, days, weeks and years (365.25 days).

Convert 9 time units Scientific scale
Rate this calculator

Seconds ↔ min / hr / day / year

9 time units · HH:MM:SS · 365.25 d/yr

Instructions — Seconds Converter (sec to min, hr, day, year)

1

Enter a time value

Type any positive number into the input. Default is 3600 seconds = 1 hour. The converter accepts any unit from nanoseconds to years.

2

Pick the source unit

Use the dropdown for seconds, milliseconds, microseconds, nanoseconds, minutes, hours, days, weeks or years. All eight other units update instantly.

3

Use quick presets

One-click buttons cover 1 minute, 1 hour, 1 day, 1 week, 30 days and 1 year. Useful for sanity checks and copy-paste workflows.

Formulas

The SI second is defined exactly via the caesium-133 atom. All other time units convert through fixed factors.

SI definition
$$ 1\,\text{s} = 9{,}192{,}631{,}770\,\text{Cs-133 transitions} $$
The second is defined by 9,192,631,770 cycles of caesium-133 hyperfine radiation. Adopted in 1967 by the 13th CGPM.
Seconds to minutes / hours
$$ \text{min} = \frac{s}{60} \quad \text{hr} = \frac{s}{3600} $$
60 seconds per minute, 3600 per hour. Sexagesimal time inherited from Babylonian astronomy via the Greeks.
Days, weeks, years
$$ 1\,\text{d} = 86{,}400\,\text{s},\;\; 1\,\text{wk} = 604{,}800\,\text{s} $$
86,400 s/day, 604,800 s/week. A Julian year is 365.25 days = 31,557,600 seconds, used for astronomy.
Sub-second units
$$ 1\,\text{ms} = 10^{-3}\,\text{s},\;\; 1\,\mu\text{s} = 10^{-6}\,\text{s},\;\; 1\,\text{ns} = 10^{-9}\,\text{s} $$
Millisecond, microsecond, nanosecond — the standard fractional units for software timing, networking and electronics.
HH:MM:SS form
$$ s = 3600 \cdot h + 60 \cdot m + s' $$
Convert raw seconds to clock-style hours-minutes-seconds with successive integer division.
Unix epoch
$$ \text{epoch} = \text{seconds since 1970-01-01 00:00 UTC} $$
Used in nearly every operating system and database. 2026-01-01 00:00 UTC = epoch 1767225600.

Reference

Common Time Intervals in Seconds
IntervalSecondsEquivalent
Blink of an eye0.1100 ms
Heart beat (resting)1~60 bpm
One minute601 min
One hour3,60060 min
One school period2,70045 min
One day86,40024 hr
One week604,8007 days
One month (30 d)2,592,000720 hr
One year (365.25 d)31,557,600Julian year
One decade315,576,00010 years
One century3,155,760,000100 years
Age of universe~4.35 × 10¹⁷13.8 billion years

Article — Seconds Converter (sec to min, hr, day, year)

Seconds converter: time unit conversions explained

The second is the SI base unit of time, defined exactly by 9,192,631,770 transitions of the caesium-133 atom. From seconds you can derive every other time unit: 60 s = 1 minute, 3600 s = 1 hour, 86,400 s = 1 day, 604,800 s = 1 week, 31,557,600 s = 1 Julian year. Going smaller: 1 ms = 10⁻³ s, 1 µs = 10⁻⁶ s, 1 ns = 10⁻⁹ s.

The second's odd-looking definition (9.192 billion transitions) was chosen in 1967 to match the existing astronomical second, which had been defined as 1/86,400 of a mean solar day. The atomic definition is stable to about one second per 60 million years — vastly better than Earth's rotation, which varies by milliseconds daily.

Seconds: the SI base time unit

One of seven SI base units (alongside metre, kilogram, ampere, kelvin, mole, candela). Defined since 1967 by the caesium-133 atomic transition. Modern SI reaffirms this in the 2019 redefinition: the second is whatever makes the caesium frequency ΔνCs exactly 9,192,631,770 Hz. Every other time unit derives from the second by a fixed factor.

The advantage of the atomic definition is reproducibility. Any laboratory with a caesium atomic clock can independently realise the second to ~10⁻¹⁵ accuracy. The astronomical second varied with the Earth's rotation, which speeds up or slows by milliseconds per day depending on geophysical effects (tides, earthquakes, ice melt).

Seconds to minutes and hours

60 seconds make one minute. 60 minutes make one hour. So 3600 seconds = 1 hour. The base-60 (sexagesimal) division is inherited from Babylonian astronomy via the Greeks. Sixty has more divisors than ten (1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60), which is why minutes split cleanly into halves, thirds, quarters, fifths, sixths and tenths.

  • 1 minute = 60 seconds
  • 1 hour = 3,600 seconds = 60 min
  • 1 day = 86,400 seconds = 24 hours
  • 1 week = 604,800 seconds = 7 days
  • 1 month (avg) ≈ 2,629,800 seconds
  • 1 year (Julian) = 31,557,600 seconds
  • 1 year (Gregorian) ≈ 31,556,952 seconds
  • 1 century ≈ 3,155,760,000 seconds

Seconds to days and weeks

One day is exactly 86,400 seconds — by definition, ignoring leap seconds. One week is 604,800 seconds. These are the units software and science use for time intervals longer than an hour and shorter than a year. Months are awkward because they vary in length (28-31 days); database designs usually store months as 30-day approximations or compute them from calendar dates.

Did you know

The 7-day week has no astronomical basis. It comes from Babylonian religion (one day per visible "planet" — the Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn) and spread via Judaism and Christianity. Many ancient cultures used 5, 6, 8 or 10-day weeks.

How many seconds in a year

The number depends on which year. A common (non-leap) year has 365 × 86,400 = 31,536,000 seconds. A leap year (366 days) has 31,622,400. The Julian year (365.25 days, used by astronomers) is 31,557,600. The Gregorian year (365.2425 days on average, the calendar most countries use) is 31,556,952.

For most software and engineering work, 31,536,000 (365 days) is good enough. Astronomers use the Julian year. Climatologists and demographers sometimes use the tropical year (365.24219 days), which is the time from one vernal equinox to the next.

Sub-second time units

Below one second the metric prefixes take over. Millisecond (ms) = 10⁻³ s; microsecond (µs) = 10⁻⁶ s; nanosecond (ns) = 10⁻⁹ s; picosecond (ps) = 10⁻¹² s; femtosecond (fs) = 10⁻¹⁵ s. Each step down opens new technological domains.

Sub-second scales
1 ms web request, typing latency
1 µs RAM access, USB packets
1 ns 1 GHz clock period
1 ps laser pulse, electronic switching
1 fs electron motion, ultrafast spectroscopy

Unix epoch time in seconds

Unix epoch time is the number of seconds since 1970-01-01 00:00:00 UTC, not counting leap seconds. It's the dominant timestamp format in operating systems, databases and web APIs. As of January 2026 the epoch is around 1.77 × 10⁹ seconds — a 10-digit decimal number for at least another century.

The famous "year 2038 problem" arises because 32-bit signed integers overflow at 2,147,483,647 seconds past epoch — January 19, 2038. Modern systems use 64-bit integers, pushing the next overflow billions of years into the future. Legacy embedded firmware is a different story.

Tip

To convert a Unix timestamp by hand: divide by 86,400 to get days since 1970-01-01. The integer part is the day number; the fractional part times 86,400 is the seconds into that day. Then count years (365.25 days each, adjusting for leaps) to get the calendar date.

Caesium-133 and the atomic second

The SI second is defined by the resonance frequency of an unperturbed caesium-133 atom at its ground-state hyperfine transition: exactly 9,192,631,770 Hz. Counted out, one second corresponds to that many wave cycles. The choice of caesium reflects its sharp, easily-measured resonance and low sensitivity to perturbations.

Caesium fountain clocks at NIST and similar national laboratories achieve fractional accuracy near 10⁻¹⁶. Optical lattice clocks using strontium or ytterbium do even better (10⁻¹⁸ to 10⁻¹⁹). The next SI redefinition of the second is widely expected to use an optical-frequency standard rather than caesium.

Leap seconds and time keeping

UTC (Coordinated Universal Time) inserts leap seconds occasionally to keep clock time aligned with the Earth's rotation. Since 1972, 27 leap seconds have been added (always positive). The last was on 2016-12-31. The International Telecommunication Union has voted to abolish leap seconds by 2035 because of the complications they cause for software systems.

For most calculations the difference is negligible — 27 seconds spread over 50 years. But for GPS, financial trading and precise astronomy, leap seconds matter. GPS time runs about 18 seconds ahead of UTC (as of 2026) and doesn't include leap seconds. TAI (International Atomic Time) is unbroken; UTC differs from TAI by an integer number of leap seconds.

The decision to abolish leap seconds reflects the cost in software complexity. Distributed systems handle "second 60 of minute 59" inconsistently — some smooth it across a day, some skip it, some duplicate it. Google's "leap smear" spreads the extra second over 24 hours so no individual clock tick is unusual. The 2035 cutoff gives the world time to adapt without surprise.

Don't average across leap seconds

Subtracting two Unix timestamps gives elapsed seconds — but only because Unix time ignores leap seconds by design. Subtracting two TAI timestamps gives true elapsed seconds. For most applications the difference is irrelevant; for satellite navigation it matters.

FAQ

86,400 seconds in a day (24 hr × 60 min × 60 s). The figure assumes a fixed 24-hour day; the actual solar day varies by a few milliseconds, and a leap second is added occasionally to UTC.
31,557,600 seconds in a Julian year (365.25 days, used by astronomers). A common year (365 days) is 31,536,000 seconds; a leap year (366 days) is 31,622,400.
As of 1967, 1 second = 9,192,631,770 periods of caesium-133 hyperfine ground-state radiation. The 26th CGPM (2018) re-affirmed this with the explicit-constant SI definition tied to ΔνCs = 9,192,631,770 Hz exactly.
Millisecond (ms) = 10⁻³ s. Microsecond (µs) = 10⁻⁶ s. Nanosecond (ns) = 10⁻⁹ s. Used in software (typical web request ~100 ms), networking (light travels ~30 cm/ns) and electronics (1 GHz clock = 1 ns/cycle).
Unix epoch = seconds since 1970-01-01 00:00:00 UTC, ignoring leap seconds. It is the basis for time-stamping in most operating systems, databases and APIs. Current epoch values are around 1.78 × 10⁹.
Depends on the month: 28 days = 2,419,200 s; 29 days = 2,505,600 s; 30 days = 2,592,000 s; 31 days = 2,678,400 s. An average Gregorian month (30.437 days) is 2,629,800 s.
Because of leap years. Every 4 years gains one extra day, averaging 365.25 days/year. The exact tropical year is 365.24219 days; the Gregorian rule (leap every 4 except centuries not divisible by 400) gives 365.2425 days/year — close to but not exactly 365.25.
Modern caesium-fountain clocks reach 5 × 10⁻¹⁶ fractional accuracy — about 1 second drift over 60 million years. Newer optical lattice clocks (strontium, ytterbium) reach 10⁻¹⁸ — better than 1 second over the age of the universe.