Rule of three

Find the fourth value in a direct proportion from three known values.

A corresponds to B, C corresponds to X. Example: if 3 items cost $12, then 5 items cost $20. Use the same units for A and C. This calculation assumes direct proportionality.

Both dots and commas are accepted as decimal separators.

Your inputs stay in your browser. Displayed results are rounded to a maximum of 12 significant digits.

Method and assumptions

Method version 1.0.0 · Updated

Direct proportion

Formula: X = B × C ÷ A

A corresponds to B, C corresponds to X. Example: if 3 items cost $12, then 5 items cost $20. Use the same units for A and C. This calculation assumes direct proportionality.

a
A — reference quantity
b
B — value corresponding to A
c
C — new quantity

Deterministic floating-point calculation. The displayed result is rounded to a maximum of 12 significant digits.