ToolNimba

โฑ๏ธ Add Time Calculator: Add or Subtract Hours, Minutes and Seconds

By ToolNimba Editorial Team ยท Updated 2026-06-21

24-hour clock. Seconds optional.

Resulting time
-
Day offset
-
Total seconds
-

Enter a start time and a duration to begin.

This add time calculator does the awkward clock arithmetic for you. In Clock time mode, pick a starting time, choose add or subtract, and enter a duration in hours, minutes and seconds. You get the resulting clock time and a clear day offset when the answer crosses midnight. In Duration sum mode, you can add or subtract two raw durations (for example 1:30:00 minus 0:45:30) without any 24-hour cap, which is handy for timesheets, cooking and project planning.

What is the Add Time Calculator?

Adding time looks simple until the numbers cross a boundary. Seconds roll into minutes at 60, minutes roll into hours at 60, and hours roll into a new day at 24. Doing this in your head invites mistakes, especially when you subtract and land before midnight, or when a long duration pushes the answer a day or two forward. The reliable way is to convert everything to a single unit, do plain arithmetic, then convert back. This tool turns each time into total seconds, applies the operation, and reformats the result as HH:MM:SS.

The key idea for clock times is modular arithmetic. A clock repeats every 86,400 seconds (24 hours), so the displayed time is the remainder after dividing by 86,400. To keep negative results sensible, the calculator uses a floored division: the day offset is the number of whole days the answer moved, and the time of day is always shown as a positive value between 00:00:00 and 23:59:59. That is why subtracting a few hours from 01:00 correctly returns a time on the previous day with an offset of minus one day, rather than a meaningless negative clock reading.

Duration sums are different because a duration is not capped at 24 hours. Two hours plus 23 hours is 25 hours, not 1 hour, so Duration sum mode reports the full HH:MM:SS without wrapping. Subtraction can go negative here (your result may be a deficit, shown with a leading minus), which is exactly what you want when comparing planned against actual time. Choosing the right mode for the question is the main thing to get correct.

If you prefer to add time by hand, the carry and borrow method mirrors what the calculator does internally. To add, line up the two times and add seconds to seconds, minutes to minutes, hours to hours. Whenever the seconds reach 60 or more, subtract 60 and carry 1 into the minutes column; do the same when minutes reach 60, carrying 1 into the hours. To subtract, borrow in reverse: if you do not have enough seconds, take 1 minute (worth 60 seconds) from the minutes column before subtracting, and borrow an hour (60 minutes) when the minutes run short. The calculator removes the guesswork, but knowing the method helps you sanity check any answer.

Many people also need the answer as decimal hours rather than HH:MM:SS, especially for payroll, billing and spreadsheets. To convert, divide minutes by 60 and seconds by 3,600, then add them to the whole hours. For example 2 hours 15 minutes is 2 + 15 / 60 = 2.25 hours, and 1 hour 20 minutes is 1.333 hours. This tool shows decimal hours alongside the formatted time in Duration sum mode so you can paste a clean number straight into a timesheet or invoice without a second conversion step.

The calculator works entirely in your browser, so nothing you enter is uploaded or stored, and it runs offline once the page has loaded. It accepts both 24-hour input and supports the common 12-hour to 24-hour mental conversions (1 PM is 13:00, midnight is 00:00, noon is 12:00). Whether you are figuring out an end time, working backward from a deadline, totalling shift hours, or comparing estimated against actual effort, the same convert to seconds, calculate, convert back routine gives a consistent and correct result every time.

When to use it

  • Working out a finish time by adding a task or cooking duration to a start time.
  • Finding a start time by subtracting a duration backward from a deadline or appointment.
  • Adding up several work blocks on a timesheet to get total hours and minutes for payroll.
  • Checking how far past midnight an overnight shift or long process will run, with the day offset shown.
  • Comparing planned versus actual time by subtracting one duration from another.
  • Converting a worked total into decimal hours for invoicing freelance or billable time.

