Private • Runs in your browser

Time Calculator

Every time tool you need, in one place

Countdown

Run a quick timer, or count down the days to an important date.

00:05:00
Ready when you are
Sound when time is up

Online Stopwatch

Measure elapsed time with start, pause, lap and reset.

00:00:00.00
Ready to start

Time Duration Calculator

Find the exact time between two clock times.

Date Calculator

Find the gap between two dates, or add and subtract time from a date.

Hours Calculator

Add or subtract time, total your work hours, or convert between time units.

DayStartEndBreak (min)
Equal to

World Clock

Current local time in cities around the world.

Time tools · Fast, simple and privateAll calculations run in your browser

Hours Between Two Times — online tool

To find the time between two clock times, subtract the start from the end. Convert each time to minutes after midnight if that helps. From 8:45 am to 5:20 pm, the start is 8 × 60 + 45 = 525 minutes and the end is 17 × 60 + 20 = 1,040 minutes. The difference is 515 minutes, which is 8 hours and 35 minutes.

When the end time is earlier on the clock than the start, the period crosses midnight. A shift from 9:30 pm to 6:15 am is 21:30 to 06:15. Add 24 hours to the end, giving 30:15, and subtract 21:30 to get 8 hours and 45 minutes. In the tool you do not have to add the 24 hours. Tick 'End time is on the next day' and the duration is worked out correctly. Without that tick, an end time before the start would look like a negative result.

The tool handles hours and minutes. If you need a decimal for pay, divide the minutes by 60. 8 hours 35 minutes is 8 + 35/60 = 8.58 hours. 8 hours 45 minutes is 8.75 hours. Being careful here matters, because 8.35 is not the same as 8 hours 35 minutes.

If your period lasts more than one night, use the Date Difference tab for days and the Time Duration tab for the final partial day. The swap button reverses the two times if you entered them the wrong way round.

Worked examples

StartEndNext day?Duration
8:45 am5:20 pmNo8 h 35 min
10:15 am2:50 pmNo4 h 35 min
9:30 pm6:15 amYes8 h 45 min
11:00 pm7:00 amYes8 h 0 min

Minutes to decimal hours

TimeDecimal hours
8 h 15 min8.25
8 h 30 min8.50
8 h 35 min8.58
8 h 45 min8.75

Common mistakes

How to use Hours Between Two Times

  1. Open the Time Calculator and select the Time Duration tab.
  2. Enter the start time.
  3. Enter the end time.
  4. If the end time is on the following day, tick 'End time is on the next day'.
  5. Press Calculate to see the duration with its breakdown.
  6. Use the swap button if the times were entered in the wrong order.
  7. Note the hours and minutes, and convert to decimal hours if you need that for pay.

Tips for the best result

Frequently asked questions

How do I calculate the hours between two times?
Subtract the start time from the end time. In the Time Duration tab, enter both times and press Calculate.
How do I calculate time that passes midnight?
Tick 'End time is on the next day'. A shift from 9:30 pm to 6:15 am then shows 8 hours and 45 minutes.
How many hours is 8:45 am to 5:20 pm?
It is 8 hours and 35 minutes, or about 8.58 hours.
Why is my result negative?
The end time is earlier than the start time. If the end is on the next day, tick the next-day box. If not, swap the times.
Can I enter a time in 24-hour format?
Yes. Use whichever format your device shows in the time fields.
Does it subtract a lunch break?
The duration tab gives the total elapsed time. Subtract a break yourself, or use the Hours Calculator tab.
How do I turn 8 hours 35 minutes into decimals?
Divide the minutes by 60. 35 ÷ 60 is 0.58, so the value is 8.58 hours.
Is the result stored?
No. The calculation happens on your device.

More Time Calculator