How this ratio calculator works
A ratio calculator simplifies a comparison of two or three quantities, or solves the missing term in a proportion. This free ratio calculator does that as you type — recipes, map scales, mixing, and “if 2 is to 3, then 8 is to what?” problems — with nothing leaving your browser until you choose to save a result locally.
A ratio A : B says how A compares with B. Dividing both parts by their greatest common divisor (GCD) puts the ratio in lowest whole-number terms: 4 : 6 becomes 2 : 3. A proportion A : B = C : D says two ratios are equal; if three of the four numbers are known, cross-multiplication finds the fourth. The three modes on this page are those two jobs plus a three-term simplify.
How to use the ratio calculator
- Choose Simplify a ratio, Solve a proportion, or Simplify 3-term ratio with the mode buttons at the top.
- Enter the known values. For a proportion, pick which letter is unknown. The result updates as you type.
- Read the headline simplified ratio or missing value, then the GCD, decimal, percent, or full proportion as details.
- Open Advanced in simplify or three-term mode to list equivalent ratios ×2 through ×7. Closing Advanced hides that list without changing the simplified result.
The three ratio questions, explained
Simplify a two-term ratio
Use Simplify for 4 : 6, 15 : 25, or any A : B you want in lowest terms. Inputs are rounded to whole numbers first, then both parts are divided by the GCD. The details also show A ÷ B as a decimal and as a percent, plus the original fraction before simplifying.
Solve a proportion
Use Solve a proportion for A : B = C : D when one letter is missing. Choose which variable to solve for. Every known value must be positive; the calculator uses exact cross-multiplication, not rounding. This is the usual way to scale a recipe or a map.
Simplify a three-term ratio
Use Simplify 3-term ratio for A : B : C, such as a paint mix or a budget split. The three rounded numbers are divided by their common GCD so 8 : 12 : 20 becomes 2 : 3 : 5.
Ratio formulas
These are the same formulas the calculator uses. Simplify and three-term round first; proportion does not.
Worked examples
Example: simplify 4 : 6
The GCD of 4 and 6 is 2, so 4 : 6 simplifies to 2 : 3. The decimal is 4 ÷ 6 = 0.6667 and the percent is 66.67%. Open Advanced to see equivalent ratios 4 : 6, 6 : 9, 8 : 12, and so on from the simplified 2 : 3.
Example: 2 : 3 = 8 : D
Cross-multiply: D = (3 × 8) ÷ 2 = 12. So 2 : 3 = 8 : 12. If you were scaling a recipe that uses 2 cups to 3 cups, eight cups of the first ingredient need twelve cups of the second.
Example: simplify 8 : 12 : 20
The GCD of 8, 12, and 20 is 4, so the simplified ratio is 2 : 3 : 5. The same mix in larger batches is 4 : 6 : 10, 6 : 9 : 15, and so on — the equivalent list in Advanced.
Things to keep in mind
Simplify and three-term round each input to a whole number before the GCD, so 4.4 : 6.6 is treated as 4 : 7. Both parts zero (or all three zero) produce no result. Proportion requires every known value to be greater than zero; a zero on the dividing term also yields no result. Closing Advanced only hides equivalent ratios; it does not change the simplified headline. For adding or multiplying fractions rather than comparing parts, use the fraction calculator.
Ratio calculator FAQ
How do I simplify a ratio?
Choose Simplify a ratio and enter A and B. The calculator rounds to whole numbers, finds the GCD, and divides both parts by it. 4 : 6 becomes 2 : 3 because the GCD is 2.
How do I solve a proportion?
Choose Solve a proportion, enter the three known values, and pick which letter is unknown. For A : B = C : D with D missing, D = (B × C) ÷ A. All known values must be positive.
Does the calculator round decimals?
Yes in simplify and three-term modes: each input is rounded to a non-negative whole number before the GCD. Proportion mode keeps the exact numbers and cross-multiplies.
What does Advanced show?
In simplify and three-term modes, Advanced lists equivalent ratios from ×2 through ×7 of the simplified terms. Closing Advanced hides that list without changing the headline. Proportion mode has no equivalent-ratio list.
Is a ratio the same as a fraction?
A two-term ratio A : B is the same comparison as the fraction A/B, which this page also shows. A ratio calculator is for simplifying and solving proportions. If you need to add, subtract, multiply, or divide fractions, use the fraction calculator.
Does this ratio calculator store my numbers?
Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics.