Loading…

Calculators01.03

Rule of Three Calculator

Solve direct and inverse proportions: enter three known values and get the missing fourth, with the formula worked out for you.

Back to Calculators
Type of proportion

When one quantity goes up, so does the other (more pounds → higher price).

…goes with x

?

This runs entirely in your browser. We don’t store any data.

Result

Enter the three values you know to find x.

How to use it

  1. 01

    Choose whether the proportion is direct or inverse.

  2. 02

    Enter the pair of values you already know: A and the value B that goes with it.

  3. 03

    Enter the third value, C. The calculator finds x, the value that goes with C.

  4. 04

    Below that you’ll see the answer written out as a sentence, plus the formula used.

How it works

The rule of three solves proportions between two quantities. You set it up like this: “If A goes with B, what goes with C?” It’s the same as cross-multiplying two equal ratios.

In a direct proportion, both quantities rise together (price and quantity, or distance and time at a steady speed). A ÷ B = C ÷ x, so x = B × C ÷ A.

In an inverse proportion, when one rises the other falls by the same factor (workers and days, or speed and travel time). A × B = C × x, so x = A × B ÷ C.

Before you calculate, ask yourself: if the first quantity goes up, does the second go up or down? Up means direct, down means inverse.

Examples

  • Price by weight (direct)

    If 3 lb of apples cost $4.50, then 5 lb cost 4.50 × 5 ÷ 3 = $7.50.

  • Workers and days (inverse)

    If 4 painters take 6 days to paint a house, 3 painters will take 4 × 6 ÷ 3 = 8 days.

  • Finding a percentage

    If 120 is 100%, then 30 is 100 × 30 ÷ 120 = 25%.

  • Scaling a recipe

    If a recipe for 4 people calls for 2 cups of rice, 6 people need 2 × 6 ÷ 4 = 3 cups.

  • Gas for a road trip

    If 12 gallons get you 360 miles, a 540-mile trip takes 12 × 540 ÷ 360 = 18 gallons.

Frequently asked questions

How do I tell direct from inverse?

Picture what happens if you double the first quantity. If the second one doubles too, it’s direct. If it gets cut in half, it’s inverse.

What about problems with more than two quantities?

That’s a compound rule of three, for example workers, hours per day and days. You can solve it by chaining simple rules of three, one quantity at a time.