Time Calculator

Last Updated:

Add or subtract hours, minutes and seconds, find the time duration between two clock times with breaks and overnight shifts, or see what time it will be after adding hours and minutes.

Quick answer: A time calculator adds, subtracts and compares hours, minutes and seconds. 2 hours 45 minutes plus 3 hours 50 minutes is 6 hours 35 minutes. From 9:15 AM to 5:45 PM is 8 hours 30 minutes (8.5 decimal hours), and 8:30 PM to 4:15 AM overnight is 7 hours 45 minutes. Enter your own times below for the total in hours and minutes and in decimal hours.

Optional. Leave empty to skip.

Total Time

—

hh:mm:ss—
Decimal hours—
Total minutes—
Total seconds—

📐 Formula

Total seconds = (days x 86,400) + (hours x 3,600) + (minutes x 60) + seconds, with minus rows subtracted. Time between = end time − start time (plus 24 hours if the end is earlier and overnight is on) − break. Decimal hours = total seconds / 3,600.

How to use the time calculator

1

Choose what to calculate

Pick "Add or subtract times" to total several durations, "Time between two clock times" for a shift or a trip, or "Clock time plus or minus a duration" to find what time it will be.

2

Enter the times

In the first mode, type days, hours, minutes and seconds on each row and set the sign to plus or minus. Add rows as you need them. In the other modes, pick the start time, then the end time or the duration.

3

Set the options

For two clock times, keep the overnight box checked if the end can fall on the next day and enter any unpaid break in minutes. In the first mode you can multiply or divide the total.

4

Read the result

In the first mode the answer shows in words, as hh:mm:ss, in decimal hours, in total minutes and in total seconds, with a running total under each row. The clock-time mode shows the 24-hour clock and the day, and the between mode shows the time before the break and the decimal hours.

5

Check the figure

Compare the decimal hours with your payroll or timesheet rule before you rely on them, because employers round differently.

How the time calculator works

The calculator turns every entry into whole seconds, does the sum, and turns the answer back into days, hours, minutes and seconds. That is why 95 minutes is accepted as a time: it is 5,700 seconds, which comes back as 1 hour 35 minutes. A day is always 24 hours, an hour is 60 minutes and a minute is 60 seconds.

There are three modes because people reach for a time calculator for three different jobs. Add or subtract times works as an add time calculator for a list of durations. Time between two clock times, also called a time duration calculator, measures a shift, a trip or a class from its start and end. Clock time plus or minus a duration answers what time it will be, or was, once you add or take away a stretch of time.

How do you add and subtract hours, minutes and seconds?

Each row is one time, with its own plus or minus sign. The calculator keeps a running total under every row, so a long list of timings shows where the total stood after each one. Minutes and seconds above 59 are fine, and so are decimals: 1.5 in the Hours box counts as 1 hour 30 minutes.

A worked example: 1:45:30 plus 2:30:45. In seconds that is 6,330 plus 9,045, which is 15,375. Divide by 3,600 and you get 4 hours with 975 seconds left over, and 975 seconds is 16 minutes 15 seconds. The total is 4 hours 16 minutes 15 seconds, which is 4:16:15.

Subtracting works the same way. 5 hours minus 6 hours 15 minutes 30 seconds comes to minus 1 hour 15 minutes 30 seconds. The calculator keeps the minus sign, so you can see you are short by that much rather than seeing a wrapped-around clock time.

How do you add minutes and seconds?

Leave Days and Hours empty. If you type 3 minutes 45 seconds on one row and 2 minutes 30 seconds on the next, the total is 0:06:15. By hand, 45 plus 30 is 75 seconds, so carry 60 into the minutes and keep 15. Then 3 plus 2 plus the carried 1 makes 6 minutes.

Add hours and minutes for a week of work

Say the days were 7:40, 8:05, 7:50, 8:20 and 6:30. Enter each as hours and minutes, and the total is 38 hours 25 minutes, or 38.42 decimal hours. Adding the decimals by eye is where mistakes creep in, which is why it pays to add the minutes first: 460 plus 485 plus 470 plus 500 plus 390 is 2,305 minutes, and 2,305 divided by 60 is 38 with 25 left over.

How do you calculate the time between two times?

Pick the second mode and enter the start and the end to get the elapsed time. Both fields follow your device. A phone set to a 12-hour clock shows AM and PM, and one set to 24 hours shows 17:45. The answer is the same either way.

9:15 AM to 5:45 PM. From 9:15 AM to 12:00 noon is 2 hours 45 minutes, and from noon to 5:45 PM is 5 hours 45 minutes. The total is 8 hours 30 minutes, which is 8.5 hours.

