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.

StartEndBreakPaid time
09:0017:3030 min8.00 h
09:0017:300 min8.50 h
22:0006:0030 min7.50 h
08:1516:4545 min7.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