Aspect Ratio Calculator

Simplify dimensions, derive proportional target dimensions, swap orientation and preview common aspect ratios with a ratio lock.

Loading the interface. JavaScript is required; controls stay disabled until ready.

Your details

Resize dimensions without stretching

Enter the source size, choose a target width or height, and keep the proportions.

Source dimensions

Original image or screen width. Use the same unit as height.

Original image or screen height.

A preset adjusts the source ratio; choose Custom to use your own dimensions.

Keeps the source ratio while you edit width or height.

Target size

Choose the target dimension you already know.

Enter the known target width or height, using the unit you want for the result.

See a worked example

1920 × 1080 reduces to 16:9. A target width of 1280 gives a height of 720.

Your result

Clear totals, useful details and the method behind them.

ResultReady when you are

Fill in your details and select Calculate dimensions. Your result will appear here.

How to use Aspect Ratio Calculator

  1. Enter the values labelled for this calculation and choose the relevant options.
  2. Select Calculate to see the primary result, supporting figures and calculation breakdown.
  3. Review the methodology below. Copy result keeps a plain-text summary; Reset restores the example inputs.

Formula and methodology

Divide scaled width and height by their greatest common divisor. Missing height = target width × source height / source width, and vice versa.

A worked example

1920 × 1080 reduces to 16:9. A target width of 1280 gives a height of 720.

Assumptions and limitations

Source dimensions preserve the existing four-decimal precision. Proportional values are shown separately from nearest whole-pixel dimensions. A lock links source dimensions; preview is proportional, not actual pixel size.

Questions and answers

Are source decimals supported?

Yes, up to four places. Exact proportional dimensions and rounded whole-pixel examples are both shown.

Calculate a proportional target size

An aspect ratio compares width with height; it does not specify a file size or a resolution on its own. Two rectangles can have the same shape while containing very different numbers of pixels. Use one unit consistently for both source dimensions.

A practical example

A 1920 by 1080 image has a 16:9 ratio. Setting a target width of 1280 gives a proportional height of 720. The same proportion applies at other sizes, but a fractional result can require whole-pixel rounding. Compare the exact proportional value with the displayed rounded dimension rather than assuming both are identical.

Keep source and target tasks separate

The ratio reduces the scaled width and height by their greatest common divisor. The source lock links dimension edits; the preview illustrates shape rather than actual pixel size. Swapping width and height changes orientation. A 16:9 landscape frame and a 9:16 portrait frame are not interchangeable.

Use resizing or cropping deliberately

This page calculates dimensions; it does not alter image files or create missing detail. Resizing both dimensions proportionally preserves shape. Filling a differently shaped frame requires cropping or padding, not simply stretching one side. Check the destination layout, then use an image tool to create and inspect the output.

Worked example: resizing a video thumbnail

Your video is 1920 x 1080 and you need a thumbnail 1280 pixels wide. 1920 and 1080 share a factor of 120, so the ratio is 16:9. The new height is 1280 x 9 / 16 = 720, giving 1280 x 720. For a vertical 9:16 version at 1080 pixels wide, the height is 1080 x 16 / 9 = 1920. Keeping the ratio fixed avoids stretched faces and squashed text.

More questions about the Aspect Ratio Calculator

What are the most common aspect ratios?

16:9 is standard for YouTube, TVs and most monitors. 9:16 is used by Stories, Reels, Shorts and TikTok. 4:3 is common for older screens and many tablets and cameras, 3:2 for DSLR photos, 1:1 for square posts and 4:5 for portrait Instagram feed posts. Cinema often uses 2.39:1.

How do I find the aspect ratio of an image?

Divide the width and height by their greatest common divisor. A 3000 x 2000 photo shares a divisor of 1000, so its ratio is 3:2. Some sizes do not reduce neatly; 1366 x 768 is roughly 16:9 but not exact. In that case, dividing width by height gives a decimal ratio, here about 1.78.

Will changing the aspect ratio crop my image?

Changing the ratio means either cropping part of the image, adding bars or padding, or stretching it. Stretching distorts the content and should be avoided. Cropping keeps proportions but removes edges, so check that important elements such as faces or logos stay inside the new frame.

Choose your next task