Working Hours Calculator

Calculate shift duration after subtracting breaks, including overnight work.

Enter your values

Use the fields below, then select Calculate. Your result appears immediately on this page.

How to use the Working Hours Calculator

Enter shift start, shift end and break duration. Overnight shifts are supported so an end time earlier than the start can be treated as the next day.

Formula / calculation logic

Working time = Shift duration − Break duration.

Worked example

09:00 to 17:30 with a 30-minute break equals 8 working hours.

Important notes

The result is elapsed working time, not an interpretation of labor law, paid-break rules or payroll rounding.

Frequently asked questions

Can I calculate an overnight shift?

Yes. Use the overnight behavior when the end time is on the following day.

What if the break is longer than the shift?

The calculator rejects impossible negative working time.

Related tools