🖼️Image Scaling Ratio Calculator

Calculate proportional width and height when scaling an image up or down from an original to a target size

px
px
px
px

How to Use the Image Scaling Ratio Calculator

Resizing an image without preserving its aspect ratio makes it look stretched or squashed. This calculator takes your original image's width and height, then a single target value — either width or height — and automatically calculates the remaining dimension while keeping the original ratio intact. Enter a target width to get the height, or a target height to get the width.

This is especially useful when shrinking a banner image, fitting artwork to a specific print size, or resizing an original for social media upload. If you set both width and height arbitrarily, the original ratio breaks and the image ends up looking stretched or compressed, so it's best to fix only one target value and let the ratio calculation handle the other.

Results are rounded to whole pixels for display. Turning on the "constrain proportions" option in Photoshop, PowerPoint, or similar tools produces the same result as this calculation, but checking the exact target numbers here first can be handy when you want to plan ahead before opening your editing software.

Frequently Asked Questions

What happens if I enter both width and height?

If a target width is entered, the height is calculated from it. If only a target height is entered, the width is calculated from that instead.

What if the result has a decimal point?

Pixels are whole numbers, so the result is rounded for display. For print work where precision matters, you can use the unrounded ratio directly.