Hours Calculator

Find out how many hours and minutes are between two times. Add dates for spans longer than a day, and subtract a break if you need to. Results are shown in hours:minutes, decimal hours and total minutes.

No dates? An end time earlier than the start is treated as the next day.

How to calculate hours between two times

  1. Convert both times to 24-hour format (5:30 PM = 17:30).
  2. Subtract the start from the end: 17:30 − 9:00 = 8:30.
  3. If the minutes go negative, borrow an hour: 16:10 − 8:45 = 15:70 − 8:45 = 7:25.
  4. If the end is earlier than the start, the span crosses midnight, so add 24 hours: 22:00 to 06:00 = 6:00 − 22:00 + 24:00 = 8:00.

Examples

StartEndDurationDecimal
9:00 AM5:00 PM8:008.00
8:45 AM4:10 PM7:257.42
7:00 AM3:30 PM8:308.50
10:00 PM6:00 AM8:008.00
11:15 AM2:50 PM3:353.58

Need to add up a whole week?

This page calculates one span of time. To total a full week or pay period with breaks, overtime and pay, use the time card calculator, or the bi-weekly version for two-week pay periods.

Frequently asked questions

How many hours is 9 AM to 5 PM?

9:00 AM to 5:00 PM is 8 hours. With a 30-minute unpaid lunch it's 7.5 hours.

How do I calculate hours across midnight?

If the end time is earlier than the start time, add 24 hours to the end. 10 PM to 6 AM is 8 hours. The calculator does this automatically.

How many hours is 7 AM to 7 PM?

7:00 AM to 7:00 PM is 12 hours.

Results are estimates for personal use, not legal or payroll advice. Check your employer's policy and your state's labor laws.