Time Calculator

Add or subtract two times. Enter Time A and Time B, then click Submit to compute.

A + B
-
A − B
-

About the Time Calculator

This tool adds and subtracts two times given in hours and minutes. It converts each input to total minutes, performs the operation, and displays the result in a readable format like 3h 15m. Negative differences are supported (e.g., -1h 20m).

Key features

  • Addition and subtraction of times
  • Handles negative differences
  • Clear, readable output format (Hh Mm)

How to use

  1. Enter hours and minutes for Time A and Time B.
  2. Click Submit to compute.
  3. View A + B and A − B results.

Formula

Convert to minutes: total = hours × 60 + minutes
Add/Subtract: sum = totalA + totalB; diff = totalA − totalB
Convert back: hours = ⌊|total|/60⌋; minutes = |total| mod 60; prefix with − if total < 0

Variables

SymbolMeaning
Time AThe first time value (hours and minutes)
Time BThe second time value (hours and minutes)

Related calculators

Sidebar Ad Placeholder