Proportion Calculator

Use this proportion calculator to solve A/B = C/D for any one missing term by cross-multiplication, with every step shown, or to check whether four numbers form a true proportion.

Proportion Calculator inputs

Result

Enter your values to see the result.

  • Formula v1.0, unit-tested
  • Examples generated by the calculator
  • Updated
  • How we calculate
On this page

Formula

A/B = C/D ⇔ A × D = B × C

A, C
the numerators (top numbers) of the two ratios
B, D
the denominators (bottom numbers); neither can be 0
x
the missing term, found by dividing the known cross product by the term on its own diagonal

What a proportion is

A proportion is an equation that says two ratios are equal. Written as fractions, it looks like A/B = C/D: “A is to B as C is to D.” The statement 4/10 = 6/15 is a proportion because both fractions equal 0.4.

Every true proportion has the same property: its cross products are equal. Multiply each numerator by the denominator on the opposite side and you get the same number both times, here 4 × 15 = 10 × 6 = 60. That single rule is how you solve for a missing term and how you test whether four numbers really form a proportion.

How to use the proportion calculator

  1. Pick the unknown in the Solve for menu: A, B, C or D. The box for that term disappears, so you can’t fill it by mistake.
  2. Enter the other three numbers. Decimals and negatives are fine. Denominators (B and D) can’t be 0.
  3. Read the answer and the working: the proportion written out, the cross-multiplication, the one-step equation and a check that both ratios match.

To test a proportion instead, choose Check: is A/B = C/D true? and enter all four numbers. The calculator compares A × D with B × C exactly and, if they differ, tells you which value of D would make the proportion true.

Answers that end within six decimal places are shown exactly. When the answer repeats forever, as with 10/3, the proportion calculator rounds it to six places and also gives the exact fraction and the repeating pattern.

Solving a proportion by hand with cross-multiplication

Suppose 9 out of every 12 tiles in a box are white, and you want to know how many of 20 tiles would be white at the same rate. Write it as 9/12 = x/20.

  1. Cross-multiply: 9 × 20 = 12 × x, so 180 = 12x.
  2. Divide both sides by the number next to x: x = 180 ÷ 12 = 15.
  3. Check: 9 ÷ 12 = 0.75 and 15 ÷ 20 = 0.75. The ratios match.

The unknown can sit anywhere. In x/6 = 14/21, the cross products are 21x and 6 × 14 = 84, so x = 84 ÷ 21 = 4. A quick rule covers all four positions: multiply the two numbers on the full diagonal, then divide by the number that shares a diagonal with x.

When the numbers are friendly

Sometimes a scale factor is easier than cross-multiplying. In 3/5 = 12/x, the numerator went from 3 to 12, a factor of 4, so the denominator must also be multiplied by 4: x = 20. Cross-multiplication gives the same answer (3x = 60) and works when the factor isn’t obvious.

Quick checks: is it a proportion?

These cross products were worked out with the calculator’s Check option.

Ratios A × D B × C True proportion?
4/10 and 6/15 60 60 Yes
3/7 and 9/20 60 63 No
1.2/5 and 3/12.5 15 15 Yes
8/12 and 10/16 128 120 No
2.5/4 and 7.5/12 30 30 Yes

Equal cross products mean equal ratios. Comparing decimals such as 3/7 ≈ 0.4286 and 9/20 = 0.45 also works, but rounding can hide a small difference, which is why the calculator compares the cross products exactly.

Real-life uses of proportions

Recipes and mixing

A pancake recipe that uses 3 eggs for 16 pancakes needs 3/16 = x/40 eggs for 40 pancakes: x = 120 ÷ 16 = 7.5, so use 7 or 8 eggs depending on size. The same setup scales paint tints, garden fertilizer and cleaning solutions.

Map and model scales

If 1 inch on a trail map represents 2.5 miles, a 3.4-inch route is 1/2.5 = 3.4/x, so x = 8.5 miles. For scale models, the full-size object sits in the denominator and the model in the numerator, consistently on both sides.

Resizing images without distortion

A 1500 × 1000 photo that must be 900 pixels wide keeps its shape when 1500/1000 = 900/x, which gives a height of 600 pixels. This is the “proportion calculator image” problem designers solve daily.

Fuel range and unit prices

If a car went 280 miles on 8 gallons, then 280/8 = x/13 says 13 gallons should take it about 455 miles. Prices work the same way: if 5 pounds cost $7.25, then 12 pounds at that rate cost (7.25 × 12) ÷ 5 = $17.40.

Shadows and similar triangles

At the same time of day, a 6-foot person casting a 4-foot shadow and a tree casting an 18-foot shadow form a proportion: 6/4 = x/18, so the tree is 27 feet tall. Similar triangles in geometry rely on exactly this idea.

Common mistakes

  • Mismatched positions. If the first ratio is eggs/pancakes, the second must also be eggs/pancakes. Writing eggs/pancakes = pancakes/eggs gives a wrong answer that still looks reasonable.
  • Mixed units. Convert everything to the same unit first. Inches on one side and feet on the other breaks the proportion.
  • Inverse relationships. If 4 painters take 6 days, 8 painters don’t take 12 days. More workers means less time, so this is an inverse proportion (4 × 6 = 8 × x), not A/B = C/D.
  • Adding instead of multiplying. 2/3 and 4/5 are not equal just because you added 2 to each term. Equal ratios come from multiplying or dividing both terms by the same number.

Proportions, ratios and fractions

