Add and subtract durations in HH:MM:SS, total hours and minutes, and read the result in decimal hours.
By Time Tools Editorial Team·
Last updated
Time Calculator
Duration 1
Duration 2
Duration
Total
Decimal hours
What is a Time Calculator
A time calculator is an online tool that adds and subtracts durations expressed in hours, minutes, and seconds and returns a correct, tidy total. Time does not behave like ordinary decimal numbers. There are sixty seconds in a minute and sixty minutes in an hour, so you cannot simply line up two values and add them column by column the way you would with dollars and cents. When forty-five minutes meets thirty minutes, the answer is not seventy-five minutes; it is one hour and fifteen minutes. A time calculator handles that base-60 carrying automatically, and it does the reverse borrowing when you subtract.
This tool works in two modes. Addition mode sums anywhere from two to one hundred separate durations, which is ideal for totaling the segments of a workday, a training plan, or a project log. Subtraction mode takes two time values and reports the gap between them, and it is happy to show a negative result when the second value is larger than the first. Both modes update the moment you change an input, so you never hunt for a submit button.
Alongside the familiar hours, minutes, and seconds output, the calculator also shows an equivalent decimal-hours figure rounded to two places. That second format matters because payroll systems, invoices, and spreadsheets usually expect decimal hours rather than a clock-style string. If you need calendar math instead of clock math, you can [measure the days between dates](/date-difference-calculator/) with a companion tool built for exactly that job.
How It Works
Every calculation starts by reading each input as three separate fields: hours, minutes, and seconds. The tool validates them before it computes anything. Minutes and seconds must fall between 00 and 59, and hours may run from 00 up to 999, which is plenty for totaling long durations. If any field breaks those rules, the calculator flags the specific input and withholds a result until every value is valid, so you never see a misleading total based on a typo.
Once the inputs pass validation, the tool converts each duration into a single count of seconds. Two hours, thirty minutes, and fifteen seconds becomes 9,015 seconds. Reducing everything to one unit is the trick that makes the arithmetic reliable, because seconds add and subtract like plain integers with no carrying to worry about. In addition mode, the calculator sums the second counts of all the durations you entered. In subtraction mode, it subtracts the second count of the second value from the first.
After the math is done, the tool converts the total seconds back into hours, minutes, and seconds. It divides by 3,600 to find whole hours, divides the remainder by 60 to find whole minutes, and keeps whatever is left as seconds. This is where base-60 carrying happens naturally: sixty seconds roll into one minute and sixty minutes roll into one hour, so the displayed answer is always normalized. When a subtraction produces a negative interval, the result appears as a duration with a leading minus sign rather than an error. The decimal-hours value comes from dividing the total seconds by 3,600 and rounding to two places. Because the whole pipeline runs in your browser, the result refreshes within a fraction of a second of any change, much like the way you [convert epoch timestamps](/unix-timestamp-converter/) in a developer-focused tool.
Timekeeping Around the World
Adding and subtracting time seems universal, yet the conventions that surround duration differ widely from one field to another, and those differences trip people up more often than the arithmetic itself. The most familiar example is payroll. In many workplaces, hours worked are recorded to the minute but paid in decimal hours, so a shift of seven hours and forty-five minutes is entered as 7.75. Other employers round to the nearest quarter hour, which is why understanding the decimal-hours output of a calculator is so valuable when you check a paycheck.
Sports and athletics keep time to a much finer grain. Track events, swimming, and motorsport routinely record hundredths or even thousandths of a second, and totals are added across laps or splits to produce a final time. A marathon split sheet, for instance, sums several segment times into a cumulative duration, and a single mis-added minute can misstate a runner's pace for the entire race.
Aviation and broadcasting run on their own strict clocks. Pilots and controllers log flight time and duty time in hours and minutes, and they lean on Coordinated Universal Time to stay consistent across regions, which is one reason crews also [convert times across zones](/timezone-converter/) constantly. Television and radio schedules are built from program durations measured to the second so that a broadcast day fills exactly twenty-four hours. The table below compares how several fields record and total durations.
Context
Typical Unit
Totaling Convention
Notes
Payroll
Minutes, paid as decimal hours
Sum shifts, convert to decimal
Some employers round to the nearest quarter hour
Track & Field
Hundredths of a second
Add lap or split times
Fine precision decides placings
Aviation
Hours and minutes (UTC)
Sum flight and duty time
Logged against duty-time limits
Broadcasting
Seconds
Sum program durations
A broadcast day must total 24 hours
Cooking
Minutes
Add prep and cook times
Overlapping steps are not simply summed
Use Cases
A time calculator earns its place in a surprising number of daily routines. Freelancers and contractors reach for it first when they prepare an invoice. A week of work is rarely a single tidy block; it is a scatter of sessions like 1:45, 0:30, and 2:15 that must be totaled accurately before a rate is applied. Summing those segments by hand invites mistakes, while the calculator produces both the clock-style total and the decimal hours that billing software expects.
Athletes and coaches use the tool to plan and review training. Adding the durations of a warm-up, several intervals, and a cool-down gives a realistic picture of a session's length, and subtracting a target time from an actual time shows exactly how far ahead or behind a plan a workout landed. Because the tool can produce negative results, it comfortably answers questions like how much time was saved or lost.
Home cooks and event planners rely on duration math to stay on schedule. Working backward from a serving time means subtracting cook and prep durations to find when each dish should start, and layering several timers keeps a complex meal on track. When a single stretch needs a hard stop, many people simply [set a countdown timer](/countdown-timer/) to signal that a step is done.
Students, project managers, and hobbyists round out the picture. Anyone logging study hours, tracking billable project time, or tallying volunteer service benefits from a fast, dependable total. If your planning also involves counting toward a personal milestone, you can [calculate your exact age](/age-calculator/) in years, months, and days with a related calculator that handles calendar quirks for you.
Tips & Common Mistakes
The most frequent mistake with time math is treating minutes as if they were decimals. It is tempting to write forty-five minutes as 0.45 of an hour, but forty-five minutes is actually 0.75 of an hour. Mixing the two formats quietly corrupts a total, and the error compounds every time you add another value. Let the calculator handle the conversion and read the decimal-hours field it provides rather than estimating in your head.
A second common slip is entering values that break the base-60 rule, such as typing 75 into the minutes field because you meant an hour and a quarter. The correct entry is 1 hour and 15 minutes. This calculator rejects out-of-range minutes and seconds and points to the offending field, which nudges you toward the right format, but the habit is worth building on paper too.
Watch the sign when you subtract. If you expect a positive gap but see a negative duration, you probably entered the later value first. The minus sign is information, not a bug; it tells you which direction the difference runs. Reversing the two inputs flips the sign if you want the magnitude stated the other way.
Finally, be deliberate about precision and rounding. Rounding each duration to the nearest minute before you add can drift the total by several minutes across many entries, so add first and round last. Keep seconds when the context demands them, as sports timing and broadcast scheduling do. For work that spans different regions, remember that a raw duration carries no time zone, so pair this tool with a [world clock for several cities](/world-clock/) when the start and end sit in different places.
FAQ
How does the time calculator handle adding minutes over 60?
It converts every duration into a single count of seconds, performs the arithmetic, and then converts the total back into hours, minutes, and seconds. Sixty seconds carry into one minute and sixty minutes carry into one hour automatically, so 45 minutes plus 30 minutes correctly displays as 1 hour and 15 minutes rather than 75 minutes.
Can I add more than two durations at once?
Yes. Addition mode accepts between 2 and 100 separate durations, which is enough to total a full timesheet, a training plan, or a long project log. Each duration is entered in HH:MM:SS format, and the running total updates as soon as you change any field.
What is the decimal-hours result and why do I need it?
Decimal hours express a duration as a single number rounded to two places, so 7 hours and 45 minutes becomes 7.75. Payroll systems, invoices, and spreadsheets usually expect this format rather than a clock-style string, so the calculator shows it alongside the standard hours, minutes, and seconds output.
What happens if a subtraction gives a negative result?
The calculator displays the result as a duration with a leading minus sign rather than showing an error. A negative value simply means the second time you entered is larger than the first. If you want the magnitude stated the other way, swap the order of the two inputs and the sign will flip.
What range of values can I enter?
Hours can range from 00 to 999, while minutes and seconds must each stay between 00 and 59. If you enter a value outside those ranges, the calculator flags the specific field and withholds a result until every input is valid, so you never see a total built on an invalid entry.
Does the calculator work offline or require an account?
All calculations run entirely in your browser, so there is no sign-in, no download, and no data sent to a server. Once the page has loaded, the tool keeps working even if your connection drops, and it is completely free to use as often as you like.
Is this the right tool for finding the number of days between two dates?
No. This calculator handles clock durations in hours, minutes, and seconds. To count calendar days, weeks, or months between two dates, use the date difference calculator instead, which applies the Gregorian leap-year rule and can include or exclude the end date.