Time calculators

Hours And Minutes Calculator

Updated Jun 22, 2026 By Jehan Wadia
Formulas
Time Entries
# Label (optional) Hours Min Sec AM/PM Now +/− Subtotal Remove row
7 rows active
Settings
Min 1, max 20. Existing entries are kept.
Show units in result
Days groups hours into 24-hour days; leave unchecked to let hours run past 24.
Options
When minutes/seconds exceed 59:
Results
Total (verbose format)
Total (decimal hours)
Step-by-Step Solution
Visual Breakdown

Introduction

This hours and minutes calculator lets you add and subtract time quickly. Type in hours, minutes, and seconds, and the tool does the math for you. It handles all the tricky parts, like when minutes go past 59 or when you need to carry over extra time into hours.

You can use it to add up work shifts, track study time, or figure out total travel time. Need to subtract a lunch break from your work hours? Just set a row to subtract, and the calculator takes care of it. You can add up to 20 time entries at once, and each row shows a running subtotal so you can see your total build step by step.

The calculator gives you results in two formats: a clear readout in days, hours, minutes, and seconds, plus a decimal hours format that is useful for timesheets and payroll. It also shows a full step-by-step solution so you can see exactly how the math works, along with a chart that displays each entry and the running total. If you work with clock times, turn on the AM/PM mode to enter times in a 12-hour format.

How to Use Our Hours and Minutes Calculator

Enter your time values in each row and choose to add or subtract them. The calculator gives you the total time in hours, minutes, and seconds, plus a decimal hours result.

Label: Type a short name for each time entry. This is optional but helps you keep track of each row.

Hours: Enter the number of hours for that row. You can type up to 4 digits.

Minutes: Enter the number of minutes for that row. If you go over 59, the calculator can carry the extra into hours for you.

Seconds: Enter the number of seconds for that row. Like minutes, values over 59 carry over automatically.

+/− (Add or Subtract): Pick whether to add or subtract each row. The first row is always added. Use subtract for things like lunch breaks.

AM/PM: Turn on "Use clock times with AM/PM" in the settings to work with clock times. Then pick AM or PM for each row, or press the "Now" button to fill in the current time.

Number of Rows: Use the "Add Row" and "Remove Last Row" buttons, or type a number from 1 to 20 and click "Apply" to set how many rows you need.

Show Units in Result: Check or uncheck Days, Hours, Minutes, and Seconds to control how the total is displayed. Turn on Days to group hours into 24-hour days.

Overflow Handling: Choose "Auto-correct" to let the calculator fix minutes or seconds over 59, or choose "Flag as error" to get a warning instead.

Calculate: Press the Calculate button to see your total time in both a verbose format and decimal hours, along with a step-by-step breakdown and a visual chart.

How to Add and Subtract Hours and Minutes

Adding and subtracting time is not like regular math. Instead of counting by tens, minutes and seconds roll over at 60. For example, 45 minutes plus 30 minutes does not equal 75 minutes. It equals 1 hour and 15 minutes. This is called time arithmetic, and it trips people up all the time.

Why Time Math Is Different

Normal numbers use a base-10 system. Time uses a mixed system. There are 60 seconds in a minute, 60 minutes in an hour, and 24 hours in a day. When you add time values together, you need to carry over the extras. If your seconds add up to 60 or more, you convert them into minutes. If your minutes hit 60 or more, you convert them into hours. This is the same idea as carrying in regular addition, but the cutoff is 60 instead of 10.

How to Add Hours and Minutes by Hand

  1. Line up the hours, minutes, and seconds in separate columns.
  2. Add each column on its own, starting with seconds.
  3. Carry over when a column reaches 60 or more. Subtract 60 from that column and add 1 to the next column up.

For example, to add 2 hours 45 minutes and 1 hour 30 minutes: add the minutes first (45 + 30 = 75). Since 75 is more than 60, subtract 60 to get 15 minutes and carry 1 hour. Then add the hours (2 + 1 + 1 = 4). The answer is 4 hours 15 minutes.

How to Subtract Hours and Minutes

Subtracting time works the same way, but in reverse. If the minutes you are subtracting are larger than what you have, borrow 1 hour (which gives you 60 extra minutes) and then subtract. For example, 5 hours 10 minutes minus 2 hours 35 minutes: you cannot take 35 from 10, so borrow 1 hour. Now you have 4 hours 70 minutes. Subtract to get 2 hours 35 minutes.

Decimal Hours vs. Hours and Minutes

Sometimes you need time shown as a decimal number instead of hours and minutes. This is common on timesheets and invoices. To convert, divide the minutes by 60. So 7 hours 30 minutes becomes 7.50 hours, and 2 hours 15 minutes becomes 2.25 hours. The calculator above does this conversion for you automatically.

