Ratio Calculator
Simplify a ratio and solve missing proportions for recipes, images, and everyday math.
Enable JavaScript to use the interactive calculator above its formula and guide.
Formula & methodology
Simplified ratio = (a ÷ GCD(a, b)) : (b ÷ GCD(a, b)); d = c × b / a
The greatest common divisor removes all shared whole-number factors. Equivalent ratios preserve a/b = c/d. Use positive whole numbers for a and b.
How it works
- Enter the first and second whole-number ratio values.
- Enter a known first value for the equivalent ratio.
- Read the simplified parts and the matching second value.
Worked example
For a 16:9 image with width 1,920 pixels, the height is 1,920 × 9 / 16 = 1,080 pixels.
16 : 9; missing value 1,080
Frequently asked questions
How do I simplify decimal ratios?
Multiply both parts by the same power of ten to make them whole numbers, then enter those numbers. For example, 1.5:2.5 becomes 15:25, simplifying to 3:5.
Can this calculate image dimensions?
Yes. Use the aspect ratio as a:b and enter the image width as c. The missing value is the proportional height.