Divide width by height to describe the shape, then multiply or divide by that same ratio to calculate a matching new dimension. The calculator handles the arithmetic instantly so you can resize without stretching.

Use the free tool

Calculate matching dimensions

Enter the original width and height plus one new dimension to find the other.

Open Aspect Ratio Calculator

Aspect ratio formula explained

Aspect ratio is width divided by height. A 1920 × 1080 frame simplifies to 16:9 because both numbers share a common factor. Its decimal ratio is approximately 1.7778.

To find a new height from a new width, divide the new width by the ratio. For a 1080-pixel width at 16:9, 1080 ÷ 1.7778 is approximately 608 pixels.

Rounding can create a one-pixel difference. Video encoders often prefer even dimensions, so use the closest appropriate even number when needed.

How to calculate matching dimensions with Mediaivo

  1. Enter original width and height

    Use the actual source dimensions to establish the ratio.

  2. Confirm the displayed ratio

    Make sure it matches the expected shape, such as landscape, square or vertical.

  3. Enter the new width

    The calculator returns a matching height that preserves the original proportions.

  4. Use the result when resizing

    Apply the matching dimensions in Resize Image or Resize Video.

Common aspect ratios and shapes

A ratio can be represented by many different pixel dimensions.

SituationRecommended choiceCheck before publishing
16:9Common landscape and widescreen shapeUse matching 16:9 dimensions to avoid distortion.
9:16Common full-screen vertical shapeKeep important content clear of destination interface areas.
1:1Square shapeUse equal width and height.
4:3Traditional photo and display shapeDo not force it into 16:9 without cropping or padding.

When matching dimensions are not enough

Matching dimensions preserve the source shape. They do not create a different composition. If a landscape image must become square, decide which outer content to crop or add padding around the full source.

The ratio also does not determine image quality. A 160 × 90 thumbnail and 3840 × 2160 frame share 16:9, but contain very different amounts of detail.

Common mistakes to avoid

1. Treating ratio as resolution

The same aspect ratio can have small or large pixel dimensions.

2. Changing width and height independently

Unrelated values stretch the content unless a crop or padding operation is intended.

3. Ignoring even dimensions for video

Some video encoders and codecs work more reliably with even pixel values.

4. Using resize to change composition

Cropping or padding is required when the destination shape differs from the source.

Final check before downloading or publishing

  • Original width and height are correct.
  • The calculated ratio matches the expected shape.
  • The new matching dimension is rounded appropriately.
  • Video dimensions are even when required.
  • Cropping is planned if the destination ratio differs.

Frequently asked questions

How do I calculate aspect ratio?

Divide width by height, or reduce both dimensions by their greatest common divisor to express a ratio such as 16:9.

What height matches 1920 width at 16:9?

1080 pixels. Both 1920 × 1080 and 1280 × 720 use the same 16:9 shape.

Why does the result sometimes have a decimal?

Some widths do not produce a whole-number height at the chosen ratio. Round to the nearest practical pixel value.

Does keeping aspect ratio prevent cropping?

It prevents stretching. Cropping is a separate choice when you need a different shape.

Finish the job

Find the matching dimension instantly

Preserve proportions first, then resize or crop according to the real layout requirement.

Calculate aspect ratio