Free · No sign-up · Works overnight and across dates

Hours Calculator

Find the hours and minutes between two times, minus breaks. Add and subtract hours and minutes. Convert hours:minutes to decimal hours for payroll and back.

Hours & minutes
8:00
same day
Decimal hours
8.00
Total minutes
480
Before break
8:30

Tracking a whole week with overtime? Use the time card calculator. Turning hours into pay? Try the salary to hourly calculator.

Add this calculator to your website

Free for HR blogs, schools, payroll firms and SBDCs. Paste this code into any page (in WordPress, use a Custom HTML block). It stays up to date when we update the figures.

How Many Hours Is a Shift?

ShiftHoursWith 30-min unpaid lunch5 days
9 AM to 5 PM8:00 (8.00 h)7.50 h37.50 h
8 AM to 5 PM9:00 (9.00 h)8.50 h42.50 h
9 AM to 6 PM9:00 (9.00 h)8.50 h42.50 h
8 AM to 4:30 PM8:30 (8.50 h)8.00 h40.00 h
7 AM to 3:30 PM8:30 (8.50 h)8.00 h40.00 h
7 AM to 7 PM12:00 (12.00 h)11.50 h57.50 h
10 AM to 6 PM8:00 (8.00 h)7.50 h37.50 h
3 PM to 11 PM8:00 (8.00 h)7.50 h37.50 h
11 PM to 7 AM8:00 (8.00 h)7.50 h37.50 h
7 PM to 7 AM12:00 (12.00 h)11.50 h57.50 h

How to Calculate Hours Between Two Times

  1. Write both times in 24-hour format: 4:45 PM is 16:45.
  2. Subtract the start from the end: 16:45 − 8:15. If the minutes go negative, borrow 60 minutes from the hours.
  3. If the end is earlier than the start, the time crosses midnight: add 24 hours to the end time.
  4. Subtract unpaid breaks.
  5. For payroll, divide the minutes by 60 to get decimal hours: 8 h 30 min = 8.5 hours.

Frequently Asked Questions

How do I calculate hours between two times?

Convert both times to 24-hour format and subtract the start from the end. 8:15 AM to 4:45 PM is 16:45 − 8:15 = 8 hours 30 minutes. If the end time is earlier than the start, the period crosses midnight: add 24 hours to the end time first.

How many hours is 9 to 5?

9:00 AM to 5:00 PM is 8 hours. With an unpaid 30-minute lunch it is 7.5 hours of paid work, or 37.5 hours over a five-day week.

How do I add hours and minutes together?

Add the hours and the minutes separately, then turn every 60 minutes into 1 hour. 2:45 + 3:30 = 5 hours 75 minutes = 6:15.

How do I convert hours and minutes to decimal?

Divide the minutes by 60 and add them to the hours. 7 hours 45 minutes = 7 + 45 ÷ 60 = 7.75 hours. To go back, multiply the decimal part by 60: 6.4 hours = 6 hours 24 minutes.

How many hours are in a work year?

A full-time schedule of 40 hours a week for 52 weeks is 2,080 hours a year. That is why a $20/hour job is about $41,600 a year before taxes.

More free tools: all business calculators.

Founder Newsletter — weekly

Get the growth playbook in your inbox.

One short email every Tuesday, written for founders — not marketers.

  • ✓Startup frameworks
  • ✓AI prompts
  • ✓Growth strategies
  • ✓Product launches

No spam. Unsubscribe anytime.