Skip to content
XUtilHub

Time Duration Calculator – Hours Between Times

Calculate hours and minutes between two times, including overnight shifts. Subtract breaks, get decimal hours and calculate pay.

  • Free, no sign-up
  • Runs in your browser, nothing uploaded

About the Time Duration Calculator

Work out the time between two clock times, including shifts that cross midnight. Subtract an unpaid break, see decimal hours for timesheets, and calculate pay from an hourly rate.

Key features

  • Hours and minutes between two clock times
  • Overnight shifts that cross midnight
  • Subtract an unpaid break
  • Decimal hours for timesheets
  • Optional pay calculation from an hourly rate
  • Results update as you type

Calculate time between two times

Work out how long a shift, meeting, flight or study session lasted. Enter a start and end time, subtract any break, and get the duration in hours and minutes and decimal hours.

Examples

StartEndBreakDurationDecimal
09:0017:3030 min8 h 0 min8.00
08:1516:4545 min7 h 45 min7.75
22:0006:0008 h 0 min8.00
13:2015:0501 h 45 min1.75

Minutes to decimal hours

MinutesDecimal
150.25
300.50
450.75
100.17
200.33
400.67

Weekly timesheet example

5 shifts of 8.5 hours each = 42.5 hours. At 20 per hour, that's 850 before taxes and overtime.

Convert hours to other units with the Time Converter, or count business days with the Working Days Calculator.

How to use the Time Duration Calculator

  1. Enter your numbers in the fields above. Units and options can be changed at any time.
  2. The result updates instantly as you type; there's no calculate button to press.
  3. Check the breakdown under the main result for the details behind the number.
  4. Adjust the inputs to compare scenarios, for example a different rate or term.

Frequently asked questions

How do I calculate hours worked?

Subtract the start time from the end time, then subtract unpaid breaks. 9:00 to 17:30 with a 30-minute break = 8 h 30 min − 30 min = 8 hours.

What if the shift goes past midnight?

If the end time is earlier than the start, the calculator assumes the next day. 22:00 to 06:00 = 8 hours.

How do I convert minutes to decimal hours?

Divide by 60. 7 h 45 min = 7 + 45 ÷ 60 = 7.75 hours. Payroll systems usually need decimal hours.

Can it calculate my pay?

Enter your hourly rate and the calculator multiplies it by the hours worked after the break. It doesn't include overtime rules or taxes.

Are these calculators accurate?

They use standard, published formulas (for example the amortization formula for loans, Mifflin-St Jeor for calories and the U.S. Navy method for body fat) and are tested against known reference values. Results are estimates for planning, not professional advice.

Is my data stored?

No. All calculations run in your browser and nothing you enter is sent to a server.

Do the calculators work on my phone?

Yes. Every calculator is designed for mobile, tablet and desktop.

Last updated:

Related Calculators tools