How to use the Add Time Calculator

  1. Choose a mode: Clock time to add or subtract a duration from a time of day, or Duration sum to combine two durations.
  2. In Clock time mode, enter the start time as HH:MM:SS in 24-hour form (seconds are optional).
  3. Pick Add duration or Subtract duration, then type the hours, minutes and seconds to apply.
  4. Read the resulting clock time and the day offset (for example +1 day) if the answer crosses midnight.
  5. In Duration sum mode, enter two durations and choose Add or Subtract to see the combined HH:MM:SS and decimal hours.
  6. Copy the result you need, either the formatted time or the decimal hours value, into your sheet or notes.

Formula & method

Convert each time to seconds: total = hours * 3600 + minutes * 60 + seconds. Clock result = ((start +/- duration) mod 86400), and day offset = floor((start +/- duration) / 86400). Duration result is start +/- duration with no 24-hour wrap. Decimal hours = total seconds / 3600.

Worked examples

Add 2 hours 45 minutes to a start time of 14:30:00.

  1. Start in seconds = 14 * 3600 + 30 * 60 + 0 = 52,200
  2. Duration in seconds = 2 * 3600 + 45 * 60 = 9,900
  3. Sum = 52,200 + 9,900 = 62,100 seconds
  4. 62,100 mod 86,400 = 62,100, so no day rollover
  5. 62,100 seconds = 17 h, 15 min, 0 s

Result: Result: 17:15:00, same day

Subtract 3 hours from a start time of 01:00:00.

  1. Start in seconds = 1 * 3600 = 3,600
  2. Duration in seconds = 3 * 3600 = 10,800
  3. Difference = 3,600 minus 10,800 = -7,200 seconds
  4. Day offset = floor(-7,200 / 86,400) = -1 (one day earlier)
  5. Time of day = ((-7,200 mod 86,400) + 86,400) mod 86,400 = 79,200 = 22:00:00

Result: Result: 22:00:00 on the previous day (-1 day)

Duration sum: add 1:30:00 to 0:45:30.

  1. First duration = 1 * 3600 + 30 * 60 = 5,400 seconds
  2. Second duration = 45 * 60 + 30 = 2,730 seconds
  3. Total = 5,400 + 2,730 = 8,130 seconds
  4. 8,130 seconds = 2 h, 15 min, 30 s (no 24-hour cap)

Result: Result: 02:15:30 (2.2583 hours)

Total a timesheet of three shifts and convert to decimal hours.

  1. Shift 1 = 8:15:00 = 29,700 seconds
  2. Shift 2 = 7:45:00 = 27,900 seconds
  3. Shift 3 = 6:30:00 = 23,400 seconds
  4. Total = 29,700 + 27,900 + 23,400 = 81,000 seconds
  5. 81,000 seconds = 22 h, 30 min; decimal hours = 81,000 / 3600 = 22.5

Result: Result: 22:30:00, or 22.5 decimal hours

Time unit conversions used in the calculation

UnitIn secondsIn minutes
1 minute601
1 hour3,60060
1 day86,4001,440
1 week604,80010,080

Clock time examples (24-hour start time)

StartOperationResultDay offset
09:00:00Add 8 h 30 min17:30:00Same day
22:15:00Add 5 h03:15:00+1 day
01:00:00Subtract 3 h22:00:00-1 day
12:00:00Add 36 h00:00:00+1 day

Minutes to decimal hours conversion

MinutesDecimal hoursExample total
15 min0.251 h 15 min = 1.25
20 min0.3332 h 20 min = 2.333
30 min0.504 h 30 min = 4.50
45 min0.758 h 45 min = 8.75

12-hour to 24-hour (military) time quick reference

12-hour clock24-hour clockNote
12:00 AM (midnight)00:00Start of the day
9:00 AM09:00Morning
12:00 PM (noon)12:00Midday
1:00 PM13:00Add 12 to the hour
11:00 PM23:00Add 12 to the hour

