Ratio Calculator
Simplify ratios to their lowest terms, solve proportions for a missing value, and scale a ratio to a known quantity using exact arithmetic.
How it works
- Choose whether you want to simplify a ratio, solve a proportion, or scale one.
- Enter whole numbers. For a proportion, leave exactly one of the four terms blank.
- Results are computed exactly with integer arithmetic, in your browser.
Frequently Asked Questions
How are ratios simplified?
By dividing every term by the greatest common divisor of ALL of them, so 2:4:6 becomes 1:2:3 rather than being reduced pairwise. 1920:1080 becomes 16:9.
Is the arithmetic exact?
Yes. Terms are handled as arbitrary-precision integers, so very large values simplify exactly instead of drifting through floating point. When solving a proportion gives a non-integer, the answer is shown as an exact fraction — 3:4 = x:10 gives 15/2, not a rounded 7.5.
Can it work out percentages of a whole?
Yes. Each term is also shown as its share of the total, so a 1:3 ratio reports 25% and 75%.
What about negative numbers?
Ratios of negative quantities are not meaningful for the comparisons this tool makes, so negatives are refused with a message rather than producing a confusing answer.