Time Calculator

Add or subtract time, or work out how many hours and minutes lie between two clock times.

Add or subtract time

Leave any box blank for zero.

08:30 plus 7 hours, 45 minutes

16:15

The same day

12-hour clock
4:15 PM
Days moved
0

7 hours, 45 minutes after 08:30 is 16:15 (the same day).

Hours between two times

For a night shift, 22:00 to 06:00 is 8 hours when the next day is allowed.

min

Optional. Leave blank for none.

Time between

8h 0m

8h 30m minus a 30 minute break

Decimal hours
8
Total minutes
480
Before the break
8h 30m
End falls on
The same day

From 09:00 to 17:30 is 8h 0m after a 30 minute break.

Add this calculator to your website

Free to use on any site or blog. Paste this code where you want the calculator to appear. It stays up to date, needs no account, and keeps your visitors' numbers in their own browser.

Preview

How it works

The first panel works in seconds. A time of day is turned into seconds after midnight, the amount you enter (days, hours, minutes and seconds, any of them blank) is added or taken away, and the result is turned back into a clock time. If it passes midnight, the calculator says how many days later or earlier it falls. Starting from an amount of time instead, it adds or subtracts two durations, such as 7 hours 30 minutes plus 7 hours 45 minutes.

The second panel finds the time from a start time to an end time. If the end is earlier than the start it is taken as the next day, so 22:00 to 06:00 is 8 hours. You can switch that off to get an error instead. An unpaid break in minutes is taken off, and the answer is shown as hours and minutes, as decimal hours and as total minutes.

Clock times use the 24-hour clock in the box, and the answer also shows the 12-hour version. Equal start and end times give zero hours, not 24.

Check it by hand: 08:30 plus 7 hours 45 minutes. Add the hours, 8 + 7 = 15, and the minutes, 30 + 45 = 75. Since 75 minutes is 1 hour 15 minutes, the total is 16 hours 15 minutes, which is 16:15, or 4:15 PM. For the gap from 09:00 to 17:30 the difference is 8 hours 30 minutes, and a 30 minute break leaves 8 hours.

Minutes between = end minus start (plus 1,440 if the end is earlier and the next day is allowed), then minus the break. Decimal hours = minutes / 60.

Worked example

Start at 08:30 and add 7 hours 45 minutes: the answer is 16:15 (4:15 PM) on the same day.

Between 09:00 and 17:30 with a 30 minute unpaid break there are 8 hours 0 minutes, which is 8 decimal hours or 480 minutes. Without the break it would be 8 hours 30 minutes.

A night shift from 22:00 to 06:00 is 8 hours, because 06:00 is taken as the next morning. Adding two amounts, 7 hours 30 minutes plus 7 hours 45 minutes, gives 15 hours 15 minutes, or 15.25 decimal hours.

Good to know

  • It works on clock times and plain amounts of time. Dates are not involved, so it cannot know about daylight saving changes. For a shift that crosses a clock change, the real elapsed time differs by an hour.
  • The time between two clock times is never more than 24 hours. For longer spans between dates, use the date calculator.
  • The browser time box has no seconds, so a time of day starts at a whole minute. Seconds can still be added or subtracted.

Questions people ask

How do I add hours and minutes together?

Choose "An amount of time" in the first panel, enter the first hours and minutes, choose Add, then enter the second. Minutes above 59 carry into hours, so 45 + 45 minutes gives 1 hour 30 minutes.

How many hours are there between two times?

Use the second panel. Enter the start and end times and read the hours and minutes. If the end is earlier than the start the calculator treats it as the next day, which suits night shifts.

How do I subtract time from a clock time?

Pick "A time of day", enter the time, choose Subtract and type the hours and minutes. Going back past midnight shows the answer with "1 day earlier".

How do I turn hours and minutes into decimal hours?

Divide the minutes by 60 and add the hours, so 7 hours 45 minutes is 7.75. The second panel shows decimal hours for you. The work hours calculator also converts in both directions.

Does it handle daylight saving time?

No. The tool does not know the date, so it counts exactly the hours you type. If clocks changed during the period, the real elapsed time is an hour more or less.

What is 22:30 plus 7 hours 45 minutes?

22:30 + 7:45 = 30:15. Take away 24 hours and the answer is 06:15 on the next day.

Part of the guide: Date calculators: days between dates, days until, age and weeks

Formulas and text last checked on 14 October 2026. Everything is calculated in your browser, so nothing you enter is sent or stored. Spotted a mistake? Tell us and we will fix it.