Ratio
calculator.
Simplify a ratio, scale it to new amounts, or split a total in that ratio.
For every 3 of the first there are 2 of the second. The first is 1.5 times the second and makes up 60% of the whole.
The ratio as a picture
With 4 in each block, 3 : 2 becomes 12 : 8. A: 3 units of 4 = 12, 60% of the whole. B: 2 units of 4 = 8, 40% of the whole.
Working
- 1Find the greatest common divisor (Euclid's algorithm)GCD(12, 8) = 4
- 2Divide every part by it12 : 8 ÷ 4 = 3 : 2
- 3Check: scale the simplest form back up3 : 2 × 4 = 12 : 8
Equivalent ratios
| × | Ratio |
|---|---|
| × 1 | 3 : 2 |
| × 2 | 6 : 4 |
| × 3 | 9 : 6 |
| × 4 | 12 : 8 |
| × 5 | 15 : 10 |
| × 6 | 18 : 12 |
Every row is 3 : 2 with each part multiplied by the same number.
Keyboard shortcuts
- Up arrow and Down arrow in a box change it by 1. Hold Shift for 10 or Alt for 0.1.
- Tab moves from box to box through the ratio.
- Left arrow and Right arrow move between Simplify, Scale and Split, between decimal places, and along the picture slider.
- In the list, paste rows from a spreadsheet into any cell.
Simplify a list
Paste two or three numbers on each row, such as image widths and heights, and each row is reduced to its simplest form.
| # | First | Second | Third (optional) |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 |
Simplest forms
| # | Ratio | 1 : n | |
|---|---|---|---|
| 1 | 16 : 9 | 1,920 : 1,080 | 1 : 0.56 |
| 2 | 5 : 4 | 1,280 : 1,024 | 1 : 0.8 |
| 3 | 3 : 4 | 45 : 60 | 1 : 1.33 |
| 4 | 3 : 2 : 1 | 12 : 8 : 4 | 1 : 0.67 : 0.33 |
| 5 | 1 : 3 | 0.75 : 2.25 | 1 : 3 |
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.
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.
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.
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.
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.
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.
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
Sources
- OpenStax, Prealgebra 2e, section 5.6, Ratios and Rate
- Euclid's algorithm for the greatest common divisor: Knuth, D. E., The Art of Computer Programming, Vol. 2, 3rd ed., section 4.5.2