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.
Calculate matching dimensions
Enter the original width and height plus one new dimension to find the other.
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
- Enter original width and height
Use the actual source dimensions to establish the ratio.
- Confirm the displayed ratio
Make sure it matches the expected shape, such as landscape, square or vertical.
- Enter the new width
The calculator returns a matching height that preserves the original proportions.
- 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.
| Situation | Recommended choice | Check before publishing |
|---|---|---|
| 16:9 | Common landscape and widescreen shape | Use matching 16:9 dimensions to avoid distortion. |
| 9:16 | Common full-screen vertical shape | Keep important content clear of destination interface areas. |
| 1:1 | Square shape | Use equal width and height. |
| 4:3 | Traditional photo and display shape | Do 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.
Find the matching dimension instantly
Preserve proportions first, then resize or crop according to the real layout requirement.
