Skip to content
Toolbench

Time Duration Calculator

Add up hours and minutes without getting 21:90 — and get the decimal total payroll asks for.

Runs entirely in your browser

Loading tool...

How to use

  1. Paste one duration per line, in whichever notation your notes use.
  2. Add a comment after # to label a line — Monday, project name, anything.
  3. Read the total in hours and minutes, or the decimal version for a payroll form.
  4. Put a minus in front of a line to subtract a correction.

Features

  • Mixes 7:45, 7h45, 7.75, 90m and bare numbers in one list.
  • Carries minutes into hours properly — the sum is never 21:90.
  • Gives the decimal total, which is what timesheet software takes.
  • Negative entries for corrections, comments for labels.
  • Runs entirely in your browser.

Frequently asked questions

Why not just add the times in a spreadsheet?
Because a spreadsheet reads 7:45 as a time of day and 7.45 as a decimal, and mixing the two is where the errors come from. 7:45 + 8:30 is 16 hours 15 minutes; treating them as decimals gives 15.75, which is 24 minutes short. This works in whole minutes and only formats at the end.
What does a bare number mean?
Hours. Writing `8` on a timesheet means eight hours everywhere it is written, so that is how it is read. When you mean minutes, mark them: `90m`.
Why is the decimal total useful?
Because payroll systems and invoices are usually filled in with decimal hours: 7 hours 45 minutes is 7.75, not 7.45. Converting by hand is where an hour goes missing at the end of a month.

How long between two dates — with the off-by-one named rather than assumed, and weekends counted separately.

Convert a Unix timestamp to a date, or a date to a timestamp — in UTC and your own zone.

See one moment across several places at once — with the hours that do not exist called out.

Time Duration Calculator — Add Up Hours and Minutes