Ratio Calculator

Simplify a ratio of two whole numbers using their greatest common divisor. See the reduced ratio and the first value divided by the second.

Enter two values

Whole numbers produce an exact greatest-common-divisor simplification.

Your result

Simplified ratio

Updates automatically as you change the inputs.

Simplified ratio
2:3
Greatest common divisor8
First ÷ second0.666667

How to use the ratio calculator

Enter the two values in the order you want them compared. For whole numbers, the calculator divides both by their greatest common divisor.

Ratio simplification

Calculation formulaRatio simplification
Used for the result above
Simplified ratio = (A ÷ GCD) : (B ÷ GCD). Decimal relationship = A ÷ B.

Order matters. A ratio of 2:3 does not mean the same thing as 3:2.

Example: Sofia simplifies a mixture ratio

Sofia mixes 16 parts of one ingredient with 24 parts of another. Both values divide by 8, so the simplified ratio is 2:3.

This means two parts of the first ingredient for every three parts of the second. The total is five parts; the first ingredient is 2/5 of the mixture, not 2/3.

Use equivalent whole-number quantities

The ratio 12:18 simplifies to 2:3 because both values divide by 6. Keep the quantities in matching units before simplifying.

For decimal quantities, multiply both sides by the same power of ten first. For example, 1.5:2.5 becomes 15:25, then 3:5.

Simplify quantities after matching their units

A ratio of 2 meters to 50 centimeters is 200:50 after converting both lengths to centimeters. Dividing both parts by 50 gives 4:1. Entering 2:50 directly would compare unmatched units.

This tool simplifies whole-number parts. To express 1.5:2.5, multiply both parts by 10 first and enter 15:25, which simplifies to 3:5. Keep the order of the quantities unchanged.

Assumptions and limitations

What the estimate assumes

The simplification result is designed primarily for integer inputs.

Ratio Calculator FAQs

How do I simplify a ratio?

Divide both sides by their greatest common divisor.

Does ratio order matter?

Yes. 2:3 and 3:2 describe different relationships.

Can a ratio include zero?

One side can be zero, but a decimal A ÷ B is undefined when the second value is zero.

Is a ratio the same as a fraction?

They can represent the same division relationship, but ratios are often written with a colon to compare quantities.

For general mathematical use.