Loona Calculators
Loona Calculators › Date & Time › Time Calculator

⏱️ Time Calculator

Add or subtract two durations — hours, minutes and seconds. Ideal for total work hours, journey times, or the combined length of videos and tasks.

How to use the Time Calculator

  1. Select Add or Subtract.
  2. Enter both durations (hours, minutes, seconds).
  3. Press Calculate.
Example: 2 hours 45 minutes + 1 hour 30 minutes = 4 hours 15 minutes.

Frequently Asked Questions

Can it handle more than 24 hours?

Yes — large results are also shown with days.

How do I calculate work hours?

Add each day's hours and minutes, or subtract a break duration from the total shift time.

Are seconds required?

No — leave them empty and they count as zero.

Related Calculators

📅

Age Calculator

Date & Time

🗓️

Days Between Dates

Date & Time

📆

Date Calculator

Date & Time

🕌

Zakat Calculator

Money & Islamic

🏢

Working Days Calculator

Date & Time

How it works — the formula

The calculator converts both durations into seconds, adds or subtracts them in seconds, and then converts the result back into hours, minutes and seconds. Working in seconds is what makes the answer exact — it avoids the mistakes that creep in when you try to carry sixties between minutes and hours in your head.

Formula: Total seconds = (hours × 3,600) + (minutes × 60) + seconds. Add or subtract the two totals, then split the result back: hours = total ÷ 3,600, minutes = the remainder ÷ 60, and seconds = whatever is left.

Worked example

Example: 2 h 45 min + 1 h 30 min. Step 1: 2 h 45 min = (2 × 3,600) + (45 × 60) = 7,200 + 2,700 = 9,900 seconds. Step 2: 1 h 30 min = 3,600 + 1,800 = 5,400 seconds. Step 3: 9,900 + 5,400 = 15,300 seconds. Step 4: 15,300 ÷ 3,600 = 4 hours, leaving 900 seconds = 15 minutes. Result: 4 hours 15 minutes.

Frequently asked questions

Can I use this calculator for payroll and work hours?

Yes — it is one of its most common uses. Add up each shift or each day's hours and minutes to get total time worked, and subtract unpaid breaks (for example 0 h 30 min for lunch) from the shift length to get payable hours.

Can the calculator subtract one time from another?

Yes. Choose Subtract instead of Add: the second duration is taken away from the first, which is handy for finding how long is left of a shift, a journey or a task.

How are results longer than 24 hours shown?

Nothing is lost or wrapped around — a total of 30 hours stays 30 hours, and the result is also expressed in days (1 day 6 hours) so long totals stay easy to read.

What if I subtract a longer time from a shorter one?

The true result is negative, which simply means the second duration is the bigger one. If you only need the size of the gap between the two, enter the larger duration first and the smaller one second.

Can I add more than two times together?

Yes — add the first two, note the total, then add the next duration to that total. Repeat as many times as you need, for example when totaling a whole week of daily hours.

Embed this calculator on your website — free

Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.