Ratio Calculator
Simplify any ratio to its smallest whole terms and solve the missing fourth value in a proportion (A : B = C : X).
Reviewed 17 November 2026 · Free · No account needed
How to use
- Enter the two ratio parts (decimals allowed).
- Read the simplified ratio, decimal and percentage view.
- Enter a known value C to solve the missing value X in the proportion.
Example
Input: 4 : 6 · if 4 : 6 = 10 : X
Output: Simplified 2 : 3 · X = 15
How it works
A ratio is simplified by dividing both sides by their greatest common divisor. Scaling multiplies both sides by the same factor, which keeps the ratio unchanged.
Both parts are multiplied by the same power of ten until they are whole, then divided by their greatest common divisor, so simplification stays exact for decimals. The proportion A : B = C : X is solved by cross-multiplication: X = B × C ÷ A.
4 : 6 simplifies to 2 : 3, shown with the decimal value 0.666667 and 4 as 66.666667% of 6; if 4 : 6 = 10 : X then X = 15.
Edge cases to know
- Both ratio parts must be positive; the known value C may be zero or positive.
- Decimals are scaled to integers before the GCD, so 2.5 : 5 simplifies exactly to 1 : 2.
- The percentage is 'A as a share of B', not a part-to-whole percentage.
Limits & compatibility
- Both ratio parts must be positive; X is solved for C ≥ 0.
- Decimals are scaled to integers before the GCD, so results stay exact.
- Percentages are 'A as a share of B', not part-to-whole.
Privacy
All calculations run locally in your browser. Nothing is transmitted to a server, and no values are stored.
Related tools
Questions about Ratio Calculator
Can it simplify ratios with decimals?
Yes. Decimal parts such as 2.5 : 5 are scaled up to whole numbers before the greatest common divisor is applied, so the simplification stays exact rather than approximating. 4 : 6 becomes 2 : 3, and 2.5 : 5 becomes 1 : 2. Both ratio parts must be positive numbers — zero and negatives are rejected.
What does the percentage figure mean?
It is A expressed as a share of B — the ratio 4 : 6 gives 66.6667% because 4 is two-thirds of 6. That is a part-to-part comparison, not the part-to-whole percentage you would use for '4 out of 10 items'. Knowing which convention a number uses is the usual source of disagreement between calculators.
How is the missing value in a proportion found?
Enter a known value C and the tool solves A : B = C : X by cross-multiplication, X = B × C ÷ A — so 4 : 6 = 10 : X gives X = 15. The known value may be zero or positive, but the first ratio's two parts must both be positive, since a proportion against a zero part is undefined.
What else is shown besides the simplified ratio?
Three views of the same pair: the simplified whole-number ratio, the decimal value of A ÷ B, and the percentage of A relative to B. The proportion solver sits alongside, so simplifying a recipe ratio and scaling a quantity up or down happen in one place without retyping the numbers.