Hours Calculator
Hours and minutes between two times
By Team Vind · Updated · How we check
Quick answer: Hours worked = end time − start time − breaks; add 24 hours if the shift crosses midnight, and divide minutes by 60 for decimal hours.
Example: Start time: 09:00; End time: 17:30; Break (unpaid): 30 minutes. This gives Hours and minutes: 8h 0m; Decimal hours: 8.
- 1Enter start and endClock times, AM or PM
- 2Add any breakUnpaid minutes to subtract
- 3See the hoursHours, minutes and decimals
How are the hours worked out?
We subtract the start time from the end time, add 24 hours if the shift goes past midnight, then take off the break.
Hours = end − start − break
Decimal hours = minutes ÷ 60
Decimal hours for timesheets
Many payroll systems want decimal hours. 7 hours 45 minutes is 7.75 hours, because 45 ÷ 60 = 0.75.
Night shifts
From 10:00 PM to 6:00 AM is 8 hours. Because the end time is earlier than the start, the calculator assumes it's the next morning.
Related calculators
Frequently asked questions
How many hours is 9 AM to 5:30 PM?
8 hours 30 minutes, or 8.5 hours. With a 30-minute break it's 8 hours.
How do I calculate hours that go past midnight?
Just enter the times. If the end is earlier than the start, the calculator counts it as the next day.
How do I convert minutes to decimal hours?
Divide the minutes by 60. 15 minutes = 0.25 hours, 30 = 0.5, 45 = 0.75.
How do I calculate working hours with a lunch break?
Subtract the start time from the end time, then subtract the break: 9:00 AM to 6:00 PM with a 45-minute lunch is 8 hours 15 minutes, or 8.25 hours.
Related guides
- TimeHow to Calculate Age from Date of BirthThe exact years-months-days method with borrowing, completed vs running age, and the Excel formula.4 min read · Updated 12 October 2026
- TimeHow to Count the Days Between Two DatesCounting days by hand, the off-by-one rule, working days, and counting forward from a date.4 min read · Updated 12 October 2026
- TimeLeap Year Rules: Which Years Have 366 Days and WhyThe three-step rule, why century years are special, upcoming leap years and where the extra day matters.4 min read · Updated 12 October 2026
Sources
Last reviewed: 15 October 2026

