School and math

Proportion calculator

Type three of the four numbers in a/b = c/d and get the fourth, exactly, with the cross-multiplying steps: 4/10 = x/15 gives x = 6. Switch to Word problem to scale a recipe, a map or a price, including the kind where more of one means less of the other, or to Is it proportional? to test a table and find its constant.

Worked example

4/10 = x/15 → x = 6: 4 × 15 ÷ 10

Scale a cookie recipe from 24 to 60

  1. Name the two things that go together

    Cups of flour and cookies. Matching amounts sit in the same row: 3 cups with 24 cookies, then the 60 cookies you want to bake.

    Example 3 → 24
  2. Leave the amount you want empty

    The empty box is the one solved for: 3 × 60 ÷ 24 = 7.5 cups. The rate prints under it, 8 cookies to every cup.

    Example 7.5 cups
  3. Say which way they move

    Flour and cookies rise together. Painters and days don’t: 4 painters take 6 days, 8 painters take 3, not 12.

    Example 3 days
  4. Or solve the textbook form

    4/10 = x/15 gives x = 6, with the cross products 4 × 15 = 10 × 6 = 60 as the check.

    Example x = 6

Watch: 4 painters take 6 days, so how long do 8 take?

Recorded on this page by Jeremiah Say, 21 Nov 2026 · 3:03 · no sound, captions on screen

What the video shows, in words
  1. 0:00 12, 3 or 6 days? Guess first 4 painters take 6 days to paint a house. How long do 8 painters take?
  2. 0:11 Cross-multiplying gives 12 days 4/6 = 8/x gives x = 12. Twice the painters taking twice as long can’t be right.
  3. 0:23 Goes down: 3 days (inverse proportion) More painters, fewer days. The job is 24 painter-days, so 8 painters need 24 ÷ 8 = 3. The products stay equal, not the fractions.
  4. 0:45 Direct or inverse? Check first Workers and days, speed and travel time go opposite ways. Recipes, maps and prices go up together.
  5. 0:58 A recipe: 7.5 cups for 60 cookies 3 cups of flour make 24 cookies; more cookies, more flour at the same rate: 3/24 = x/60.
  6. 1:11 Speed: 4 hours at 45 mph A 3-hour drive at 60 mph takes 4 hours at 45 mph, not 2.25: 60 × 3 = 45 × 4 = 180.
  7. 1:23 4/10 = x/15, step by step Cross products: 4 × 15 = 10 × x, so 60 = 10x and x = 6. The check puts 6 back.
  8. 1:49 Is this table proportional? y = 2.5x Every y ÷ x is 2.5, the constant of proportionality k, so y = 2.5x.
  9. 2:05 Inversely proportional: x × y = 60 2 × 30, 3 × 20, 6 × 10: the products match, so y = 60/x.
  10. 2:24 Linear, not proportional (1, 5), (2, 7), (3, 9) is the line y = 2x + 3, but it doesn’t start at 0, so it isn’t proportional.
  11. 2:37 Checked against OpenStax A guitar string from Elementary Algebra 2e gives 572 vibrations per second; printed answers are re-run on each build.
  12. 2:50 Try yours Any a/b = c/d with the steps, word problems both ways, and the is-it-proportional test.

Watch on YouTube (opens in a new tab)

School and math: 26 more videos

How to solve a proportion

A proportion says two ratios are equal: a/b = c/d, where b and d are not 0. Read it as “a is to b as c is to d”. To find a missing number, cross-multiply: the two products across the diagonals are always equal, so a × d = b × c. Then divide the product you know by the number that sits across from the missing one.

410x15=4 × 15 = 6010 × x = 10x10x = 60, x = 6
Multiply along each line of the X. The solid line, 4 × 15, gives 60, so 10 times x is 60 too.
  • a/b = c/d means a × d = b × c
  • Missing a: a = b × c ÷ d
  • Missing b: b = a × d ÷ c
  • Missing c: c = a × d ÷ b
  • Missing d: d = b × c ÷ a

Why it works: multiply both sides of a/b = c/d by b and by d, and each fraction’s bottom cancels, leaving a × d = c × b. That is also why a proportion with 0 on the bottom has no meaning, and the calculator says so instead of answering.

