User Rating 0.0
Total Usage 0 times
Category Time
Accepts integers or decimals. Negative values supported.
0 Weeks
0 Days
0 Hours
0 Minutes
0 Seconds
Also expressed as:
Is this tool helpful?

Your feedback helps us improve.

About

Time unit conversion errors propagate through scheduling systems, automation scripts, and SLA calculations. A miscounted second compounds: 86400 s is exactly 1 day, but 90061 s requires cascading division across weeks, days, hours, minutes, and remaining seconds. This converter performs exact integer decomposition using modular arithmetic. It handles values from 0 up to 9,007,199,254,740,991 s (the IEEE 754 safe integer limit). Note: this tool assumes uniform seconds with no leap-second adjustments.

Pro tip: Unix epoch timestamps are expressed in seconds. Pasting a duration diff (e.g., 31557600 s1 Julian year) into this tool instantly reveals the human-readable breakdown. Remember that calendar months vary between 28 - 31 days, so this converter intentionally omits months and years to avoid ambiguity.

seconds converter time converter seconds to minutes seconds to hours seconds to days seconds to weeks time unit breakdown

Formulas

The conversion uses cascading Euclidean division. Given an input S in seconds:

w = floor(S604800)
r1 = S mod 604800
d = floor(r186400)
r2 = r1 mod 86400
h = floor(r23600)
r3 = r2 mod 3600
m = floor(r360)
s = r3 mod 60

Where w = weeks, d = days, h = hours, m = minutes, s = remaining seconds, and rn = remainder at each stage. The constants derive from: 1 week = 7 × 24 × 3600 = 604,800 s.

Reference Data

Time UnitEquivalent in SecondsCommon Usage
1 Minute60 sCPU timeout thresholds
1 Hour3,600 sSession expiry, cron jobs
1 Day86,400 sSSL certificate validity, log rotation
1 Week604,800 sSprint cycles, cache TTL
1 Fortnight1,209,600 sPayroll cycles (biweekly)
30 Days2,592,000 sMonthly billing approximation
90 Days7,776,000 sQuarterly reporting
365 Days31,536,000 sCommon year
365.25 Days31,557,600 sJulian year (astronomy)
1 Sidereal Day86,164.1 sEarth rotation relative to stars
1 Milliday86.4 sMetric time proposals
1 Microcentury3,155.76 s (≈ 52.6 min)University lecture length (joke unit)
1 Martian Sol88,775.24 sMars rover mission planning
1 Lunar Month (Synodic)2,551,442.8 sTidal cycle calculations
1 Olympiad126,230,400 s4-year Olympic cycle

Frequently Asked Questions

Months vary between 28 and 31 days, and years between 365 and 366 days. Including them would require an arbitrary choice (e.g., 30-day month or 365.25-day year), introducing silent inaccuracy. This tool uses only fixed-duration units (weeks = 604,800 s, days = 86,400 s) to guarantee exact, unambiguous results.
The converter accepts decimal input such as 90061.75 seconds. Integer division is applied to the whole-second portion for weeks, days, hours, and minutes. The fractional part is preserved in the final seconds remainder. For example, 90061.75 s yields 1 day, 1 hour, 1 minute, and 1.75 seconds.
The tool accepts values up to 9,007,199,254,740,991 seconds (Number.MAX_SAFE_INTEGER in IEEE 754 double-precision). This equals approximately 14.3 billion years - longer than the current age of the universe (≈ 13.8 billion years). Values beyond this threshold lose integer precision and the tool will display a warning.
No. Leap seconds are irregular corrections applied by the International Earth Rotation and Reference Systems Service (IERS) and cannot be predicted algorithmically. This tool uses the SI definition where 1 minute = 60 s, 1 hour = 3,600 s, and 1 day = 86,400 s uniformly. For UTC-critical applications (satellite timing, financial timestamps), consult an NTP-synced source.
Yes. Negative input is accepted and the result is displayed with a negative sign prefix. The absolute value undergoes the same cascading division. This is useful for expressing time deltas where one timestamp precedes another.
Each preset maps to a common engineering or scientific constant: 3,600 s (1 hour, typical session timeout), 86,400 s (1 day, log rotation interval), 604,800 s (1 week, sprint cycle), 2,592,000 s (30-day month approximation), and 31,557,600 s (Julian year, used in astronomy for orbital period calculations).