Working Hours Calculator (breaks and overnight shifts)
Calculate hours worked from start and end times minus breaks. Handles overnight shifts such as 22:00–06:00, totals several shifts and exports a CSV.
- Runs in your browser (no upload)
If the end time is earlier than the start time, the shift is treated as ending the next day (22:00–06:00 is 8 hours). Work time = end − start − break.
Result
Decimal hours are rounded half up to 2 decimal places ("≈").
How to use
- For each shift, enter the start time, end time and break in minutes.
- If the end time is earlier than the start time, the shift is counted as ending the next day.
- Add more shifts to see the total work time, breaks and time on shift. Copy the summary or download a CSV.
FAQ
How is a 22:00–06:00 night shift calculated?
The end time is earlier than the start, so the shift ends at 06:00 the next day: 8 hours on shift minus the break (7 hours with a 60-minute break).
What are decimal hours?
Hours written as a decimal number for payroll, e.g. 7 h 30 min = 7.50 hours. When the value does not divide evenly (7 h 20 min = 7.333… hours) it is rounded half up to 2 decimals and marked with "≈".
Does it calculate overtime or night premiums?
No. Because the tool does not know when the break was taken, it does not split hours into overtime, night or holiday work or calculate premiums. It totals work time, breaks and time on shift.
Notes & limitations
- What you enter is processed only on this page and is not sent to YUCTS servers.
- Overtime, night work, holiday work and pay premiums are not calculated. Check your pay against your employer’s rules and the applicable law.
- Each shift must be shorter than 24 hours; a shift with the same start and end time cannot be entered.
- On days when daylight saving time starts or ends, the real elapsed time can differ by one hour.
- Entries are not saved and return to the example when the page is reloaded. Download the CSV to keep them.
Related tools
- Percentage Calculator (percent of, percent change, reverse percentage)Work out X% of Y, what percent X is of Y, the percentage change from A to B, a value after a ±X% change and the original value before it — exact decimals, with clear errors for division by zero.
- Tip Calculator (tip percentage, tax, split the bill)Enter the bill and a tip percentage to get the tip, the total and what each person pays, exact to the smallest unit — with tip on the pre-tax amount and optional rounding up of each share.
- Bill Splitter (equal, by shares or by percentage)Split a total between people equally, by shares (2 : 1 : 1) or by percentage, optionally in round units such as 10 or 100, with an explicit, deterministic split of the remainder.
- Unit Converter (length, weight, area, volume, speed)Convert meters, inches, pounds, gallons, km/h and more between length, weight, area, volume and speed units using exact definitions. Type in either box to convert both ways.
- Temperature Converter (Celsius, Fahrenheit, Kelvin)Convert between Celsius (°C), Fahrenheit (°F) and kelvin (K). Type in any box to get the other two units; temperatures below absolute zero are rejected.
- Age Calculator (exact age and next birthday)Calculate exact age in years, months and days from a date of birth, plus days since birth and days until the next birthday. Choose how Feb 29 birthdays count in common years.