Ratio Calculator
Simplify a ratio to its lowest terms, or solve a proportion for a missing value.
This ratio calculator handles the two ratio jobs people look up most. It simplifies a ratio such as 12:18 down to 2:3 by dividing both sides by their greatest common divisor, and it solves a proportion such as 2:3 = 6:x, finding the missing value that keeps the two ratios equal. Ratios show up everywhere: scaling a recipe, mixing concrete or paint, splitting a bill in proportion, and working out map scales. Enter whole numbers or decimals, and the calculator shows the working so you can check each step.
Result
This is an estimate for information only, not financial or medical advice.
How it works
To simplify a ratio, both sides are divided by the greatest common divisor, which is the largest whole number that divides both sides evenly. For 12:18 the greatest common divisor is 6, so dividing both sides by 6 gives 2:3. To solve a proportion, cross-multiplication is used: in a:b = c:x, the missing value is x = (b x c) / a. Decimal inputs are handled by scaling both sides to whole numbers first, so 0.5:1.5 simplifies the same way as 5:15, giving 1:3.
Simplified ratio = a / GCD(a, b) : b / GCD(a, b). Proportion: if a : b = c : x, then x = (b x c) / a.
Worked examples
| Problem | Working | Result |
|---|---|---|
| Simplify 12 : 18 | Divide both sides by GCD 6 | 2 : 3 |
| Simplify 100 : 25 | Divide both sides by GCD 25 | 4 : 1 |
| Solve 2 : 3 = 6 : x | x = (3 x 6) / 2 | x = 9 |
| Solve 5 : 4 = 15 : x | x = (4 x 15) / 5 | x = 12 |
Frequently asked questions
How do you calculate the ratio between two numbers?
Write the numbers as a ratio, a:b, then divide both sides by their greatest common divisor to get the simplest form. For example, 12:18 becomes 2:3 because 6 divides both 12 and 18 and is the largest number that does.
What is a proportion in math?
A proportion is a statement that two ratios are equal, written as a:b = c:d. When one value is missing, cross-multiplication finds it: multiply the two known values on opposite corners and divide by the remaining known value.
Can a ratio have decimals?
Yes. This calculator scales decimal inputs to whole numbers first, so 0.5:1.5 simplifies to 1:3, the same as 5:15. The simplified result is always shown with whole numbers.
What does a ratio of 4:1 mean?
It means for every 4 parts of the first thing there is 1 part of the second thing. In a mix, that is 4 parts out of 5 total for the first item and 1 part out of 5 for the second.