Hours Calculator

Add or subtract hours and minutes, or measure between two times — with decimal hours.

Stays on your device. This tool runs in your browser — nothing you paste or open ever leaves it. Nothing uploaded, nothing to leak.

Mode
hours and minutes
Decimal hours
Total minutes
The end time is earlier than the start, so it is treated as the next day.
Help us improve Was this tool useful? Tap a star. Thanks — your rating helps others find it.
Be the first to rate

How to use it

In Add & subtract, enter each duration as hours and minutes and set whether it adds to or subtracts from the running total — useful for totalling a week of shifts or taking an unpaid break off a day. In Between two times, enter a start and an end time and the gap is worked out for you, including when the end time falls after midnight.

Hours Calculator — TechWhack Score

9.5/10
  • Privacy 10/10

    Runs entirely in your browser — your hours are never uploaded.

  • Speed 10/10

    Totals update instantly as you edit any row.

  • Features 8/10

    Add/subtract rows for a timesheet, or the gap between two clock times including shifts crossing midnight — every total in h:mm and decimal hours.

  • Free 10/10

    No sign-up, no row limit, embeddable.

Verdict: Decimal hours alongside h:mm is the detail that matters — payroll and invoices want 7.5, not 7 h 30 m, and most time calculators only give one.

Embed this tool on your site
<iframe src="https://techwhack.com/tools/calculate/hours-calculator/embed" width="100%" height="440" frameborder="0" loading="lazy"></iframe> <!-- Powered by TechWhack -->
An hours calculator does arithmetic on time, where minutes run to 60 rather than 100. Add and subtract a list of durations to total a timesheet, or enter a start and end time to get the hours between them. Every result is shown both as hours and minutes and as decimal hours, which is the format payroll and invoices usually want.

Hours and minutes vs decimal hours

Time arithmetic carries at 60, so 1 h 45 m plus 2 h 30 m is 4 h 15 m, not 3 h 75 m. Payroll and invoicing normally want decimal hours instead, where you divide the minutes by 60 — 15 minutes is 0.25, 30 is 0.5 and 45 is 0.75, so 7 h 30 m becomes 7.5. Both forms are shown so you can copy whichever you need.

FAQ

Can it handle a shift that runs past midnight?Yes — if the end time is earlier than the start time, it is treated as the next day, so a 22:00–06:00 shift returns 8 hours.
Does it give decimal hours for a timesheet?Yes — every total is shown in h:mm and in decimal hours, so 7 h 30 m also reads as 7.5.
Can I subtract as well as add?Yes — each row has an add or subtract toggle, so you can take breaks off a total.