Time calculators

Add Time Calculator

Updated Jun 21, 2026 By Jehan Wadia
Formulas

Row-Based Time Calculator

Enter days, hours, minutes and seconds in each row — blank fields count as 0. Rows after the first can be added or subtracted, and the total updates as you type.

Result

Read-only
Days : Hours : Minutes : Seconds
HH:MM:SS (total hours)
HH:MM (hours & minutes)
Decimal Hours
Decimal Minutes
Decimal Seconds

Step-by-Step Solution


Introduction

The Add Time Calculator lets you add and subtract days, hours, minutes, and seconds quickly. Enter your time values, and the tool does the math for you right away. It handles all the tricky parts, like when minutes go past 60 or seconds add up into hours. You get your answer in several formats, including total hours, total minutes, and a full days-hours-minutes-seconds breakdown.

You can use the Row-Based mode to type each time value into its own row and choose to add or subtract it. Or switch to Expression mode and type a time math problem in one line, like 2h 30m + 1d 15m − 45s. Both modes show a step-by-step solution so you can see exactly how the answer was found. This is useful for adding up work hours, combining travel times, totaling video lengths, or solving any problem that involves time arithmetic.

How to Use Our Add Time Calculator

Enter time values in days, hours, minutes, and seconds to add or subtract them. The calculator gives you the total in six formats along with a step-by-step solution.

Choose your input mode. Click the Row-Based tab to enter time in neat rows, or click the Expression tab to type a time math problem as text.

Row-Based Mode

Enter your starting time in the first row. Type a number into the Days, Hours, Minutes, or Seconds fields. Leave any field blank and it counts as zero.

Set each extra row to Add or Subtract. Every row after the first has a toggle. Pick + Add to add that time or − Subtract to take it away from the total.

Click "Add Row" to include more time entries. You can add as many rows as you need and remove any extra row with its Remove button.

Press "Calculate" to see your answer. The result updates in all six time formats at once. You can also just type, and the total will update on its own.

Expression Mode

Type your time expression in the text box. Use the letters d for days, h for hours, m for minutes, and s for seconds. Place a + or sign between groups. For example: 1d 2h 30m + 4h 15m − 45s.

Press "Calculate" to get the result. The calculator handles overflow like 90 minutes or 2030 seconds and turns it into the correct days, hours, minutes, and seconds for you.

Reading Your Results

Use the Highlight Format dropdown to pick which time format stands out. Choose from Days:Hours:Min:Sec, HH:MM:SS, HH:MM, Decimal Hours, Decimal Minutes, or Decimal Seconds.

Check the Step-by-Step Solution below the result to see exactly how the math was done. Each step shows the conversion to seconds, the addition or subtraction, and the final breakdown.

Click "Print" to save or print your results. This creates a clean printable page with your inputs and all six output formats.

Click "Clear" at any time to reset all fields and start a new calculation.

What Is Adding Time?

Adding time means combining two or more amounts of time into one total. For example, if you work 2 hours and 30 minutes in the morning and 3 hours and 45 minutes in the afternoon, you can add those together to find out how long you worked all day. You can also subtract time to find the difference between two amounts. If you need to find the gap between two specific clock times, our Time Difference Calculator is built for that purpose.

How Time Arithmetic Works

Time uses a base-60 system, not base-10 like regular numbers. That means there are 60 seconds in a minute and 60 minutes in an hour. There are 24 hours in a day. Because of this, you cannot just add time the same way you add normal numbers. When seconds go past 60, you carry over into minutes. When minutes go past 60, you carry over into hours. When hours go past 24, you carry over into days. This carry-over process is called normalization. For general-purpose time math beyond adding durations, you can also try our Time Calculator.

A Simple Example

Say you want to add 1 hour 50 minutes and 2 hours 30 minutes. First, add the minutes: 50 + 30 = 80 minutes. Since 80 is more than 60, you take out 60 minutes and turn it into 1 hour. That leaves 20 minutes and an extra hour. Now add the hours: 1 + 2 + 1 (the extra) = 4 hours. The answer is 4 hours and 20 minutes. If you only need to work with minutes, our Minutes Calculator can simplify things further.

When Do You Need to Add or Subtract Time?

People add and subtract time in many everyday situations. Here are a few common ones:

  • Work hours: Add up shift lengths to find your total hours for the week. For tracking employee clock-in and clock-out times, a Time Card Calculator or Work Hours Calculator can help you manage payroll entries.
  • Exercise: Combine workout times from different days to track your training. Runners can also use our Pace Calculator to turn those totals into per-mile or per-kilometer splits.
  • Cooking: Add prep time and cook time to know when a meal will be ready.
  • Travel: Add flight time, layover time, and drive time to plan a trip. Our Flight Time Calculator can estimate the airborne portion, and the Time Zone Calculator helps you adjust for crossing time zones.
  • School projects: Track how many hours and minutes you spent on homework or study.

