House of Calculator

Enter a width and height to see the simplified ratio, then enter a new width or height to resize.

Results are estimates for planning. Check the figures before you make a financial or health decision.

Embed this calculator on your website

Free to use. Copy the code and paste it into your page. Please keep the link under the calculator in place: it is how we keep the tool free.

How the Aspect Ratio Calculator works

The aspect ratio is the width divided by the height, simplified to the smallest whole numbers.

Ratio = width ÷ GCD : height ÷ GCD where GCD is the greatest common divisor. To resize while keeping the shape, new height = new width ÷ (width ÷ height), and new width = new height × (width ÷ height).

RatioCommon use
16:9Video, most screens
4:3Older screens, some photos
3:2Cameras
1:1Square social posts

Worked example

With these inputs: Width: 1920; Height: 1080; New width, optional: 1280.

ResultValue
Aspect ratio16 : 9
Decimal ratio1.7778 : 1
Megapixels2.07
Height for width 1,280720

Tips and common mistakes

  • Keep the ratio locked when resizing to avoid stretched images.
  • Social platforms prefer particular ratios, so check the size guide before exporting.
  • Megapixels are width × height ÷ 1,000,000, and the calculator shows them.

Frequently asked questions

What is the aspect ratio of 1920 × 1080?

16:9.

How do I resize without stretching?

Keep the same ratio. Enter a new width and read off the matching height.

What is the ratio of 1080 × 1350?

4:5, which is common for portrait Instagram posts.

What is a decimal ratio?

The width divided by the height. 16:9 is 1.778 to 1.

Related calculators