Dimensions and units are not the same thing
A dimension describes what kind of quantity something is: length, mass, time, electric current, temperature. A unit is a particular scale for measuring it. Metres, millimetres and inches are different units of the same dimension, length.
This distinction is the basis of dimensional analysis. An equation is only meaningful if both sides describe the same kind of quantity, whatever units you choose. A length cannot equal a time, and you cannot add a force to a pressure. If you find an equation that does either, something has gone wrong, and it is usually cheaper to find out on paper than after a part has been built.
The core rule
Two rules cover most of what you will do:
- Quantities can only be added, subtracted or compared if they have the same dimensions (and, in practice, the same units once you evaluate them).
- Quantities with any dimensions can be multiplied or divided, and the dimensions multiply or divide with them.
Everything else follows. Arguments of functions such as sine, exponentials and logarithms must be dimensionless, so a term like exp(t) only makes sense if t has been divided by a time to make a pure number. The same idea is behind the decibel scale, which works with ratios of like quantities.
Checking a formula step by step
Write each symbol in terms of base units, simplify, and compare both sides.
Speed. v = d/t gives metres divided by seconds, m/s. This is what a speed should be.
Kinetic energy. The usual form is one half times mass times speed squared. In base units that is kg × (m/s)² = kg·m²/s², which is the joule. If someone writes one half times mass times speed (no square), the result is kg·m/s, which is the unit of momentum, not energy. The unit check shows the formula is wrong without needing any numbers.
Pendulum period. A common small-swing formula is T = 2π√(L/g), where L is length and g is gravitational acceleration. Inside the root, m divided by m/s² gives s². The square root of s² is s, so the result is a time, as a period should be. Notice that the 2π does not affect the check, because it is dimensionless.
Electrical power. For a resistor, P = I²R. Using V = IR and P = VI, the unit of I²R works out to the watt. A misremembered version such as P = IR² would fail the check, because A·Ω² is not a watt.
A dimensionless result is a useful clue
Some quantities are pure numbers. Strain is a change in length divided by a length. Efficiency is power out over power in. The Reynolds number used in fluid flow combines density, speed, a length and viscosity so that all units cancel; with density in kg/m³, speed in m/s, length in m and dynamic viscosity in kg/(m·s), the product and quotient leave no units at all.
When a result that should be dimensionless still carries units, a factor is missing or inverted. When a result that should have units arrives as a bare number, a ratio has probably been taken by mistake.
Rearranging with units in mind
Units make a good guide when rearranging formulas. If you solve for time and the answer comes out in metres, one of the manipulation steps went wrong. Carrying units through every line of a derivation costs a little more writing and often saves a long search later. Keeping them in the algebra, rather than adding them at the end, is the habit that matters most.
Using units in practice
- Write units on every number in your notes and calculations, including intermediate ones.
- Keep one system within a calculation. Convert inputs first, calculate, and convert the result at the end. A careful approach to unit conversion is covered separately, and it matters because mixed units are a frequent source of numerical error.
- Check formulas copied from elsewhere. Textbooks, forum posts and old spreadsheets can contain typing mistakes. A quick dimension check is a cheap filter.
- Make units visible in spreadsheets. In engineering spreadsheets, put units in column headers or adjacent cells, so that a changed input does not silently break a formula.
- Name your assumptions. Empirical formulas, such as ones fitted to data, often require inputs in specific units. The source should say which. If it does not, treat the formula with caution.
What dimensional analysis cannot do
A passing unit check is a necessary test, not a sufficient one. It will not catch:
- a wrong dimensionless constant, such as a missing factor of 2 or π;
- two errors that cancel each other;
- a formula that is dimensionally sound but physically inappropriate for your situation;
- a mistaken sign;
- numbers that are simply mistyped.
For example, writing kinetic energy as mass times speed squared (without the one half) passes the unit check but is out by a factor of two. That is why dimensional checks work best alongside other habits, such as comparing against a rough magnitude or testing an extreme case. Those habits are the subject of sanity checks, and a quick order-of-magnitude pass often exposes mistakes that units alone miss.
Dimensional reasoning as a design tool
Beyond checking, dimensions can suggest which variables can combine. If you know that a quantity depends on length, speed and density, only certain combinations produce the right dimensions, which narrows the possibilities before any experiments. This is a way of organising thinking, not a replacement for physics or testing, and results from it should be confirmed by measurement or established references.
It also helps when reading documents. When reading datasheets or reports, checking that a quoted formula has consistent units is one of the fastest ways to notice a typo in the source or a misreading on your part.
A short routine
- Write the equation and list the units of each symbol.
- Reduce both sides to base units.
- Confirm that each added or subtracted term matches.
- Confirm that any function argument is dimensionless.
- Evaluate with numbers, keeping units attached.
- Compare the answer with what you expect.
None of this replaces a qualified engineer’s judgment. Where a calculation affects safety or compliance, follow the standards, review processes and professional practice that apply in your country and industry.