A proportion is built from ratios, and each ratio is a fraction. The ratio calculator simplifies ratios such as 18 : 24 to 3 : 4, the fraction calculator works with the fractions themselves, and the decimal calculator handles exact decimal arithmetic. Percent problems are proportions too: “15 is what percent of 60?” is 15/60 = x/100, which the percentage calculator answers directly.

  • Cross products: A × D and B × C in A/B = C/D. They are equal exactly when the proportion is true.
  • Means and extremes: older names for the inner terms (B and C) and outer terms (A and D) of A : B = C : D.
  • Constant of proportionality: the fixed ratio k in y = kx shared by every pair in a proportional relationship.

Worked examples

Finding the missing denominator

Solve 5/2 = 17.5/x: a photo enlarged from 5 × 2 in keeps its shape at 17.5 in wide.

Inputs: Solve for = D (second denominator); A = 5; B = 2; C = 17.5

Write the proportion: 5/2 = 17.5/x Cross-multiply: 5 × x = 2 × 17.5 5x = 35 x = 35 ÷ 5 = 7 Check: 5 ÷ 2 = 2.5 and 17.5 ÷ 7 = 2.5

Answer: 5/2 = 17.5/x gives x = 7.

Solving for the first numerator

A survey found 9 out of 24 people prefer tea. At the same rate, how many of 40 people? Solve x/40 = 9/24.

Inputs: Solve for = A (first numerator); B = 40; C = 9; D = 24

Write the proportion: x/40 = 9/24 Cross-multiply: x × 24 = 40 × 9 24x = 360 x = 360 ÷ 24 = 15 Check: 15 ÷ 40 = 0.375 and 9 ÷ 24 = 0.375

Answer: x/40 = 9/24 gives x = 15.

An answer that repeats

Solve 2/3 = x/10. The exact answer is 20/3, a repeating decimal.

Inputs: Solve for = C (second numerator); A = 2; B = 3; D = 10

Write the proportion: 2/3 = x/10 Cross-multiply: 3 × x = 2 × 10 3x = 20 x = 20 ÷ 3 = 6.666667…

Answer: 2/3 = x/10 gives x = 6.666667 (exactly 20/3).

Checking whether two ratios form a proportion

Is 6/14 equal to 9/21? Compare the cross products 6 × 21 and 14 × 9.

Inputs: Solve for = Check: is A/B = C/D true?; A = 6; B = 14; C = 9; D = 21

Write the proportion: 6/14 = 9/21 Cross-multiply: 6 × 21 = 126 and 14 × 9 = 126 The cross products are equal, so the two ratios are equal.

Answer: 6/14 = 9/21: the cross products are 126 and 126, so this is a true proportion.

Ratios that are not equal

Is 0.4/1.5 equal to 2/7? Decimals are cross-multiplied exactly.

Inputs: Solve for = Check: is A/B = C/D true?; A = 0.4; B = 1.5; C = 2; D = 7

Write the proportion: 0.4/1.5 = 2/7 Cross-multiply: 0.4 × 7 = 2.8 and 1.5 × 2 = 3 2.8 ≠ 3, so the two ratios are not equal.

Answer: 0.4/1.5 ≠ 2/7: the cross products are 2.8 and 3, so this is not a proportion.

Assumptions and limitations

  • The proportion is written as two fractions, A/B = C/D. B and D are denominators and can't be 0.
  • Any one term can be the unknown. Inputs can be negative, zero (except denominators) or decimals between −1,000,000,000,000 and 1,000,000,000,000.
  • Arithmetic is exact: decimals are converted to scaled whole numbers, so 0.1/0.3 = 1/3 is recognized as a true proportion.
  • Answers that end within 6 decimal places are shown exactly. Longer or repeating answers are rounded to 6 places, and the exact fraction is shown as well.
  • Solving for D needs nonzero A and C, and solving for B needs nonzero A and C, because otherwise no single value (or only 0, an invalid denominator) works.
  • This tool handles direct proportions. Inverse relationships, where one quantity goes up as the other goes down, need a different setup.

Frequently asked questions

How do you calculate a proportion?

Write the two ratios as fractions with matching units in matching positions, cross-multiply, and divide. For x/6 = 14/21, cross-multiplying gives 21x = 6 × 14 = 84, so x = 84 ÷ 21 = 4.

What is a proportion in math?

A proportion is an equation stating that two ratios are equal, such as 2/5 = 6/15. Its defining property is that the cross products are equal: 2 × 15 = 5 × 6 = 30.

How do I check if two ratios form a proportion?

Multiply each numerator by the other fraction's denominator. If the two products match, the ratios are equal. Choose "Check" in the Solve for menu and the proportion calculator compares the cross products exactly, even for decimals.

How is this different from the ratio calculator?

The ratio calculator solves A : B = C : ? with the unknown in the last place and simplifies ratios. This proportion calculator uses fraction form, lets the unknown be any of the four terms, shows the cross-multiplication steps and can test whether a proportion is true.

What is a proportional relationship?

Two quantities are proportional when their ratio never changes, so y = kx for a constant k. Gas cost and gallons bought are proportional at a fixed price per gallon. Any two pairs from a proportional relationship form a true proportion.

What are some real-life examples of proportions?

Scaling recipes, reading map scales, resizing photos without stretching them, estimating fuel range from miles per tank, comparing unit prices and finding heights from shadows all use proportions.

Is a proportion in statistics the same thing?

Not quite. In statistics, a sample proportion is a single fraction, the count with a trait divided by the total, such as 18 out of 60 = 0.3. This calculator solves equations between two ratios rather than estimating population proportions.

Sources

  1. Prealgebra 2e, 6.5 Solve Proportions and their Applications — OpenStax, Rice University. Checked October 10, 2026.