Rule of Three Calculator

Direct proportion · Inverse proportion · Compound proportion · Multiply or divide by k · Distribute by weights

Quantity 1

Quantity 2

Quantity 3

X (second output)
—
Exact result
—
Calculation
—
A·X
—
B·C
—
Relation to X
—
Distribute by weights
—
Σwᵢ
—
B/A
—

Direct: X=BC/A, A≠0. Inverse: X=AB/C, C≠0. Compound: use 1–3 complete rows with a nonzero divisor for the selected relation; a wholly blank row is ignored. Direct factors use new/original, inverse factors original/new. Scale permits zero, except division by zero. Allocation needs 2–1000 positive weights; zero and signed totals are valid. Separate weights with semicolons and avoid digit grouping in the list. Decimal format is explicit; € and % annotations do not change numeric magnitude. Inactive fields are ignored. Names are plain text, at most 80 characters. Exact fractions and products are preserved; approximate outputs use 12 significant digits. Input bounds: |v| ≤ 10¹²; Δ ≥ 10⁻²⁴.

Ratio Simplifier

How the calculation works

X=BC/A; X=AB/C; X=X₀·∏fᵢ; xᵢ=T·wᵢ/Σw.

Direct: X=BC/A, A≠0. Inverse: X=AB/C, C≠0. Compound: use 1–3 complete rows with a nonzero divisor for the selected relation; a wholly blank row is ignored. Direct factors use new/original, inverse factors original/new. Scale permits zero, except division by zero. Allocation needs 2–1000 positive weights; zero and signed totals are valid. Separate weights with semicolons and avoid digit grouping in the list. Decimal format is explicit; € and % annotations do not change numeric magnitude. Inactive fields are ignored. Names are plain text, at most 80 characters. Exact fractions and products are preserved; approximate outputs use 12 significant digits. Input bounds: |v| ≤ 10¹²; Δ ≥ 10⁻²⁴.

Frequently asked questions

How is the result calculated?

X=BC/A; X=AB/C; X=X₀·∏fᵢ; xᵢ=T·wᵢ/Σw.

What assumptions apply?

Direct: X=BC/A, A≠0. Inverse: X=AB/C, C≠0. Compound: use 1–3 complete rows with a nonzero divisor for the selected relation; a wholly blank row is ignored. Direct factors use new/original, inverse factors original/new. Scale permits zero, except division by zero. Allocation needs 2–1000 positive weights; zero and signed totals are valid. Separate weights with semicolons and avoid digit grouping in the list. Decimal format is explicit; € and % annotations do not change numeric magnitude. Inactive fields are ignored. Names are plain text, at most 80 characters. Exact fractions and products are preserved; approximate outputs use 12 significant digits. Input bounds: |v| ≤ 10¹²; Δ ≥ 10⁻²⁴.

How precise are the displayed results?

Direct: X=BC/A, A≠0. Inverse: X=AB/C, C≠0. Compound: use 1–3 complete rows with a nonzero divisor for the selected relation; a wholly blank row is ignored. Direct factors use new/original, inverse factors original/new. Scale permits zero, except division by zero. Allocation needs 2–1000 positive weights; zero and signed totals are valid. Separate weights with semicolons and avoid digit grouping in the list. Decimal format is explicit; € and % annotations do not change numeric magnitude. Inactive fields are ignored. Names are plain text, at most 80 characters. Exact fractions and products are preserved; approximate outputs use 12 significant digits. Input bounds: |v| ≤ 10¹²; Δ ≥ 10⁻²⁴.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Mode = Direct proportion
A (first input) = 4
B (first output) = 10
C (second input) = 7
Exact result: 35/2
2
Mode = Direct proportion
A (first input) = 3
B (first output) = 2
C (second input) = 5
Exact result: 10/3
3
Mode = Inverse proportion
A (first input) = 6
B (first output) = 10
C (second input) = 4
Exact result: 15

How we test our calculators →

Also try:

Back to category →