Common Uses for a Hours and Minutes Calculator

  • Work hours: Add up shift times and subtract lunch breaks to find total hours worked.
  • Project tracking: Combine time spent on different tasks to see your total effort.
  • Travel planning: Add flight times, layovers, and drive times to estimate total travel time.
  • Cooking and baking: Add prep time, cook time, and rest time together.
  • Exercise logs: Total your workout durations for the week.

Doing time math by hand is slow and easy to mess up. This hours and minutes calculator handles the carrying, borrowing, and conversions so you get the right answer every time.


Formulas used

Convert each time entry to total seconds
S_i = h_i \times 3600 + m_i \times 60 + s_i
Auto-correct overflow (carry over minutes and seconds)
m \leftarrow m + \left\lfloor \frac{s}{60} \right\rfloor,\quad s \leftarrow s \bmod 60,\quad h \leftarrow h + \left\lfloor \frac{m}{60} \right\rfloor,\quad m \leftarrow m \bmod 60
Running total in seconds (add or subtract each entry)
T = \sum_{i=1}^{n} \sigma_i \, S_i \quad \text{where } \sigma_i = +1 \text{ (add) or } -1 \text{ (subtract)}
Convert total seconds to hours, minutes, and seconds
h = \left\lfloor \frac{|T|}{3600} \right\rfloor,\quad m = \left\lfloor \frac{|T| \bmod 3600}{60} \right\rfloor,\quad s = |T| \bmod 60
Convert total seconds to decimal hours
\text{Decimal hours} = \frac{T}{3600}
Clock-mode conversion (12-hour AM/PM to seconds from midnight)
S_i = \bigl((h_i \bmod 12) + 12 \cdot [\text{PM}]\bigr) \times 3600 + m_i \times 60 + s_i

Frequently asked questions

Can I add more than two time values at once?

Yes. You can add up to 20 time entries at once. Click the Add Row button to create more rows. Each row shows a running subtotal so you can track the total as it builds.

What happens if I type more than 59 minutes or seconds?

By default, the calculator auto-corrects the value. It carries the extra into the next unit. For example, 75 minutes becomes 1 hour and 15 minutes. You can change this in Settings under "When minutes/seconds exceed 59" to flag it as an error instead.

How do I subtract a time entry like a lunch break?

Change the +/− dropdown on that row to − Subtract. The row will turn light red so you can see it is being subtracted. The first row is always added and cannot be changed to subtract.

What does the decimal hours result mean?

Decimal hours show your total time as a single number instead of hours and minutes. For example, 2 hours 30 minutes equals 2.50 hours. This format is common on timesheets, invoices, and payroll systems.

Can the result be negative?

Yes. If you subtract more time than you add, the result will be negative. The calculator shows a warning in red when this happens. A negative result means you subtracted too much time.

What does the AM/PM clock mode do?

When you turn on Use clock times with AM/PM in Settings, each row gets an AM/PM dropdown and a Now button. This lets you enter clock times like 2:30 PM instead of plain durations. The Now button fills in the current time from your device.

How do I show days in my result?

Check the Days box under "Show units in result" in Settings. This groups every 24 hours into 1 day. If you leave it unchecked, hours will count past 24 without converting to days.

What does the subtotal column show?

The subtotal column shows the running total after each row. It updates as you go down the list, so you can see how each entry changes the total.

Can I delete a row in the middle of the list?

Yes. Click the × button on the right side of any row to delete it. The remaining rows will renumber automatically. You must always have at least 1 row.

How do I clear all the time values and start over?

Click the Clear button. This resets all hours, minutes, and seconds to 00 but keeps your current number of rows. Your labels will stay in place.

What are the row labels for?

Labels are optional names you can give each row, like "Morning shift" or "Lunch break." They show up in the step-by-step solution and the chart so you can tell your entries apart.

Does this calculator save my entries?

No. Your entries are not saved when you leave or refresh the page. If you need a record, use the Print button to print or save the page as a PDF before closing it.

How do I read the chart?

The blue bars show each row's time value in hours. Subtracted rows appear as negative bars. The green line shows the running total after each row. This gives you a quick visual picture of how your time adds up.

Can I use this on my phone?

Yes. The calculator works on phones, tablets, and computers. The layout adjusts to fit smaller screens. You can scroll sideways on the table if needed.

Why does the step-by-step solution convert everything to seconds first?

Converting to seconds makes the math simpler. Once all values are in the same unit, the calculator can add and subtract them directly. Then it converts the total back into hours, minutes, and seconds for the final result.