Ratio Calculator
Reduce a two-term ratio to its simplest form, or scale it up or down to find the missing term of an equivalent ratio.
Ratio calculators
Simplify a ratio
Result
2 : 3
12 : 18 in simplest form is 2 : 3.
- Greatest common divisor
- 6
- As 1 : n
- 1 : 1.5
Find an equivalent ratio
Result
15 : 20
3 : 4 = 15 : 20
The missing second term is 20.
- Scale factor
- × 5
What a ratio says
A ratio compares two quantities by saying how much of one there is for a given amount of the other. A recipe that uses 2 cups of flour for every 1 cup of sugar has a flour-to-sugar ratio of 2 : 1. The order of the terms matters: 2 : 1 and 1 : 2 are different ratios.
Multiplying or dividing both terms by the same number gives an equivalent ratio, one that describes the same relationship. 12 : 18, 6 : 9 and 2 : 3 are all equivalent. Simplifying a ratio means dividing both terms by the largest number that divides them both, so that no smaller whole-number version exists.
The formulas
- Simplify
- a : b = (a ÷ g) : (b ÷ g), where g is the greatest common divisor of a and b
- Missing second term
- a : b = c : x, so x = b × c ÷ a
- Missing first term
- a : b = x : d, so x = a × d ÷ b
A term with decimals is first turned into a whole number by multiplying both terms by the same amount: 1.5 : 2 becomes 3 : 4. Both “missing term” formulas follow from the fact that equivalent ratios have the same quotient, a ÷ b = c ÷ d.
Worked examples
Simplifying
12 : 18: the greatest common divisor of 12 and 18 is 6. 12 ÷ 6 = 2 and 18 ÷ 6 = 3, so the ratio in simplest form is 2 : 3.
Finding the second term
A paint color is mixed from 3 parts blue to 4 parts white. With 15 gallons of blue, the white needed is 4 × 15 ÷ 3 = 20 gallons, because 3 : 4 = 15 : 20. Both terms were multiplied by 5.
Finding the first term
A screen has an aspect ratio of 16 : 9, width to height. If it is 1080 pixels high, its width is 16 × 1080 ÷ 9 = 1920 pixels.
Reading the result
- Every term must be greater than 0. A zero or negative term is not accepted: finding a missing term divides by a term, and a negative share of a mixture means nothing here.
- Only ratios with two terms are handled. A three-part ratio such as 1 : 2 : 3 cannot be entered.
- Terms may have decimals, up to 15 digits before the decimal point and 10 after it.
- The simplified ratio is always in whole numbers and exact. The “1 : n” form and a missing term can be decimals. They are normally shown with up to six decimal places, more for a very small value, and are marked with ≈ whenever the figure shown is an approximation.
- A ratio is not a fraction of the whole. In a 2 : 3 mix the first part is 2/5 of the total, not 2/3.
Common questions
- How is a ratio different from a fraction?
- A fraction usually compares a part with the whole; a ratio usually compares one part with another. If a class has 2 boys for every 3 girls, the ratio of boys to girls is 2 : 3, while the fraction of the class that is boys is 2/5, because there are 5 parts in all.
- How do I split an amount in a given ratio?
- Add the terms to get the number of parts, divide the amount by that number, and multiply by each term. To split 60 in the ratio 2 : 3 there are 5 parts of 12 each, so the shares are 24 and 36. The calculator does not do the split itself; the simplified ratio is where to start.
- Can the two terms have different units?
- Not if the ratio is to be simplified as plain numbers. Convert both to the same unit first: 50 cm to 2 m is 50 : 200, which simplifies to 1 : 4. A comparison of two different kinds of quantity, such as miles per hour, is a rate, and it keeps its units.
- What does the “1 : n” form tell me?
- How many of the second quantity there are for each one of the first. 2 : 3 is 1 : 1.5, meaning one and a half of the second for every one of the first. Map scales and dilutions are normally written this way.
Other calculators
- Percentage Calculator
Find what percent one number is of another, calculate a percentage of an amount, or raise or lower a value by a percentage.
- Percentage Change Calculator
Compare a starting value with a final one: the difference between them, the change as a percentage, and whether it went up or down.
- Fraction Calculator
Add, subtract, multiply or divide two fractions. The answer is reduced to lowest terms and also given as a mixed number and a decimal.
- Average Calculator
Paste a list of numbers to get its mean, median, mode and range, with the count and the sum they are based on.