happytails.ai

Time Calculator

Add up durations and see the total in hours and seconds.

Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.

Your result

How to use Time calculator
  1. Enter your text in the input field.
  2. The result updates as you type. Adjust the available settings if needed.
  3. Review the result, then use Copy result or a download link when available.

Report a problem or share an idea.

How Time calculator works

The time calculator adds up a list of durations written as hours:minutes or hours:minutes:seconds, one per line, and returns the total in seconds and in decimal hours. Put a minus sign in front of a line to subtract it. Hours can go past 24, but minutes and seconds must stay between 00 and 59. It works with lengths of time, not clock times, so it does not handle AM or PM, dates or time zones. Everything is calculated in your browser.

Before you start

Write each duration on its own line in a format like 1:30 or 0:45:20, with two digits for minutes and seconds. Remove empty lines, since each line must be a valid duration.

A worked example

Entering 1:30, 2:45 and 0:50:30 on separate lines returns 18,330 seconds, shown as 5.091666666666667 hours, which is 5 hours, 5 minutes and 30 seconds.

Common questions

How do I add hours and minutes together?

Add the minutes and carry each full 60 into the hours. For 1:30 plus 2:45, the minutes total 75, which is 1 hour and 15 minutes, so the sum is 4:15. The calculator does this for any number of lines and reports the total as seconds and decimal hours.

How do I convert minutes to decimal hours?

Divide the minutes by 60. Fifteen minutes is 0.25 hours, 30 minutes is 0.5 and 45 minutes is 0.75, so 1:15 equals 1.25 hours. Decimal hours are what most timesheets and payroll systems multiply by an hourly rate.

How do I subtract time?

Put a minus sign before the duration you want to take away, for example 1:30 on one line and -0:15 on the next. The result is 4,500 seconds, or 1.25 hours. A total can become negative if the subtracted lines are larger than the rest.

Why is 1:75 or 90 not accepted?

Minutes and seconds must be written with two digits from 00 to 59, so 1:75 is rejected; write it as 2:15. A bare number like 90 is also refused because the tool cannot tell whether you mean minutes or hours. Write 1:30 for 90 minutes.