Home / Science / Maths, statistics and computing / Applied mathematics / Dimensional analysis (Buckingham Pi) helperTool #551

Buckingham Pi theorem calculator: dimension matrix, rank, null space and dimensionless groups

List your variables with their dimensions (M L T Θ I N J) and get the dimension matrix, its rank, an integer null-space basis and the dimensionless Π groups for the repeating variables you choose. Exact arithmetic, in your browser.

Keep it one tap away for everyday use.

Bookmark Dimensional analysis (Buckingham Pi) helper?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Variables
  2. Matrix
  3. Repeating
  4. Π groups
Nothing is uploadedWorks offline once open

Variables

Dimensions use M (mass), L (length), T (time), Θ or K (temperature), I (current), N (amount of substance) and J (luminous intensity), with powers like L^-1 or L⁻¹, or a slash: L/T^2. Write 1 for a pure number.

What it does

Any physical law must work in every system of units, so it can always be written in terms of dimensionless groups. The Buckingham Π theorem says how many: the number of variables minus the rank of their dimension matrix. This tool does the bookkeeping exactly:

  • reads each variable’s dimensions in mass M, length L, time T, temperature Θ, current I, amount N and luminous intensity J;
  • builds the dimension matrix and finds its rank by exact row reduction (fractions, no rounding);
  • gives an integer basis of the null space: every dimensionless product of your variables is a combination of these;
  • forms the Π groups with the repeating variables you tick, each written as a formula with whole-number powers, and the relation Π₁ = φ(Π₂, Π₃, …).

How to use it

  1. Pick an example, or type your variables, one per line: name, dimensions, and a note. For example V, L T^-1, speed. Powers can be written L^-1, L⁻¹ or with a slash, L/T^2. Write 1 for a pure number such as an angle.
  2. Put the quantity you want to predict first. It is then kept out of the repeating variables, so it appears in just one group.
  3. Not sure of a dimension? Choose it from Add a common quantity (force, pressure, viscosity, thermal conductivity, voltage and more) and give it a name.
  4. Tick other repeating variables if you like. You need as many as the rank, and together they must contain every dimension. The tool says so if your choice does not work.

Worked example

The pressure drop ΔP in a pipe depends on the diameter D, length l, mean velocity V, density ρ, viscosity μ and wall roughness ε. That is 7 variables in M, L and T with rank 3, so the page shows “7 variables − rank 3 = 4 dimensionless groups”. With D, V and ρ repeating it gives

ΔP / (V^2 ρ) = φ(l / D, μ / (D V ρ), ε / D),

which is the Euler number as a function of the length ratio, one over the Reynolds number, and the relative roughness: exactly the variables of the Moody chart. Tick μ instead of ρ and the third group becomes D V ρ / μ, the Reynolds number itself.

For the simple pendulum, the mass of the bob is the only variable with M, so it cannot appear in any group: the period cannot depend on it. The groups are P^2 g / l and θ0.

How the maths was checked

For every example, the rank and the null space were compared with SymPy’s Matrix.rank() and Matrix.nullspace() (scaled to whole numbers), and every group was checked to be dimensionless.

Good to know

  • Dimensional analysis tells you which groups matter, not the shape of φ: that needs experiments or theory.
  • Leaving out a variable that matters (or adding one that does not) gives wrong groups; the arithmetic cannot catch that.
  • Angles and ratios are already dimensionless and form groups by themselves.
  • Treating a temperature difference or a heat amount as its own dimension is sometimes useful; here every quantity is broken into the seven SI base dimensions.

Frequently asked questions

Is anything uploaded? No. All the work happens in your browser and nothing is stored.

Why are the groups different from my textbook’s? Any set of independent groups is valid, and a group can be replaced by a power of itself or a product with other groups. Choose the same repeating variables as the book to get the same form.

Can I use units like kg or N? Use dimensions instead: kg is M, a newton is M L T^-2. The common quantity list fills these in.

Where the numbers come from

  • Method: Buckingham's Π theorem (1914), exact rational row reduction. Example problems are classic textbook cases (pipe flow, drag, pendulum, convection, ship resistance, Taylor's blast wave, pumps); no data are used.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Uncertainty propagation calculator #25 Type your formula and your measurements with their uncertainties, or paste repeated readings. Get the result with its uncertainty, which input matters most, and a Monte Carlo check. Publication plot maker #27 Paste columns or open a CSV or Excel file and get a clean scientific figure with error bars, sized for a journal column. Download vector SVG or PDF, or PNG at 300 or 600 dpi. Your data stays in your browser. ODE solver with phase portraits #548 Type a system of differential equations and solve it in your browser with RK4 or adaptive RK45 (as SciPy). Time plots, phase portrait with direction field and nullclines, equilibria with eigenvalues, a bifurcation diagram, and a heat and wave equation playground. Fourier series and FFT visualiser #549 See how sines and cosines build a square, sawtooth or any typed wave, watch the Gibbs overshoot, draw shapes with epicycles, and take the FFT of a formula or your own data with Hann, Hamming, Blackman or flat-top windows. All in your browser. Numerical methods teacher #550 See numerical methods work step by step: root finding by bisection, false position, Newton and secant with iteration tables; integration by the trapezoid, Simpson, Gauss-Legendre and Romberg rules with error plots; and Lagrange, Newton divided-difference and cubic spline interpolation. Checked against scipy. Chaos explorer #552 Explore chaos in your browser: the logistic map (or any typed map) with cobweb, orbit diagram, Lyapunov exponent and Feigenbaum period-doubling points; the Lorenz and Rössler attractors in a 3D view you can turn, with their Lyapunov spectrum; and the Hénon map.