Simplify a ratio of two positive whole numbers.
How to simplify a ratio
- Enter the first and second quantities as positive whole numbers.
- Select Simplify Ratio. The order of the quantities stays the same.
- Read the reduced ratio and its greatest common divisor (GCD). Reset restores the example and clears the result.
Worked example: 12:18 becomes 2:3
The greatest common divisor of 12 and 18 is 6. Divide both sides by 6: 12 ÷ 6 = 2 and 18 ÷ 6 = 3. Therefore 12:18 = 2:3. The amounts change, but their relative proportion stays the same.
For a mix containing 12 red pieces and 18 blue pieces, the simplified ratio says there are two red parts for every three blue parts. That is five parts in total: red makes up 2/5, or 40%, of the mixture. Do not confuse the part-to-part ratio 2:3 with the part-to-total fraction 2/5.
Units, decimals and input limits
Use matching units when comparing the same kind of quantity. For 1 meter to 50 centimeters, enter 100:50 after converting meters to centimeters; the result is 2:1. Entering 1:50 would compare mismatched units.
This tool accepts integers from 1 to 9,007,199,254,740,991. To simplify 1.5:2.5, multiply both values by 10 and enter 15:25, which reduces to 3:5. Choose the same scale factor for both sides and stay within the supported range. Zero and negative inputs are not supported here.
Simplify an image aspect ratio
Enter image width as the first value and height as the second, using whole pixels. For 1920 × 1080, the GCD is 120, so the simplified width-to-height ratio is 16:9. A portrait image of 1080 × 1920 gives 9:16. This calculation describes proportions only; it does not resize, crop or change an image file.
Common questions
Does order matter?
Yes. 12:18 reduces to 2:3, but 18:12 reduces to 3:2. Keep the labels or units associated with their original positions.
Why does my ratio stay unchanged?
If the GCD is 1, the ratio is already in lowest terms. For example, 8:15 cannot be reduced further using a common integer divisor.
Does simplification calculate new quantities?
No. It returns equivalent relative parts. To scale a 2:3 ratio to 50 items, divide 50 by the five total parts, then multiply: 20 items and 30 items.
Use the GCD Calculator with division steps to inspect the shared divisor, or browse Math Tools for related calculations.