Time Calculator
Last updated:
How to Use This Calculator
Step 1: Enter the first time value using the Days, Hours, Minutes, and Seconds fields. For example, to enter 2 days and 3 hours, type 2 in Days and 3 in Hours. Leave any unused fields at 0.
Step 2: Select the operation — Add (+) or Subtract (−) — from the dropdown menu. Adding combines two time values into a total. Subtracting finds the difference.
Step 3: Enter the second time value in the second set of Days, Hours, Minutes, and Seconds fields.
Step 4: Click Calculate. The result appears in days (if applicable), hours, minutes, and seconds. The calculator handles all the carrying automatically — 90 minutes becomes 1 hour 30 minutes, 25 hours becomes 1 day 1 hour. The total seconds and total hours are shown in the breakdown.
Understanding Time Arithmetic
Time arithmetic works differently from regular math because time uses a base-60 system (sexagesimal) rather than the base-10 system we use for regular numbers. There are 60 seconds in a minute and 60 minutes in an hour. This means you cannot simply add or subtract time values like regular numbers — 1:45 + 0:30 is not 1:75 but rather 2:15.
The base-60 system originates from ancient Sumerian and Babylonian mathematics, dating back over 4,000 years. The Babylonians chose 60 because it is divisible by many numbers (1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, and 60), making fractions and divisions cleaner. This system survived through Greek astronomy and eventually became the standard for measuring time and angles worldwide.
Carrying in time arithmetic works like carrying in regular addition, but triggers at 60 instead of 10. When seconds exceed 59, you carry 1 to minutes and subtract 60 from seconds. When minutes exceed 59, you carry 1 to hours and subtract 60 from minutes. Subtraction uses borrowing — if you need to subtract more minutes than you have, you borrow 1 hour (60 minutes).
Common situations where time arithmetic is needed include: calculating total work hours across a shift, adding cooking or baking times for multiple steps, computing travel duration with stops, scheduling meetings by adding buffer time, and determining elapsed time for fitness activities.
This calculator handles all the base-60 carrying and borrowing automatically, converting everything to seconds internally, performing the arithmetic, and converting back to hours, minutes, and seconds.
How Time Addition and Subtraction Works
The calculator converts all time values to seconds, performs the arithmetic, and converts back. This approach avoids the complexity of base-60 carrying.
Step 1 — Convert to Seconds:
Total Seconds = (Hours × 3,600) + (Minutes × 60) + Seconds
For 2 hours, 45 minutes, 30 seconds:
Total = (2 × 3,600) + (45 × 60) + 30 = 7,200 + 2,700 + 30 = 9,930 seconds
Step 2 — Perform the Operation:
For addition: Result = Time1 (in seconds) + Time2 (in seconds)
For subtraction: Result = Time1 (in seconds) − Time2 (in seconds)
Step 3 — Convert Back:
Hours = floor(TotalSeconds / 3,600)
Remaining = TotalSeconds mod 3,600
Minutes = floor(Remaining / 60)
Seconds = Remaining mod 60
For 9,930 seconds:
Hours = floor(9,930 / 3,600) = 2
Remaining = 9,930 mod 3,600 = 2,730
Minutes = floor(2,730 / 60) = 45
Seconds = 2,730 mod 60 = 30
Result: 2h 45m 30s
If the subtraction result is negative, the calculator shows a negative sign before the time value, indicating the second time was larger than the first.
Time Unit Conversion Reference
| Unit | Equivalent | Seconds |
|---|---|---|
| 1 minute | 60 seconds | 60 |
| 1 hour | 60 minutes | 3,600 |
| 1.5 hours | 90 minutes | 5,400 |
| 2 hours | 120 minutes | 7,200 |
| 8 hours | 480 minutes | 28,800 |
| 12 hours | 720 minutes | 43,200 |
| 24 hours | 1,440 minutes | 86,400 |
| 1 week | 168 hours | 604,800 |
| Quarter hour | 15 minutes | 900 |
| Half hour | 30 minutes | 1,800 |
Examples
Example 1: Adding Work Shift Hours
You worked two shifts today: 3 hours 45 minutes in the morning and 4 hours 20 minutes in the afternoon. Enter 0d 3h 45m 0s, select Add, and enter 0d 4h 20m 0s. Result: 8h 5m 0s. The math: 45 + 20 = 65 minutes, which carries to 1 hour and 5 minutes.
Example 2: Multi-Day Project Time
A project took 2 days 6 hours in phase one and 1 day 18 hours in phase two. Enter 2d 6h 0m 0s + 1d 18h 0m 0s. Result: 4d 0h 0m 0s. The 6 + 18 = 24 hours carries into an additional day.
Example 3: Subtracting Break Time
Your total shift was 1 day 2 hours (26 hours) but you took a 1 hour 45 minute lunch break. Enter 1d 2h 0m 0s, select Subtract, and enter 0d 1h 45m 0s. Result: 1d 0h 15m 0s — you worked 24 hours and 15 minutes of billable time.
Tips for Working with Time Calculations
Convert everything to the same unit first. If you are mixing hours and minutes, convert hours to minutes (multiply by 60) or use this calculator to avoid manual conversion errors.
Remember the 60-minute rule. When adding times manually, do not write 75 minutes — carry the extra 15 minutes as hours. This calculator handles carrying automatically, but it helps to verify results mentally.
Use subtraction for elapsed time. To find how long something took, enter the end time first and subtract the start time. For example, a meeting from 2:15 PM to 4:50 PM: enter 4h 50m and subtract 2h 15m = 2h 35m.
Round for estimates, be exact for billing. For rough scheduling, round to the nearest quarter hour (15 minutes). For timesheets and billing, use exact minutes — the difference adds up over weeks.
Negative results are valid. If you subtract a larger time from a smaller one, the result will be negative. This indicates the second time value is larger — useful for checking if you have enough time for a task.
Frequently Asked Questions
Can I add more than two time values?
What happens if the result is negative?
Can I enter values greater than 60 in the minutes or seconds fields?
When do days appear in the result?
Why does time use a base-60 system instead of base-10?
Can I use decimal hours instead?
Related Calculators
Time Clock Calculator
Free time clock calculator. Enter clock in/out times, break durat...
Time Duration Calculator
Free time duration calculator. Enter a start and end time to find...
Date Calculator
Free date calculator. Find days between two dates or add/subtract...
Time Zone Calculator
Free time zone calculator. Convert any time between UTC offsets i...
Time 1
Time 2