Time calculators

Add Hours Calculator

Updated Jul 16, 2026 By Jehan Wadia
Rate Formulas
Display Options
Takes effect on the next "Clear All".
Output units shown in results
Time Entries
Results
Formatted total
Decimal hours
Total minutes
Total seconds
Average per entry
Active entries
Entries: 0
Per-Entry Contribution (net hours)
Step-by-Step Solution

Introduction

The Add Hours Calculator lets you add and subtract hours, minutes, seconds, and days with ease. Whether you need to total up work hours, find the sum of several time entries, or figure out what time it will be after adding a set number of hours, this tool does the math for you in seconds.

There are three ways to use it. Multi-Entry mode lets you list multiple time values, add or subtract each one, and see the combined total. Expression mode lets you type a time math problem, like 2h 30m + 1h 45m - 15m, and get the answer right away. Start Time mode takes a clock time, adds or subtracts a duration you choose, and shows you the resulting end time.

Every calculation comes with a step-by-step breakdown so you can see exactly how the answer was reached. Results are shown in multiple formats, including total hours, total minutes, total seconds, and decimal hours. You can also pick which units appear in your results and copy any value with one click.

How to Use Our Add Hours Calculator

Enter time values in days, hours, minutes, and seconds. The calculator adds or subtracts them and gives you a total in several formats.

Multi-Entry Mode

Type a short label in the Description field to name each time entry. This is optional.

Pick + Add or − Subtract from the Operator dropdown to add or take away that row's time from the total.

Enter numbers in the Days, Hours, Minutes, and Seconds fields for each row. Leave any field blank if it does not apply.

Click Add Row to create more entries. Click the X button on any row to remove it.

Press Calculate to see your total as a formatted time, decimal hours, total minutes, and total seconds.

Expression Mode

Type a time math expression in the text box using units like d for days, h for hours, m for minutes, and s for seconds. Use + and between values. For example: 1d 2h 30m + 4h 15m 30s - 45m.

Press Calculate to get the result in multiple formats.

Start Time Mode

Choose 12-hour or 24-hour format for the clock display.

Set your start time using the Hour, Minute, and Second fields. If you use 12-hour format, pick AM or PM. Click Now to fill in the current time.

Select + Add to move forward in time or − Subtract to move backward.

Enter the duration you want to add or subtract in the Days, Hours, Minutes, and Seconds fields.

Press Calculate to see the end time and total duration.

Display Options

Use the Output units checkboxes to choose which units appear in your results. You can show or hide days, hours, minutes, and seconds. At least one must stay checked.

Set the Default number of rows to control how many entries appear when you click Clear All in Multi-Entry mode.

What Is Adding Hours?

Adding hours means combining two or more time values together to get a total. For example, if you work 3 hours in the morning and 4 hours in the afternoon, you add them to get 7 hours total. It sounds simple, but it gets tricky when minutes and seconds are involved. That is because time does not work like regular numbers. There are 60 seconds in a minute, 60 minutes in an hour, and 24 hours in a day. So when values spill over — like 45 minutes plus 30 minutes — you need to convert 75 minutes into 1 hour and 15 minutes.

How Time Arithmetic Works

Time arithmetic is the process of adding, subtracting, or comparing time values. The easiest way to do it is to convert everything into one small unit first, like seconds. Once all your values are in seconds, you can add or subtract them like normal numbers. Then you convert the answer back into days, hours, minutes, and seconds.

For example, to add 2 hours 30 minutes and 1 hour 45 minutes:

  • Convert both to minutes: 150 minutes + 105 minutes = 255 minutes.
  • Convert back: 255 minutes = 4 hours and 15 minutes.

When You Need to Add or Subtract Time

People add and subtract hours in many everyday situations. Workers track total hours on a time card. Students add up study time. Runners combine lap times. Project managers add task durations to find a deadline. You might also subtract time — like removing a lunch break from your total work hours. Any time you deal with more than one chunk of time, you are doing time arithmetic.

Adding Time to a Clock Time

Sometimes you start with a specific clock time, like 9:00 AM, and need to add a duration to it. If you add 6 hours and 45 minutes to 9:00 AM, you get 3:45 PM. If the result goes past midnight, it rolls into the next day. This is useful for figuring out end times for shifts, flights, cooking, or any event with a known start time and length.


Formulas used

Convert a time entry to total seconds
S = d \times 86400 + h \times 3600 + m \times 60 + s
Net total seconds (signed sum of entries)
T = \sum_{i=1}^{n} \text{sign}_i \times S_i
Decimal hours from total seconds
H_{\text{dec}} = \frac{T}{3600}
Total minutes from total seconds
M_{\text{total}} = \frac{T}{60}
Average duration per active entry
\bar{T} = \frac{T}{n_{\text{active}}}
End time after adding/subtracting duration
T_{\text{end}} = (T_{\text{start}} \pm T_{\text{dur}}) \bmod 86400
Day offset from start time and duration
D_{\text{offset}} = \left\lfloor \frac{T_{\text{start}} \pm T_{\text{dur}}}{86400} \right\rfloor

Frequently asked questions

What time units can I use in the Expression mode?

You can use d for days, h for hours, m for minutes, and s for seconds. Longer forms like days, hrs, min, and sec also work.

Can I mix addition and subtraction in the same calculation?

Yes. In Multi-Entry mode, set each row to + Add or − Subtract. In Expression mode, just place + or between your time values. The calculator handles both at once.

What happens when the result goes past midnight in Start Time mode?

The calculator wraps the time into a 24-hour clock and shows a day badge. For example, if the end time is the next day, you will see (+1 day) next to the result. If it goes back before midnight, you will see (−1 day).

What are decimal hours?

Decimal hours show time as a single number with a decimal point instead of hours and minutes. For example, 1 hour 30 minutes is 1.500 hours. This format is helpful for payroll and billing.

Can I leave some fields blank in a row?

Yes. Any field left blank is treated as zero. If you only need to enter hours, leave the days, minutes, and seconds fields empty.

Is there a limit to how many rows I can add?

There is no fixed limit. You can click Add Row as many times as you need. The calculator will add or subtract all rows together.

How do I copy a result?

Click the copy icon next to any result value. The number is copied to your clipboard. A check mark appears briefly to confirm it worked.

Can the calculator handle negative totals?

Yes. If you subtract more time than you add, the total will be negative. The result is shown with a minus sign in front of it.

How does the average per entry work?

The calculator divides the total time by the number of entries that have a value greater than zero. Empty rows are not counted.

What does the Default number of rows setting do?

It sets how many rows appear when you click Clear All in Multi-Entry mode. Change it to any number from 1 to 30. The new count takes effect the next time you clear.

Can I hide certain units from the results?

Yes. Use the Output units checkboxes under Display Options. Uncheck any unit you do not want to see. At least one unit must stay checked.

Does the calculator save my entries?

No. Your entries are not saved when you leave or refresh the page. Copy your results before closing the calculator if you need to keep them.

What does the bar chart in Multi-Entry mode show?

The chart shows each entry's contribution to the total in net hours. Added entries appear as positive bars and subtracted entries appear as negative bars. This lets you quickly see which entry is the largest or smallest.

How do I switch between 12-hour and 24-hour format?

In Start Time mode, select 12-hour or 24-hour under Time format. The calculator converts your current start time to the new format automatically.

What does the Now button do?

The Now button fills in the start time fields with the current time from your device's clock. It updates the hour, minute, second, and AM/PM fields instantly.