Time Duration Calculator: Hours Worked Between Two Times
Enter a start and an end time in 24-hour format, subtract any break, and see the time worked in hours and minutes and in decimal hours. Add an hourly rate to see what the time is worth.
Estimates only. Check important results before you rely on them.
More Everyday calculators
View all 10You may also need
From related categoriesHow to use this calculator
- Enter the start time in 24-hour format, for example 9 and 30.
- Enter the end time.
- Add the unpaid break in minutes.
- Optionally add an hourly rate to see pay.
The formula
Worked example
From 9:30 to 18:15 is 8 h 45 min. After a 45-minute break the time worked is 8 h 0 min, or 8 hours, and at ₹250 an hour the pay is ₹2,000.
Understanding your result
If the end time is earlier than the start, the shift is treated as running past midnight and the result says so. Decimal hours are useful for payroll and timesheets.
When to use it
- Total shift hours and overtime.
- Fill timesheets in decimal hours.
- Estimate pay for hourly work.
Assumptions and limits
Uses 24-hour time. Shifts of 24 hours or longer are not handled. Use the Time Calculator to add or subtract durations.
Frequently asked questions
How do I calculate the hours between two times?
Convert both to minutes since midnight, subtract, and convert back to hours and minutes.
How are overnight shifts handled?
If the end time is earlier than the start time, the calculator adds 24 hours.
How do I convert hours and minutes to decimal hours?
Divide the minutes by 60 and add the hours. 8 h 45 min is 8.75 hours.
Is the break subtracted?
Yes. Enter it in minutes and it is removed from the time worked.
Can I use 12-hour times?
Convert to 24-hour first. 6:15 PM is 18 and 15.