Dates & time

Work hours calculator

Add your workdays, subtract breaks and handle overnight shifts. Results in hours/minutes and decimal hours.

Your inputs1

Use 24-hour times and whole minutes for breaks.

Your result2

Enter your values, then calculate.

Your calculation stays in your browser.

The formula, explained

duration = end − start − breaks

Select “next day” when the shift ends the following day. This totals time; it does not determine overtime or pay.

How to use this tool

Add the data needed for your calculation and check the displayed assumptions.

Choose the units and options that match your task. Calculate, check the result and use Copy or Print to keep a record. Rounding applies to the display; keep more precision in intermediate steps.

Overnight example

From 22:00 to 06:00 the next day, with a 30-minute break: 8 hours minus 30 minutes is 7 h 30, or 7.5 decimal hours. 7.30 decimal hours does not mean 7 h 30.

Where are my inputs processed?

Calculations run in your browser. Form values are not sent to Analytics. Copying, printing, sharing or opening an external service is your choice.

Method and interface checked on 2026-09-12 · Report an error