Aspect Ratio Calculator
Calculate, lock, and convert aspect ratios with live preview.
Dimensions
2,073,600
Preview
Scale Dimensions
Diagonal Size
Common Device Resolutions
| Device | Width | Height | Ratio | Action |
|---|---|---|---|---|
| iPhone 15 Pro | 1179 | 2556 | 9:19.5 | |
| iPad Pro 12.9" | 2048 | 2732 | 3:4 | |
| MacBook Pro 16" | 3456 | 2234 | 16:10.3 | |
| Full HD | 1920 | 1080 | 16:9 | |
| 2K QHD | 2560 | 1440 | 16:9 | |
| 4K UHD | 3840 | 2160 | 16:9 | |
| 720p HD | 1280 | 720 | 16:9 | |
| Instagram Post | 1080 | 1080 | 1:1 | |
| Instagram Story | 1080 | 1920 | 9:16 | |
| Twitter Header | 1500 | 500 | 3:1 | |
| YouTube Thumbnail | 1280 | 720 | 16:9 | |
| Ultrawide | 3440 | 1440 | 21:9 |
About This Tool
Find the simplified aspect ratio of any resolution, resize dimensions without distortion, and estimate diagonal size from pixel density.
Keep proportions right when resizing
An aspect ratio is the relationship between width and height. Get it wrong and a video gets black bars, a photo gets stretched, or a banner is cropped in the wrong place. This calculator reduces any resolution to its simplest ratio, scales dimensions while keeping the same shape, and works out the diagonal size of a screen from its pixel density. Video editors, photographers, web designers and anyone preparing social media graphics will find it useful. All calculations run in the browser.
How to use the calculator
- Enter a Width and Height in pixels. The simplified Aspect Ratio and total Pixel Area appear immediately, and the Preview box redraws to the same shape.
- Click the padlock between the fields to lock the ratio. While locked, changing the width updates the height automatically and vice versa.
- Click a Preset such as 16:9, 4:3, 1:1, 21:9, 3:2, 2:3 or 9:16 to apply a standard shape. With the lock on, the width stays and the height is recalculated.
- Under Scale Dimensions, type a target width to get the matching height, or a target height to get the matching width.
- Under Diagonal Size, enter the PPI of a display to see its diagonal in pixels, inches and centimetres.
- In Common Device Resolutions, press Use on any row to load that resolution.
How the ratio is calculated
To simplify a resolution, the calculator finds the greatest common divisor (GCD) of width and height and divides both by it. For 1920 × 1080 the GCD is 120, giving 16:9. For 1080 × 1350 it is 270, giving 4:5, the tall Instagram portrait shape.
Some real resolutions do not reduce to a familiar ratio. A 1366 × 768 laptop screen simplifies to 683:384 because the numbers share only a factor of 2; it is usually described as "roughly 16:9". Phone screens are similar, which is why they are often quoted with decimals such as 19.5:9.
Scaling uses simple proportion: new height = new width × original height ÷ original width, rounded to the nearest whole pixel. The diagonal comes from Pythagoras' theorem, the square root of width² plus height², divided by pixels per inch to convert to physical size.
Common ratios and where they appear
| Ratio | Typical use |
|---|---|
| 16:9 | HD and 4K video, YouTube, most monitors and TVs |
| 9:16 | Stories, Reels, Shorts and other vertical video |
| 4:3 | Older TVs, many tablets, presentation slides |
| 3:2 | Photos from many DSLR and mirrorless cameras |
| 1:1 | Square social posts and profile images |
| 21:9 | Ultrawide monitors and cinematic video |
Tips
- When an image needs a different ratio than it has, you must either crop it or add padding. Scaling alone cannot change the ratio without distortion. The image crop tool handles the first option.
- Once you know the target dimensions, resize with the image resizer or, for video, resize video.
- Video codecs often prefer even numbers. If the scaled result is odd, round it by one pixel.
- 96 PPI is the traditional desktop default. Phones and high-density laptops are often between 200 and 500 PPI, so look up the actual figure for an accurate diagonal.
FAQ
Is 16:10 the same as 16:9?
No. 16:10 (for example 1920 × 1200) is slightly taller. Content made for 16:9 shows thin bars at the top and bottom on a 16:10 screen.
Why does the ratio show large odd numbers?
The tool shows the exact reduced ratio. If the width and height share few common factors, the reduced numbers stay large.
Does DPI change the image itself?
No. Pixel dimensions define a digital image. PPI only describes how densely those pixels are packed on a screen or page.