How it works

An image's aspect ratio is its width in pixels divided by its height, reduced to the smallest whole-number pair: 1920×1080 is 16:9, 1080×1080 is 1:1, 1200×630 (the standard social share image) is 40:21.

Enter your pixel dimensions to get the simplified ratio, or give a target width or height to get the matching size at the same ratio — exact arithmetic, so the resized dimensions never drift off-ratio.

Worked example

Try it with these numbers

The result card above already shows this example — change any field and hit Calculate.

FAQ

Quick answers

What aspect ratio is 1920x1080?

16:9. Divide both by their greatest common factor, 120: 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9. It is the standard widescreen ratio for video and most monitors.

How do I resize an image and keep the aspect ratio?

Change one dimension and compute the other with the same ratio: new height = new width × old height ÷ old width. Enter a target width or height above and the matching side is computed exactly.

What aspect ratio should a social share image be?

The Open Graph standard is 1200×630 pixels, which simplifies to 40:21 — very close to 1.91:1. Square 1:1 (1080×1080) works best for feeds that crop to a square.

Related calculators

Keep going

Every calculator on one page: all mathplum calculators.