Image Aspect Ratio and Resize Calculator

Mobile app wireframe sketches used to plan image aspect ratios
Free tool

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 it works

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

RatioExample sizeCommon uses
16:91920 x 1080Widescreen video, YouTube, presentations, website banners
4:31600 x 1200Many phone and compact camera photos, tablets
3:21500 x 1000Most DSLR and mirrorless camera photos, prints
1:11080 x 1080Square social media posts, profile pictures
4:51080 x 1350Portrait social media posts
9:161080 x 1920Stories, 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

  1. 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.
  2. Keep the ratio locked in your editor to avoid stretching.
  3. Crop first, then resize when you need a different ratio.
  4. Use modern formats such as WebP, which usually produce smaller files than JPEG at similar quality.
  5. 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

More Free Tools and Guides

FAQs

Aspect Ratio Calculator FAQs

Divide the width and the height by their greatest common divisor. For 1280 by 720, both divide by 80, giving 16:9. If the numbers share no simple divisor, the ratio may look unusual, such as 683:384 for 1366 by 768, which is very close to 16:9.
Making an image smaller usually keeps it sharp, as long as you keep the aspect ratio. Making it larger than the original adds no real detail and can look blurry. Start from the largest original you have and export a smaller copy for each use.
It depends on the layout. Wide 16:9 or 3:2 images suit banners and article headers, while 1:1 and 4:5 suit product grids and social posts. Using the same ratio for all images in a row keeps your design neat and avoids awkward cropping.
No. The calculator works out the correct dimensions, and you then apply them in your photo editor, design app or content management system. Because nothing is uploaded, it is safe to use with private or unpublished images.
Written by the Editorial Team

Every article is researched, written and reviewed by the Editorial Team, with sources linked where facts are cited. For more guides, reviews and free tools, visit DigitalConnectMag.com.

Related Articles