Hours Calculator
Calculate a shift length including overnight shifts and unpaid breaks.
How Hours Calculator works
Work out hours worked between two times, minus breaks, with decimal hours and optional pay. Everything happens inside this page: the tool reads your input, runs the calculation or conversion locally, and hands the result back to you. Nothing is transmitted, because there is no backend to transmit it to.
That design choice is deliberate. Most free tool sites upload your files to a server, process them there, and quietly keep a copy. Toolcin cannot do that — the site is a set of static files. If your connection dropped the moment the page finished loading, every tool would still work.
From clock times to payable hours
Enter a start and end time, subtract an unpaid break in minutes, and the tool returns the duration in hours and minutes plus the decimal equivalent. Add an hourly rate and it also returns the pay for that period.
The decimal figure is the one that goes on an invoice. 09:00 to 17:30 with a 30-minute break is 8 hours exactly, or 8.00 — not 8.30.
Overnight shifts and negative results
A shift that ends before it starts is treated as crossing midnight: 22:00 to 06:00 gives 8 hours, which is what a night worker expects. The alternative — a negative number — would be arithmetically defensible and useless in practice.
Breaks longer than the shift are subtracted anyway, so a 4-hour shift with a 5-hour break returns a negative figure. That is a signal that the input is wrong, and it is better shown than hidden.
| Start | End | Break | Paid time |
|---|---|---|---|
| 09:00 | 17:30 | 30 min | 8.00 h |
| 09:00 | 17:30 | 0 min | 8.50 h |
| 22:00 | 06:00 | 30 min | 7.50 h |
| 08:15 | 16:45 | 45 min | 7.75 h |
Why the break field matters legally
In most jurisdictions a shift over a certain length requires an unpaid break, and paying for it or not is a contractual question rather than a mathematical one. Recording the break separately keeps both figures available if a payslip is ever queried.
Round the final figure once, not per shift, if you are summing a week — the same rule that applies to minutes-to-hours.
Good to know
- Works offline once loaded, including on flights and in locked-down networks.
- No file size limit beyond your device's own memory.
- Free to use, with no account and no usage counter.
- Results are produced locally, so they are not logged or shared with anyone.
Questions
Does it handle overnight shifts?
Yes — if the end time is earlier, it assumes the next day.
Can it show pay?
Enter an hourly rate and it multiplies the hours.
Can I add several shifts together?
Enter each one and add the decimal hours — or use the time calculator page, which is built for adding durations.
Does it handle a rate with decimals?
Yes, the rate accepts two decimal places, which is enough for most currencies.
Keep going
More time tools
Download Time Calculator
Estimate download time from file size and connection speed. Enter file size in MB and speed in Mbps to get seconds, minutes or hours, plus the real MB/s rate.
Open toolSleep Calculator
Find bedtimes that fit whole 90-minute sleep cycles before your alarm. Sleep runs in roughly 90-minute cycles; waking between them feels far better than mid-cycle.
Open toolTime Zone Converter
Convert one date and time into sixteen other time zones at once, using your browser's timezone database.
Open toolPomodoro Timer
A 25-minute focus timer with breaks and session counting. Work in focused blocks with automatic breaks; a short beep marks each phase change.
Open toolHijri Date Converter
Convert any Gregorian date to the Hijri calendar and back. Uses the Umm al-Qura calendar built into your browser — no API, no upload.
Open toolStopwatch & Timer
A stopwatch with lap times and a countdown that beeps at zero. Timing uses a 50 ms interval, accurate to a hundredth of a second.
Open tool