Time Calculator - Time Duration, Add & Subtract

Time Durations

Add and subtract hours, minutes and seconds, find the time duration between two times, or the clock time after a duration, past midnight too.

Add time entries

Choose operation

Review total

Or type it in one line

Hours take decimals, so 7.30 hours is 7 hours 18 minutes, not 7:30. Clock times run on a 24-hour day with no daylight-saving change. Check each row’s + or − and each time’s AM or PM before using a result for payroll or billing.

Formulas and sources

Each formula this calculator uses, where it comes from, and what it leaves out. "How it works" shows the same formula with your own numbers.

Total of the durations

Durations and Clock Time modes

Total seconds = sum of all (hours × 3600 + minutes × 60 + seconds)
Total seconds
every row in seconds, added or subtracted by its + or − operator

The total is shown in hours, minutes and seconds, and in decimal hours, the seconds ÷ 3,600. A row whose field shows an error, such as a clock time typed into Hours, is left out.

Source: Uses NIST's exact factors: an hour is 3,600 seconds and a minute is 60 [1].

End time from a clock time

Clock Time mode

End time = start time + total seconds, on a 24-hour clock
End time
the start time moved forward by the rows, or back when their total is negative

Past midnight the end lands on the next day, and back past it on the day before; each 24 hours moves it one more day. The start time is read to the minute or second, and the end is shown to the second.

Source: A day is 86,400 seconds, NIST's exact factor [1]; carrying past midnight to the next day is standard clock arithmetic.

Time between two clock times

Between Times mode

Time between = end time − start time, + 24 hours when the end is earlier
Time between
from the start time to the end time, across midnight when the end is earlier

It measures at most a day: the same time twice is no time between them. For longer spans, a row of hours in Durations or two dates in the Date Difference Calculator.

Source: A day is 86,400 seconds, NIST's exact factor [1]; reading an earlier end as the next day is the time-card convention.

8h Workdays

Durations mode

8h Workdays is the total ÷ 8 hours.

Source: CalcTrail's own measure; no publisher.

Sources

  1. National Institute of Standards and Technology. NIST Guide to the SI, Appendix B.8: Factors for units listed alphabetically, day, hour and minute. Special Publication 811, 2008 edition.Our automated tests check this calculator against 2 cases from it.

What this calculator does not cover

  • It works in lengths of time and, in Clock Time and Between Times, times of day. For dates or time zones, see the Date Difference Calculator and the Time Zone Converter.
  • In Clock Time and Between Times it counts clock hours: it does not adjust for the hour skipped or repeated on the night clocks change.
  • It does not total clock-in and clock-out times or work out overtime or pay. The Time Card Calculator does.

Sources checked on

How we choose sources and test the calculators: How CalcTrail calculates

Help

Quick Start Guide

  1. Add time entries: Enter hours, minutes and seconds on each row; the line under the row shows what it counts.
  2. Choose operation: Set + or - on each row after the first; the first row always adds.
  3. Review total: See the combined duration instantly.
  4. Or type it in one line: Type the whole sum in Type it, such as 2h 45m + 3h 7m - 30m, 30 minutes after 12:50 pm or 9:15 am to 5:40 pm. The line says how it reads it, and Enter fills the rows.
  5. Or move a clock time: Switch to Clock Time and enter a start time, or press Now; the rows move it forward or back, and the result says which day it lands on.
  6. Or measure between two times: Switch to Between Times and enter a start and an end time; an end earlier than the start counts as the next day.

Frequently Asked Questions

Hours here are decimal hours, so 7.30 is 7 hours and 0.30 of an hour, which is 18 minutes. For seven and a half hours, type 7.5 in Hours, or 7 in Hours and 30 in Minutes, which is how a clock reading such as 7:30 goes in. The line under each row shows what it counts, so a row that does not say what you meant shows before it reaches the total.

Last updated