Work hours calculator

Hours worked between a start and end time, with breaks taken out. Overnight shifts welcome.

Hours worked

decimal hours
As hours & minutes
Total minutes

How to calculate hours worked

Enter your clock-in and clock-out times and the calculator works out the time between them, subtracts any break, and shows the result as both hours and minutes and a decimal number of hours. Add an hourly rate to see your gross pay for the shift. If your end time is earlier than your start time, it assumes an overnight shift and rolls over midnight.

Doing it by hand

Convert both times to the 24-hour clock, subtract the start from the end, then take off the break. A 6:30 to 14:30 shift is 14:30 − 6:30 = 8 hours exactly; with a 30-minute unpaid lunch you are paid for 7.5 hours.

The awkward part is minutes, because time is base 60 and payroll is base 10. Forty-five minutes is not 0.45 of an hour, it is 0.75. Divide the minutes by 60 to convert: 45 ÷ 60 = 0.75.

Minutes to decimal hours

What payroll systems expect. Round to two places unless your employer says otherwise.

Minutes converted to decimal hours.
MinutesDecimalMinutesDecimal
:000.00:300.50
:050.08:350.58
:100.17:400.67
:150.25:450.75
:200.33:500.83
:250.42:550.92

Common shifts and what they pay out at

Total elapsed time, and the paid figure once a 30-minute unpaid break is removed.

Shift length in decimal hours, before and after a 30-minute unpaid break.
StartEndTotal hoursLess 30-min break
6:30 AM2:30 PM8.07.5
7:00 AM3:00 PM8.07.5
8:00 AM4:30 PM8.58.0
9:00 AM5:00 PM8.07.5
9:00 AM5:30 PM8.58.0
10:00 AM6:00 PM8.07.5
11:00 AM7:30 PM8.58.0
2:00 PM10:00 PM8.07.5
10:00 PM6:00 AM8.07.5
11:00 PM7:30 AM8.58.0

The last two rows cross midnight. An overnight shift is calculated the same way once you add 24 hours to the end time: 10:00 PM to 6:00 AM is 30:00 − 22:00 = 8 hours.

Hours between shifts

Rest time between shifts matters for scheduling and, in some jurisdictions, for the law. Count from the end of one shift to the start of the next: clocking out at 10:00 PM and back in at 6:00 AM is 8 hours of rest. A shift ending at 11:00 PM followed by a 7:00 AM start leaves 8 hours; the same shift followed by a 6:00 AM start leaves only 7.

Several US states and many other countries set a minimum rest period or require premium pay when shifts are scheduled too close together — sometimes called a "clopening". Check your local rules, since the threshold varies.

Overtime and the weekly total

Under the federal Fair Labor Standards Act, non-exempt employees earn 1.5× their regular rate for hours over 40 in a workweek. Overtime in the US is generally weekly, not daily — a 10-hour Tuesday does not trigger it on its own unless your state says so. California is the well-known exception, with daily overtime past 8 hours.

Total each day with this calculator, add the decimal figures for the week, and anything past 40 is overtime.

Who uses a work hours calculator

Hourly employees use it to total a timesheet and check their pay before payday; freelancers and contractors use it to bill clients accurately by the hour; and managers use it to add up shifts across a week or to confirm overtime. To add together several separate durations rather than two clock times, use the time calculator.

Frequently asked questions

How do I calculate hours worked?

Subtract your start time from your end time, then take off any unpaid break. This calculator does both and shows the answer in hours and minutes and as decimal hours.

6:30 to 2:30 is how many hours?

Exactly 8 hours. On the 24-hour clock that is 14:30 minus 6:30. With a 30-minute unpaid break you are paid for 7.5 hours.

How many hours are there between shifts?

Count from clock-out to clock-in. Finishing at 10:00 PM and starting again at 6:00 AM gives 8 hours of rest. Some states and countries set a legal minimum rest period between shifts.

How does it handle an overnight shift?

If the end time is earlier than the start time, the calculator assumes you worked past midnight and adds a full day, so a 22:00 to 06:00 shift correctly returns 8 hours.

How do I subtract a lunch break?

Enter the break length in minutes. It is removed from the total, so a shift with an unpaid 30-minute lunch reflects only the time you were actually working.

How do I convert hours and minutes to decimal?

Divide the minutes by 60 and add to the hours. Forty-five minutes is 0.75, not 0.45. The chart above lists every five-minute step.

When does overtime start?

Under federal US law, after 40 hours in a workweek, paid at 1.5 times your regular rate. A few states, notably California, also apply daily overtime past 8 hours.

How is my pay calculated?

Gross pay is your decimal hours multiplied by your hourly rate. Enter a rate to see it; the figure is before tax and other deductions.

Last reviewed June 2026 · Built and checked by the CalcVault Editorial Team.