Skip to content
Calcendium

Search calculators

Calculators

Hours Calculator: Time Between Two Times

Find the hours and minutes between a start and end time, minus breaks, in decimal hours too.

  • Calculated in your browser — inputs are never sent to Calcendium
  • All results are estimates
  • Last reviewed

Calculator

Time worked

Optional. Shows what the hours earn.

Results

Time worked

Estimate

8 h 0 min

From 08:30 to 17:15, minus the break.

Decimal hours
8
Minutes
480
Start to end
8 h 45 min
Break
− 45 min
Time worked
8 h 0 min
Decimal hours
8
Minutes
480
On this page

How hours worked are calculated

Times use the 24-hour clock of ISO 8601 (17:15 is 5:15 pm). The calculator turns both times into minutes after midnight, subtracts, and takes off the unpaid break. When the end time is earlier than the start time, the shift ends the next day and 24 hours are added.

Time worked
minutes = end − start − break (+ 1,440 if end is before start)
decimal hours = minutes ÷ 60
pay = minutes × hourly rate ÷ 60
start, end
Minutes after midnight
break
Unpaid break in minutes

Worked example

08:30 to 17:15 with a 45-minute break
Start to end525 min
Break− 45 min
Worked480 min = 8 h 0 min
Decimal hours8

From 09:00 to 17:20 with a 30-minute break is 7 h 50 min, or 7.83 decimal hours. At $18.75 an hour that pays $146.88.

How to read your results

  • Hours and minutes are what a clock shows; decimal hours are what timesheets and payroll use. 30 minutes is 0.5 hours, 20 minutes 0.33.
  • Night shifts: 22:00 to 06:30 with a 30-minute break is 8 h 0 min.
  • Pay uses the exact minutes, not the rounded decimal hours, and is rounded to the cent once.

Counting days rather than hours? Use the days between dates calculator.

Assumptions

  • One shift of less than 24 hours; equal start and end times count as no time.
  • The break is unpaid and shorter than the shift.
  • One hourly rate for the whole shift.

Limitations

  • Overtime rates, night premiums and taxes are not applied.
  • A clock change for daylight saving time during the shift is not taken into account.
  • For a whole week, calculate each day and add the decimal hours.

Frequently asked questions

How do I convert minutes to decimal hours?

Divide the minutes by 60: 15 minutes is 0.25 hours, 45 minutes 0.75 and 50 minutes 0.83. So 7 h 50 min is 7.83 hours.

How do I calculate hours for a shift that ends after midnight?

Add 24 hours to the end time, then subtract the start time. 22:00 to 06:30 is 30:30 − 22:00 = 8 h 30 min; with a 30-minute break, 8 h 0 min.

Is the break included in hours worked?

Only if it is paid. Enter unpaid breaks so they are taken off; leave the field at 0 for paid breaks.

Sources

Definitions and rules referenced on this page. Calcendium is not affiliated with these publishers.

  1. ISO 8601: Date and time format

    International Organization for Standardization · International · Checked October 24, 2026

    Calendar dates written as year, month and day (YYYY-MM-DD), the format the calculator uses for dates.