Time Calculator

Time between two times

Add or subtract time

Add up durations

Your inputs are saved in the address. Bookmark the page (Ctrl+D) to come back to them.

How long is it from 10:15 pm to 6 am? What time is it 2 hours 45 minutes from now? Clock math runs in sixties, so it is easy to slip by an hour or ten minutes. This page puts three everyday time calculations in one place: time between two times, adding or subtracting time, and totaling durations.

Enter times in 24-hour format. Results are shown as h:mm (7:30), as decimal hours (7.5) and as total minutes. Your inputs are saved in the page address, so you can bookmark the page or share it.

How it works

Every time is turned into minutes after midnight: 09:30 is 9 × 60 + 30 = 570 minutes. The time between two times is the end minus the start. If the end time is earlier than the start time, it is read as the next day and 1,440 minutes (24 hours) are added, so 22:15 to 06:00 is (360 + 1,440) − 1,335 = 465 minutes, or 7 hours 45 minutes. Two equal times give zero; if you need a full 24 hours, use the durations calculator.

To add or subtract, the amount (hours × 60 + minutes) is added to or taken from the start time in minutes. The result is divided by 1,440: the remainder becomes the clock time and the whole number of days is the day change. 22:00 plus 4 hours is 1,560 minutes, which is 02:00 on the next day. You can type more than 59 minutes, such as 90 or 150.

Durations are added in minutes and then split back into hours and minutes. 1 h 45 min + 2 h 30 min + 50 min is 105 + 150 + 50 = 305 minutes, or 5:05. A total above 24 hours stays as hours (27:15) rather than rolling over into days.

Decimal hours are minutes divided by 60: 7 hours 30 minutes is 7.5 hours and 7 hours 20 minutes is about 7.33 hours. Use decimal hours for timesheets and spreadsheets and h:mm when reading a clock. The screen rounds to two decimals, while the calculation itself stays exact.

The calculator works in hours and minutes only. It does not handle seconds, time zones or daylight saving changes; on a clock-change day, or when the two times are in different time zones, convert both to the same local time first.

Worked examples

  • Time between two times
    From 08:45 to 17:15 is 8:30, that is 8.5 hours (510 minutes); the end time falls on the same day.
  • Time between two times
    From 22:15 to 06:00 is 7:45, that is 7.75 hours (465 minutes); the end time falls on the next day.
  • Add or subtract time
    2 h 45 min after 14:20 is 17:05 the same day (day change: 0).
  • Add or subtract time
    3 h 30 min before 01:00 is 21:30 the previous day (day change: 1).
  • Add up durations
    1 h 45 min + 2 h 30 min + 0 h 50 min adds up to 5:05, that is 5.08 hours (305 minutes).

Reference table

End time by start time and duration
Start time \ Duration (hours)1248912
06:0007:0008:0010:0014:0015:0018:00
08:0009:0010:0012:0016:0017:0020:00
09:0010:0011:0013:0017:0018:0021:00
13:0014:0015:0017:0021:0022:0001:00
18:0019:0020:0022:0002:0003:0006:00
22:0023:0000:0002:0006:0007:0010:00
An end time earlier than the start time is on the next day. For example, starting at 22:00 and taking 4 hours ends at 02:00 the next day.

Reference table

Time between start and end times (h:mm)
Start time \ End time12:0017:0017:3018:0019:0006:00
07:005:0010:0010:3011:0012:0023:00
08:004:009:009:3010:0011:0022:00
08:303:308:309:009:3010:3021:30
09:003:008:008:309:0010:0021:00
10:002:007:007:308:009:0020:00
22:0014:0019:0019:3020:0021:008:00
An end time earlier than the start time is counted as the next day: 22:00 to 06:00 is 8:00, or 8 hours.

FAQ

How do I count from 11 pm to 7 am the next morning?

Enter 23:00 as the start time and 07:00 as the end time. When the end is earlier than the start, the calculator assumes the next day and adds 24 hours, so the answer is 8:00, or 8 hours, and the result says the end falls on the next day.

What is 7 hours 20 minutes in decimal hours?

Divide the minutes by 60 and add them to the hours: 20 ÷ 60 ≈ 0.333, so it is about 7.33 hours. Handy values to remember: 15 minutes is 0.25 h, 30 minutes is 0.5 h and 45 minutes is 0.75 h.

Can I enter more than 59 minutes?

Yes. 90 minutes counts as 1 hour 30 minutes and 150 minutes as 2 hours 30 minutes, so you can leave hours at 0 and type only minutes. Decimals are not accepted, so enter 1.5 hours as 1 hour 30 minutes.

What if the result moves past midnight more than once?

The resulting time is always shown as a time of day (00:00 to 23:59), and the day line says whether it is the same day, the next or previous day, or several days later or earlier. "Day change" gives the exact number: 10:00 plus 50 hours is 12:00, two days later.

Why does a total above 24 hours not turn into days?

The durations calculator adds lengths of time, not clock times, so 27 hours 15 minutes is shown as 27:15. To convert to days, divide the total minutes by 1,440.

Does it handle seconds or time zones?

No, it works in hours and minutes only. For two times in different time zones, such as London and New York, convert one of them to the other's local time first. On the day daylight saving time starts or ends, the real elapsed time can also be one hour different.