By Mudasir Ahsan (Founder) · Updated 10 November 2026
On this page
- How to use the aspect ratio calculator
- How to calculate aspect ratio from width and height
- How to resize without stretching
- Common ratios and their pixel sizes
- 16:9 aspect ratio calculator: sizes at a glance
- Centimeters, inches and print sizes
- TV and monitor shapes
- Aspect ratio in CSS
- Questions and answers
- Related calculators
How to use the aspect ratio calculator
- Pick the job: find the ratio of a size, or resize to a new width or height.
- Type the original width and height. Most people type pixels, but centimeters or inches give the same answer, because a ratio has no units.
- Read the result. In ratio mode you get the simplified form (16:9), the decimal form (1.778:1) and the closest standard ratio. In resize mode you get the missing side, rounded to whole pixels.
The aspect ratio calculator works from an image you already have, since it only needs the two numbers. On Windows, right-click the file › Properties › Details. On a Mac, open it in Preview › Tools › Show Inspector. Type the width and height you find there.
How to calculate aspect ratio from width and height
Divide the width and the height by their greatest common divisor (GCD), the largest whole number that goes into both exactly. What is left is the ratio.
- 1920 × 1080: the GCD is 120, so 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9. That gives 16:9.
- 1080 × 1350: the GCD is 270, which gives 4:5, a popular portrait size for feed posts.
- 1024 × 768: the GCD is 256, which gives 4:3.
The decimal form is the width divided by the height: 1920 ÷ 1080 = 1.778, written 1.778:1. It's the quickest way to compare two shapes. A bigger number means a wider picture, and anything below 1 is a portrait.
Width always comes first. The CSS Values specification says a ratio value "most often represents an aspect ratio, relating a width (first) to a height (second)" (W3C CSS Values and Units Level 4), which is why a web page writes 16 / 9 for a widescreen box.
Some screens are sold under a rounded name. A 2560 × 1080 ultrawide monitor is exactly 64:27 (2.370:1) but is marketed as 21:9 (2.333:1), and its real shape is closer to the 2.39:1 cinema ratio. The calculator shows the exact ratio beside the closest standard one, so you can tell when a size is only roughly 21:9 or 16:10.
How to resize without stretching
A picture keeps its shape when both sides are scaled by the same factor:
- New height = new width × original height ÷ original width
- New width = new height × original width ÷ original height
Take a 1920 × 1080 video and make it 1280 px wide. The height becomes 1280 × 1080 ÷ 1920 = 720 px, so the result is 1280 × 720 and still 16:9. A 4032 × 3024 phone photo (4:3) made 1000 px wide comes out 750 px tall.
Images can only have whole pixels, so the calculator rounds a result that isn't a whole number. Resizing has one limit. When a site wants an exact frame such as 1080 × 1080 and your photo is another shape, no amount of scaling will make it fit, and you have to crop. Our image resizer crops to an exact size or fits the picture inside it, in your browser.
Common ratios and their pixel sizes
| Ratio | Decimal | Common sizes (px) | Used for |
|---|---|---|---|
| 16:9 | 1.778:1 | 1280 × 720, 1920 × 1080, 2560 × 1440, 3840 × 2160 | HD and 4K video, YouTube, TVs, most monitors |
| 9:16 | 0.5625:1 | 1080 × 1920 | Vertical video: TikTok, Reels, Shorts, Stories |
| 4:3 | 1.333:1 | 1024 × 768, 1600 × 1200, 4032 × 3024 | Most phone photos, iPads, older screens |
| 3:2 | 1.5:1 | 3000 × 2000, 6000 × 4000 | DSLR and mirrorless photos, 6 × 4 in prints |
| 1:1 | 1:1 | 1080 × 1080 | Square posts, profile pictures |
| 4:5 | 0.8:1 | 1080 × 1350 | Portrait feed posts |
| 3:4 | 0.75:1 | 1080 × 1440 | The tallest Instagram feed post |
| 16:10 | 1.6:1 | 1920 × 1200, 2560 × 1600 | Laptop and office monitors |
| 21:9 (≈64:27) | 2.37:1 | 2560 × 1080, 3440 × 1440 | Ultrawide monitors, cinema-style video |
Platform rules change, so check the current sizes before you post. Our guides to social media image sizes and Instagram image sizes link to each platform's own help pages. Reddit gives you less to check: its help center doesn't publish one table of image file-size limits or accepted formats. JPG, PNG and GIF are the safest choices there, and how to post images on Reddit has the steps.
16:9 aspect ratio calculator: sizes at a glance
In a 16:9 picture the height is the width × 9 ÷ 16, or the width ÷ 1.778. The standard 16:9 resolutions are 640 × 360, 854 × 480, 1280 × 720 (720p), 1920 × 1080 (1080p), 2560 × 1440 (1440p) and 3840 × 2160 (4K UHD). If your video editor or screen recorder shows some other 16:9 width, put it in the "new width" box and the calculator returns the matching height.
Those same boxes work as a 4:3 calculator. There the height is the width × 3 ÷ 4, so 800 × 600, 1024 × 768, 1600 × 1200 and 2048 × 1536 are all 4:3.
Centimeters, inches and print sizes
Because units cancel out, the aspect ratio calculator takes cm or inches as happily as pixels. That helps with prints and frames:
- An 11 × 14 inch print is 11:14 (0.786:1), close to 4:5. A 4:3 phone photo has to be cropped to fill it.
- 6 × 4 inch (15 × 10 cm) prints are 3:2, the same shape as most camera photos, so those print without cropping.
- A4 paper (21 × 29.7 cm) is about 1:1.414, the same shape as every A size.
The shape tells you whether a photo fits the paper. Whether it has enough pixels to look sharp is a separate question, answered by the print size calculator or the DPI calculator.
TV and monitor shapes
TV and monitor sizes are measured along the diagonal, so two 27-inch screens with different aspect ratios have different widths and heights. A 55-inch 16:9 TV is about 47.9 × 27.0 inches. The screen size calculator turns a diagonal and a ratio into the width and height, and the PPI calculator shows how sharp the screen is.
Aspect ratio in CSS
On a website, the CSS aspect-ratio property keeps a box in proportion while its width changes, for example aspect-ratio: 16 / 9; for a video embed. All current browsers support it (MDN: aspect-ratio). Pictures get the same benefit from plain width and height attributes: the browser reserves the right shape before the image loads, so the page doesn't jump.
