Rule of Three Calculator

If A corresponds to B, what corresponds to C? Enter the three known numbers and choose direct or inverse proportion to find the fourth.

  • Runs on your device
  • Keyboard-first
  • Free, no sign-up
Type of proportion

Known pair: A gives B

New value

x (the unknown)

—

Formula used
—
Rate per unit / constant product
—

Calculated on your device. Nothing you type is sent anywhere.

Cite
APA: Mr. Behairy. (2026). Rule of Three Calculator. Anubis Calc. https://calculatoranubis.com/en/rule-of-three-calculator
MLA: Mr. Behairy. "Rule of Three Calculator." Anubis Calc, 2026, https://calculatoranubis.com/en/rule-of-three-calculator.
Embed

Copy this snippet to embed this calculator on your site or blog for free:

<iframe src="https://calculatoranubis.com/en/embed/rule-of-three-calculator" width="100%" height="520" style="border:0;border-radius:18px" loading="lazy" title="Rule of Three Calculator"></iframe>
<p><a href="https://calculatoranubis.com/en/rule-of-three-calculator" rel="noopener">Rule of Three Calculator — Anubis Calc</a></p>

How it works

The rule of three solves any problem with four quantities where three are known and the relationship is proportional. It is the method behind recipe scaling, unit prices, currency conversion at a known rate, map scales and many exam questions.

Direct proportion — “more gives more”

When one quantity doubles, the other doubles too: the ratio B ÷ A stays the same.

A → B, C → x  ⇒  x = B × C ÷ A

Worked example (direct). 3 kg of rice cost 45. How much do 7 kg cost? x = 45 × 7 ÷ 3 = 105. The price per kg is 45 ÷ 3 = 15, and 7 × 15 = 105.

Worked example (inverse). 4 workers finish a job in 6 days. How long do 3 workers take? x = 4 × 6 ÷ 3 = 8 days — fewer workers, more days.

Inverse proportion — “more gives less”

When one quantity doubles, the other halves: the product A × B stays the same. Typical cases are workers and time, speed and travel time, or the number of people sharing a fixed amount.

A × B = C × x  ⇒  x = A × B ÷ C

How to tell which one to use

  • Ask: if the first quantity grows, does the second grow (direct) or shrink (inverse)?
  • Keep units consistent: if A is in kilograms, C must be in kilograms too.
  • Check the answer for sense: buying more should cost more; more workers should take less time.

Comparing two pack sizes? The unit price calculator does that directly. For percentages, which are proportions out of 100, use the percentage calculator.

Sources & assumptions

Strictly proportional relationships; the divisor (A for direct, C for inverse) must not be zero.

Reviewed by: Mr. Behairy (Accountant, Financial Auditor & Tax Specialist) · Editorial policy · Formulas reviewed:

Frequently asked questions

What is the rule of three?

A method for finding a fourth number when three are known and the quantities are proportional: x = B × C ÷ A for direct proportion.

What is the difference between direct and inverse proportion?

In direct proportion both quantities rise together; in inverse proportion one rises as the other falls.

How do I scale a recipe?

Use direct proportion: if 4 servings need 300 g, 6 servings need 300 × 6 ÷ 4 = 450 g.

How do I calculate time with more workers?

Use inverse proportion: 4 workers × 6 days = 24 worker-days, so 6 workers need 24 ÷ 6 = 4 days.

Can the numbers be decimals?

Yes. Any numbers work, including decimals and Arabic digits.

Why does it say I cannot divide by zero?

In direct proportion A cannot be 0, and in inverse proportion C cannot be 0, because the formula divides by them.