How to Use the Hours Calculator
- Enter the start time.
- Enter the end time.
- Select Calculate.
- Read the elapsed hours and minutes, decimal hours and total minutes.
Need to subtract lunch or another unpaid break? Use the Work Hours Calculator.
How to Calculate Hours Between Two Times
Convert each clock time to minutes after midnight, subtract the start from the end, and convert the difference back to hours and minutes.
Elapsed Time = End Time − Start Time
9:15 AM = 9 × 60 + 15 = 555 minutes
5:45 PM = 17 × 60 + 45 = 1065 minutes
1065 − 555 = 510 minutes
510 minutes = 8 hr 30 min
Hours Calculation Example
Start: 8:20 AM
End: 2:50 PM
Elapsed: 6 hr 30 min
Decimal: 6.50 hours
Total: 390 minutes
Calculating Time Across Midnight
When the end time is earlier than the start time, the calculator treats the end time as occurring the following day.
10:00 PM to midnight = 2 hours
Midnight to 6:30 AM = 6 hr 30 min
Total = 8 hr 30 min
Matching start and end times equal zero elapsed time. They are not assumed to represent a full 24-hour period.
Hours and Minutes vs. Decimal Hours
Clock duration uses 60 minutes per hour, while decimal hours express the fraction of an hour on a base-10 scale.
| Duration | Decimal hours |
|---|---|
| 15 min | 0.25 |
| 30 min | 0.50 |
| 45 min | 0.75 |
| 1 hr 30 min | 1.50 |
Already know the duration and only need the conversion? Use the Hours to Decimal Calculator.
Frequently Asked Questions
How do I calculate hours between two times?
Convert both times to minutes, subtract the start from the end, then convert the difference back to hours and minutes.
How many hours are between 9 AM and 5 PM?
There are 8 hours between 9:00 AM and 5:00 PM.
Can this calculator handle times that cross midnight?
Yes. An earlier end time is treated as the next day.
Is 7 hours 30 minutes equal to 7.30 hours?
No. It equals 7.50 decimal hours because 30 minutes is half of an hour.
How do I subtract a lunch break?
Use the dedicated Work Hours Calculator, which supports unpaid-break deduction.
What if I need payroll hours for several shifts?
Use the Payroll Hours Calculator for payroll and multi-shift workflows.
