How to use the seconds in day calculator
- Enter the number of days you want to convert in the input field.
- The calculator instantly multiplies your value by 86,400 to find the total seconds.
- Read the result rows for the equivalent seconds, minutes and hours.
How the calculation works
A standard day has 24 hours, each hour has 60 minutes, and each minute has 60 seconds. When people ask how many seconds in a day, they are looking for the product of these three values:
24 x 60 x 60 = 86,400
For any number of days, the formula is simply days x 86,400. For example, 3 days would be 3 x 86,400 = 259,200 seconds. The math is exact because all three factors are whole numbers, meaning there is no rounding error when working with integer days. Even fractional days work cleanly: half a day is exactly 43,200 seconds.
How many seconds in a minute, hour, day, week, month and year
The answer is 86,400 seconds in one day. Here is every common span in seconds, calculated from 60 seconds per minute, 60 minutes per hour and 24 hours per day:
| Time span | Seconds |
|---|---|
| 1 minute | 60 |
| 1 hour | 3,600 |
| 1 day (24 hours) | 86,400 |
| 1 week (7 days) | 604,800 |
| 28-day month | 2,419,200 |
| 30-day month | 2,592,000 |
| 31-day month | 2,678,400 |
| Common year (365 days) | 31,536,000 |
| Leap year (366 days) | 31,622,400 |
| Mean Gregorian year (365.2425 days) | 31,556,952 |
| Julian year (365.25 days) | 31,557,600 |
For a year, 31,536,000 is the usual answer (365 days). A leap year has one extra day, so it is 31,622,400. Across the 400-year Gregorian cycle the average year is 365.2425 days, or 31,556,952 seconds, which is the figure to use for long-run averages.
Common day-to-second conversions
This table shows the seconds per day for frequently used time spans. You can use it as a quick reference without needing to calculate manually.
| Days | Seconds | Minutes |
|---|---|---|
| 0.5 | 43,200 | 720 |
| 1 | 86,400 | 1,440 |
| 7 | 604,800 | 10,080 |
| 30 | 2,592,000 | 43,200 |
| 365 | 31,536,000 | 525,600 |
Memorizing the base figure of 86,400 makes mental math much faster. If you need to estimate the seconds in 10 days, just add a zero to get 864,000. For larger periods like a decade, multiply 31,536,000 by 10 to reach 315,360,000 seconds.
Why 86,400 matters in computing
The number 86,400 appears constantly in software engineering and system administration. Unix timestamps measure time in seconds since January 1, 1970, so adding or subtracting 86,400 shifts a timestamp by exactly one day. DNS records use a Time to Live (TTL) value measured in seconds, and 86400 is a very common default TTL for caching domain lookups.
Network protocols, log rotation schedules and cron jobs also rely on this constant. If you need to build scheduling expressions, a cron builder can help translate these intervals into valid syntax. Understanding how many seconds in a day helps developers avoid off-by-one errors when writing date arithmetic logic or setting cache expiration headers.
Standard days versus solar and sidereal days
This calculator uses the civil day of exactly 24 hours. In astronomy, a mean solar day is slightly longer than 86,400 SI seconds (by roughly a millisecond or two) because tidal friction gradually slows Earth's rotation. A sidereal day, which measures Earth's rotation relative to distant stars rather than the Sun, is shorter at approximately 23 hours, 56 minutes and 4.09 seconds, or roughly 86,164.09 seconds.
For everyday scheduling, programming and general time conversion, the exact figure of 86,400 seconds is always used. Leap seconds are occasionally added to Coordinated Universal Time (UTC) to keep clocks aligned with Earth's rotation, making those specific days 86,401 seconds long, but they do not change the standard definition used in commerce and computing.
What a leap second does to the 86,400 figure
Every UTC day is defined as 86,400 SI seconds, and the SI second is fixed by the caesium atomic clock. Because Earth's rotation is slightly irregular, UTC has occasionally been adjusted by inserting one extra second at the end of a day. On those days the clock reads 23:59:60 and the day lasts 86,401 seconds. Twenty-seven leap seconds were added between 1972 and 2016, and none since the one on 31 December 2016.
In 2022 the General Conference on Weights and Measures resolved to stop leap seconds by or before 2035. For ordinary calculation, scheduling and Unix timestamps (which ignore leap seconds), a day is 86,400 seconds.
Converting between other time units
Understanding how many seconds in a day is just one part of working with time. You might also need to break larger durations down into smaller components. For instance, converting raw seconds back into hours, minutes and seconds requires dividing by 3,600 and then handling the remainder. Tools like the seconds to hours converter handle that reverse math automatically.
If you are working with longer calendar periods, you may also want to check how many weeks fit into a year using the weeks in year calculator, or convert between days and hours directly with the days to hours tool. Keeping these related constants straight prevents bugs in applications that process dates and durations.
Worked examples
| Example | Input | Result |
|---|---|---|
| One standard day | Number of days: 1 | Seconds: 86,400; Minutes: 1,440; Hours: 24 |
| One week (7 days) | Number of days: 7 | Seconds: 604,800; Minutes: 10,080; Hours: 168 |
| 30 days | Number of days: 30 | Seconds: 2,592,000; Minutes: 43,200; Hours: 720 |
| A full year (365 days) | Number of days: 365 | Seconds: 31,536,000; Minutes: 525,600; Hours: 8,760 |
| Half a day | Number of days: 0.5 | Seconds: 43,200; Minutes: 720; Hours: 12 |
FAQ
How many seconds in a day exactly?
There are exactly 86,400 seconds in a standard 24-hour day. This is calculated by multiplying 24 hours by 60 minutes by 60 seconds.
How many seconds are in a week?
A week has 7 days, so there are 604,800 seconds in a week (7 multiplied by 86,400).
Is a day always exactly 86,400 seconds?
In civil timekeeping, yes. However, astronomers occasionally add a leap second to UTC to account for variations in Earth's rotation, making that specific day 86,401 seconds long.
How do I convert days to seconds in code?
Multiply the number of days by 86400. In most programming languages, the expression is simply days * 86400.
What is a sidereal day in seconds?
A sidereal day is approximately 86,164.09 seconds. It measures Earth's rotation relative to fixed stars rather than the Sun.
How many seconds in a year?
A standard 365-day year has 31,536,000 seconds. A leap year with 366 days has 31,622,400 seconds.
How many seconds are in a month?
It depends on the month: 2,419,200 seconds in 28 days, 2,505,600 in 29 days, 2,592,000 in 30 days and 2,678,400 in 31 days.
How many seconds are in a leap year?
A leap year has 366 days, so 366 x 86,400 = 31,622,400 seconds. A common year has 31,536,000.
How many seconds are in an hour and a minute?
There are 60 seconds in a minute and 3,600 seconds in an hour (60 x 60). 24 hours is 86,400 seconds.
Do leap seconds change how many seconds are in a day?
Only on the day a leap second is inserted, when a UTC day has 86,401 seconds. Leap seconds are rare (27 between 1972 and 2016, none since) and standard calculations use 86,400.