Rule of Three Calculator: Solve Direct and Inverse Proportions Step by Step

Math

Rule of Three Calculator: Solve Direct and Inverse Proportions Step by Step

Published: November 12, 2026
Updated: November 12, 2026

A rule of three calculator solves one of the most common problems in everyday math: you know three values and need to find a fourth that keeps the same relationship. If 3 notebooks cost 7.50, how much do 8 cost? If 4 workers need 12 days, how long will 6 workers take? The rule of three answers both questions with a single operation, and once you understand the logic, you can do it in your head or check any online result with confidence.

What is the rule of three and when does it work

The rule of three is a method for solving proportions. It links two quantities that change together in a predictable way. You place three known values in a small table, and the fourth, called x, is found by cross-multiplying and dividing.

It only works when the relationship between the two quantities is constant. That means one of two things:

  • Direct proportion: when one quantity goes up, the other goes up by the same factor. Double the quantity, double the result.
  • Inverse proportion: when one quantity goes up, the other goes down by the same factor. Double the workers, half the time.

If the relationship is not constant, for example a price with volume discounts or a speed that changes along the route, the rule of three gives a misleading answer.

Rule of three formula for direct proportion

Set up the problem like this: a corresponds to b, and c corresponds to x.

x = (b × c) / a

In words: multiply the two values that are diagonal to each other (b and c), then divide by the value that sits opposite x (a).

Step-by-step method for a direct rule of three

  1. Write the two quantities as columns, keeping the same unit in each column.
  2. Put the known pair on the first row (a and b).
  3. Put the new known value and the unknown x on the second row (c and x).
  4. Multiply b by c.
  5. Divide the result by a.
  6. Check that the answer makes sense: more input should give more output.

Example 1: cost of notebooks

Three notebooks cost 7.50. How much do 8 notebooks cost?

NotebooksCost
37.50
8x

x = (7.50 × 8) / 3 = 60 / 3 = 20.

Eight notebooks cost 20. You can verify it by finding the unit price: 7.50 / 3 = 2.50 per notebook, and 2.50 × 8 = 20.

Example 2: fuel for a trip

A car uses 9 liters to travel 120 km. How many liters does it need for 350 km at the same consumption?

x = (9 × 350) / 120 = 3,150 / 120 = 26.25 liters.

The trip is almost three times longer than 120 km, and 26.25 is almost three times 9, so the result is consistent.

Rule of three formula for inverse proportion

In an inverse relationship, the products of each pair stay equal: a × b = c × x. Solving for x gives:

x = (a × b) / c

The difference from the direct version is that you multiply the values on the same row (a and b) and divide by the new value c.

Example 3: workers and days

Four workers finish a job in 12 days. How many days will 6 workers need, assuming they all work at the same pace?

x = (4 × 12) / 6 = 48 / 6 = 8 days.

More workers means fewer days, so a result lower than 12 is correct.

Example 4: speed and travel time

At 60 km/h a trip takes 5 hours. How long will it take at 75 km/h?

x = (60 × 5) / 75 = 300 / 75 = 4 hours.

Higher speed, shorter time. The total distance, 300 km, is the constant that stays the same in both cases.

How to tell if a problem is direct or inverse

The most frequent mistake is using the wrong version of the formula. Ask yourself one question: if the first quantity increases, what should happen to the second?

SituationTypeReason
Items bought and total priceDirectMore items cost more
Distance and fuel usedDirectLonger trips burn more fuel
Recipe servings and ingredient amountDirectMore servings need more food
Workers and days to finishInverseMore people reduce the time
Speed and travel timeInverseFaster travel takes less time
Pipes filling a tank and filling timeInverseMore pipes fill it sooner

If you are unsure, test with an extreme case. Doubling the workers clearly cannot double the days, so that problem is inverse.

How to use a rule of three calculator online

A calculator removes the risk of arithmetic slips, especially with decimals and large numbers. On Calculatorr you can work through the same steps you would follow by hand:

  1. Choose whether the relationship is direct or inverse.
  2. Enter the first known pair of values (a and b).
  3. Enter the third known value (c).
  4. Read the value of x and compare it with your expectation.

Use the calculator as a check, not as a replacement for judgment. If the result goes in the opposite direction from what common sense suggests, you probably selected the wrong type of proportion or swapped two values.

Compound rule of three with more than two quantities

Some problems involve three or more variables. The compound rule of three solves them by applying one factor at a time. For each variable, decide whether it is direct or inverse relative to the unknown, then multiply the original result by the corresponding ratio.

