Ratio & Proportion Calculator (Solve for x)

Percent & ratioFreeNo sign-up

A ratio and proportion calculator finds the missing term when two ratios are equal. For 5/8 = x/24, cross-multiply: 8 × x = 5 × 24 = 120, so x = 120 ÷ 8 = 15, and 5:8 = 15:24. The same tool simplifies ratios (12:18 = 2:3), divides an amount in a ratio and turns a ratio into fractions and percents.

Ratios and proportions
Type x (or leave one box blank) for the unknown, in any position. Fill all four boxes to check whether two ratios are proportional. Decimals, fractions (3/4) and mixed numbers (1 1/2) work.
Try:
Missing value
x = 15

In the proportion 5 : 8 = x : 24, x = 15, so 5 : 8 = 15 : 24.

Missing value x15
Completed proportion5 : 8 = 15 : 24
Ratio in simplest form5:8
Cross products5 × 24 = 8 × 15 = 120
Scale factor (C ÷ A)× 3
Value of each ratio (A ÷ B)0.625
A : B
58
C : D
1524

Both bars split in the same proportion: green is about 38.5% of each bar. That is what makes the ratios equal.

Show steps
  1. Write the proportion as two equal fractions: 5/8 = x/24.
  2. Cross-multiply. The product of the outer terms equals the product of the inner terms (A × D = B × C): 5 × 24 = 8 × x.
  3. Simplify: 8x = 120.
  4. Divide both sides by 8: x = 120 ÷ 8 = 15.
  5. Shortcut with a scale factor: 24 ÷ 8 = 3, so the second ratio is the first one × 3: x = 5 × 3 = 15.
  6. Check: 5 ÷ 8 = 0.625 and 15 ÷ 24 = 0.625. The two ratios are equal.

Keep the units in the same order on both sides: if the first ratio is mg : mL, the second must be mg : mL too.

Ratio & Proportion Calculator (Solve for x)
Embed this calculator on your site

Free to use on class pages, blogs and course pages. Copy the code below and paste it into your page:

How to use the ratio and proportion calculator

  1. Solve proportion: fill in three of the four boxes in A : B = C : D and type x (or leave blank) in the fourth. Fill all four to check whether the ratios are proportional.
  2. Simplify ratio: type a ratio with colons, such as 12:18, 6:9:15 or 1.5:2.25.
  3. Divide an amount: enter a total and a ratio, such as 60 and 2:3:5, to get each share.
  4. Ratio to fraction & %: enter a ratio to see each part as a fraction and a percent of the whole.
  5. Open Show steps to see the full working, and use Copy result to paste the answer into your notes.

What ratios and proportions are

A ratio compares two or more quantities: 3:4 means “3 for every 4”. It can be written as 3:4, 3 to 4 or 3/4. A proportion is an equation stating that two ratios are equal, such as 3/4 = 9/12. Both ratios simplify to the same thing, so they describe the same relationship at different sizes.

Cross-multiplication: the proportion formula

For a proportion a/b = c/d (with b and d not zero), the cross products are equal:

a × d = b × c

Rearrange it for whichever term is missing:

Missing term Formula Example
a a = b × c ÷ d x/7 = 4.5/3 gives x = 7 × 4.5 ÷ 3 = 10.5
b b = a × d ÷ c 3/x = 5/7 gives x = 3 × 7 ÷ 5 = 4.2
c c = a × d ÷ b 5/8 = x/24 gives x = 5 × 24 ÷ 8 = 15
d d = b × c ÷ a 2/3 = 8/x gives x = 3 × 8 ÷ 2 = 12

A faster mental route is the scale factor. In 5/8 = x/24, the denominator went from 8 to 24, which is × 3, so the numerator must also be × 3: x = 15. Cross-multiplication always works, even when the scale factor is not a whole number.

How to simplify a ratio

  1. If any term is a decimal or fraction, multiply every term by the same number to make them all whole. 1.5:2.25 × 4 = 6:9.
  2. Find the greatest common factor (GCF) of all the terms.
  3. Divide every term by the GCF. 6:9 ÷ 3 = 2:3.

Three-part ratios work the same way: 6:9:15 has GCF 3, so it simplifies to 2:3:5.

How to divide an amount in a ratio

To share $60 in the ratio 2:3:5, add the parts: 2 + 3 + 5 = 10. One part is $60 ÷ 10 = $6. The shares are 2 × 6 = $12, 3 × 6 = $18 and 5 × 6 = $30, and they add back to $60.

