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.

FreeNo sign-upRuns in your browserUpdated 2 Nov 2026
h
min
h
min
min
₹
Leave blank or 0 to skip pay.
Your resultLive

Estimates only. Check important results before you rely on them.

More Everyday calculators

View all 10

You may also need

From related categories

How to use this calculator

  1. Enter the start time in 24-hour format, for example 9 and 30.
  2. Enter the end time.
  3. Add the unpaid break in minutes.
  4. Optionally add an hourly rate to see pay.

The formula

Elapsed minutes = (End hour × 60 + End minute) − (Start hour × 60 + Start minute). If the end is not after the start, 24 hours are added. Time worked = Elapsed − Break. Pay = Time worked in hours × Rate.

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.