Dimensional Analysis Calculator

Convert any value with the factor-label (dimensional analysis) method.

Convert Factor-label 6 quantities Chain shown
Rate this calculator

Dimensional Analysis

Factor-label method · 6 quantities · SI base

Instructions — Dimensional Analysis Calculator

1

Pick the quantity

Choose length, mass, volume, time, speed, or energy. The unit menus update to match. Every conversion routes through the SI base unit (m, kg, s, m³, m/s, J) so chains never break.

2

Set from and to units

Enter a value and the source unit, then pick the target unit. The result and the factor-label chain appear below. Numbers below 0.0001 or above 1e10 switch to scientific notation automatically.

3

Read the chain

The chain panel shows the cancellation step-by-step: input × (base/source) × (target/base) = output. Use this to check homework or explain the method to a student.

Formulas

Dimensional analysis multiplies a quantity by ratios equal to 1, where each ratio swaps one unit for another. Units cancel like algebraic terms; only the target unit survives.

Core identity
$$ Q_{target} = Q_{source} \times \frac{1\,\text{base}}{k_{source}\,\text{source}} \times \frac{k_{target}\,\text{target}}{1\,\text{base}} $$
Each conversion factor equals 1 because numerator and denominator are equivalent quantities expressed in different units.
Speed: km/h to m/s
$$ v_{m/s} = v_{km/h} \times \frac{1000\,\text{m}}{1\,\text{km}} \times \frac{1\,\text{h}}{3600\,\text{s}} = \frac{v_{km/h}}{3.6} $$
Two factors compose: length (km → m) and time (h → s). The 1/3.6 shortcut falls out naturally.
Derived unit: density
$$ \rho_{kg/m^3} = \rho_{g/cm^3} \times \frac{1\,\text{kg}}{1000\,\text{g}} \times \frac{10^6\,\text{cm}^3}{1\,\text{m}^3} = 1000\,\rho_{g/cm^3} $$
Cubic units pick up a cube of the linear factor. Always raise the bracket, not just the number inside.
Multi-step chain
$$ Q_{final} = Q_{start} \prod_{i=1}^{n} f_i \quad \text{where each } f_i = 1 $$
A conversion of any complexity is just a product of unit ratios. The number changes; the physical quantity does not.
Inverse symmetry
$$ \frac{1\,\text{ft}}{0.3048\,\text{m}} = \frac{1}{0.3048}\,\frac{\text{ft}}{\text{m}} = 3.28084\,\frac{\text{ft}}{\text{m}} $$
Flipping a factor gives the reciprocal. Pick whichever orientation cancels the unit you need to remove.
Energy: kWh to joules
$$ E_{J} = E_{kWh} \times \frac{1000\,\text{W}}{1\,\text{kW}} \times \frac{3600\,\text{s}}{1\,\text{h}} = 3.6\times 10^6\,E_{kWh} $$
Power × time = energy. The kilowatt-hour becomes 3,600,000 J exactly.

Reference

SI base units — the hub of every chain
QuantityBase unitSymbol
LengthMetrem
MassKilogramkg
Volume (derived)Cubic metre
TimeSeconds
Speed (derived)Metre per secondm/s
Energy (derived)JouleJ

Exact conversion factors (1959 yard & pound; CGPM)

  • 1 in = 2.54 cm (exact)
  • 1 ft = 0.3048 m (exact)
  • 1 mi = 1609.344 m (exact)
  • 1 lb = 0.45359237 kg (exact)
  • 1 cal = 4.184 J (thermochemical, exact)
  • 1 kWh = 3,600,000 J (exact)
  • 1 nautical mile = 1852 m (exact)
  • gn = 9.80665 m/s² (defines kgf)

Article — Dimensional Analysis Calculator

Dimensional analysis calculator: convert units with the factor-label method

Dimensional analysis — the factor-label method — converts a quantity between units by multiplying by ratios that equal 1. Each ratio swaps one unit for another. Set up correctly, the unwanted units cancel like algebra and only the target unit survives. This calculator routes six quantity types (length, mass, volume, time, speed, energy) through SI base units so every conversion is exact.