2 1/2 is to 3 as x is to 4

Cross-multiply: 2 1/2 × 4 = 3 × x, so 10 = 3x and x = 10/3 = 3 1/3. As a decimal that is 3.333…, with the 3 repeating forever, which is why the calculator gives the fraction first: it is exact, and the rounded decimal is not.

Check any answer by putting it back: the two cross products must come out equal. The calculator does this as its last step, and if you fill in all four boxes it tells you whether they make a proportion at all.

Word problems: keep the rows straight

Most wrong answers come from the setup, not the arithmetic. Write the two kinds of quantity as two columns, put the amounts that go together in the same row, and the proportion writes itself: the first column over the second, in both rows. This is the ratio table US middle-school courses use, and it is the layout the calculator’s Word problem gives you.

ProblemKnown rowNew rowAnswer
A recipe makes 24 cookies with 3 cups of flour. Flour for 60?3 cups, 24 cookiesx cups, 60 cookies7.5 cups
A map scale is 1 inch to 25 miles. How far is 3 1/2 inches?1 inch, 25 miles3 1/2 inches, x miles87.5 miles
A 6 ft person casts a 4 ft shadow. A tree’s shadow is 30 ft.6 ft tall, 4 ft shadowx ft tall, 30 ft shadow45 ft tall
12 oz costs $4.50. What would 20 oz cost at that rate?12 oz, $4.5020 oz, $x$7.50
Each row worked out by the calculator. The shadow problem works because the sun’s rays make similar triangles: matching sides are in proportion.

The price row helps decide a deal. At the small pack’s rate, 20 oz should cost $7.50, or $0.375 an ounce. If the big pack is on the shelf at $6.99, that is about $0.350 an ounce, so it is cheaper per ounce. The calculator prints the rate both ways (per ounce and per dollar) under every word-problem answer.

Direct or inverse? Check before you cross-multiply

A proportion only fits when both amounts grow together at the same rate. Four painters take 6 days to paint a house; how long do 8 painters take? Cross-multiplying gives 12 days, which is wrong: twice the painters should take half the time, 3 days. Here the amounts move in opposite directions, so the products stay equal instead of the ratios: 4 × 6 = 8 × x. That is inverse variation.

When one goes up, the other…ExamplesWhat stays the same
goes up at the same rate (direct)ingredients and servings, map inches and miles, price and quantity, hours worked and paythe ratio, a/b = c/d
goes down (inverse)workers and days, speed and travel time, a guitar string’s length and its pitchthe product, a × b = c × d
changes, but not in step (neither)a taxi fare with a fixed starting charge, age and heightnothing: no proportion fits
Direct and inverse variation as OpenStax Elementary Algebra 2e §8.9 defines them.

In the calculator, set When one goes up, the other to Goes down for an inverse problem. It then shows what the direct setup would have given (12 for the painters), so you can see the slip. A car travelling 3 hours at 60 mph covers a distance that takes 4 hours at 45 mph, by the same rule.

Is it proportional? Tables, graphs and the constant k

Two quantities are proportional when y ÷ x gives the same number for every pair. That number is the constant of proportionality, k (also called the unit rate), and the relationship is y = kx. US Grade 7 standards ask students to “decide whether two quantities are in a proportional relationship” and to “identify the constant of proportionality (unit rate) in tables, graphs, equations, diagrams, and verbal descriptions” (Common Core 7.RP.A.2).

The calculator’s starting table, (2, 5), (4, 10), (6, 15), divides to 2.5 every time, so k = 2.5 and y = 2.5x. On a graph that is a straight line through (0, 0), the origin, and k is its slope. The point (1, k) is the unit rate: one x gives k of y. For a line from two points that may not pass through the origin, the slope calculator gives the slope and the equation.

Two traps. A straight line that misses the origin is linear but not proportional: (1, 5), (2, 7), (3, 9) lie on y = 2x + 3, but the ratios are 5, 3.5 and 3, so there is no single k. And a table where x × y stays the same, such as (2, 30), (3, 20), (6, 10), is inversely proportional: y = 60/x, a curve, not a line. The calculator names all three cases and draws the graph.

