Hours worked calculator
Add up shifts with breaks, even across midnight.
Runs in your browser
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
- Enter the start and end time of each shift.
- Enter the unpaid break in minutes.
- Add as many shifts as you need (up to 31).
- 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.
Related tools
Net salary estimatorExplained gross-to-net estimate with visible assumptions. Date difference calculatorDays, weeks and months between two dates, with weekdays. Add or subtract days from a dateFind a future or past date by days, weeks or months. Percentage calculatorCalculate percentages, discounts and changes. VAT and discount calculatorAdd or remove VAT and apply discounts with an editable rate. Rule of three calculatorDirect and inverse rule of three, step by step.