The technique is ubiquitous in chemistry and physics for one reason: it works for any conversion, no matter how many steps. Convert km/h to m/s? Two factors. Convert grams per cubic centimetre to kilograms per cubic metre? Four factors, two of them cubed. The mechanics never change.

What is dimensional analysis?

Dimensional analysis treats units as algebraic objects. You multiply a measurement by a conversion factor — a fraction whose numerator equals its denominator in physical content but uses different unit labels. Because the fraction equals 1, the underlying quantity is unchanged; only the unit changes.

The factor (1000 m / 1 km) equals 1 because 1000 m and 1 km describe the same distance. Multiplying 5 km by this factor gives 5000 m. The km cancels; m is left.

Did you know

The American chemist Edward Frankland is often credited with formalising the technique in the 1850s, but Joseph Fourier introduced the idea of physical dimensions in Théorie analytique de la chaleur (1822). Fourier wrote that the dimensions of a quantity must match on both sides of any physical equation — what we now call dimensional homogeneity.

Dimensional analysis rules

Four rules cover almost every case. Get these right and you cannot generate a unit error.

  • Rule 1: every conversion factor is a fraction equal to 1
  • Rule 2: pick the orientation that cancels the unit you want to remove
  • Rule 3: chain factors as needed; multiplication is associative
  • Rule 4: for squared or cubed units, raise the entire factor to that power

The first rule is the conceptual heart. The other three are mechanical. If a student keeps writing factors wrong-way-up, drilling rule 1 fixes everything.

Dimensional analysis worked examples

Example 1: km/h to m/s. Start with the value and chain two factors:

90 km/h to m/s
90 km/h × (1000 m / 1 km) × (1 h / 3600 s)
= 90 × 1000 / 3600 = 25 m/s

Km cancels in step one, h cancels in step two. Only m/s is left. The shortcut “divide km/h by 3.6” is just this chain compressed.

Example 2: g/cm³ to kg/m³. Density has compound units, so two separate conversions happen at once:

1 g/cm³ to kg/m³
1 g/cm³ × (1 kg / 1000 g) × (100 cm / 1 m)³
= 1 × (1/1000) × 10⁶ = 1000 kg/m³

Notice the cube on the cm-to-m factor. Forgetting that cube is the single most common dimensional-analysis mistake. Water’s density of 1 g/cm³ equals 1000 kg/m³ — an identity worth memorising.

Tip

Write units explicitly in every step, even on scratch paper. The factor-label method’s diagnostic power comes from seeing exactly which unit cancels where. Skipping unit labels turns the method into raw arithmetic and loses the safety net.

Dimensional analysis in chemistry

Stoichiometry is dimensional analysis. Convert grams of reactant to moles via molar mass, moles to moles of product via the reaction ratio, moles of product to grams via molar mass. Three factors, one chain.

Molarity calculations work the same way. To find the mass of solute in 250 mL of 0.5 M NaCl:

250 mL of 0.5 M NaCl to grams
250 mL × (1 L / 1000 mL) × (0.5 mol / 1 L)
× (58.44 g / 1 mol) = 7.31 g

Molar mass of NaCl is 58.44 g/mol. The chain converts volume to moles to mass cleanly. Notice how molarity (mol/L) and molar mass (g/mol) each function as a unit-conversion factor in this context.

Derived units and squares

Derived units (area, volume, density, acceleration) inherit the dimensional rules of their components. Area is length squared; volume is length cubed; speed is length over time; acceleration is length over time squared.

When you convert a derived unit, the conversion factor for each base unit is raised to the same exponent. The factor (100 cm / 1 m) is itself unitless and equals 1, but its cube also equals 1 and gives the cm³-per-m³ ratio of 1,000,000.

Common dimensional analysis trap

Temperature is the exception. Celsius and Fahrenheit have different zero points, so a single multiplicative factor cannot convert between them. Use T(°C) = (T(°F) − 32) × 5/9 instead. Temperature differences ΔT do scale linearly: a 10 °C change equals an 18 °F change.

Dimensional analysis mistakes to avoid