Percent problems as proportions

Any percent question is a proportion with 100 in it: part/whole = percent/100. “What number is 45% of 80?” is x/80 = 45/100, so x = 36. “What percent of 72 is 9?” is 9/72 = x/100, so x = 12.5%. Type them into a/b = c/d the same way; the % sign can be left on. For percent change and percent off, the percentage difference calculator and the percent off calculator are quicker.

Common mistakes

  • Rows flipped. 3 cups/24 cookies = 60 cookies/x cups mixes the columns and gives 480 cups. Keep the same quantity on top on both sides.
  • Units mixed. 30 minutes on one side and 2 hours on the other. Change one so both rows use the same unit first.
  • An inverse problem solved as direct. More workers, fewer days: 12 days instead of 3. Ask whether doubling one should double or halve the other.
  • A fixed charge ignored. If a delivery costs $5 plus $2 a mile, 10 miles is not twice 5 miles. Take the fixed part off before using a proportion.

OpenStax’s proportion answers, re-run

OpenStax’s free Prealgebra 2e and Elementary Algebra 2e print worked proportion problems with their answers, from checking cross products to percent questions and inverse variation. Each one goes into this calculator’s solver with the book’s numbers, the direct or inverse setting matching the book, and the page build stops if an answer differs. Three solved examples in Prealgebra 6.42 to 6.44 print their answers only inside images, so they are tested in our own code rather than listed here. Last run 21 November 2026.

ExampleWhere it’s printedOpenStax’s answerThis calculator
Is 4/9 = 12/28 a proportion?Prealgebra 2e, Example 6.41(a)Not a proportion: 112 ≠ 108Not a proportion: 112 ≠ 108
Is 17.5/37.5 = 7/15 a proportion?Prealgebra 2e, Example 6.41(b)A proportion: 262.5 = 262.5A proportion: 262.5 = 262.5
120 calories a serving, 3.5 servingsPrealgebra 2e, Example 6.46420 calories420 calories
$1 = 12.54 pesos; $325 in pesosPrealgebra 2e, Example 6.474075.5 pesos4075.5 pesos
What number is 45% of 80?Prealgebra 2e, Example 6.513636
125% of 25 is what number?Prealgebra 2e, Example 6.5231.2531.25
Show the other 5 checks
ExampleWhere it’s printedOpenStax’s answerThis calculator
6.5% of what number is $1.56?Prealgebra 2e, Example 6.53$24$24
What percent of 72 is 9?Prealgebra 2e, Example 6.5412.5%12.5%
315 calories in 18 minutes; calories in 25 (direct)Elementary Algebra 2e, Example 8.87437.5 calories437.5 calories
26 mpg at 3100 lb; mpg at 4030 lb (inverse)Elementary Algebra 2e, Example 8.9120 mpg20 mpg
440 vibrations at 26 in; at 20 in (inverse)Elementary Algebra 2e, Example 8.92572 vibrations per second572 vibrations per second

Questions

What is the difference between a ratio and a proportion?

A ratio compares two numbers, such as 3 : 4 or 3/4. A proportion is an equation that says two ratios are equal, such as 3/4 = 9/12. You solve a proportion; you simplify or scale a ratio.

Can I cross-multiply when there is more than one term on a side?

Only when each side is a single fraction. In (x + 2)/5 = 3/4 you can, giving 4(x + 2) = 15. In x/5 + 1 = 3/4 you can’t: combine the left side into one fraction first, or let the algebra calculator solve it with every step.

Why is my answer a repeating decimal?

Because the exact answer is a fraction whose bottom has a factor other than 2 or 5. 1/3 = x/7 gives x = 7/3 = 2.333…. Keep the fraction, 2 1/3, for an exact answer, and round only at the end. The fraction to decimal converter shows why a fraction repeats and where the repeat starts.

Does it matter which way up I write the proportion?

No, as long as both sides match. 3/24 = x/60 and 24/3 = 60/x give the same x. What breaks it is mixing them: cups over cookies on one side and cookies over cups on the other.

Sources

How sources are chosen and checked: editorial policy · these sources in the library, with the other tools that use them

Scroll to Top