Ratio Calculator
Simplify a ratio a : b to its lowest terms (decimals too), see it as a percentage and a bar, and get equivalent ratios with the working shown.
What is a ratio?
A ratio compares two quantities by showing how many times one contains the other. It is written with a colon, such as 3 : 2, or as a fraction, 3/2. If a recipe uses 3 cups of flour for every 2 cups of sugar, the ratio of flour to sugar is 3 : 2. This ratio calculator turns two numbers into a ratio, a decimal value, a percentage and a simplified ratio in lowest terms, draws the ratio as a bar, and lists equivalent ratios.
Ratio terms
- Antecedent (first term): the first number in a : b.
- Consequent (second term): the second number in a : b.
- Simplified ratio: the same ratio written with the smallest possible whole numbers, such as 2 : 3 instead of 12 : 18.
- Equivalent ratios: ratios that describe the same comparison, such as 2 : 3, 4 : 6 and 6 : 9.
How to simplify a ratio step by step
To simplify a ratio, divide both terms by their greatest common divisor (GCD). Take 12 : 18 as an example.
- Find the GCD of 12 and 18. The common divisors are 1, 2, 3 and 6, so the GCD is 6.
- Divide both terms by 6: 12 ÷ 6 = 2 and 18 ÷ 6 = 3.
- The simplified ratio is 2 : 3.
- Check: 2 × 6 = 12 and 3 × 6 = 18, so it is the same ratio.
Ratios with decimals
If the terms are decimals, first multiply both by 10, 100 or 1,000 until they are whole numbers, then simplify. For 2.4 : 3.6, multiply by 10 to get 24 : 36. The GCD of 24 and 36 is 12, so the ratio simplifies to 2 : 3. For 0.5 : 1.5, multiply by 10 to get 5 : 15, and divide by 5 to get 1 : 3.
Equivalent ratios and scaling
Multiply or divide both terms by the same non-zero number and you get an equivalent ratio. From 2 : 3 you get 4 : 6, 6 : 9, 8 : 12 and 10 : 15. To test two ratios, cross-multiply: 2 : 3 and 8 : 12 are equal because 2 × 12 = 24 and 3 × 8 = 24.
Sharing an amount in a ratio
To split 200 in the ratio 3 : 2, add the parts (3 + 2 = 5), divide the total by that number (200 ÷ 5 = 40), then multiply each part: 3 × 40 = 120 and 2 × 40 = 80. The shares add back to 200. In percentages, 3 : 2 means 60% and 40%.
Where ratios are used
- Cooking and mixing: paint, concrete, cleaning liquids and recipes all give ingredients as ratios.
- Maps and models: a scale of 1 : 50,000 means 1 cm on the map is 50,000 cm, which is 500 m, in real life.
- Finance and health: debt-to-income, price-to-earnings and waist-to-hip ratios compare two quantities.
- Screens and photos: an aspect ratio of 16 : 9 means the width is 16 units for every 9 units of height.
Formulas Used
Ratio as a value
Ratio = a ÷ bThe decimal value of a : b. For 3 : 2 it is 1.5.
Percentage
Percentage = (a ÷ b) × 100How big a is compared with b, as a percentage. For 3 : 2 this is 150%.
Simplified ratio
a : b = (a ÷ GCD) : (b ÷ GCD)Divide both terms by their GCD. For 12 : 18 the GCD is 6, giving 2 : 3.
Scaled ratio
Scaled ratio = (a ÷ b) × scaleMultiply the ratio value by a scale factor, shown as a result : 1.
Variables Explained
a (numerator)
The first term of the ratio.
b (denominator)
The second term of the ratio. It cannot be zero.
Scale
A factor that multiplies the ratio value. The default of 1 leaves it unchanged.
GCD
The greatest common divisor of the two whole-number terms, used to reduce the ratio.
Important Notes
Ratio values and percentages are shown rounded for reading. The simplified ratio is exact for numbers of up to 18 digits.
For legal, financial or engineering work, check the result with a second method before you rely on it.
Frequently Asked Questions
Related Calculators
Percentage Calculator
Percentage & RatioPercentage Change Calculator
Percentage & RatioDiscount Calculator
Percentage & RatioMarkup Calculator
Percentage & RatioRatio Calculator
Percentage & RatioProportion Calculator
Percentage & RatioProfit/Loss Calculator
Percentage & RatioPercentile Calculator
Percentage & RatioTax Calculator
Percentage & RatioInterest Calculator
Percentage & RatioQuick Tips
- 1Double-check your input values for accuracy
- 2Use the correct units of measurement
- 3Round results to appropriate decimal places
- 4Consider the context when interpreting results