Time Calculator — Add & Subtract Hours, Minutes, Seconds
This time calculator adds and subtracts multiple time values entered as hours, minutes, and seconds. Enter each time segment, choose whether to add or subtract it, and instantly see the total in HH:MM:SS format along with decimal hours, decimal minutes, and total seconds — useful for payroll, project tracking, and workout logs.
Result
Frequently Asked Questions
How do you add hours, minutes, and seconds together?
To add time values, convert each to seconds first (hours × 3600 + minutes × 60 + seconds), add the results, then convert back. For example, 1:30:00 (5400 s) + 2:45:30 (9930 s) = 15330 s = 4:15:30.
How do I subtract time values?
Subtract time by converting both values to seconds, subtracting the smaller from the larger, then converting the result back to HH:MM:SS. If the result is negative the calculator displays a minus sign before the time.
What is decimal time and how do I convert to it?
Decimal time expresses a duration as a single number rather than HH:MM:SS. To convert, divide total seconds by 3600 for decimal hours or by 60 for decimal minutes. For example, 1 hour 30 minutes = 1.5 decimal hours = 90 decimal minutes.
How many seconds are in an hour?
There are 3,600 seconds in one hour (60 minutes × 60 seconds). This conversion factor is essential for time arithmetic.
How do I calculate total hours worked?
Enter each work segment as a separate row using the + operation. For example, add 4:30:00 (morning shift) and 3:45:00 (afternoon shift) to get 8:15:00 total hours worked.
Can this calculator handle more than 24 hours?
Yes. The Time Calculator works with any number of hours, not just clock-based 24-hour cycles. Useful for project time tracking, accumulated hours, or any duration greater than a day.
How do I convert minutes to hours and minutes?
Divide the total minutes by 60. The quotient is the hours and the remainder is the remaining minutes. For example, 135 minutes ÷ 60 = 2 hours and 15 minutes (2:15:00).
What is the formula for adding time manually?
Add the seconds columns first; if the sum exceeds 59, carry over to minutes. Repeat for minutes (carry over if ≥ 60). Then add the hours. For example, 1:50:45 + 0:20:30: seconds 45+30=75, carry 1 → 15 s; minutes 50+20+1=71, carry 1 → 11 m; hours 1+0+1=2. Result: 2:11:15.
Time Addition Formula
Adding or subtracting time values follows a simple rule: convert everything to seconds, perform the arithmetic, then convert back to hours, minutes, and seconds.
Step 1 — Convert to seconds
Total Seconds = (hours × 3600) + (minutes × 60) + seconds
Step 2 — Add or subtract
Result = Time⊂1⊂ ± Time⊂2⊂ ± …
Step 3 — Convert back
Hours = ⌊Seconds / 3600⌋
Minutes = ⌊(Seconds mod 3600) / 60⌋
Seconds = Seconds mod 60
How to Add and Subtract Time
Use the calculator above by entering hours, minutes, and seconds for each time value. Toggle the + / −button to add or subtract that row's time from the running total. Add as many rows as needed.
Example: Shift duration
A worker starts at 8:30 AM and finishes at 5:15 PM with a 45-minute lunch break.
- Row 1 (+): 8 hours 45 minutes 0 seconds (8:30 AM to 5:15 PM = 8h 45m)
- Row 2 (−): 0 hours 45 minutes 0 seconds (lunch)
- Result: 08:00:00 — 8 hours of work
Example: Project time tracking
Combine multiple time logs across a day: 1h 20m, 2h 45m, and 0h 50m.
- Row 1 (+): 1:20:00
- Row 2 (+): 2:45:00
- Row 3 (+): 0:50:00
- Result: 04:55:00
Converting Time to Decimal
Decimal hours are often required for payroll, billing, or spreadsheet formulas. Converting is straightforward:
Decimal Hours = Total Seconds / 3600
Decimal Minutes = Total Seconds / 60
Example: 1 hour 30 minutes = 5400 seconds → 1.5 decimal hours or 90 decimal minutes.
Common Time Conversions Table
Use these reference values when converting between time formats:
| HH:MM:SS | Decimal Hours | Decimal Minutes | Total Seconds |
|---|---|---|---|
| 00:15:00 | 0.25 | 15 | 900 |
| 00:30:00 | 0.5 | 30 | 1,800 |
| 00:45:00 | 0.75 | 45 | 2,700 |
| 01:00:00 | 1.0 | 60 | 3,600 |
| 01:30:00 | 1.5 | 90 | 5,400 |
| 02:00:00 | 2.0 | 120 | 7,200 |
| 04:00:00 | 4.0 | 240 | 14,400 |
| 08:00:00 | 8.0 | 480 | 28,800 |
| 12:00:00 | 12.0 | 720 | 43,200 |
| 24:00:00 | 24.0 | 1,440 | 86,400 |
Related Tools
- Hours Calculator — Calculate total hours worked between start and end times
- Date Calculator — Find the difference between two dates or add days to a date
- Countdown Calculator — Count down the days, hours, and minutes to any future event