What about overnight, when the end time is earlier than the start?

The overnight box is checked by default. From 8:30 PM to 4:15 AM, the clock runs 3 hours 30 minutes to midnight and 4 hours 15 minutes after it, so the shift is 7 hours 45 minutes, or 7.75 hours. If you uncheck the box, the calculator tells you the end is before the start and shows dashes. It never swaps the times for you.

12 AM and 12 PM, a common slip

12:00 AM is midnight and 12:00 PM is noon. A shift from 12:00 AM to 8:00 AM is 8 hours, while 12:00 PM to 8:00 AM the next day is 20 hours. If an answer is 12 hours out, look at the AM and PM on the 12 first.

Time between two times with a lunch or break

An unpaid break entered in minutes comes off the total. A 9:15 AM start and a 5:40 PM finish is 8 hours 25 minutes. With a 45-minute lunch the paid time is 7 hours 40 minutes, which is 7.67 decimal hours. The result also shows the time before the break, so you can match either figure to your timesheet.

Two clock times alone cannot show more than 24 hours, so a gap longer than a day belongs in the first mode, or in the Date Calculator when the answer is in days.

How do you convert hours and minutes to decimal hours?

Divide the minutes by 60. Payroll systems and invoices usually want decimals, but a clock shows minutes, and the two are not the same scale. 7:30 is 7.5 hours, because 30 minutes is half an hour. 7:50 is 7.83 hours. The table has the common conversions, rounded to two decimal places.

Minutes as a fraction of an hour (our arithmetic: minutes divided by 60)
MinutesDecimal hoursMinutesDecimal hours
50.08300.50
60.10400.67
100.17450.75
120.20500.83
150.25550.92
200.33590.98

How do you convert decimal hours to hours and minutes?

Multiply the decimal part by 60. 1.3 hours is 1 hour and 0.3 times 60, which is 18 minutes, so 1:18. People often read 1.30 as 1:30, and that is 12 minutes too many. If you type the decimal into the Hours box, the calculator converts it for you.

The decimal hours in the result are shown to four places, so 7:40 reads as 7.6667. Round that to the number of places your payroll or invoice rule uses.

How do you multiply or divide time?

The box under the rows multiplies or divides the total. Twelve laps at 1 minute 15 seconds each is 12 times 75 seconds, which is 900 seconds, or 15 minutes. Sharing a 1 hour 30 minute job between 4 people is 5,400 divided by 4, which is 1,350 seconds each, or 22 minutes 30 seconds. When a division does not come out even, the answer is rounded to the nearest second and the calculator says so.

Enter the time on one row, leave the others empty and use the box. Dividing by zero is not allowed, and the calculator asks for a number above zero.

What time will it be after adding hours and minutes?

Choose the third mode, enter a clock time and the duration to add or subtract. Starting at 3:45 PM and adding 5 hours 30 minutes gives 9:15 PM on the same day. Starting at 10:30 PM and adding 4 hours gives 2:30 AM, and the Day box shows that it is the next day. Subtracting works backward: 2:30 AM minus 4 hours is 10:30 PM on the previous day.

Typical uses are a slow-cooked roast that goes in at 11:30 AM and needs 6 hours 45 minutes (it is ready at 6:15 PM), or a red-eye flight that leaves at 11:50 PM and lands 6 hours 25 minutes later at 6:15 AM the next day. For a flight across time zones the clocks at each end differ, so use the Flight Time Calculator.

Where a time calculator earns its keep

Work hours and timesheets

Add the day's start and end, take off the unpaid break and total the week. Once you have the hours, the Overtime Calculator turns them into pay.

Cooking, study and training

Four 50-minute study sessions are 200 minutes, or 3 hours 20 minutes. A playlist of tracks, a set of intervals or three stages of a recipe all add up the same way.

Time in Excel

Spreadsheets store time as a fraction of a day, which is why totals wrap past 24 hours. Microsoft's guide fixes that with the custom format [h]:mm;@, and for a difference between full date-times it multiplies by 24 to get hours (its example gives 31.5 hours). This page shows the full total with no formatting step.

Mistakes that give the wrong time

Reading 1.30 hours as 1 hour 30 minutes is a common mistake. So is treating 12:00 AM as noon. Others are forgetting the unpaid break and entering a time that crosses midnight as if it were the same day. The calculator handles the overnight case for you, but the break, the 1.30 reading and the 12 AM and PM slips need your eye on the entry.

The calculator also ignores daylight saving. On the night the clocks change, a night shift on the wall clock is an hour longer or shorter than the calculator says, so check the actual hours worked against your own records. For city-to-city gaps, use the Time Zone Converter.

