Toolstia / time duration calculator

Time duration calculator

List several lengths of time, one per line, to add them up, and put a minus sign in front of a line to subtract it. The total appears as hours, minutes and seconds, in decimal hours and in words.

Write times as hours:minutes (1:30), hours:minutes:seconds (1:30:15) or with units (2h 15m, 90 min, 45s, 1.5h). Lines starting with a minus sign are subtracted. Each line is a length of time, not a time of day.

How it works

  1. Type one duration per line.
  2. Start a line with - to subtract it.
  3. Read the total.

Ways to write a time

Use 1:30 for hours and minutes, 1:30:15 for hours, minutes and seconds, or units like 2h 15m, 90 min, 45s and 1.5h. Days work too, like 1d 4h.

Adding and subtracting

Lines are added by default. A line that starts with a minus sign is subtracted, and the total can be negative if you subtract more than you add.

Decimal hours

The decimal hours value is handy for timesheets and invoices, for example 1 hour 45 minutes is 1.75 hours.

Durations, not clock times

The tool adds lengths of time. To find the time between two clock times, use the hours calculator.

Questions

Can the total be more than 24 hours?

Yes. Hours keep counting, so 30:00:00 means 30 hours, and the in-words result shows it as 1 day 6 hours.

What happens to a line it cannot read?

It is skipped and the tool tells you which line numbers were not understood.

Is my data stored?

Everything happens in your browser, and nothing you enter is sent anywhere.