User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
Category Time
s
Enter a non-negative number (decimals allowed)
Quick presets:
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

About

Time unit conversion errors cascade through scheduling systems, billing platforms, and scientific data pipelines. A misplaced decimal when converting 86400 s (one day) into fractional days corrupts downstream calculations - cron jobs fire at wrong intervals, SLA reports misstate uptime, and experiment timestamps drift. This converter decomposes any number of seconds into its exact breakdown of days, hours, minutes, and remaining seconds using integer division by the constant 86400 s/day. It handles values from zero up to billions of seconds without floating-point rounding artifacts.

The tool operates bidirectionally. Enter seconds to receive a full time breakdown, or enter days, hours, minutes, and seconds to receive the total in seconds. All arithmetic is exact integer math where possible, with decimal precision preserved for sub-second inputs. Note: this converter assumes 1 day = 86400 s exactly. It does not account for leap seconds, which occur irregularly and add 1 s roughly every 18 months.

seconds to days time converter seconds converter time unit conversion days hours minutes seconds

Formulas

The conversion from seconds to a composite time breakdown uses successive integer division and modulo operations. Given total seconds S:

d = floor(S86400)
h = floor(S mod 864003600)
m = floor(S mod 360060)
s = S mod 60

The reverse (composite to total seconds):

S = d ร— 86400 + h ร— 3600 + m ร— 60 + s

Where d = days, h = hours, m = minutes, s = remaining seconds, and 86400 = 24 ร— 60 ร— 60 s/day.

Reference Data

Time PeriodSecondsMinutesHoursDays
1 Minute6010.01676.944ร—10โˆ’4
1 Hour3,6006010.04167
1 Day86,4001,440241
1 Week604,80010,0801687
1 Fortnight1,209,60020,16033614
30-Day Month2,592,00043,20072030
31-Day Month2,678,40044,64074431
1 Quarter (91 d)7,862,400131,0402,18491
1 Common Year31,536,000525,6008,760365
1 Leap Year31,622,400527,0408,784366
1 Julian Year31,557,600525,9608,766365.25
1 Decade315,360,0005,256,00087,6003,650
1 Century3,153,600,00052,560,000876,00036,500
1 Millennium31,536,000,000525,600,0008,760,000365,000
1 Sidereal Day86,164.11,436.0723.93450.99727
1 Synodic Month2,551,44342,524.05708.7329.5306
Mars Sol88,775.241,479.5924.661.02749
Planck Time5.391ร—10โˆ’448.985ร—10โˆ’461.498ร—10โˆ’476.24ร—10โˆ’49
Age of Universe4.35ร—10177.25ร—10151.21ร—10145.03ร—1012

Frequently Asked Questions

The SI definition of a day is exactly 86,400 seconds. Leap seconds are irregular corrections applied to UTC (roughly 27 since 1972) and cannot be predicted algorithmically. For engineering, scheduling, and general-purpose conversion, the 86,400 s/day constant is the universally accepted standard. If you work in precision timekeeping (GPS, radio astronomy), you must consult the IERS Bulletin C for leap second schedules.
JavaScript uses IEEE 754 double-precision floats, which provide exact integer representation up to 2^53 โˆ’ 1 (9,007,199,254,740,991). That is approximately 1.04 ร— 10^11 days, or about 285 million years. Beyond this threshold, integer precision degrades and results may be off by 1 or more seconds.
Fractional seconds are preserved in the final "seconds" component of the breakdown. For example, 90061.75 seconds yields 1 day, 1 hour, 1 minute, and 1.75 seconds. The days, hours, and minutes components are always whole integers; only the seconds remainder carries the decimal portion.
This tool accepts non-negative values only. Negative time intervals are mathematically valid but semantically ambiguous in a unit converter context. If you need to represent a time in the past, convert the absolute value and note the direction separately.
A mean solar day is defined as exactly 86,400 SI seconds. A sidereal day (one full rotation of Earth relative to distant stars) is approximately 86,164.1 seconds - roughly 3 minutes and 56 seconds shorter. This difference accumulates to one full extra sidereal day per year, which is why there are about 366.25 sidereal days in a year but only 365.25 solar days.
Divide your seconds value by 86,400. For example, 129,600 รท 86,400 = 1.5 days. This tool shows both the fractional day value and the full integer breakdown (1 day, 12 hours, 0 minutes, 0 seconds) for convenience.