Ratio Calculator

Simplify ratios, solve for a missing value, or convert a ratio to a percentage or fraction.

Updated November 2026 Formulas tested

Leave C and D empty to simplify A : B. Fill in one of them to solve A : B = C : D for the other. Fill in both to check whether the ratios match.

Quick answer: To simplify a ratio, divide both numbers by their greatest common divisor. 12 : 18 simplifies to 2 : 3. To solve A : B = C : D, use D = B × C ÷ A.

A ratio calculator simplifies ratios, converts them to percentages and solves proportions. It also accepts decimals, so 1.5 : 2.5 becomes 3 : 5.

Use it for recipes, scale drawings, mixing paint, map scales and anything else where two quantities must stay in proportion.

How ratios work

Simplified ratio = A ÷ gcd : B ÷ gcd
Missing D = B × C ÷ A
Missing C = A × D ÷ B

Common mistakes to avoid

  • Comparing ratios in different units.
  • Swapping the order of A and B, which flips the ratio.
  • Adding the parts instead of keeping the proportion when scaling.
Please note. Results are estimates for planning and use the numbers and simplified assumptions you enter. See our disclaimer.

Frequently asked questions

How do I simplify a ratio?

Divide both numbers by their greatest common divisor, the largest number that divides both exactly.

Can I use decimals?

Yes. The tool scales decimals to whole numbers before simplifying.

What is a proportion?

Two ratios that are equal, such as 1 : 2 = 3 : 6.

What does share of the whole mean?

A divided by (A + B), shown as a percentage.

Formulas on this page are checked by automated tests. See how we test our tools.

Press Esc to close