Ratio to fraction and percent

A ratio a:b gives two kinds of fractions. Part to whole: a/(a + b). In 3:5 there are 8 parts, so the first part is 3/8 = 37.5% of the whole and the second is 5/8 = 62.5%. Part to part: a/b. Here 3/5 = 0.6, so the first amount is 60% of the second. Questions about “what fraction of the total” need the part-to-whole form.

Worked examples

Recipe: scaling up

A recipe uses 3 cups of flour for 4 cups of milk. How much flour goes with 12 cups of milk? Set up flour : milk = flour : milk: 3/4 = x/12. Cross-multiply: 4x = 36, so x = 9 cups of flour.

Shopping: price per item

3 notebooks cost $4.50. What do 7 cost? 3/4.50 = 7/x, so 3x = 31.50 and x = $10.50. The unit price is $1.50 per notebook.

Medication dose (nursing)

A liquid has 250 mg in 5 mL and the order is 400 mg. Write mg : mL = mg : mL: 250/5 = 400/x. Cross-multiply: 250x = 2,000, so x = 8 mL. This is a textbook practice example. Real doses must always be checked against the order and your clinical guidance.

Common ratio and proportion mistakes

Mistake Example Fix
Mixing the order of units mg/mL = mL/mg Keep the same order on both sides
Using part to part when part to whole is asked 3:5 read as 3/5 of the total Divide by the total parts: 3/8
Adding instead of multiplying 2:3 = 8:9 (added 6) Scale both terms by the same factor: 8:12
Stopping before fully simplified 24:36 = 12:18 Divide by the GCF, 12: 2:3
Rounding too early Rounding one part before scaling Keep exact fractions until the last step

Ratios and proportions practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. Solve for x: 4/9 = x/27.

Found a mistake? Let us know!

2. Simplify the ratio 45:60.

Found a mistake? Let us know!

3. Simplify 2.4:3.6.

Found a mistake? Let us know!

4. Share $84 in the ratio 3:4. What is the larger share?

Found a mistake? Let us know!

5. In a ratio of boys to girls of 2:3, what fraction of the class is boys?

Found a mistake? Let us know!

6. Are 6:8 and 15:20 proportional?

Found a mistake? Let us know!

7. Solve: 3/x = 12/20.

Found a mistake? Let us know!

8. A map scale is 1 cm : 25 km. How far is 7.5 cm on the map?

Found a mistake? Let us know!

9. Write the ratio 7:13 as a percent of the whole for the first part.

Found a mistake? Let us know!

10. Divide 90 in the ratio 1:2:3. What is the middle share?

Found a mistake? Let us know!

Frequently asked questions

What is ratio and proportion?

A ratio compares quantities, such as 3 boys for every 4 girls (3:4). A proportion says two ratios are equal, such as 3:4 = 9:12. If a class has that ratio and 12 girls, it has 9 boys.

What is the ratio and proportion formula?

For a/b = c/d, the cross products are equal: a × d = b × c. To solve 5/8 = x/24, write 8x = 120, so x = 15. Check by dividing: 5 ÷ 8 = 0.625 and 15 ÷ 24 = 0.625.

How do you do ratio and proportion word problems?

Write the two ratios with the same units in the same order, put x where the unknown goes, and cross-multiply. "3 notebooks cost $4.50, how much for 7?" becomes 3/4.50 = 7/x, so x = $10.50.

How do you find the proportion of each part in a ratio?

Divide each term by the total of the terms. In 3:5 the total is 8, so the parts are 3/8 = 37.5% and 5/8 = 62.5%. With 40 beads in that ratio, there are 15 red and 25 blue.

What is the ratio and proportion method in nursing?

Nurses set up have : have = want : x with matching units, for example 250 mg : 5 mL = 400 mg : x mL, which gives x = 8 mL. Always follow your program's or facility's dosage rules.

How do you work with a ratio of three numbers?

Treat it like a two-term ratio. To simplify, divide all three terms by their GCF. To share an amount, add the parts and find the value of one part: $60 in 2:3:5 is $12, $18 and $30.

Related calculators

More percent & ratio calculators

Browse all 206 calculators

Related to This Article

What people say about "Ratio and Proportion Calculator: Solve for X with Steps"?

No one replied yet.

Leave a Reply