Skip to content
100% local

Work hours calculator

Turn a list of start–end shifts into worked hours per line and in total.

Input
Output

Work hours calculator

Paste a list of shifts, one per line, in a start–end format like 8:30-17:00, and this tool adds up how long each shift lasted and what the whole list comes to. It's built for anyone turning a rough schedule into a timesheet: hourly employees checking their own hours, freelancers billing by the hour, or a manager totaling a team's week from a handful of punch times.

Turn on a break to subtract a fixed number of minutes from every shift, or override it for a single line by adding "break=30" at the end of that line. Enable shifts crossing midnight for night shifts where the end time is earlier than the start (22:00-06:00), and switch between 24-hour and AM/PM notation to match how your source data is written — a line's own AM/PM marker is always honored either way. Set an hourly rate to add earnings next to the hours, and turn on overtime to flag time above a daily or weekly limit. Choose hours-and-minutes, decimal hours, or both, and start a line with a date or a label (like "Mon" or "2026-09-10") to get totals broken down by day.

Windows (CRLF) and Unix (LF) line endings both work, and a line that doesn't parse — a typo, or an end time before a start with midnight-crossing off — is reported by its exact line number so you know what to fix instead of getting a silently wrong total. Choose a plain table for reading or CSV for pasting into a spreadsheet.

Everything runs in your browser; your schedule is never uploaded. Copy the result, download it as a .txt file, or send it back into the input to adjust an option and recalculate.

FAQ

What format does each line need to be in?
start-end, like 8:30-17:00. An optional label or date can come first ("Mon 8:30-17:00"), and an optional per-line break can come after ("8:30-17:00 break=30").
How do I handle a night shift that ends after midnight?
Turn on "Shifts crossing midnight". An end time at or before the start is then treated as falling on the next day instead of being rejected.
Can it calculate overtime and pay?
Yes. Set an hourly rate for earnings, and turn on overtime with a daily or weekly limit to see how many hours went over it.
Is my schedule uploaded anywhere?
No. The work hours calculator runs entirely in your browser — your shifts, rate and totals never leave your device.