Four errors account for most failed conversions. All are mechanical and all are caught by writing units in every step.

  • Flipped factor: putting (1 km / 1000 m) when you wanted (1000 m / 1 km)
  • Missing exponent: converting cm to m for area without squaring the factor
  • Wrong direction: multiplying when you should divide (use the cancellation check)
  • Rounded factor: using 2.54 in lieu of 2.54 cm/in — lose the units, lose the check

A brief history of dimensional analysis

Fourier’s 1822 heat treatise introduced the concept of physical dimensions. Maxwell formalised the [M, L, T] notation in 1873. Lord Rayleigh used dimensional analysis throughout the 1880s and 1890s to derive scaling laws — including the famous result that the period of a pendulum depends only on √(L/g), not on the mass of the bob.

The factor-label method as a teaching tool emerged in mid-twentieth-century American chemistry textbooks. By the 1960s it had become the standard way to introduce unit conversion in high-school and undergraduate chemistry, and it remains so today. Almost every general chemistry course covers it in the first chapter.

Physics took a separate but parallel path. Lord Rayleigh used dimensional reasoning in 1899 to predict that drag on a sphere scales with diameter squared and velocity squared — before any wind-tunnel experiments confirmed it. Edgar Buckingham’s 1914 “pi theorem” gave dimensional analysis a rigorous formal foundation, showing that any physical equation involving n variables and k base dimensions can be rewritten as a relationship between n − k dimensionless groups. Engineers use the pi theorem constantly to scale wind-tunnel models, river-flow models, and chemical reactors.

The pendulum example is the classic demonstration. The period T of a swinging pendulum can depend on at most three things: length L, mass m, and gravitational acceleration g. Dimensions: [T] = s, [L] = m, [m] = kg, [g] = m/s². There is no way to combine these into seconds without mass dropping out. The only dimensionally valid combination is T = C√(L/g) for some dimensionless constant C. Galileo measured C and got C = 2π. Dimensional analysis predicted the form of the answer before any calculus was applied.

FAQ

Converting units and checking equations. The factor-label method swaps a unit by multiplying with a ratio equal to 1. It also verifies physical formulas: if dimensions on both sides do not match, the equation is wrong before you even plug in numbers. Chemists use it for stoichiometry, engineers for unit conversion, physicists for scaling laws.
Because numerator and denominator are the same physical quantity in different units. 1 m = 100 cm, so (1 m / 100 cm) = 1. Multiplying by 1 does not change a value; it just relabels it. This is the core trick that makes the method work.
Multiply by two factors: km → m and h → s. v (m/s) = v (km/h) × (1000 m / 1 km) × (1 h / 3600 s) = v / 3.6. Example: 90 km/h ÷ 3.6 = 25 m/s. The reverse multiplies by 3.6.
Because the unit conversion factor must be raised to the same power as the unit. 1 m = 100 cm, so 1 m² = 100² cm² = 10,000 cm², and 1 m³ = 100³ cm³ = 1,000,000 cm³. Forgetting the exponent is the most common error in area and volume conversion.
Use SI as the bridge. Convert the source unit to its SI base (m, kg, s, J), then convert from SI to the target. Every unit in this calculator has a SI factor, so the chain is always two steps maximum. The exact factors (1 in = 2.54 cm; 1 lb = 0.45359237 kg) come from the 1959 international yard and pound agreement.
It catches dimensional errors but not arithmetic ones. If units cancel correctly, the form is right. But the numerical value can still be wrong if you multiplied instead of divided or used the wrong factor. Always sanity-check the final magnitude.
Because Fahrenheit and Celsius have different zero points, not just different scales. You cannot just multiply by a factor: T(°C) = (T(°F) − 32) × 5/9. For Kelvin to Celsius the offset is 273.15. Temperature differences (ΔT) do scale linearly: 1 °C of change = 1.8 °F of change.
Length: metre (m). Mass: kilogram (kg). Time: second (s). Volume: cubic metre (m³). Speed: metre per second (m/s). Energy: joule (J). Every conversion in the calculator routes through one of these so the chain stays clean.