🧮 Physics

Dimensional Arithmetic Calculator

Do arithmetic with units instead of bare numbers. Enter two quantities, choose an operation, and the calculator tracks length, mass, time and six other base dimensions.

Written and reviewed by SM Arijul Islam · Last reviewed · Editorial standards · Report an error

About the Dimensional Arithmetic Calculator

Every physical quantity has dimensions: length, mass, time, electric current, temperature, amount of substance, luminous intensity and, in this calculator, data. A speed has length divided by time; a force has mass times length divided by time squared. Dimensional arithmetic is the bookkeeping that keeps those relationships straight.

Addition and subtraction only make sense when both operands have identical dimensions. You can add 3 metres to 40 centimetres, but you cannot add 3 metres to 2 seconds. This calculator refuses the second operation instead of silently producing a meaningless number. Multiplication and division are always allowed: the dimension exponents are added for multiplication and subtracted for division.

The result is shown in a unit chosen automatically to keep the number readable, together with a table of every compatible unit in the registry. For example, 60 km/h multiplied by 2 hours gives 120 km, while 500 W multiplied by 3 hours gives 1.5 kWh. The dimension display uses the SI base symbols m, kg, s, A, K, mol, cd and B.

Temperature is the one deliberate limitation. Celsius and Fahrenheit are affine scales with offsets, not pure multiplicative units, so 20 °C × 2 is not 40 °C in any useful sense. This page accepts kelvin only. The same caution applies to any unit whose zero point is arbitrary.

How the calculation works

  • Addition and subtraction: dimensions must match exactly; add or subtract the values in SI base units.
  • Multiplication: base value = a × b; dimension exponents = exponents(a) + exponents(b).
  • Division: base value = a ÷ b; dimension exponents = exponents(a) − exponents(b).
  • Example: 5 m + 30 cm = 5 m + 0.3 m = 5.3 m.
  • Example: 60 km/h × 2 h = (16.667 m/s) × (7,200 s) = 120,000 m = 120 km.
  • Example: 2 m × 3 m = 6 m²; 6 m² ÷ 2 m = 3 m.

Reference values

Dimensional arithmetic rules
OperationDimension ruleWorked example
AdditionSame dimensions only5 m + 30 cm = 5.3 m
SubtractionSame dimensions only90 min − 1 h = 30 min
MultiplicationExponents add60 km/h × 2 h = 120 km
DivisionExponents subtract6 m² ÷ 2 m = 3 m
Power × timeEnergy500 W × 3 h = 1.5 kWh
Force × distanceEnergy10 N × 2 m = 20 J
Mass ÷ volumeDensity2 kg ÷ 0.5 m³ = 4 kg/m³

Frequently asked questions

Because the result would have no physical meaning. Addition requires the same dimension on both sides; if the dimensions differ, the expression is invalid rather than merely unusual.
Yes. Multiplication and division are always dimensionally valid; only the resulting combination may be unusual. The calculator shows the dimension even when no named unit matches it.
Celsius and Fahrenheit have arbitrary zero points and different degree sizes. Multiplying 20 °C by two is not 40 °C in a meaningful physical sense, so affine scales are excluded from multiplication and division.
It is a derived dimension with no dedicated unit in this registry. The value is still correct in SI base units; the dimension text tells you how to interpret it.

Related tools