Example 5: machines and hours

Five machines produce 400 parts in 8 hours. How many parts do 8 machines produce in 10 hours?

  • Machines: more machines, more parts (direct). Ratio 8/5 = 1.6.
  • Hours: more hours, more parts (direct). Ratio 10/8 = 1.25.

x = 400 × 1.6 × 1.25 = 800 parts.

Example 6: wall construction

Six workers build 120 m of wall in 10 days. How many days do 9 workers need to build 180 m?

  • Length of wall: more wall needs more days (direct). Ratio 180/120 = 1.5.
  • Workers: more workers need fewer days (inverse). Ratio 6/9 = 0.6667.

x = 10 × 1.5 × 0.6667 = 10 days.

The extra workers exactly offset the extra length of wall, so the time stays the same.

Using the rule of three to find percentages

Percentages are a direct proportion in disguise, where 100% corresponds to the whole amount. This makes the rule of three a reliable way to solve them.

What is 18% of 250?

250 corresponds to 100%, and x corresponds to 18%. So x = (250 × 18) / 100 = 45.

45 is 30% of which number?

45 corresponds to 30%, and x corresponds to 100%. So x = (45 × 100) / 30 = 150.

The same setup works for discounts, tips, tax and grade conversions. If you need more precision or want to compare several values quickly, the tools on Calculatorr cover these percentage cases as well.

Common mistakes when applying the rule of three

  • Mixing units. If one column uses minutes and the other hours, convert before calculating. Otherwise the result will be off by a factor of 60.
  • Using direct instead of inverse. Always run the direction test before multiplying.
  • Misplacing x. The unknown must sit on the same row as the new known value, and in the same column as the quantity you want to find.
  • Assuming a constant rate that does not exist. Prices with tiers, speeds that change or work that gets less efficient with more people break the proportional assumption.
  • Rounding too early. In compound problems, keep full decimals until the last step, then round the final answer.
  • Ignoring the context. A result of 3.4 workers is mathematically valid but practically you need 4. Round according to what the quantity represents.

How to check and interpret your result

A quick review takes a few seconds and prevents most errors.

  1. Direction check: in a direct problem, if the new value is larger than the original, x should be larger than its counterpart. In an inverse problem, x should be smaller.
  2. Unit rate check: in direct problems, divide b by a to get the rate per unit, then multiply by c. You should obtain the same x.
  3. Constant product check: in inverse problems, a × b should equal c × x.
  4. Magnitude check: if the new value is roughly double, the result should be roughly double or half, depending on the type.

The result tells you what the quantity would be if the relationship stayed exactly proportional. It is an estimate based on that assumption, so treat it as reliable only as long as the conditions do not change.

Practical uses of the rule of three in daily life

AreaTypical questionType
CookingA recipe for 4 uses 300 g of flour. How much for 10 people?Direct
ShoppingIf 500 g costs 3.20, what does 750 g cost?Direct
TravelHow long does a 240 km trip take at 80 km/h versus 100 km/h?Inverse
CurrencyIf 1 unit equals 0.92 of another currency, how much are 350 units?Direct
Maps and scaleIf 2 cm on a map equals 10 km, what distance is 7.5 cm?Direct
Project planningHow many days if the team grows from 5 to 8 people?Inverse

For the recipe example: x = (300 × 10) / 4 = 750 g of flour. For the map: x = (10 × 7.5) / 2 = 37.5 km.

Be careful with sensitive cases such as medication doses. Dose problems usually rely on specific clinical rules, so use the formula provided by a professional rather than a simple proportion.

When to use a rule of three calculator instead of doing it by hand

Mental math is enough for round numbers, such as doubling a recipe or finding half of a price. A calculator is the better choice when values include decimals, when you compare several scenarios or when the stakes are higher, as in budgets, material estimates or exchange operations.

A good habit is to solve the problem manually first, then confirm it with a calculator. That way you build the intuition to spot impossible results, and you can trust the figure you finally use. Explore more tools for proportions, percentages and conversions at Calculatorr to keep your calculations quick and accurate.

Why Choose Calculatorr.com?

We're dedicated to providing the most accurate, easy-to-use calculators for all your needs.

100% Free

All of our calculators are completely free to use, no hidden fees or subscriptions.

Private & Secure

Your data never leaves your browser. We don't store any of your calculations.

Mobile Friendly

Use our calculators on any device - desktop, tablet, or smartphone.