Skip to content
Proportion Calculator
Menu

How the Proportion Calculators Work

Updated · exact fractions where possible

Proportions

The proportion calculator solves a/b = c/d by cross multiplication: the unknown equals the product of the opposite diagonal divided by the number on its own diagonal. If that number is 0, there's no solution and the calculator says so.

Exact answers

Ordinary computer arithmetic can turn 0.1 + 0.2 into 0.30000000000000004. To avoid that, when every input is a whole number or a decimal with up to nine places, the calculators also work the answer out as an exact fraction using whole-number arithmetic and show it when it isn't a whole number, such as 15/2 alongside 7.5.

A worked example

Enter 3/4 = x/15. The unknown is in the c slot, so its diagonal partner is 4 and the other diagonal is 3 × 15 = 45. The answer is 45 ÷ 4 = 11.25, and because every input is a whole number the exact form, 45/4, is shown too. Fractions such as 3/4 and mixed numbers such as 1 1/2 can be typed straight into any box.

Percents and variation

The percent proportion calculator uses the same cross multiplication with 100 fixed in one slot: part/whole = percent/100. The direct and inverse proportion calculator finds the constant first, k = y ÷ x for direct and k = x × y for inverse, then uses it for the new value.

Ratios

To simplify a ratio, decimals are first scaled up to whole numbers, then every part is divided by the greatest common factor. Shares of a total are found by dividing the total by the sum of the parts.

Rounding

Decimal results are shown to six significant figures with trailing zeros removed. Everything runs in your browser; nothing you enter is sent anywhere. See the privacy policy.