Physics Dimensional Analysis Checker

Type an equation like T = 2*pi*sqrt(l/g), say what each symbol measures and see the dimensions of both sides, base units and the missing powers.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Type the equation

    Write it with one = sign, or tap an example.

  2. 2
    Assign quantities

    Check what each symbol measures and correct any guesses.

  3. 3
    Read the verdict

    Compare the dimensions and base units of both sides.

  4. 4
    Follow the steps

    See each symbol replaced by its dimensions and the comparison.

  5. 5
    Convert units

    Type a derived unit expression to see its base units.

  6. 6
    Find exponents

    Use Rayleigh's method to find the powers in a relationship.

  7. 7
    Practise

    Answer generated questions on base units of common quantities.

About this tool

Every valid physics equation must have the same dimensions on both sides: you cannot set a length equal to a time. Checking this is a quick way to catch mistakes in rearranged formulas and is a standard A-level and first-year task. This checker reads an equation written with multiplication, division, powers, brackets and functions such as sqrt, tells you what each symbol probably stands for and lets you correct it from a list of about 30 quantities. It then works out the dimensions of each side in terms of mass, length, time, current, temperature and amount, writes them as SI base units and says whether they match. Two further tools convert derived units such as N m or J/s into base units and use Rayleigh's method to find the exponents in a relationship such as the period of a pendulum.

Dimensions and base units

The SI has seven base quantities. Mass [M] is measured in kg, length [L] in m, time [T] in s, current [I] in A, temperature [Θ] in K, amount [N] in mol and luminous intensity in cd. Every other quantity is a combination: velocity is L T⁻¹ (m/s), force is M L T⁻² (kg m s⁻²) and energy M L² T⁻² (kg m² s⁻²).

Checking an equation

Replace every symbol with its dimensions, combine them using the same multiplications, divisions and powers as the equation, and compare both sides. Pure numbers such as 2, ½ and π have no dimensions, and neither do the arguments of sine, cosine, exponentials and logarithms. Terms that are added or subtracted must have identical dimensions. The checker reports which rule fails if the equation is inconsistent.

Converting units

Type a derived unit expression such as Pa m^3 or V*A and the tool expands it into base units and names the quantities with those dimensions: Pa m³ is kg m² s⁻², the same as the joule, which is why pV has units of energy.

Rayleigh's method

If you suspect a quantity depends on others as a product of powers, write target ∝ A^a B^b C^c and match the powers of M, L and T on both sides. For a pendulum, period ∝ m^a l^b g^c gives a = 0, b = ½, c = −½: the period does not depend on the mass, and T ∝ √(l/g).

Worked example

Check T = 2π√(l/g). Length l has dimensions L and g has L T⁻², so l/g has T², and its square root has T. The right side has dimensions T, the same as the period on the left, so the equation is consistent. The method cannot confirm the factor 2π; only experiment or a full derivation can.

Limits

A consistent equation can still be wrong by a dimensionless factor or a missing term. Angles in radians are treated as dimensionless. The checker does not handle unit prefixes, vectors or tensors; write units without prefixes and quantities as magnitudes.

Worked example

T = 2π√(l/g): √(L / L T⁻²) = T on both sides, so the equation is consistent; Rayleigh gives T ∝ m⁰ l^½ g^−½.

Quick facts

Frequently asked questions

How do I write powers and roots?

Use ^ for powers, for example v^2 or r^-2, and sqrt( ) for square roots. Spaces or * mean multiplication.

What if the tool guesses the wrong quantity for a symbol?

Choose the right one in the list under the equation. For example, T may be a period or a temperature.

Does a balanced result prove the equation is right?

No. It only shows the units agree. A wrong numerical factor, such as ½, cannot be detected by dimensions.

Can it check equations with sin or exp?

Yes. It checks that their arguments are dimensionless and treats their results as pure numbers.

How do I find the base units of a newton?

Open Units to SI base units and type N. The answer is kg m s⁻².

What is Rayleigh's method for?

Predicting the form of a relationship from dimensions alone, such as how a pendulum's period depends on its length and g.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages