Online Time Calculator

Add, subtract, and calculate elapsed time intervals in hours, minutes, and seconds.

Time 1

Time 2

What Is a Time Calculator?

A time calculator performs arithmetic on time values (hours, minutes, and seconds). It allows adding or subtracting time intervals, calculating duration between two timestamps, and converting between 12-hour and 24-hour formats.

How to Use the Time Calculator

  1. Enter the starting time or duration (Hours, Minutes, Seconds).
  2. Choose the operation: Add (+) or Subtract (-).
  3. Enter the second time value, then click "Calculate Time".

Formula & How the Calculation Works

Total Seconds = (Hours × 3600) + (Minutes × 60) + Seconds
Converted Hours = Math.floor(Total Seconds ÷ 3600)
Converted Minutes = Math.floor((Total Seconds % 3600) ÷ 60)

Time values are converted to base seconds for accurate arithmetic, then reformatted into standard HH:MM:SS format.

Worked Calculation Example

Scenario: Add 3 hours 45 minutes to 2 hours 30 minutes.

Key Considerations & Common Mistakes to Avoid

Frequently Asked Questions

How many seconds are in one hour?

There are exactly 3,600 seconds in one hour (60 minutes × 60 seconds).

Can this tool calculate time across midnight?

Yes. If a subtracted time crosses midnight, the calculator computes the 24-hour circular duration.

How do you convert minutes into decimal hours?

Divide the number of minutes by 60. For example, 45 minutes ÷ 60 = 0.75 hours.