Ratio Calculator
Solve, simplify and scale ratios instantly.
Ratio
Result
About the Ratio Calculator
The Ratio Calculator simplifies a ratio to its lowest whole-number form and scales it. Enter A and B and it divides both by their greatest common divisor, so 4 : 6 becomes 2 : 3. Optionally enter a new value for A and it works out the B that keeps the proportion intact.
Decimals are handled by converting both sides to whole numbers first, so 2.5 : 3.5 simplifies to 5 : 7 rather than being rejected. That also means the simplified form is always whole numbers, which is what a ratio is supposed to be: a comparison of two quantities in the same units.
Scaling is the practical use. If a paint mix is 2 : 3 and you have ten litres of the first component, the calculator tells you that you need fifteen of the second. The decimal output, A divided by B, is the same comparison expressed as a single number, and it is what you need when one side is fixed at one.
Common questions about Ratio Calculator
How do I simplify a ratio?
Both sides are divided by their greatest common divisor. For 12 : 18 the divisor is 6, so the simplified ratio is 2 : 3.
Can I enter decimal values?
Yes. Both sides are scaled to whole numbers before simplifying, so 2.5 : 3.5 becomes 5 : 7.
What does the scale box do?
Enter a new value for A and it returns the B that preserves the ratio. For 2 : 3 with A set to 10, B becomes 15.
Why can't B be zero?
A ratio compares two quantities, and dividing by zero has no meaning. Both sides must be above zero.
What is the decimal output?
A divided by B, to four decimal places. It is the same ratio expressed as a single number, useful when the second side is one.
How is a ratio different from a fraction?
The arithmetic is identical; only the notation differs. A ratio can compare parts of a whole, like 2 : 3, whereas a fraction usually expresses one part of the whole, like 2/5.