Hours Calculator: Time Between Two Times

Find how long you worked between a start and end time, minus unpaid breaks. Overnight shifts are handled automatically, and you can add an hourly rate to see your pay.

How it works

Both times are turned into minutes after midnight and subtracted. If the end time is earlier than the start time, the shift is treated as ending the next day, so 24 hours (1,440 minutes) is added. The break is then taken off.

Minutes worked = end − start (+ 1,440 if overnight) − break
Decimal hours = minutes ÷ 60

Example

From 9:00 AM to 5:30 PM with a 30-minute lunch is 8 h 30 min − 30 min = 8 h 0 min, or 8.00 decimal hours. A shift from 10:00 PM to 6:00 AM with no break is 8 hours.

Converting minutes to decimal hours

Payroll systems and timesheets often ask for decimal hours. Divide the minutes by 60:

MinutesDecimalMinutesDecimal
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

A common mistake is to write 8 h 30 min as 8.30. It is 8.50 hours.

Weekly totals and overtime

Add up each day's decimal hours for the week. In the United States, non-exempt employees are generally owed 1.5 times their regular rate for hours over 40 in a workweek. Rules differ by country and state, so check your local labor rules or contract.

Paid and unpaid breaks

Only subtract breaks that are unpaid. Short rest breaks are often paid, while a meal break of 30 minutes or more is often unpaid. Your employer's policy decides which applies.

Frequently asked questions

How do I calculate hours worked?

Subtract the start time from the end time, then subtract any unpaid break. The calculator also handles shifts that pass midnight.

What is 8 hours 45 minutes in decimal?

8.75 hours, because 45 minutes ÷ 60 = 0.75.

How do I calculate an overnight shift?

If the end time is earlier than the start time, add 24 hours to the end time before subtracting. The calculator does this automatically.

Should I subtract my lunch break?

Only if the break is unpaid. Paid breaks count as time worked.

Related calculators

Last reviewed: · Report a mistake