Skip to content

Time Calculator

Add or subtract hours, minutes and seconds, or add a duration to a date and time to find exactly when something ends. Use it for work shifts, recipes, travel, race times and project plans.

What do you want to do?
First time
Operation
Second time

Result (hours:minutes:seconds)

4:15:30

4 hours, 15 minutes, 30 seconds

Total hours
4.2583
Total minutes
255.5
Total seconds
15,330

How to use this calculator

  1. 1 Choose whether to combine two times or add time to a date and time.
  2. 2 Enter each time in the day, hour, minute and second boxes. Empty boxes count as zero.
  3. 3 Pick add or subtract. Results carry over automatically, so 90 minutes becomes 1 hour and 30 minutes.
  4. 4 Read the result as hours:minutes:seconds, in words, and as total hours, minutes or seconds.

Why time doesn’t add like normal numbers

Time is counted in groups. There are 60 seconds in a minute, 60 minutes in an hour and 24 hours in a day.

That is why 2:45 plus 1:30 is not 3.75 hours. Add the minutes first: 45 + 30 = 75 minutes, which is 1 hour and 15 minutes. Then add the hours: 2 + 1 + 1 = 4 hours. The answer is 4:15.

The calculator does this carrying for you.

Any extra 60 seconds become a minute, and any extra 60 minutes become an hour.

Decimal hours and hours with minutes

Payroll systems, invoices and some apps show time as decimal hours, such as 2.75. To convert minutes to decimal hours, divide by 60. To convert back, multiply the decimal part by 60.

Two numbers that look close can mean very different times. 2.5 hours is 2 hours and 30 minutes, not 2 hours and 50 minutes. Check the “Total hours” line when you need a decimal figure.

Common conversions
Decimal hoursHours and minutes
0.2515 minutes
0.530 minutes
0.7545 minutes
1.51 hour 30 minutes
2.752 hours 45 minutes

Adding time to a date and time

Choose “Add time to a date” to find when something ends. Enter the start date and time, then the duration. For example, an 8-hour 30-minute shift that starts at 9:00 in the morning ends at 5:30 in the afternoon on the same day.

Use a minus sign in front of the duration to go back in time. This is useful for working out when to start a task so it finishes on time.

The calculator adds clock time. It does not adjust for daylight saving changes. On the day the clocks change, a “24 hour” span may be one hour more or less in real elapsed time. If you need the exact calendar gap across days, the date calculator is a good choice.

12-hour and 24-hour clocks

Most of the world writes times on a 24-hour clock, from 00:00 to 23:59. Timetables, transport and medical records often use it. In everyday speech, the US, Canada, Australia, India and Pakistan commonly use a 12-hour clock with a.m. and p.m.

Some common mistakes come from the 12-hour clock. 12:00 p.m. is noon, and 12:00 a.m. is midnight. So 12:30 a.m. is 00:30 and 1:00 p.m. is 13:00. The result from this calculator follows the format your device uses for times.

Working out hours for pay and schedules

For a shift, add up the time you worked for each part of the day, then convert the total to decimal hours if your pay rate is per hour. You can use the time card calculator to total a full week, or the hours calculator to find the time between a start and an end time.

Keep an eye on breaks. Subtract any unpaid break from your total before you multiply by an hourly rate. Rules for breaks and overtime vary by country and by employer, so check your contract.

The formula

Convert everything to seconds

total = days × 86,400 + hours × 3,600 + minutes × 60 + seconds

86,400
seconds in one day (24 × 3,600)
3,600
seconds in one hour (60 × 60)

Convert back to hours, minutes and seconds

hours = ⌊total ÷ 3,600⌋, minutes = ⌊remainder ÷ 60⌋, seconds = remainder mod 60

⌊ ⌋
round down to a whole number

Decimal hours

decimal hours = hours + minutes ÷ 60 + seconds ÷ 3,600

Adding time to a date

end = start date and time + duration (as clock time)

Worked example

Add 2 h 45 min to 1 h 30 min 30 s

  1. 1.2 h 45 min = 2 × 3,600 + 45 × 60 = 9,900 s
  2. 2.1 h 30 min 30 s = 3,600 + 1,800 + 30 = 5,430 s
  3. 3.Total = 9,900 + 5,430 = 15,330 s
  4. 4.15,330 s = 4 h (14,400 s) + 15 min (900 s) + 30 s

4 hours, 15 minutes and 30 seconds (4:15:30).

Frequently asked questions

How do I add hours and minutes?

Add the minutes together and the hours together. Every 60 minutes carries over as 1 hour. For example, 2:45 + 1:30 = 3:75, which is 4:15.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 45 minutes is 0.75 hours, so 2 hours 45 minutes is 2.75 hours. The “Total hours” line shows this for you.

How do I subtract one time from another?

Choose Subtract and enter the smaller time second. If the answer is negative, the calculator shows a minus sign. To find the time between two clock times, such as 09:00 and 17:30, the hours calculator is quicker.

How do I add more than 24 hours?

Enter the extra time in the days or hours box. For example, 30 hours shows as 30:00:00 in the result and as “1 day, 6 hours” in words.

Does adding time to a date account for daylight saving?

No. It adds exact clock time, so 24 hours always lands on the same clock time the next day. On a daylight-saving change, the real elapsed time differs by an hour.

What is the difference between 12-hour and 24-hour time?

12-hour time uses a.m. and p.m. 24-hour time runs from 00:00 to 23:59, so 1:00 p.m. is 13:00. Midnight is 00:00 in 24-hour time and 12:00 a.m. in 12-hour time.

Sources

Last reviewed by the GridCalculators team.