Seconds to Weeks/Days/Hours/Minutes Converter
Convert seconds to weeks, days, hours, and minutes instantly. Precise time unit breakdown with real-time conversion, presets, and copy-to-clipboard.
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 s ≈ 1 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.
Formulas
The conversion uses cascading Euclidean division. Given an input S in seconds:
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 Unit | Equivalent in Seconds | Common Usage |
|---|---|---|
| 1 Minute | 60 s | CPU timeout thresholds |
| 1 Hour | 3,600 s | Session expiry, cron jobs |
| 1 Day | 86,400 s | SSL certificate validity, log rotation |
| 1 Week | 604,800 s | Sprint cycles, cache TTL |
| 1 Fortnight | 1,209,600 s | Payroll cycles (biweekly) |
| 30 Days | 2,592,000 s | Monthly billing approximation |
| 90 Days | 7,776,000 s | Quarterly reporting |
| 365 Days | 31,536,000 s | Common year |
| 365.25 Days | 31,557,600 s | Julian year (astronomy) |
| 1 Sidereal Day | 86,164.1 s | Earth rotation relative to stars |
| 1 Milliday | 86.4 s | Metric time proposals |
| 1 Microcentury | 3,155.76 s (≈ 52.6 min) | University lecture length (joke unit) |
| 1 Martian Sol | 88,775.24 s | Mars rover mission planning |
| 1 Lunar Month (Synodic) | 2,551,442.8 s | Tidal cycle calculations |
| 1 Olympiad | 126,230,400 s | 4-year Olympic cycle |