Proportion Calculator

This proportion calculator solves A/B = C/D when one of the four values is missing. Leave the unknown box blank, type the other three as whole numbers, decimals or fractions, and you'll get the exact answer with the cross-multiplication check. Fill all four to test whether two ratios are equal.

Calculation and content reviewed by EZ Calculators Editorial Team on .

Enter values

Choose equivalent ratios, direct proportion, or inverse proportion. Leave exactly one term blank to solve it, or complete all four terms to verify the relationship with exact product checks.

Build the scenario below, then calculate for a complete result report.

Runs in your browser
Choose the proportional relationship
RelationshipA / B = C / D

First ratio

Keep A in the same quantity position as C. Leave exactly one term blank when solving.
B is the first ratio denominator and cannot equal zero.

Second ratio

Keep C in the same quantity position as A.
D is the second ratio denominator and cannot equal zero.
Controls rounded decimal displays only; the fraction and product checks remain exact.
Corresponding positions must represent the same quantitiesExact fractions are solved first; decimal precision changes display only.
The calculator accepts signed integers, terminating decimals, fractions such as 3/4, and bounded scientific notation such as 1.2e3. It cannot infer labels or units, and inverse mode is valid only when the real relationship keeps a constant product.

How do you solve a proportion?

Cross multiply, then divide. In A/B = C/D, the products A x D and B x C are always equal. Multiply the two numbers diagonal to each other and divide by the number left over. For 3/4 = 9/x, 4 x 9 = 36, and 36 / 3 = 12, so x = 12. Check: 3 x 12 = 4 x 9.

How to use the proportion calculator

Pick a relationship type first. Equivalent ratios is the classic A/B = C/D. Direct proportion and Inverse proportion relabel the boxes as two (x, y) pairs. Then fill in three values and leave the one you want blank. It can be any of the four.

Each box takes a whole number, a decimal, a fraction like 3/4, or scientific notation like 1.2e3. The answer comes back as an exact fraction first, then as a decimal rounded to the precision you pick.

  1. Choose Equivalent ratios, Direct proportion or Inverse proportion.
  2. Label the quantities for yourself so matching ones sit in matching boxes.
  3. Type three values and leave exactly one box blank. Fill all four to run a check instead.
  4. Press Solve proportion.
  5. Read the exact answer, then confirm the two cross products match.

Solve proportions with cross multiplication

Two ratios are equal exactly when their cross products are equal. So A/B = C/D becomes A x D = B x C, an ordinary equation you can solve for whichever letter is missing. That's all a cross multiplication calculator does, and this one works with the blank in any position.

For 3/4 = 9/D, cross multiplying gives 3D = 36, so D = 12. For A/6 = 5/9, you get 9A = 30, so A = 10/3. The calculator keeps 10/3 as the answer and shows 3.333333 separately, so a rounded decimal never replaces the exact value.

Formula guide
  • A / B = C / D means A x D = B x C (B and D can't be 0)
  • Missing A = (B x C) / D
  • Missing B = (A x D) / C
  • Missing C = (A x D) / B
  • Missing D = (B x C) / A

Setting up a word problem

Most wrong answers come from the setup, not the arithmetic. Keep the same kind of quantity in both top boxes and the same kind in both bottom boxes. If A is dollars, C is dollars. If B is items, D is items.

Put both sides in the same units, too. A map scale written in centimeters per kilometer has to stay centimeters over kilometers on both sides.

How to line up common proportion problems
ProblemTop boxes (A and C)Bottom boxes (B and D)Example
Price for a quantityCostNumber of items$6/2 = $15/5
Map scaleMap distanceReal distance2 cm/5 km = 8 cm/20 km
Similar shapesSide on shape 1Matching side on shape 23/5 = 9/15
PercentPartWhole18/60 = 30/100
RecipeIngredient amountBatches2 cups/1 batch = 6 cups/3 batches

Checking whether two ratios are proportional

Fill in all four boxes and the calculator becomes a proportion checker. It multiplies across both ways and says Proportional only if the two products match exactly. For 4/9 and 12/27, both products are 108, so they're equal. For 4/9 and 12/28, you get 112 and 108, so they aren't.

When the values come from measurements, an exact match is rare. The calculator shows how far apart the products are, but it won't decide for you how close counts as close enough. That depends on how precise the measurements were.

Direct and inverse proportion

In a direct proportion, both values grow together and their ratio stays fixed: y = kx. If 3 notebooks cost $7.50, the constant k is $2.50 per notebook, so 8 notebooks cost $20. Direct mode shows k for both pairs so you can see they match.

In an inverse proportion, one goes up as the other goes down and their product stays fixed: y = k / x. A job of 240 worker-hours takes 6 people 40 hours, or 10 people 24 hours, because 6 x 40 and 10 x 24 both equal 240. Inverse mode checks the products instead of the cross products.

Real life bends both rules. A delivery fee breaks a direct price model, and adding workers stops cutting time once they get in each other's way. Use the model only while one constant holds.

Formula guide
  • Direct: y = kx, so y1 / x1 = y2 / x2
  • Inverse: y = k / x, so x1 x y1 = x2 x y2
Direct (k = 2.5) and inverse (k = 240) examples
xDirect y = 2.5xInverse y = 240 / x
37.580
61540
82030
102524
123020

Worked proportion examples

Each row shows the equation the calculator builds and the check it runs on the answer.

Proportion examples with checks
Mode and inputEquationAnswerCheck
Equivalent: 3/4 = 9/D3D = 4 x 9D = 123 x 12 = 4 x 9 = 36
Equivalent: A/6 = 5/99A = 30A = 10/39 x 10/3 = 30
Check: 4/9 and 12/274 x 27 vs 9 x 12Proportional108 = 108
Check: 4/9 and 12/284 x 28 vs 9 x 12Not proportional112 vs 108
Direct: (3, 7.5) and (8, y)y / 8 = 7.5 / 3y = 20Both constants are 2.5
Inverse: (6, 40) and (10, y)6 x 40 = 10yy = 24Both products are 240

Zeros, fractions and decimals

B and D can't be zero in A/B = C/D, because you can't divide by zero. A top value can be zero, but it can leave the missing value with no answer or with infinitely many. The calculator tells you which instead of guessing.

Decimals are taken exactly as typed. 0.75 becomes 3/4, but 0.33 means 33/100, not one third. If you mean a third, type 1/3.

Sources

FAQ

How do you find x in a proportion?

Cross multiply and divide by the number next to x. In 5/x = 15/12, 15x = 60, so x = 4. Check it: 5 x 12 and 4 x 15 both equal 60.

Can x be in any position?

Yes. Leave any one of A, B, C or D blank. The formula changes with the position: a missing A is (B x C) / D, while a missing D is (B x C) / A.

What's the difference between a ratio and a proportion?

A ratio compares two amounts, like 3:4. A proportion is an equation saying two ratios are equal, like 3/4 = 9/12.

How do I solve a percent problem with a proportion?

Set part over whole equal to percent over 100. For 18 out of 60, 18/60 = P/100, which gives P = 30, so it's 30%.

Is speed and travel time a direct or inverse proportion?

Inverse, for a fixed distance. Driving 240 miles takes 4 hours at 60 mph and 3 hours at 80 mph, because 60 x 4 and 80 x 3 both equal 240.

Can I enter fractions in the proportion calculator?

Yes. Type them with a slash, like 3/4 or -5/8. Decimals and scientific notation such as 1.2e3 also work, and every value is turned into an exact fraction before solving.

Why can't B or D be zero?

They're denominators, and dividing by zero is undefined. A ratio like 5/0 has no value, so it can't be equal to anything.