Time Calculator
Enter two times as days, hours, minutes and seconds, and choose to add them or subtract the second from the first. The result is shown in the clearest whole units, and also as totals.
Your numbers
How we calculate it
Each time is turned into seconds: days × 86,400, hours × 3,600 and minutes × 60, plus the seconds. The two totals are added or subtracted, and the answer is written back as days, hours, minutes and seconds.
For 1 day 2 hours 30 minutes plus 5 hours 45 minutes 30 seconds, the total is 116,130 seconds, which is 1 day 8 hours 15 minutes 30 seconds, or 32.2583 hours. A negative answer is shown with a minus sign.
Assumptions and limits
- A day here is exactly 24 hours. Clock changes for daylight saving time are not included.
- Leave a box empty to count it as zero. Decimals such as 1.5 hours are accepted.
- Use the days between dates calculator when you have calendar dates instead of lengths of time.
Frequently asked questions
How do I add hours and minutes?
Add the minutes and carry every full 60 into the hours, then add the hours. 5 hours 45 minutes plus 3 hours 30 minutes is 9 hours 15 minutes.
What happens when the answer is negative?
If you subtract a longer time from a shorter one, the result is shown with a minus sign. 3 hours minus 4 hours 30 minutes is minus 1 hour 30 minutes.
How many seconds are in a day?
There are 86,400 seconds in a day: 24 hours of 60 minutes of 60 seconds.
Related calculators
- Hours Between Two Times CalculatorEnter a start time and an end time to get the elapsed hours and minutes, even when the shift crosses midnight.
- Days Between Dates CalculatorPick two dates to see exactly how many days apart they are, along with the same gap in weeks, in years-months-days and in working weekdays.
- Add Days to a Date CalculatorStart with a date and add or subtract any number of days, weeks, months or years to find the resulting date.
- Unix Timestamp ConverterPick a direction.
Worked example (a fixed example using the starting numbers, it does not change as you type)
Inputs: Operation = Add the two times; First time: days = 1; First time: hours = 2; First time: minutes = 30; First time: seconds = 0; Second time: days = 0; Second time: hours = 5; Second time: minutes = 45; Second time: seconds = 30.
- Result 1 day 8 hours 15 minutes 30 seconds
- Total hours 32.2583
- Total minutes 1,935.5
- Total seconds 116,130
Embed this calculator
Add this calculator to your own page. Paste the code where you want it. The small link keeps credit to the source.