Proportion Calculator
Solve direct proportions, where both quantities rise together, and inverse proportions, where one rises as the other falls. Choose the relationship, enter three values, and leave the unknown box empty.
- Direct proportion: A / B = C / D, so A × D = B × C.
- Substitute known values: 3 × D = 4 × 6.
- Calculate the cross product: 3 × D = 24.
- Divide both sides by 3: D = 24 ÷ 3 = 8.
Direct or Inverse? How to Tell
Picking the wrong relationship is the most common reason a proportion gives a believable but wrong answer. Use the doubling test: imagine doubling the first quantity and ask what happens to the second.
Direct proportion: it doubles too
The two quantities rise and fall together, so their ratio stays the same: y / x = k. In any true proportion A : B = C : D, the product of the extremes equals the product of the means:
Examples: distance and fuel used, ingredients and servings, money in two currencies at a fixed rate.
Inverse proportion: it halves
One quantity rises as the other falls, so their product stays the same: x × y = k. Write each situation as a product:
Examples: workers and days to finish a job (at the same work rate), speed and travel time over a fixed distance.
Setting Up a Proportion from a Word Problem
- Find the two quantities that change together, and write their units down.
- Apply the doubling test to decide between direct and inverse.
- Keep the same order on both sides. If the left side is pages : minutes, the right side must be pages : minutes too.
- Check the answer makes sense. More pages should take more time; more workers should take less.
Example: a printer prints 45 pages in 3 minutes. How long for 120 pages?
Doubling the pages doubles the time, so the relationship is direct. Enter A = 45, B = 3, C = 120 and leave D empty.
45 : 3 = 120 : D → 45 × D = 3 × 120 = 360 → D = 8 minutes
Worked Practical Examples
Direct proportions
Fuel Efficiency
A car travels 150 miles on 5 gallons. How many gallons for 360 miles?
150x = 1800
x = 12 gallons
Currency Exchange
Using an example rate of 1 USD = 0.92 EUR (real rates change daily), how many euros is 450 USD?
1x = 450 × 0.92
x = 414.00 EUR
Tree Height by Shadow
A 6 ft person casts a 4 ft shadow. A tree casts a 28 ft shadow.
4h = 168
h = 42 ft tree height
Inverse proportions
Workers and Days
4 people paint a fence in 6 days. Working at the same rate, how long would 3 people take? Choose Inverse, enter A = 4, B = 6, C = 3.
24 = 3D
D = 8 days
Speed and Time
A trip takes 3 hours at 60 km/h. How long does the same trip take at 90 km/h? Choose Inverse, enter A = 60, B = 3, C = 90.
180 = 90D
D = 2 hours
Common mistake: treating an inverse problem as direct
Setting up the fence problem as 4 : 6 = 3 : D gives D = 4.5 days, which says fewer people finish sooner. When an answer moves in the wrong direction like this, switch to the inverse relationship.
Units, Rounding and Checking Your Answer
Use the same units on both sides. The calculator works with plain numbers, so convert before you enter anything. A cyclist rides 2 km in 15 minutes; how far do they ride in 1.5 hours at the same speed? Convert 1.5 hours to 90 minutes first: 2 : 15 = D : 90, so D = 2 × 90 ÷ 15 = 12 km. Entering 1.5 instead of 90 gives 0.2 km, which is clearly far too small.
Round only at the end. If 7 notebooks cost $10, then 12 notebooks cost 10 × 12 ÷ 7 = $17.142857…, or $17.14. Rounding the price of one notebook to $1.43 first gives 12 × $1.43 = $17.16, two cents too much. Solving the proportion directly avoids this.
Check with the cross products. For a direct proportion, the two cross products should match: in the cycling example, 2 × 90 = 180 and 15 × 12 = 180. For an inverse proportion, the two products should match instead: a trip of 3 hours at 60 km/h takes 2 hours at 90 km/h, and 60 × 3 = 90 × 2 = 180. If the numbers do not match, recheck the order of the values and the units.
Related Mathematical Utilities
Explore connected tools for ratio scaling, simplification, and conversion:
Ratio Calculator
Proportion, simplify, and scale in one tool, with a results breakdown.
Ratio Scaling
Scale quantities by multiplier factor.
Ratio Simplifier
Reduce ratios to lowest integer terms.
Proportion Guide
In-depth mathematical guide with practice problems.
Frequently Asked Questions
How does cross-multiplication solve proportion equations?
Cross-multiplication equates the product of the extremes (A × D) to the product of the means (B × C). If any single variable is unknown, you divide the cross-product by the remaining known term (e.g., D = (B × C) / A).
What is the difference between a direct proportion and an inverse proportion?
In a direct proportion (A/B = C/D), when one variable increases, the other increases proportionally (e.g., speed and distance at fixed time). In an inverse proportion (A × B = C × D), when one variable increases, the other decreases (e.g., number of workers vs hours to complete a job).
How do I know which one to use?
Ask what happens to the second quantity if you double the first. If it doubles too, the relationship is direct. If it halves, it is inverse. If it does neither (for example, a taxi fare with a fixed starting charge), the relationship is not a proportion and neither equation will give a correct answer.
How do I check whether two ratios are proportional?
Fill in all four boxes. In direct mode the calculator compares A × D with B × C; in inverse mode it compares A × B with C × D. If the two products are equal, the values are proportional. For example, 4 : 6 and 10 : 15 are proportional because 4 × 15 = 60 and 6 × 10 = 60.
What happens if a value is zero?
Division by zero is undefined, so the calculator shows a message instead of an answer when solving would mean dividing by zero, or when one side would become 0 : 0. In inverse mode every quantity must be non-zero, because a product of zero cannot describe a real inverse relationship.
Can I use decimals or different units in the proportion calculator?
Decimals work in every box. The calculator does not know about units, though, so put both sides in the same units before you enter them. For 2 km in 15 minutes compared with an unknown distance in 1.5 hours, enter the time as 90 minutes, not 1.5.