Aspect Ratio Crop Planner

Creator and game development

How Aspect Ratio Crop Planner works

Find the largest whole-pixel rectangle with a specified exact ratio that fits a source image, with centered crop offsets.

Reduce the ratio

Divide target ratio components by their greatest common divisor. Calculate the largest integer multiplier that fits within both source dimensions.

Center the rectangle

Subtract crop dimensions from source dimensions. Split each difference between opposite sides, with any odd extra pixel assigned to the right or bottom.

Preserve exact ratios

This is a crop-coordinate calculator, not an image editor. A large reduced ratio may not fit as exact integer dimensions; a crop can remove important content. Check framing before exporting.

Worked example

A 1920 × 1080 image cropped to 1:1 gives 1080 × 1080 pixels, removing 420 pixels from both left and right. The crop retains 56.25% of the source pixels.

Try the calculator

About the method

This tool uses the stated arithmetic and assumptions. Test the worked example and confirm the inputs before using the result.