Time Calculator

Work out the duration between two times, add up or subtract hours, minutes and seconds, or find what time it will be after a number of hours.

  • 100% free
  • No sign-up
  • Runs in your browser
  • Add this calculator to your website

    Free for blogs, schools and businesses. Paste the code into your page's HTML; it resizes automatically and has no ads.

    Preview

    Please keep the credit link below the widget. See all free calculator widgets.

  • Updated October 2026 · How we check our tools

Was this tool helpful?

How to use the Time Calculator

  1. 1Choose what you want: the time between two times, adding up several times, or adding time to a clock.
  2. 2Enter the times (use the plus and minus buttons to add or subtract each one).
  3. 3Read the result in hours and minutes, decimal hours, minutes and seconds.

How to calculate the time between two times

Subtract the start time from the end time. If the minutes of the end time are smaller than the start's, borrow an hour (60 minutes). For example, from 9:40 to 17:15: borrow an hour so 17:15 becomes 16:75, then 16:75 − 9:40 = 7 hours 35 minutes.

If the end time is earlier than the start time, the period crosses midnight: add 24 hours to the end time first. From 10:00 PM (22:00) to 6:30 AM is 30:30 − 22:00 = 8 hours 30 minutes. The calculator does this automatically.

How to add and subtract times

Add the hours, minutes and seconds separately, then carry: every 60 seconds becomes a minute and every 60 minutes becomes an hour. 2 h 45 min + 1 h 30 min = 3 h 75 min = 4 h 15 min.

To subtract, borrow 60 minutes from the hours when you need to. 5 h 10 min − 2 h 45 min: borrow an hour to make 4 h 70 min, then subtract to get 2 h 25 min.

12-hour and 24-hour clock

The 24-hour clock (military time) counts hours from 00 at midnight to 23. Subtract 12 from afternoon hours to get the 12-hour time.

12-hour24-hour12-hour24-hour
12:00 AM00:0012:00 PM12:00
1:00 AM01:001:00 PM13:00
2:00 AM02:002:00 PM14:00
3:00 AM03:003:00 PM15:00
4:00 AM04:004:00 PM16:00
5:00 AM05:005:00 PM17:00
6:00 AM06:006:00 PM18:00
7:00 AM07:007:00 PM19:00
8:00 AM08:008:00 PM20:00
9:00 AM09:009:00 PM21:00
10:00 AM10:0010:00 PM22:00
11:00 AM11:0011:00 PM23:00

Minutes as decimal hours

Divide minutes by 60 to get a decimal fraction of an hour, useful for timesheets and pay:

MinutesDecimal hoursh:mm
5 min0.0830:05
10 min0.1670:10
15 min0.250:15
20 min0.3330:20
25 min0.4170:25
30 min0.50:30
35 min0.5830:35
40 min0.6670:40
45 min0.750:45
50 min0.8330:50
55 min0.9170:55
60 min11:00

Time between common start and end times

Duration of common working hours, without and with a 30-minute unpaid break:

From – toDurationDecimalMinus 30 min breakDecimal
9:00 AM – 5:00 PM8 h87 h 30 min7.5
8:00 AM – 5:00 PM9 h98 h 30 min8.5
8:00 AM – 4:00 PM8 h87 h 30 min7.5
7:00 AM – 3:00 PM8 h87 h 30 min7.5
9:00 AM – 6:00 PM9 h98 h 30 min8.5
8:30 AM – 5:00 PM8 h 30 min8.58 h8
9:00 AM – 5:30 PM8 h 30 min8.58 h8
7:00 AM – 7:00 PM12 h1211 h 30 min11.5

Hours, minutes and seconds

Common durations converted into the other units:

DurationMinutesSecondsShare of a day
15 min159001.04%
30 min301,8002.08%
1 h603,6004.17%
1 h 30 min905,4006.25%
2 h1207,2008.33%
2 h 30 min1509,00010.42%
3 h18010,80012.5%
4 h24014,40016.67%
6 h36021,60025%
8 h48028,80033.33%
12 h72043,20050%
24 h1,44086,400100%

Adding time across midnight

When the result passes midnight, the clock starts again from 12:00 AM and the date moves forward. 9:45 PM + 5 hours 30 minutes = 3:15 AM the next day (21:45 + 5:30 = 27:15, and 27:15 − 24:00 = 3:15).

Subtracting works the same way backwards: 1:15 AM − 3 hours = 10:15 PM the previous day. For flights or night shifts, use "Add time to a clock" and the calculator tells you whether the result is on the same day.

Frequently asked questions

How do I add 8 hours to a time?

Choose "Add time to a clock", enter the start time and 8 hours. For example, 9:30 AM + 8 hours is 5:30 PM; 8:00 PM + 8 hours is 4:00 AM the next day.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 45 minutes is 0.75 hours, so 7 hours 45 minutes is 7.75 hours. Payroll systems usually use decimal hours.

How many hours is 9 to 5?

8 hours, or 7.5 hours if you take an unpaid 30-minute lunch break.

What time is 14:30 in 12-hour time?

2:30 PM. Subtract 12 from any hour from 13 to 23 and add PM.

How many minutes are in 2.5 hours?

150 minutes. Multiply decimal hours by 60 to get minutes: 2.5 × 60 = 150.

What is 1.75 hours in hours and minutes?

1 hour 45 minutes. Multiply the decimal part by 60: 0.75 × 60 = 45 minutes.

How do I work out the time difference across midnight?

Add 24 hours to the later time before subtracting. From 11:30 PM to 2:15 AM: 26:15 − 23:30 = 2 hours 45 minutes. The calculator does this automatically when the end time is earlier than the start.