Common mistakes to avoid

  • Treating 60 minutes as 100. Time is base 60, not base 100. Adding 50 minutes to 8:30 gives 9:20, not 8:80. Convert to total seconds or minutes first to avoid carrying errors.
  • Expecting a negative clock time. Clocks never read a negative time. Subtracting past midnight rolls to the previous day, so the answer is a positive time of day plus a day offset of minus one, not a number like -2:00.
  • Using clock mode for a long total. Clock time mode wraps at 24 hours. If you want a running total like 25 hours or 40 hours, use Duration sum mode, which has no 24-hour cap.
  • Forgetting AM and PM when converting to 24-hour. This tool uses the 24-hour clock. Remember that 1 PM is 13:00 and midnight is 00:00, so convert a 12-hour time correctly before entering it.
  • Mixing up decimal hours and minutes. 2.5 hours means 2 hours 30 minutes, not 2 hours 50 minutes. To convert minutes to a decimal, divide by 60, so 30 minutes is 0.5 and 15 minutes is 0.25.
  • Forgetting to borrow when subtracting by hand. When the seconds or minutes you are subtracting are larger than what you have, borrow one unit (60 seconds from a minute, or 60 minutes from an hour) before subtracting, just like long subtraction.

Glossary

24-hour clock
A time format running from 00:00:00 to 23:59:59, where the hour does not repeat in the afternoon. 1 PM is 13:00.
Duration
A length of time (such as 2 hours 45 minutes) rather than a point in the day. Durations are not capped at 24 hours.
Day offset
How many whole days the result moved from the start, for example +1 day when adding pushes the time past midnight.
Modulo (mod)
The remainder after division. A clock time is the total seconds taken modulo 86,400 (the seconds in a day).
Wraparound
When a value passes its maximum and starts again from zero, like a clock going from 23:59 to 00:00.
Decimal hours
Time written as a single number where the fraction is part of an hour, so 1 hour 30 minutes is 1.5 hours. Used in payroll and billing.
Carry and borrow
The manual method of moving a full unit between columns: carry 1 when seconds or minutes reach 60, and borrow 1 when you do not have enough to subtract.
Military time
Another name for the 24-hour clock, written as four digits such as 1300 for 1 PM, common in aviation, medicine and the armed forces.

Frequently asked questions

How do I add hours and minutes to a time?

Choose Clock time mode, enter the start time in 24-hour form, select Add duration, and type the hours, minutes and seconds. The calculator converts everything to seconds, adds them, and shows the resulting clock time along with a day offset if the answer crosses midnight.

What happens when the result goes past midnight?

The time wraps around the 24-hour clock and the tool shows a day offset. For example, adding 5 hours to 22:15 gives 03:15 with a +1 day label, meaning the result falls on the next calendar day.

Can I subtract time and go to the previous day?

Yes. Subtracting a duration that takes the time below 00:00 rolls back to the previous day. For instance, 01:00 minus 3 hours returns 22:00 with a -1 day offset, rather than a negative clock reading.

What is the difference between Clock time and Duration sum mode?

Clock time mode works with a time of day and wraps every 24 hours, reporting a day offset. Duration sum mode adds or subtracts two raw durations with no 24-hour cap, so totals like 25 hours are shown in full and subtraction can be negative.

Does the calculator use a 12-hour or 24-hour clock?

It uses the 24-hour clock for clarity, so enter 1 PM as 13:00 and midnight as 00:00. This avoids any AM and PM ambiguity when the result crosses midnight. Use the quick reference table on this page if you need to convert a 12-hour time first.

Can I add more than 24 hours at once?

Yes. In Clock time mode you can enter any number of hours, and the day offset will reflect how many full days were crossed (for example adding 36 hours moves the time forward by one day plus 12 hours). For a running total above 24 hours without wrapping, use Duration sum mode.

How do I add time manually without a calculator?

Add seconds to seconds, minutes to minutes and hours to hours. Whenever the seconds reach 60, subtract 60 and carry 1 into the minutes; do the same for minutes into hours. To subtract, borrow 60 seconds from a minute or 60 minutes from an hour when you do not have enough.

How do I convert the result to decimal hours?

Divide the minutes by 60 and the seconds by 3,600, then add them to the whole hours. So 2 hours 15 minutes is 2 + 0.25 = 2.25 hours. Duration sum mode shows decimal hours automatically for payroll and billing.

How do I total my timesheet hours with this tool?

Use Duration sum mode and add each shift one pair at a time, keeping the running total, or convert each shift to seconds and add them. The tool gives you both the HH:MM:SS total and the decimal hours value, which is the format most payroll systems expect.

Is this add time calculator free and private?

Yes. It is completely free with no sign up, and all calculations run in your browser, so nothing you type is sent to a server or stored. Once the page loads it also works offline.