Skip to content

Tools

Aspect ratio calculator: resize an image without stretching it

A 1920 × 1080 px image resized to 1280 px wide must be 720 px tall to keep its shape. Enter your own sizes for vertical frames, squares or 3:2 photos.

By:
ToolsAspect ratio calculator
px
px
px
New height-px
Scale-%
Aspect ratio-
Calculated in your browser. Nothing is sent anywhere.

How the calculation works

New height = new width × original height ÷ original width, rounded to whole pixels. The ratio is the width and height divided by their greatest common divisor, so 1920 × 1080 becomes 16:9 and 1080 × 1350 becomes 4:5.

Common formats: 16:9 for YouTube and screens, 9:16 for Reels, TikTok and Shorts, 4:5 for portrait Instagram posts, 1:1 for squares and 3:2 for most camera photos. If the target ratio differs from the original, resizing alone is not enough and you need to crop.

Frequently asked questions

How do I keep the aspect ratio when resizing?

Change one side and calculate the other from the ratio. The calculator does this for the new width.

What size is 16:9 in pixels?

Common sizes are 1280 × 720, 1920 × 1080, 2560 × 1440 and 3840 × 2160.

Why is the result rounded?

An image has whole pixels only. Rounding can shift the ratio by a fraction of a pixel, which is invisible.

More tools

Polish version

Kinetyra DealLovable Pro $119/yrReplit Core $109/yrPostHog $49/yrSee all deals →
× ‹ powiększenie ›