⚠️ Disclaimer This calculator does clock arithmetic on the times you enter. It does not allow for daylight saving changes, time zones, rounding rules or break rules set by an employer, so check those against your own payroll or contract before you rely on a figure.

Frequently Asked Questions

Add the hours, add the minutes, then carry every full 60 minutes into the hours. 2 hours 45 minutes plus 3 hours 50 minutes is 5 hours 95 minutes, which becomes 6 hours 35 minutes. In "Add or subtract times", each time goes on its own row, and the running total under each row updates as you type.
Pick "Time between two clock times", enter the start and the end, and read the duration. From 9:15 AM to 5:45 PM is 8 hours 30 minutes, or 8.5 decimal hours. By hand, convert both times to the 24-hour clock and subtract the start from the end.
Keep "End time is the next day when it is earlier than the start" checked. A night shift from 10:00 PM to 6:30 AM passes midnight, so the calculator adds 24 hours to the end time and returns 8 hours 30 minutes. If you uncheck the box, it reports that the end is before the start instead of guessing, which helps when a typo has put the times the wrong way round.
Enter the start time, the end time and the unpaid break in minutes. A shift from 7:00 AM to 3:30 PM with a 30-minute break is 8 hours of paid time, or 8 decimal hours. The calculator does not round, so if your employer rounds time, apply their rule to the decimal figure afterward.
Divide the minutes by 60 and add the result to the hours. 7 hours 40 minutes is 7 + 40/60 = 7.67 hours. The calculator shows the decimal hours for every result, so you can copy the figure straight into a payroll sheet. Remember that 7.5 hours is 7:30, not 7:50.
Keep the whole number as the hours and multiply the decimal part by 60 for the minutes. 1.3 hours is 1 hour and 0.3 x 60 = 18 minutes, so 1:18, not 1:30. In the calculator, 1.3 typed into the Hours box shows as 1 hour 18 minutes.
Set the sign on a row to minus. 5 hours minus 6 hours 15 minutes 30 seconds is minus 1 hour 15 minutes 30 seconds. When the answer is below zero the calculator keeps the minus sign, so you can see by how much you are short. For two clock times, use the time-between mode instead.
Add the seconds first and carry every 60 seconds into the minutes, then do the same with the minutes. Two tracks of 4 minutes 50 seconds and 3 minutes 25 seconds make 7 minutes 75 seconds, which becomes 8 minutes 15 seconds. With the Days and Hours boxes empty, the result reads 0:08:15.
Turn the total into seconds, multiply or divide, then convert back. A task of 2 minutes 20 seconds done 9 times is 9 x 140 seconds = 1,260 seconds, or 21 minutes. Enter the time on one row and the number in the multiply or divide box under the rows. A result that is not a whole number of seconds is rounded to the nearest second, and the page says so.
Pick "Clock time plus or minus a duration". Starting at 3:45 PM and adding 5 hours 30 minutes gives 9:15 PM. Starting at 10:30 PM and adding 4 hours gives 2:30 AM the next day, and the calculator says so in the Day box.
12:00 AM is midnight, the start of the day, and 12:00 PM is noon. On the 24-hour clock they are 00:00 and 12:00. So 12:00 AM plus 90 minutes is 1:30 AM, and 12:00 PM plus 90 minutes is 1:30 PM.
For any hour from 13 to 23, subtract 12 and add PM, so 17:40 is 5:40 PM. Hours 01 to 11 are AM, 12:00 is noon and 00:00 is midnight. The time inputs here follow your device settings, and the clock-time mode shows the 24-hour form as well.
An hour has 60 minutes or 3,600 seconds. A day has 24 hours, 1,440 minutes or 86,400 seconds. A week has 168 hours or 10,080 minutes. This calculator treats every day as exactly 24 hours.
Add the cells with a plus sign or SUM. In Microsoft's example, 12:45 plus 15:30 shows as 4:15 by default, because 15:30 is read as 3:30. Formatting the cell with the custom type [h]:mm;@ shows 28 hours 15 minutes. This calculator shows the full total without any formatting.
No. It works on the clock face and treats every day as 24 hours, so it does not add or remove the hour at a daylight saving change. For a gap between cities, use the Time Zone Converter. For a flight, the Flight Time Calculator allows for the zones at each end.
A time calculator works in hours, minutes and seconds within and across days. A date calculator counts whole days, weeks, months and years between calendar dates. For the number of days between two dates, or the date 90 days from today, use the Date Calculator.

Sources & Methodology

Every result is our arithmetic: entries are converted to whole seconds (a minute is 60 seconds, an hour 3,600 and a day 86,400), summed, and converted back. The spreadsheet example comes from Microsoft's documentation.