This free aspect ratio calculator finds the ratio of any image or video size and tells you the matching height or width when you resize it, so the picture never looks stretched or squashed. Enter the original width and height in pixels, add the new width or height you need and click Calculate.
It is one of the free browser-based tools from DigitalConnectMag.com for bloggers, designers, marketers and anyone preparing images for the web.
Calculate Aspect Ratio and New Size
Fill in the fields and click Calculate.
How the Aspect Ratio Calculator Works
An aspect ratio is the relationship between width and height. The calculator finds it by dividing both numbers by their greatest common divisor. For 1920 by 1080 pixels, the greatest common divisor is 120, so the ratio is 16:9.
- New height = new width multiplied by original height, divided by original width.
- New width = new height multiplied by original width, divided by original height.
- Closest common ratio compares your image with popular ratios such as 16:9, 4:3, 3:2 and 1:1.
- Megapixels = width multiplied by height, divided by one million.
Worked Example
You have a 4000 by 3000 pixel photo from a phone and want it 1200 pixels wide for a blog. The ratio is 4:3, and the matching height is 900 pixels (1200 multiplied by 3000, divided by 4000). If you instead need a 16:9 banner, you would crop the photo first, because no resize can change 4:3 into 16:9 without stretching it.
Common Aspect Ratios and Where They Are Used
| Ratio | Example size | Common uses |
|---|---|---|
| 16:9 | 1920 x 1080 | Widescreen video, YouTube, presentations, website banners |
| 4:3 | 1600 x 1200 | Many phone and compact camera photos, tablets |
| 3:2 | 1500 x 1000 | Most DSLR and mirrorless camera photos, prints |
| 1:1 | 1080 x 1080 | Square social media posts, profile pictures |
| 4:5 | 1080 x 1350 | Portrait social media posts |
| 9:16 | 1080 x 1920 | Stories, short vertical videos |
Platforms update their recommended sizes from time to time, so check each one’s current guidance before a big campaign.
Tips for Resizing Images for the Web
- Resize to the display size. An image shown 800 pixels wide does not need to be 4000 pixels wide; extra pixels only slow the page down.
- Keep the ratio locked in your editor to avoid stretching.
- Crop first, then resize when you need a different ratio.
- Use modern formats such as WebP, which usually produce smaller files than JPEG at similar quality.
- Add descriptive alt text so screen readers and search engines understand the image.
Faster images help your pages load quickly, one of the basics covered in our guide to SEO basics for small business websites.
Aspect Ratio Versus Resolution
Aspect ratio and resolution are often confused. The aspect ratio describes shape: how wide an image is compared with its height. Resolution describes detail: how many pixels the image contains. A 1280 by 720 image and a 3840 by 2160 image share the same 16:9 shape, but the second has nine times as many pixels.
When you resize while keeping the ratio, you change the resolution but not the shape. When you crop, you can change the shape, and you also remove part of the picture. Plan crops carefully so that faces, products and text stay inside the frame on every format you need.
At DigitalConnectMag.com, we size article images to the width they display at and keep a consistent ratio, which keeps pages fast and layouts tidy.
Planning Images for Several Platforms
More Free Tools and Guides
Try our other free tools:
- Free Word and Character Counter
- SEO Title and Meta Description Length Checker
- ROI Calculator: Calculate Return on Investment
Related guides:
See every tool on our free online tools page, or return to the DigitalConnectMag.com homepage for the latest guides.



