SuperSEOPlus

Online Calculators

Aspect Ratio Calculator

Enter a width and height to see the simplified aspect ratio, its decimal value and the closest common ratio. Enter a new width or a new height and the other side is calculated so the proportions stay the same. A preview box draws the shape, and presets for ratios such as 16:9, 4:3, 1:1 and the 1.91:1 link-preview image give you a quick starting point. Results are rounded to whole pixels, so very small sizes can differ slightly from the exact ratio.

How to use it

  1. Enter the current width and height.
  2. Enter a new width or a new height to resize with the same ratio, or pick a common ratio.
  3. Copy the ratio or note the new dimensions.

Example

1920 × 1080 simplifies to 16:9. Resizing it to 1280 wide gives 1280 × 720.

Using ratios in web design

Reserving the right aspect ratio for images and videos in your page markup stops the layout jumping as they load, which helps layout stability. In CSS, the aspect-ratio property takes a value such as 16 / 9.

Worked example

A 1920 × 1080 frame divides by its greatest common factor, 120, to give 16:9, a decimal ratio of 1.778. To keep that ratio when resizing, enter a new width of 1280 and the height is 720. For a 1200 × 630 social image the reduced ratio is 40:21, and the tool names the nearest common ratio, 1.91:1, so you can see how close it is.

Questions

How is an aspect ratio calculated?

Divide both sides by their greatest common divisor. 1920 and 1080 share a divisor of 120, which leaves 16 and 9.

What if the ratio is not a common one?

The tool still shows the exact simplified ratio and names the closest common ratio, marking it as not an exact match.

Which ratio should I use for social images?

Platforms change their recommendations, so check the current guidance. Wide link previews are commonly about 1.91:1, square posts 1:1 and vertical video 9:16.

Why are my resized dimensions off by a pixel?

Pixel sizes are whole numbers, so the result is rounded. Choose a width that divides evenly if you need an exact ratio.

Does it work with decimals?

Yes. Decimal sizes are scaled to whole numbers before the ratio is reduced, up to three decimal places.

Get practical SEO tips by email

Occasional emails with new guides and tools. Confirm by email first; unsubscribe in one click.