Free date tool

Time Calculator

Enter two durations in days, hours, minutes and seconds, choose add or subtract and see the result plus its total in hours, minutes and seconds.

Report a problem or suggest a fix for this tool

What is time calculator?

Adding and subtracting time is awkward because it uses base 60 instead of base 10. Sixty minutes make an hour and sixty seconds make a minute, so ordinary calculators give wrong answers.

This calculator handles the carrying for you and also shows the total as decimal hours, minutes and seconds, which is handy for pay, billing and video work.

How to use the time calculator

  1. Choose add or subtract.
  2. Enter the first and second time.
  3. Read the result and the totals.

How the time calculator works

Each time is converted to seconds: days times 86,400, hours times 3,600, minutes times 60 and seconds. The tool adds or subtracts the seconds, then converts back to days, hours, minutes and seconds.

Worked example

5 hours 45 minutes 30 seconds plus 2 hours 30 minutes 45 seconds equals 8 hours 16 minutes 15 seconds, which is 8.27 decimal hours.

Common uses of the time calculator

  • Adding work shifts.
  • Totaling video or audio lengths.
  • Planning travel time.
  • Billing by the hour.
  • Adding race or lap times.

Tips and common mistakes

Use decimal hours when you multiply by an hourly rate.

If the result is negative, the second time was larger than the first.

Background: what to know before you rely on it

Time keeping uses base 60 because of an old system from Mesopotamia, and it still shapes our hours, minutes and seconds. Doing arithmetic in this system by hand is error prone, which is why timesheets often go wrong. The safe method is to convert everything to one unit, usually seconds or minutes, calculate, and convert back. Payroll teams then work in decimal hours, where 7 hours 30 minutes is 7.5, so conversions must be exact.

Private, free and fast

This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all date and time tools, or browse the full list of tools.

Field by field guide

  • Operation: Choose one of: Add; Subtract.
  • First time: days: Enter a number. The example value is 0.
  • First time: hours: Enter a number. The example value is 5.
  • First time: minutes: Enter a number. The example value is 45.
  • First time: seconds: Enter a number. The example value is 30.
  • Second time: days: Enter a number. The example value is 0.
  • Second time: hours: Enter a number. The example value is 2.
  • Second time: minutes: Enter a number. The example value is 30.
  • Second time: seconds: Enter a number. The example value is 45.

Change one field at a time to see how the result responds, and use the worked example above to check that you get the same answer.

Adding and subtracting time

Time works in base 60, so decimal math fails. 1 hour 45 minutes plus 2 hours 30 minutes is 4 hours 15 minutes. Typing 1.45 plus 2.30 as decimals gives 3.75, which is wrong, because 45 minutes is 0.75 of an hour and not 0.45.

Expert tips

  • Convert to minutes for simple math, then back to hours.
  • Convert minutes to decimals for billing by dividing by 60.
  • Use 24 hour time to avoid AM and PM errors.
  • Mind time zones and daylight saving when events cross dates.
  • Round only after the final result.

Check payroll rules for rounding, which differ by employer and region.

Frequently asked questions

How do I add hours and minutes?

Add the minutes, carry every 60 into the hours and add the hours.

How do I convert minutes to decimal hours?

Divide the minutes by 60.

Can I subtract a larger time?

Yes. The result is shown as negative.

Does it handle days?

Yes.

Embed this tool on your website

Copy the code below and paste it into your page or blog post. The tool is free to embed, runs in the visitor's browser and needs no account. Please keep the credit link.

Related tools

Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. For legal deadlines, confirm how your contract or court counts days.