Understanding the Different Formats

Time can be shown in several ways. Days, hours, minutes, and seconds is the most common and easiest to read. If you need to measure the span between two dates rather than add durations, try our Date Duration Calculator. HH:MM:SS shows the total in hours, minutes, and seconds using a colon format. This is often used alongside a Time Duration Calculator when logging events. Decimal hours turns the time into a single number with a decimal point, which is helpful for timesheets and payroll. For example, 1 hour and 30 minutes equals 1.5 decimal hours. Our Time To Decimal Calculator focuses specifically on that conversion. If you need to go the other way and turn those decimal hours into a salary figure, the Hourly to Salary Calculator or Overtime Calculator can help. Decimal minutes and decimal seconds work the same way but use minutes or seconds as the base unit.


Formulas used

Convert time components to total seconds
T_s = d \times 86400 + h \times 3600 + m \times 60 + s
Combined total from multiple rows
T = \sum_{i=1}^{n} \operatorname{sign}_i \cdot T_{s,i}
Normalize total seconds to days, hours, minutes, seconds
d = \left\lfloor \frac{|T|}{86400} \right\rfloor,\quad h = \left\lfloor \frac{|T| \bmod 86400}{3600} \right\rfloor,\quad m = \left\lfloor \frac{|T| \bmod 3600}{60} \right\rfloor,\quad s = |T| \bmod 60
Decimal hours
T_h = \frac{|T|}{3600}
Decimal minutes
T_m = \frac{|T|}{60}

Frequently asked questions

Can I add more than two time values at once?

Yes. Click Add Row to create as many rows as you need. Each row can be set to add or subtract. The calculator totals all rows together in one step.

What happens if I enter more than 60 minutes or 60 seconds?

The calculator handles that for you. It converts overflow values automatically. For example, 90 minutes becomes 1 hour and 30 minutes in the final result. This process is called normalization.

Can the result be negative?

Yes. If you subtract more time than you add, the result will be negative. A yellow notice appears to let you know the total is a negative duration.

What does decimal hours mean?

Decimal hours show time as a single number instead of hours and minutes. For example, 2 hours and 15 minutes equals 2.25 decimal hours. This format is common on timesheets and payroll forms.

Do I have to fill in every field in a row?

No. Leave any field blank and the calculator treats it as zero. You only need to fill in the units you want to use.

What is the difference between Row-Based mode and Expression mode?

Row-Based mode gives you separate input fields for days, hours, minutes, and seconds in each row. Expression mode lets you type a time math problem as text in one line, like 2h 30m + 1d 15m. Both modes give the same result.

How do I write a time expression correctly?

Use d for days, h for hours, m for minutes, and s for seconds. Put + or between groups. Example: 1d 4h + 30m − 10s.

Can I use decimal numbers in the input fields?

Yes. You can enter values like 1.5 hours or 2.75 minutes. The calculator accepts decimal numbers and converts them correctly.

How do I remove a row I no longer need?

Click the Remove button on the right side of that row. The first row cannot be removed because it is the base value.

What does the Highlight Format dropdown do?

It picks which result format is shown in a larger, highlighted style. Your choices are Days:Hours:Min:Sec, HH:MM:SS, HH:MM, Decimal Hours, Decimal Minutes, or Decimal Seconds. All six formats are always visible below.

Does the calculator update automatically as I type?

Yes. In Row-Based mode the result updates with every keystroke. In Expression mode it updates shortly after you stop typing. You can also press the Calculate button at any time.

How do I print or save my results?

Click the Print button next to the result. It opens a clean print page with your inputs and all six output formats. You can print it or save it as a PDF from your browser's print dialog.

What is the step-by-step solution section?

It shows the full math behind your answer. Step 1 converts each entry to seconds. Step 2 adds and subtracts the totals. Step 3 breaks the result into days, hours, minutes, and seconds. This helps you check the work or learn how time arithmetic is done.

Is there a limit to how large the time values can be?

There is no strict limit. You can enter thousands of hours or millions of seconds. The calculator will normalize the result into days, hours, minutes, and seconds no matter how large the input is.

What is the difference between HH:MM:SS and HH:MM?

HH:MM:SS shows total hours, minutes, and seconds. HH:MM shows only hours and minutes, dropping the seconds. Use HH:MM when you do not need second-level detail.