Add or subtract hours, minutes and seconds in your browser — free, no sign-up.

Time Calculator

Add or subtract two durations and get the answer every way you need it — h:m:s, seconds, decimal hours and days.

Free to use Add & subtract modes Decimal hours for timesheets Save PDF · PNG · Share

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

h

Enter a valid value for first time — hours.

Hours part of the first duration.

min

Enter a valid value for first time — minutes.

Minutes may exceed 59; they are normalised automatically.

s

Enter a valid value for first time — seconds.

Seconds part of the first duration.

h

Enter a valid value for second time — hours.

Hours part of the duration to add or subtract.

min

Enter a valid value for second time — minutes.

Minutes part of the second duration.

s

Enter a valid value for second time — seconds.

Seconds part of the second duration.

Enter a valid value for operation.

Subtraction requires the first time to be the larger one.

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Time Calculator tinyexe.comFree online calculators

TinyExe · Time Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

First time — hours

—

First time — minutes

—

First time — seconds

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Time Calculator to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      To add two times, convert each to seconds by multiplying hours by 3,600 and minutes by 60, add the totals, then convert back. For example, 1 hour 30 minutes plus 45 minutes is 5,400 plus 2,700 equals 8,100 seconds, which is 2 hours 15 minutes.

      • 1 hour = 3,600 seconds; 1 minute = 60 seconds; 1 day = 86,400 seconds
      • Decimal hours = total seconds / 3,600, the format timesheets use
      • Minutes or seconds above 59 are valid inputs once converted to total seconds

      Time unit conversions

      Reference values for this calculator.

      UnitIn secondsExample
      1 minute60 s90 min = 5,400 s
      1 hour3,600 s2.5 h = 9,000 s
      1 day86,400 s1.5 days = 129,600 s
      1 week604,800 s2 weeks = 1,209,600 s

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      Total seconds = (h x 3600 + m x 60 + s) for each time, then add or subtract; convert back with h = floor(s/3600), m = floor((s mod 3600)/60)

      Ideas enhancement: minutes and seconds above 59 are accepted and normalised (90 minutes becomes 1h 30m), and the result is shown four ways at once — h:m:s, total seconds, decimal minutes/hours and days — so the same run serves a timesheet, a stopwatch log and a video timeline.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      Two video clips

      Clip A 1h 30m 0s, clip B 0h 45m 0s, Add

      CalculationSteps
      A = 3,600 + 1,800 = 5,400 s. B = 2,700 s. Total = 5,400 + 2,700 = 8,100 s = 2h 15m 0s.8,100 seconds total — 2h 15m, or 2.25 decimal hours.

      Result

      Example 2

      Shift length

      Start 2h 0m, worked segment 0h 30m, Subtract (break removed from a 2h block)

      CalculationSteps
      2h = 7,200 s. 30m = 1,800 s. 7,200 - 1,800 = 5,400 s = 1h 30m.5,400 seconds of paid work — 1h 30m.

      Result

      Example 3

      Seconds carry correctly

      0h 0m 90s plus 0h 0m 30s, Add

      CalculationSteps
      90 s + 30 s = 120 s. 120 s = 2m 0s exactly, with no phantom '1 minute 60 seconds'.120 seconds — 0h 2m 0s.

      Result

      How to use this calculator

      Step 1

      Enter the first duration as hours, minutes and seconds — values over 59 in the minute or second boxes are fine.

      Step 2

      Enter the second duration the same way.

      Step 3

      Choose Add to combine the durations or Subtract to find the difference.

      Step 4

      Read the headline total in seconds plus the h:m:s, minutes, hours and days breakdowns.

      Step 5

      Use the decimal-hours figure directly on timesheets that bill in hundredths of an hour.

      In short: A time calculator adds or subtracts durations expressed in hours, minutes and seconds by converting everything to a single unit (seconds), operating, and converting back.

      Frequently asked questions

      How do I add times like 1:30 and 0:45 without carrying errors?

      Convert both to seconds first (1:30 = 5,400 s, 0:45 = 2,700 s), add them (8,100 s), then divide back: 8,100 s is 2h 15m. This calculator does the conversion both ways automatically, which removes the classic mistake of adding minutes as if there were 100 to an hour.

      Can I enter 90 minutes or 75 seconds?

      Yes. Inputs are totalled in seconds before anything else happens, so 90 minutes is treated as 5,400 seconds (1h 30m) and 75 seconds as 1m 15s. There is no need to pre-normalise your numbers.

      How do I convert the result to decimal hours for a timesheet?

      Divide total seconds by 3,600. The calculator shows this as 'Result in hours': 8,100 seconds is 2.25 hours, the figure most payroll and invoicing systems expect.

      What happens if I subtract a larger time from a smaller one?

      The calculator stops with a clear message instead of showing a negative duration, because a negative elapsed time is meaningless for durations. Swap the two times if you only need the size of the gap.

      Does this work for times of day, like 14:30 minus 09:15?

      Yes for same-day differences: enter 14h 30m as the first time and 9h 15m as the second and subtract, giving 5h 15m. It does not handle dates or overnight spans crossing midnight — use a date calculator for those.

      About this calculator

      The Time Calculator adds or subtracts two durations given in hours, minutes and seconds. It converts both durations to total seconds, performs the operation exactly, then reports the result as a clock-style h:m:s figure plus total seconds, decimal minutes, decimal hours and days.

      Hours, minutes and seconds are a mixed-base system — 60 seconds to a minute, 60 minutes to an hour — which is why adding them in columns goes wrong so often: 1:50 plus 0:40 looks like 1:90 until you carry the extra 60. Converting everything to seconds first turns the problem into ordinary addition, and converting back at the end restores the familiar clock format.

      The decimal-hours output matters because money runs on it. Payroll, freelancing invoices and equipment hire are billed in decimal hours (2.25 h), not in hours-and-minutes (2h 15m), and confusing the two undercharges or overcharges by real amounts: 2h 15m billed as 2.15 hours loses 0.10 hours — six minutes — on every single entry.

      Subtraction answers 'how long between' questions: shift start to shift end, first lap to last lap, or a file's start timestamp to its end. Because a duration cannot be negative, this calculator refuses a subtraction that would go below zero and tells you to swap the inputs, rather than printing a misleading negative time.

      Use it for timesheets and payroll hours, adding up video or audio clip lengths, combining workout intervals, splitting a journey into legs, checking how long a machine ran between logs, or finding the gap between two clock times on the same day.

      How to calculate it yourself

      Step 1

      Write each duration in seconds: seconds total = hours x 3,600 + minutes x 60 + seconds.

      Step 2

      Add the two totals, or subtract the smaller total from the larger.

      Step 3

      Convert the result back: hours = total / 3,600 rounded down; minutes = the remainder / 60 rounded down; seconds = what is left.

      Step 4

      For timesheet decimal hours, simply divide the total seconds by 3,600 and keep two decimals.

      Real-life examples

      Freelancer invoicing a morning

      A designer logs three tasks before lunch: 1h 20m on concepts, 45m on revisions and 35m on a client call, and bills in decimal hours.

      In seconds: 4,800 + 2,700 + 2,100 = 9,600 s for the first two plus call — run pairwise: 1h20m + 45m = 7,500 s (2h 5m), then + 35m (2,100 s) = 9,600 s. Decimal hours = 9,600 / 3,600 = 2.67 h.

      Bill 2.67 hours — not 2h 40m mis-typed as 2.40 hours, which would underbill by 16 minutes.

      Interval session total

      A runner does a warm-up of 12 minutes, six 3-minute intervals with 90-second recoveries, and a 10-minute cool-down, and wants the session length for a training log.

      Intervals: 6 x 180 s = 1,080 s. Recoveries: 6 x 90 s = 540 s, but only 5 sit between intervals if the last flows into the cool-down; using all 6 as entered: warm-up 720 s + 1,080 s + 540 s + 600 s = 2,940 s = 49 minutes.

      49 minutes total session time to log.

      Ideas & use cases

      • Timesheet rescue: add each day's h:m entries pairwise across the week to get a decimal-hours total your payroll system accepts first time.
      • Edit planning: sum clip lengths before rendering to check a video fits a platform limit (for example under 60 minutes) without opening the editor.
      • Split a total fairly: work out a full duration, then halve it by subtracting — useful for sharing driving legs or study blocks between two people.

      Limitations & sources

      • Durations only: no calendar dates, time zones, daylight-saving or overnight clock spans, and no negative results. For dates use the Date Calculator.

      Sources: SI unit definitions (second) and standard sexagesimal time conversion; calculator.net time calculator behaviour cross-checked

      Time Calculator · TinyExe calculator suite Free to use · No sign-up · Instant results