Ratio Calculator
Fill in three parts of a proportion, or simplify and scale any ratio.
Leave one box empty.
D
16
3 : 4 = 12 : 16
How it was calculated
- A / B = C / D, so A × D = B × C (cross-multiply)
- D = B × C / A = 4 × 12 / 3
- D = 16
Calculations run on this device and your inputs are not uploaded. A share link puts your inputs in the URL, so anyone with the link can read them.
More Math Calculators
All calculators- Percentage CalculatorPercent of, percent change and more
- Fraction CalculatorAdd, subtract, multiply and divide fractions
- GCF CalculatorGreatest common factor, with Euclid's steps
- Scientific CalculatorTrig, logs, powers, roots and memory in one keypad
- Triangle CalculatorSolve any triangle from three known values
- Standard Deviation CalculatorPopulation or sample standard deviation with steps
- Random Number GeneratorRandom integers or decimals in any range
- Quadratic Formula CalculatorSolve ax² + bx + c = 0 with exact roots
- Area CalculatorArea of rectangles, triangles, circles and more
How the ratio calculator works
To solve a ratio with a missing value, write it as a proportion A : B = C : D and cross-multiply: A × D = B × C, then divide. For 3 : 4 = x : 20, 4x = 3 × 20 = 60, so x = 15. To simplify a ratio, divide both parts by their greatest common factor (GCF).
A ratio compares two quantities, written A : B or A/B. Two ratios that are equal form a proportion, which is why one missing value can always be found from the other three. The calculator shows the cross-multiplication with your numbers filled in.
Simplifying: 24 : 36 has a GCF of 12, so it becomes 2 : 3. With decimals, both parts are first multiplied by the same power of 10 to make whole numbers: 1.5 : 2.25 becomes 150 : 225, whose GCF is 75, giving 2 : 3. The result also shows the ratio as 1 : n and n : 1, and each part as a share of the total (2 : 3 is 40% and 60%).
Scaling multiplies or divides both parts by the same factor, which keeps the ratio the same: 2 : 3 enlarged 5 times is 10 : 15. That's how recipes, mixes and map scales change size without changing proportions.
Using and checking your result
Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.
Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.