GlobalFree to use

Rule of three calculator: direct and inverse proportion

Solve proportion problems: if a gives b, what does c give? Choose direct proportion (more of one means more of the other) or inverse proportion (more workers, fewer days).

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Input

Tip: press Ctrl + Enter to run

Your result

Your result will appear here.

About this tool

The rule of three answers a classic question: if a corresponds to b, what corresponds to c? It covers scaling a recipe, working out a price for a different weight, converting a map distance or estimating how long a job takes with more people. Choose direct proportion when both amounts grow together and inverse proportion when one grows as the other shrinks.

How to use it

  1. Enter the known pair as a and b, for example 3 kg and a price of 4.50.
  2. Enter the new amount as c, in the same unit as a (7 kg in the price example).
  3. Pick direct proportion if more c means more x, or inverse proportion if more c means less x, such as more workers needing fewer days.
  4. Run it to get x, the calculation that produced it and a check you can read back.

How the calculation works

For direct proportion the ratio stays the same, a : b = c : x, so x = b × c ÷ a. For inverse proportion the product stays the same, a × b = c × x, so x = a × b ÷ c. The check line prints that equality with your numbers so you can see why the answer is right. Numbers are shown with up to six decimal places.

direct: x = b × c ÷ a; inverse: x = a × b ÷ c

Worked example

Four painters take six days to paint a school. With eight painters working at the same pace, the job should take 4 × 6 ÷ 8 = 3 days. This is inverse proportion, because doubling the crew halves the time. With direct proportion the same numbers would wrongly give 12 days.

Sample input and result

3 kg cost 4.50, so 7 kg cost 4.50 × 7 ÷ 3 = 10.50

Limitations

  • It assumes a perfect proportion. Bulk discounts, fixed fees, set-up time or people getting in each other’s way all break that assumption.
  • Only one unknown and one pair of known values; compound problems with several factors need to be split into steps.

Last updated:

Frequently asked questions

When should I use inverse proportion?

Use it when more of one thing means less of the other, such as 4 painters needing 6 days, so 8 painters need 3 days.

What do a, b and c mean?

a and b are the known pair (3 kg costs 4.50), c is the new amount (7 kg) and x is the answer that belongs to c.

How do I know if a problem is direct or inverse?

Ask what happens to the answer if c doubles. If x doubles too, it is direct. If x halves, it is inverse. Prices, ingredients and distances on a map are direct; workers and time, or speed and travel time, are usually inverse.

Does the order of a and b matter?

Yes. a and c must be the same kind of quantity (both weights, both numbers of workers), and b is the value that goes with a.

Can I use it for percentages?

Yes. If 40 is 100%, then 18 is 18 × 100 ÷ 40 = 45%. Enter a = 40, b = 100, c = 18 with direct proportion, or use the percentage calculator.

Troubleshooting

It says the value cannot be 0.

Direct proportion divides by a and inverse proportion divides by c, so that value must not be zero.

The answer looks far too big or small.

You probably chose the wrong type of proportion, or swapped a and b. Read the check line: it should describe your situation.

My units do not match.

Convert first so a and c use the same unit, for example both in kilograms, with the mass converter.

Privacy & Free to use

Are my inputs stored?

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Is this tool free?

Yes. No signup or payment is required.

Processed in your browser

Useful next steps