MathsAverages & Ratios

Ratio
calculator.

Simplify a ratio, scale it to new amounts, or split a total in that ratio.

How it's worked out

A ratio compares amounts of the same kind. You can multiply or divide every part by the same number and the ratio stays the same. All three modes use that one rule.

Simplify divides every part by the greatest common divisor (GCD), the biggest whole number that goes into all of them. The tool finds it with Euclid's algorithm. For 12 : 8 the GCD is 4, so the simplest form is 3 : 2. If a part has decimals, every part is first multiplied by 10, 100 or 1,000 to make whole numbers.

a:b\displaystyle a \;:\; b=ag:bg\displaystyle {}= \frac{a}{g} \;:\; \frac{b}{g}g\displaystyle g=gcd⁡(a,b)\displaystyle {}= \gcd(a, b)

Scale finds the factor that turns the part you know into its new value, then multiplies every part by it.

Split adds the parts to count the shares, divides the total by that count to get one part, and multiplies.

sharei\displaystyle \text{share}_i=total×partisum of the parts\displaystyle {}=\;\text{total} \times \frac{\text{part}_i}{\text{sum of the parts}}

Worked examples

Lena checks the shape of her monitor

Her screen is 1920 by 1080 pixels. The GCD of 1920 and 1080 is 120, so the ratio is 16 : 9. The width is 1.78 times the height, and it takes up 64% of the 1920 + 1080 total. The picture under the tool draws 16 : 9 as rows of equal blocks.

Open this example in the tool

Ana and Ben split $500 as 2 : 3

Ana put in 2 parts and Ben 3, so there are 5 parts. One part is worth $100, so Ana gets $200 and Ben gets $300.

Three friends splitting $1,000 as 3 : 2 : 2 get $428.57, $285.71 and $285.71. Those cents do not add up to $1,000 once rounded. In whole dollars the tool gives 428, 286, 286, which does.

Open this example in the tool

Mixing juice concentrate at 1 : 4

The bottle says 1 part concentrate to 4 parts water, and you have 300 ml of water. Type 300 into the water box of the new ratio. The factor is 300 ÷ 4 = 75, so you need 75 ml of concentrate. The new ratio is 75 : 300.

Open this example in the tool

Reading your result

A two-part ratio can be read two ways. As a comparison, 3 : 2 means the first amount is 1.5 times the second. As parts of a whole, the first amount is 3 out of every 5, or 60%. The sentence under the answer gives both readings for your ratio.

The 1 : n form scales the ratio so the first part is 1. That makes ratios easy to compare, even when they do not simplify to small numbers. It is how map scales are written, such as 1 : 25,000.

Decimals are fine. 0.75 : 2.25 is multiplied by 100 to give 75 : 225, and then divided by 75 to give 1 : 3. A decimal with more than nine places, such as a rounded third, cannot be reduced exactly. The tool says so and shows the 1 : n form instead.

When a split does not come out even, look at the whole-unit line. Splitting 100 three ways gives 33.33 each, which you cannot pay out. The tool gives 34, 33, 33. The spare unit goes to the share with the biggest remainder, and ties go to the first part. This is the largest remainder method, the same one used to share out seats in some elections.

A concrete mix of 1 : 2 : 3 for 60 bags works the same way: 6 parts make each part 10 bags, so 10, 20, 30.

Open the concrete mix in the tool

Common mistakes

  • Mixing units. 20 minutes to 1 hour is not 20 : 1. Convert first: 20 : 60 simplifies to 1 : 3.
  • Swapping the order. 2 : 3 and 3 : 2 are different. Splitting $500 as 3 : 2 gives the first person $300, not $200. Keep the parts in the order the question names them.
  • Dividing by one part instead of the total. In 2 : 3, the first part is 2 out of 5, so 40%. It is not 2 out of 3.
  • Adding the same number to every part. 2 : 3 is not the same as 4 : 5. You must multiply or divide every part by the same number.
  • Rounding each share on its own. Three shares of 33.33 add to 99.99. Use the whole-unit split, or round two shares and give the rest to the third.

Questions people ask

Divide every part by the greatest common divisor of all the parts. For 12 : 8 the greatest common divisor is 4, so the ratio simplifies to 3 : 2. If any part is a decimal, multiply every part by 10, 100 or 1,000 first to make them whole numbers.

Sources