webtrajans
en

Rule of Three Calculator

Find the missing fourth value of a proportion and see the working for direct, inverse and compound rule of three problems.

Result X—

Steps

Source

This tool runs entirely in your browser; your data is never sent to a server.

Written and reviewed by the Webin Agency Editorial Team · Last updated: December 1, 2026How we build our tools

How to use

  1. 1Choose the type: direct, inverse or compound.
  2. 2Enter the known pair A and B, then the new value C.
  3. 3For a compound problem enter the old and new value of each factor and pick direct or inverse.
  4. 4Read X and the steps; copy the result with one click.

Direct rule of three

Two quantities are directly proportional when one grows by the same ratio as the other: A / B = C / X, so X = B × C ÷ A. If 3 kg of apples cost 6, then 5 kg cost 6 × 5 ÷ 3 = 10. The rule goes back to Euclid’s Elements, Book VII, Proposition 19: when four numbers are proportional, the product of the extremes equals the product of the means — the cross-multiplication you learned at school.

Inverse rule of three

Two quantities are inversely proportional when one shrinks as the other grows, so their product stays constant: A × B = C × X, hence X = A × B ÷ C. If 4 workers finish a job in 6 days, 3 workers need 4 × 6 ÷ 3 = 8 days. Speed and travel time, number of workers and duration, or number of taps and filling time are classic inverse cases.

Compound rule of three

When several factors affect the result, multiply the known result by one ratio per factor: new/old for a direct factor, old/new for an inverse one. Example: 6 workers build 2 walls in 10 days; how long do 4 workers need for 3 walls? Workers are inverse (6/4), walls are direct (3/2): 10 × 6/4 × 3/2 = 22.5 days. The calculator lists each ratio so you can check the reasoning.

Frequently asked questions

What is cross-multiplication?

In A / B = C / D, the products of the diagonals are equal: A × D = B × C. Solving that equation for the unknown is the rule of three.

How do I know whether a proportion is direct or inverse?

If increasing one quantity increases the other, it is direct; if it decreases the other, it is inverse. Quantity and price are direct; speed and travel time are inverse.

Can I calculate percentages with the rule of three?

Yes. For 18 % of 250 write 100 → 250 and 18 → X: X = 250 × 18 ÷ 100 = 45. Our percentage calculator handles common percentage questions directly.

Can a compound problem have more than three factors?

The tool supports up to three. For more, take the first result as the new known value and apply the remaining factors; the order of the ratios does not matter.

Add this tool to your website

Paste the code below into your site’s HTML; the tool runs on your page and stays up to date automatically.

Widget builder →Free to use. Please keep the source link below the widget.

Not happy with the results?

Talk to Webin Agency about fast, SEO-friendly websites, e-commerce and Google Ads management.

Get free advice

Related tools