A ratio calculator that does three jobs in one place: it simplifies a ratio
to its lowest whole-number terms, solves a proportion of the form
a : b = c : x for any missing value, and scales a ratio so a chosen term hits
a target — and for each it shows the working step by step, not just the answer.
It is built for students checking homework, cooks scaling recipes, designers matching
proportions, and anyone who needs the maths to be transparent rather than a black box.
How it works
A ratio compares quantities by division, so two ratios are equivalent whenever
one is a constant multiple of the other: 2 : 3 is the same relationship as
4 : 6 or 10 : 15. Three operations follow from that single idea.
Simplify. To reduce a ratio you divide every term by the greatest common
divisor (GCD) of all the terms. The tool first clears any decimals by multiplying
each term by a power of ten, then computes the GCD with the Euclidean algorithm and
divides through. So 1.5 : 2 becomes 15 : 20, then 3 : 4.
Solve a proportion. The statement a : b = c : x is equivalent to the equation
a · x = b · c (cross-multiplication). Rearranging gives the missing term — for
example x = (b · c) / a. Leave any one of the four boxes blank and the calculator
solves for exactly that one, guarding against division by zero.
Scale. To resize a ratio while keeping its shape, you multiply both terms by the
same factor. Anchor one term, give it a target value, and the scaling factor is
target / anchored term; the other term is multiplied by that factor.
Worked example
Take the ratio 3 : 4 of flour to water in a recipe, and suppose you want to use
15 units of flour. Anchor term A (flour) and set the target to 15. The scaling
factor is 15 / 3 = 5, so water becomes 4 × 5 = 20, giving the scaled recipe
15 : 20. Feed 15 : 20 into Simplify mode and it returns to 3 : 4, confirming
the proportion was preserved. In proportion mode, entering A = 3, B = 4,
C = 15 and leaving X blank solves x = (4 · 15) / 3 = 20 — the same answer by
cross-multiplication.
Key identities: simplify by dividing by
gcd(a, b); solvea : b = c : xwithx = (b · c) / a; scale by the factortarget / anchored term.
| Input | Mode | Result |
|---|---|---|
| 16 : 9 | Simplify | 16 : 9 (already lowest terms) |
| 8 : 12 | Simplify | 2 : 3 |
| 1.5 : 2 | Simplify | 3 : 4 |
| 2 : 4 : 6 | Simplify | 1 : 2 : 3 |
| 3 : 4 = 9 : ? | Proportion | X = 12 |
Every figure is calculated in your browser — no numbers are uploaded or stored.