My Tools Garage

Hours Calculator

Add up the hours between two times, minus breaks.

in-browser

How to use

  1. 1 Enter your start time and end time on the 24-hour clock.
  2. 2 Set the unpaid break in minutes (use 0 for none).
  3. 3 Read the total in hours and minutes, or as decimal hours.
  4. 4 Copy the summary for your timesheet.

About Hours Calculator

The Hours Calculator turns a start time, an end time and an optional break into the exact number of hours worked.

Enter when you clocked in and out using a simple 24-hour clock, set how many minutes of unpaid break to deduct, and the tool reports the result both as hours and minutes and as a clean decimal figure that drops straight into a timesheet or invoice.

It is built for the awkward cases that trip people up.

If the end time is earlier than the start time the calculator assumes a night shift that crosses midnight, so a 22:00 to 06:00 stretch correctly reads as eight hours rather than a negative span.

The break is subtracted from the gross time, and if you ever enter a break longer than the shift itself you get a clear message instead of a nonsensical total.

The decimal hours field is especially handy for payroll: 7 hours and 30 minutes becomes 7.5, ready to multiply by an hourly rate.

Everything is calculated locally in your browser.

No times, shifts or totals are uploaded or stored anywhere, so it is safe for confidential rosters, and it keeps working offline once the page has loaded.

FAQ

Does it handle overnight or night shifts?

Yes. If the end time is earlier than the start time, the calculator assumes the shift crosses midnight and adds 24 hours, so a 10pm to 6am shift reads as eight hours.

How are breaks counted?

The break, in minutes, is subtracted from the gross time between your two clock times. If the break is longer than the shift, you get an error rather than a negative result.

What are decimal hours?

Decimal hours express minutes as a fraction of an hour — 7 hours 30 minutes becomes 7.5 — which is the format most payroll and invoicing tools expect.