I once watched a student count 14 boys and 21 girls and write the ratio as 21:14. The numbers were right, but the order was backwards, and the answer meant the opposite of what the question asked.
That is the whole secret of this topic. Calculating a ratio is easy arithmetic, and the hard part is setting it up right. Label first, then divide.
Here is the short version. Write down what each number counts, put the numbers in the order the question asks for, make the units match, and divide both numbers by their greatest common factor. Try the same numbers on the Proportion Calculator as you go.
What “Calculate a Ratio” Actually Asks You to Do
A ratio compares two or more quantities by division. It tells you how much of one thing there is for each unit of another thing. The ratio 2:3 means two of the first quantity for every three of the second.
You can write the same comparison three ways: with a colon as 2:3, with words as 2 to 3, or as a fraction as 2/3. An aspect ratio is one you already meet every day: a screen 16 units wide and 9 units tall has the ratio 16 to 9, and the Aspect Ratio Calculator guide shows how that comparison controls the whole shape.
How to Calculate a Ratio in 4 Steps
Four steps, always in this order.
- Label the quantities. Write down what each number counts, with its unit.
- Put the numbers in the order the question asks for. The first quantity named goes first.
- Make the units match. Convert one quantity so both use the same unit.
- Divide both numbers by their greatest common factor, and read the answer with its labels.
Worked Example: 14 Boys and 21 Girls
A class has 14 boys and 21 girls. Find the ratio of boys to girls. Label first, then divide.
Step 1, label: boys equals 14, girls equals 21. Both count students, so no conversion is needed. Step 2, order: the question asks for boys first, so write 14:21.
Step 3 is already done, because both numbers count students. Step 4, simplify: the greatest common factor of 14 and 21 is 7. Divide both terms by 7 to get 2:3. There are two boys for every three girls.
Try it: a box holds 18 red pens and 12 blue pens. Find the ratio of red pens to blue pens. Red goes first, so write 18:12. Divide both terms by their greatest common factor, 6, to get 3:2.
Does the Order Matter? Yes.
Order is the whole point of a ratio. The same two numbers in the opposite order answer a different question. The ratio of girls to boys in that class is 21:14, which simplifies to 3:2. So boys to girls is 2:3, and girls to boys is 3:2, and each answers only its own question.
The same trap shows up with totals. A bowl holds 9 apples and 6 oranges, which is 15 pieces of fruit altogether. The ratio of apples to oranges is 9:6, which simplifies to 3:2. But the ratio of apples to all the fruit is 9:15, which simplifies to 3:5. The words “to oranges” and “to all the fruit” are the only clue, so read the question twice before you pick your numbers.
Try it: a pet shop has 8 dogs and 12 cats, which is 20 pets altogether. Find the ratio of cats to all the pets. Write 12:20, then divide both terms by 4 to get 3:5.
The Mistake I See Most Often
Here is the wrong answer first. A student has the ratio 3:4 and wants to scale it up. She adds 2 to both terms and writes 5:6. It feels fair, because both sides grew by the same amount.
But adding changes the relationship. Three out of four is 75 percent, while five out of six is about 83 percent. Ratios only scale by multiplying or dividing every term by the same number. Multiply both terms of 3:4 by 2 and you get 6:8, which is still three quarters. Addition never scales a ratio.
What If the Units Do Not Match?
You cannot compare numbers with different units. A ratio of 3 feet to 18 inches is not 3:18, because the 3 counts feet and the 18 counts inches. Convert first, then divide.
Three feet is 36 inches, so the comparison becomes 36 inches to 18 inches. Divide both terms by their greatest common factor, 18, to get 2:1. Label first, then divide.
Try it: find the ratio of 2 hours to 45 minutes. Two hours is 120 minutes, so write 120:45. Divide both terms by 15 to get 8:3.
How to Calculate a Ratio With Decimals
Decimals in a ratio look messy, but the fix is one multiplication. Clear the decimals first by multiplying both numbers by the same power of ten, then simplify the whole-number ratio.
Find the ratio of $1.50 to $2.25. Multiply both amounts by 100 to work in cents: 150 to 225. Divide both terms by their greatest common factor, 75, to get 2:3. For every $2 of the first amount, there are $3 of the second.
Try it: find the ratio of $0.80 to $1.20. Multiply both by 100 to get 80 to 120, then divide both terms by 40 to get 2:3.
How to Find a Missing Term
Sometimes the question gives you the ratio and one new quantity, and asks for the matching one. A proportion does it in two steps.
The ratio of flour to sugar in a recipe is 3:4. You use 15 cups of flour. How much sugar keeps the recipe the same? First find the scale factor: 15 divided by 3 is 5. Then multiply the sugar term by the same factor: 4 times 5 is 20. You need 20 cups of sugar, and 15:20 simplifies back to 3:4.
Try it: a ratio is 5:2, and the second term is 14. Find the first term. The scale factor is 14 divided by 2, which is 7, so the first term is 5 times 7, which is 35. The Proportions Calculator guide shows this same job worked through the tool.
Which Calculation Does Your Question Need?
Not every ratio question starts the same way. Read what the question gives you, then pick the calculation that fits. The Ratio Calculator guide covers each of these jobs in full, with the calculator modes that match them.
| What the question gives you | What you need | Calculation | Example |
|---|---|---|---|
| Two known quantities | The simplest ratio | Divide both by their GCF | 24:36 becomes 2:3 |
| A ratio and one new quantity | The matching quantity | Scale factor, then multiply | 2:5 with 30 first gives 75 second |
| A total and a ratio | Each share | Total divided by parts, then multiply | $90 split 2:1 gives $60 and $30 |
The third row is the one students miss most. Ninety dollars split in the ratio 2:1 has three parts altogether, so each part is worth $30. The shares are $60 and $30, and they add up to $90, which is the check that the split is right.
How to Check a Ratio
Every ratio on this page can be checked in seconds. Simplify your answer back and see whether it matches the ratio you started with, or cross multiply the two ratios and compare the products. Label first, then divide.
Take 14:21 and 2:3. The cross products are 14 times 3, which is 42, and 21 times 2, which is also 42. When both products come out equal, the two ratios match. If the products differ, recheck the order first, then the units, because those are the two places the setup usually goes wrong.
When the numbers are big, finding the greatest common factor by hand takes a while. The Simplify Calculator guide shows the Euclidean method, which finds the factor fast.
Practice Problems
Try these four before you read the answers. Each one uses a different part of the method.
- A basket has 27 apples and 18 oranges. Find the ratio of apples to oranges.
- Find the ratio of 5 kilometers to 800 meters.
- Split $120 between two friends in the ratio 3:5. How much does each friend get?
- A ratio is 4:7, and the first term is 28. Find the second term.
Answers: 1) 27:18 simplifies to 3:2, because the greatest common factor of 27 and 18 is 9. 2) Five kilometers is 5,000 meters, so the ratio is 5,000:800, which simplifies to 25:4. 3) The ratio has 8 parts, so each part is $15. The friends get $45 and $75. 4) The scale factor is 28 divided by 4, which is 7, so the second term is 7 times 7, which is 49.
Frequently Asked Questions
How do you calculate a ratio between two numbers?
Label each quantity, write the numbers in the order the question asks for, and make the units match. Then divide both numbers by their greatest common factor. For 14 boys and 21 girls, the ratio is 14:21, and dividing both terms by 7 gives 2:3. That is the whole calculation.
Does the order of the numbers in a ratio matter?
Yes, the order is the whole point of a ratio. The ratio 14:21 says 14 boys for every 21 girls, while 21:14 says the opposite, 21 girls for every 14 boys. Always write the first quantity the question names first. If you swap the numbers, you answer a different question.
How do you find a ratio when the units are different?
Convert one quantity so both use the same unit, then calculate the ratio as usual. Three feet is 36 inches, so the ratio of 3 feet to 18 inches is 36:18, which simplifies to 2:1. Never compare numbers with different units, because the result means nothing. Pick the unit that keeps the numbers whole.
What is the ratio of a part to the whole?
Add up all the parts to find the whole, then write the part first and the whole second. Nine apples and 6 oranges make 15 pieces of fruit, so the ratio of apples to all the fruit is 9:15, which simplifies to 3:5. The part-to-whole ratio is a fraction of the total, while a part-to-part ratio compares two parts.
How do you calculate a ratio with decimals?
Multiply both numbers by the same power of ten until the decimals disappear, then simplify as usual. The amounts $1.50 and $2.25 become 150 and 225, and dividing both by 75 gives 2:3. Work with cents instead of dollars whenever money is involved, because whole numbers are easier to divide.
How do you check a ratio is right?
Simplify your answer back and see whether it matches the ratio you started with, or cross multiply the two ratios. For 14:21 and 2:3, the cross products are 14 times 3, which is 42, and 21 times 2, which is also 42. Equal cross products mean the ratios are the same. If they differ, recheck the order and the units.
Key Takeaways
A ratio is a comparison by division, and the setup matters more than the arithmetic. Label the quantities, keep the order the question asks for, match the units, and divide both terms by their greatest common factor. Scale only by multiplying or dividing every term, and check by simplifying back or by cross multiplication.
Now open the Proportion Calculator and try a ratio from your own homework. Label the quantities first, divide, and check the answer.
