Hours worked calculator

Add up shifts with breaks, even across midnight.

Runs in your browser

  1. Shift 1

    Time worked: 8:00 h

  2. Shift 2

    Time worked: 7:15 h · crosses midnight

To estimate earnings. A decimal point or comma both work.
Total (h:mm)
15:15 h
Total in decimal
15.25 h
Shifts counted
2 / 2

What it does: Hours worked calculator

Work out how many hours you worked across one or more shifts, minus breaks. If the end time is earlier than the start time, the shift is treated as ending the next day, like a night shift.

The total is shown in hours and minutes and as decimal hours (7:30 = 7.5 h), the format most timesheets and payroll systems expect.

How to use it

  1. Enter the start and end time of each shift.
  2. Enter the unpaid break in minutes.
  3. Add as many shifts as you need (up to 31).
  4. Optionally enter your hourly rate to estimate your pay.

Examples

Day shift

09:00 to 17:30 with a 30-minute lunch: 8:00 h (8.00 decimal).

Night shift

22:00 to 06:00 with a 45-minute break: 7:15 h (7.25 decimal).

Limits, formulas and assumptions

  • Time = end − start − break; if the end is earlier, 24 hours are added.
  • It uses clock time: on the night the clocks change, the real elapsed time is one hour more or less.
  • The pay figure is a gross estimate and excludes premiums, overtime rates and tax.

Frequently asked questions

How do I convert 7 hours 45 minutes to decimal?

Divide the minutes by 60: 45 / 60 = 0.75, so it's 7.75 hours.

Can I log a shift longer than 24 hours?

Not in a single row. Split it into two, for example 08:00–20:00 and 20:00–10:00.

Are my times saved?

No. Everything stays in your browser and is cleared when you reload the page.