Know the width but not the height—or the height but not the width? Enter an aspect ratio and one dimension to calculate the other while preserving proportions.
Set the ratio and known dimension
Calculated dimensions
1920 × 1080 px
16:9
Height = width × ratio height ÷ ratio width
Formula
If width is known: height = width × ratio height ÷ ratio width.
If height is known: width = height × ratio width ÷ ratio height.
Example: a 1920-pixel-wide frame at 16:9 has a height of 1920 × 9 ÷ 16 = 1080 pixels. Fractional answers are shown to two decimal places; round to whole pixels when required by your workflow.
Common aspect ratios
16:9 is widely used for widescreen video, 9:16 for vertical video, 1:1 for square layouts, and 4:5 for portrait social posts. Select the ratio that matches your intended canvas or platform specification.
This calculator preserves proportions mathematically. It does not resize or export an image file. Use the Image Resize Calculator if you need to create a resized image.
Frequently asked questions
Can I use a custom ratio?
Yes. Enter any positive ratio width and height, such as 3 and 2 for 3:2.
Why is my result fractional?
Some input dimensions do not produce a whole-number missing side. The exact proportional result is displayed to two decimal places; you may need to round for pixel-based output.
How to use Aspect Ratio Missing Dimension Calculator
Aspect Ratio Missing Dimension Calculator helps you work with width-to-height proportions rather than guessing at image shape. An aspect ratio is written as width:height. It describes the shape of the canvas, not the number of pixels or the file size.
For example, 1920 × 1080 reduces to 16:9 because both values can be divided by 120. A 1280 × 720 image has the same 16:9 shape even though it contains fewer pixels. A square 1080 × 1080 image is 1:1, while 1080 × 1350 is 4:5.
How to get a dependable result: enter positive whole-number pixel values when working with raster images, check that the width and height are in the correct fields, and review the displayed result before using it. If you are working from a screenshot or an image supplied by someone else, confirm that it has not already been cropped or stretched.
Aspect ratio, resolution and file size answer different questions. Aspect ratio describes shape; resolution describes the number of pixels; file size describes how much storage or transfer data the file uses. You may need to manage all three for a website, application form, social post or print project. Reducing pixel dimensions can lower file size, but it is not the only compression method.
Common mistakes include swapping width and height, assuming that every platform uses the same image dimensions, and changing only one dimension when the goal is proportional resizing. For a landscape image, width is normally greater than height; for a portrait image, height is greater. A square uses equal dimensions. Always confirm the orientation expected by the destination.
For mobile-friendly design, test the result at a narrow viewport as well as on a desktop screen. Keep important text and subjects away from the edges, because responsive layouts and platform previews may crop content differently. Use descriptive filenames and an appropriate modern image format when supported, while retaining a compatible fallback if a service requires one.
This tool is a calculation aid, not a guarantee that a third-party website will accept a file. Upload limits, supported formats, maximum dimensions and image-quality rules can change. Check the destination's own instructions before submitting important documents or publishing campaign artwork. When accuracy matters, compare the exported file's actual properties with the required values.