How to Calculate and Lock Aspect Ratios for Perfect Cropping
By Dapplesoft•Mar 19, 2026•4 min read
The Math Behind the Ratio
Calculating aspect ratios is simple cross-multiplication. If you know your target ratio (e.g., 16:9) and you know your desired width (e.g., 1920px), you can find the height.
The formula is: Height = (Width × Ratio Height) / Ratio Width
So, (1920 × 9) / 16 = 1080.
Using the Calculator
While the math is simple, doing it constantly is tedious. Our Aspect Ratio Calculator automates this. You simply lock in your desired ratio (like 4:5 for Instagram), type in your width, and it instantly provides the exact pixel height you need.
Reverse Engineering Ratios
Sometimes you have an image and you need to know its ratio. Our tool allows you to upload an image, and it will automatically calculate its exact aspect ratio by finding the greatest common divisor of its width and height.