Skip to content
⚠ TESTING ENVIRONMENT You are viewing a testing copy of Tolioo. Changes here do not affect the live website.

Image Aspect Ratio Calculator

Find the aspect ratio of any image, calculate the missing width or height, and work out the perfect crop. Instant, free and private.

  • 100% free
  • No Signup
  • Instant results
  • Runs in your browser

Enter your image width and height to get the exact aspect ratio, the closest standard ratio, and ready-to-use CSS.

Your Privacy Matters

Everything is calculated in your browser. If you pick an image, only its size is read and the file is never uploaded.

ADVERTISEMENT
Demo Ad 728 x 90

How to calculate an image aspect ratio

  1. 1

    Enter the size

    Type the width and height in pixels, or read them from an image.

  2. 2

    Pick a mode

    Find the ratio, resize without distortion, or crop to a new ratio.

  3. 3

    Use the result

    Copy the ratio, the new size or the CSS snippet straight into your project.

ASPECT RATIO GUIDE

Image Aspect Ratio Calculator – Find Ratio, Resize Without Distortion and Crop Online Free

Need to know the aspect ratio of an image, work out a missing width or height, or crop a photo to an exact shape? Our image aspect ratio calculator does all three in one place, with no signup, no software and no uploads. Type the width and height of your image to get its exact aspect ratio, its decimal value, its orientation and the closest standard ratio such as 16:9, 4:3, 3:2 or 1:1. Switch to resize mode to calculate the new height from a new width (or the other way round) while keeping the image proportions intact, so nothing ever looks stretched or squashed. Use crop mode to find the largest crop of your photo for Instagram, YouTube, Facebook, Pinterest or a printed frame, along with the exact number of pixels to trim from each side. It works as an aspect ratio calculator for photos, videos, screens, thumbnails, banners and web design layouts, and it also gives you ready-to-copy CSS for responsive images and embeds. Everything runs in your browser, so the results are instant and your images stay private.

Aspect Ratio Finder

Enter any width and height and the calculator simplifies them to the exact ratio, shows the decimal value and tells you the closest common ratio. It is the fastest way to answer "what is the aspect ratio of 1920x1080?" or to check whether a photo is really 4:3 or 3:2.

Resize Image Without Distortion

Type a new width and the height is calculated for you, or type a new height and get the width. The result always follows the original proportions, which makes it perfect for scaling images for websites, emails, presentations and social media without stretching.

Crop to Aspect Ratio

Need a 1:1 square from a 4:3 photo, or a 16:9 banner from a portrait shot? The crop mode calculates the largest centred crop that fits your image, shows the final size and tells you how many pixels to remove from the left, right, top and bottom.

What Is an Aspect Ratio? (Simple Explanation)

The aspect ratio of an image describes the relationship between its width and its height. It is written as two numbers separated by a colon, for example 16:9, and read as "16 to 9". The ratio does not tell you how many pixels an image has. It only describes its shape. A 1920 by 1080 image, a 1280 by 720 image and a 3840 by 2160 image all have the same 16:9 shape, even though they have very different resolutions.

To calculate the aspect ratio by hand, divide the width and the height by their greatest common divisor (GCD). For 1920 by 1080, the GCD is 120, so 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9, which gives 16:9. Dividing the width by the height also gives a decimal value: 1920 ÷ 1080 = 1.778. A decimal above 1 means the image is landscape, exactly 1 means it is square, and below 1 means it is portrait. This calculator does the maths instantly, including for sizes with decimals or awkward numbers.

How to Use the Image Aspect Ratio Calculator (Step by Step)

Whether you want to find a ratio, resize an image proportionally or crop to a new shape, the workflow is quick. Follow these steps.

  1. Choose a mode: Pick Find ratio, Resize or Crop to ratio at the top of the calculator.
  2. Enter your numbers: Type the width and height in pixels, or press "Read size from an image" to fill them in from a picture on your device. Only the dimensions are read, and the file is not uploaded.
  3. Resize or crop if needed: In Resize mode, enter a new width or new height. In Crop mode, pick a target ratio with one click or type your own.
  4. Check the live preview: The preview box shows the shape of the ratio, and the result list shows the details.
  5. Copy and use the result: Copy the ratio, the new size, the crop values or the CSS snippet and use them in your editor, design tool or website.

Results update as you type, so you can try different sizes and ratios quickly. The swap button flips width and height in one click, which is handy when you switch between landscape and portrait.

How to Calculate the Missing Width or Height

The most common reason to use an aspect ratio calculator is to resize an image to a new width or height without distorting it. The rule is simple: the new width divided by the new height must equal the original width divided by the original height. Rearranged, the two formulas you need are:

  • New height = new width × original height ÷ original width
  • New width = new height × original width ÷ original height

For example, if your photo is 4000 × 3000 pixels and you want a width of 1200 pixels, the new height is 1200 × 3000 ÷ 4000 = 900 pixels. If your video frame is 1920 × 1080 and you need a width of 1280, the height is 1280 × 1080 ÷ 1920 = 720 pixels. The Resize mode does this for you in both directions and rounds the result to whole pixels, since images cannot have fractions of a pixel.

If you do not know the original size, you do not need it. Just pick the ratio you want, such as 16:9 or 4:5, then enter the width or height you need and the calculator gives you the matching other side.

Common Aspect Ratios and Where They Are Used

A handful of aspect ratios cover almost every photo, video and screen you will meet. Knowing what they are used for makes it much easier to choose the right shape for your project. The table below lists the most popular ratios with their decimal values and typical uses.

Common image and video aspect ratios
Ratio Decimal Orientation Typical uses
1:11.000SquareInstagram posts, profile pictures, app icons, album covers
5:41.250LandscapeLarge-format photography, 8×10 inch prints
4:31.333LandscapeOlder monitors and TVs, iPad screens, many compact cameras
3:21.500LandscapeDSLR and mirrorless photos, 35mm film, 4×6 inch prints
16:101.600LandscapeWidescreen laptops and monitors
16:91.778LandscapeHD and 4K video, YouTube, TVs, presentations, most monitors
21:92.333LandscapeUltrawide monitors and cinematic video
4:50.800PortraitInstagram portrait posts, 8×10 inch portrait prints
2:30.667PortraitPortrait photos, Pinterest pins, 4×6 inch portrait prints
9:160.563PortraitStories, Reels, YouTube Shorts, TikTok and phone full-screen video

Many screens and videos are described as 21:9, but the real shape is often slightly different, for example 2560 × 1080 is 64:27. The calculator shows both the exact simplified ratio and the closest common ratio, so you always know how close you are to the standard.

Best Image Sizes and Aspect Ratios for Social Media

Every social platform crops or letterboxes images that do not match its preferred shape. Starting with the right aspect ratio means your picture shows up exactly as you planned, with no surprise cropping of faces, logos or text. These are widely recommended sizes. Platforms change their layouts from time to time, so always check the latest guidance on the platform itself.

Popular social media and web image sizes
Use Ratio Common size
Instagram square post1:11080 × 1080 px
Instagram portrait post4:51080 × 1350 px
Stories, Reels, Shorts, TikTok9:161080 × 1920 px
YouTube video and thumbnail16:91920 × 1080 px (video), 1280 × 720 px (thumbnail)
Facebook and LinkedIn link preview1.91:11200 × 630 px
Open Graph image for websites1.91:11200 × 630 px
Pinterest pin2:31000 × 1500 px
Website hero banner16:9 or 3:11920 × 1080 px or 1500 × 500 px

Use the Resize mode to scale a design to each of these sizes, or the Crop mode to turn one master photo into a square, a portrait and a widescreen version, all with the focus kept in the centre.

Resize vs Crop vs Letterbox: Which One Should You Use?

When an image has to fit a different shape, there are three options, and each gives a different result. Picking the right one avoids ugly stretching and lost detail.

  • Resize (scale): Makes the image bigger or smaller while keeping the same ratio. Nothing is cut off. Use this when the shape is already right and only the pixel size needs to change.
  • Crop: Cuts away part of the image to reach a new ratio. You lose some of the picture but fill the frame completely. Use this when a platform demands a specific shape such as a 1:1 square or a 16:9 banner.
  • Letterbox or pad: Keeps the whole image and adds bars or background colour to fill the extra space. Use this when you cannot afford to lose any part of the picture, such as a logo or a document scan.
  • Stretch (avoid): Forces the image into a new shape by changing width and height independently. This distorts faces, circles and text, and it is the main mistake an aspect ratio calculator helps you avoid.

A good habit is to crop first to the target ratio, then resize to the exact pixel size. That order gives the sharpest, cleanest result, and this tool supports both steps.

Aspect Ratio in Web Design: CSS aspect-ratio and Layout Shift

Aspect ratio matters a lot on the web. When an image or video loads without reserved space, the page jumps as it appears. This is called layout shift, and it hurts both user experience and Core Web Vitals scores. You can prevent it by telling the browser the shape of the media in advance.

  • Add width and height attributes: Modern browsers use these two numbers to calculate the ratio and reserve the right space before the image loads.
  • Use the CSS aspect-ratio property: Write aspect-ratio: 16 / 9; on a container, image or video wrapper and the browser keeps that shape at any width.
  • Use the padding-top technique for older browsers: Set padding-top to height ÷ width × 100, for example 56.25% for 16:9 or 100% for 1:1, on a relatively positioned wrapper.
  • Combine with object-fit: Use object-fit: cover to fill a fixed-ratio box with an image of a different shape, similar to a crop.

The calculator gives you the CSS aspect-ratio value for your size, so you can paste it into your stylesheet right away. It also helps you choose consistent image ratios across a site, which makes grids, cards and galleries look tidy.

Aspect Ratio for Photos, Prints and Frames

Cameras and print sizes do not always share the same ratio, which is why a photo sometimes loses its edges when printed. Most DSLR and mirrorless cameras shoot in 3:2, many compact cameras and phone cameras use 4:3, and standard prints come in a mix of shapes. A 4×6 inch print is 3:2, an 8×10 inch print is 5:4, and an A4 sheet is roughly 1:1.414.

If you print a 3:2 photo as an 8×10 print, the printer has to crop part of the picture or add white borders. Use the Crop mode with a target ratio of 5:4 to see exactly what will be removed before you order, so you can place the important parts of your photo safely inside the frame. The same idea applies to picture frames, canvas prints, ID photos and passport photos, where the required shape is strict.

Pixels, Resolution and Megapixels Explained

Aspect ratio, resolution and megapixels are related but different. Aspect ratio is the shape, resolution is the number of pixels along each side, and megapixels is the total pixel count divided by one million. A 4000 × 3000 photo has 12,000,000 pixels, which is 12 megapixels, and its ratio is 4:3. Two images can have the same megapixels and different ratios, or the same ratio and different megapixels.

Scaling an image down keeps it sharp, while scaling it up beyond its original size makes it soft, because the extra pixels have to be invented. The result list in this calculator shows the megapixel value and the percentage change in pixel count, so you can see at a glance how much detail you are adding or removing.

Why Is My Ratio a Strange Number Like 683:384?

Sometimes the exact ratio of an image looks odd. A 1366 × 768 screen simplifies to 683:384, because the two numbers share no common divisor larger than 2. Yet everyone calls that screen 16:9. The reason is that 1366 ÷ 768 = 1.7786, which is extremely close to 16 ÷ 9 = 1.7778, and manufacturers round the width to a number that works well for the display hardware.

That is why this calculator shows two answers. The exact ratio is the precise mathematical shape of your numbers, and the closest common ratio tells you which standard shape it is nearest to, with the percentage difference. If the difference is tiny, treat it as the standard ratio. If it is large, your image has a custom shape and will need cropping or padding to fit a standard frame.

Common Aspect Ratio Mistakes and How to Avoid Them

  • Changing only one side: Editing width or height alone stretches the image. Always calculate the matching side first.
  • Mixing up width and height: A portrait image is taller than wide. If your result looks inverted, use the swap button.
  • Rounding too early: Round only the final pixel values, not the ratio itself, to keep results accurate.
  • Ignoring safe margins: When cropping to a new ratio, keep faces, text and logos away from the edges that might be trimmed.
  • Upscaling small images: A bigger aspect-correct size does not add detail. Start from the largest original you have.
  • Forgetting the platform changes: Social networks adjust preferred sizes now and then, so double-check before a big campaign.

Image Aspect Ratio Calculator on Any Device, No Software Needed

This online aspect ratio calculator works in every modern browser on Windows, Mac, Linux, Android and iPhone. There is nothing to install and no account to create. Open the page, type your numbers and get the answer in a second. It is a lightweight alternative to opening Photoshop, Figma or Canva just to check a ratio, and it is easy to use on a phone while you are preparing a post or checking a screen size.

Because all calculations happen on your own device, the tool is fast and private. If you choose an image to read its size, the picture is only used to get its width and height, and it never leaves your browser.

Aspect Ratios for Video, YouTube and Presentations

Aspect ratio matters for video and slides just as much as for photos. Using the wrong ratio creates black bars or cropped content, so match your image or video to the platform.

Common video and screen aspect ratios
RatioTypical resolutionCommon use
16:91920 x 1080, 1280 x 720, 3840 x 2160YouTube, TVs, laptops, slides
9:161080 x 1920Stories, Reels, Shorts, TikTok
4:31024 x 768, 1600 x 1200Older displays, classic slides
1:11080 x 1080Square social posts
21:92560 x 1080Ultrawide monitors and cinematic video

Who Uses an Image Aspect Ratio Calculator?

  • Web designers and developers: Set responsive image sizes and CSS aspect-ratio values.
  • Photographers and printers: Choose crops that fit frames and print sizes.
  • Social media managers: Resize creative for every platform without distortion.
  • Video editors: Keep clips and thumbnails in the right ratio.
  • Students and beginners: Learn how width and height relate to each other.

More Free Tools You May Need

Once you know your ratio, these free tools make the next step easy:

Free Image Aspect Ratio Calculator for Designers, Developers and Creators

Our free image aspect ratio calculator is built for designers preparing artwork, developers building responsive layouts, photographers planning crops and prints, video editors setting up projects, and social media managers who need the right size for every platform. It combines a ratio finder, a proportional resize calculator and a crop calculator in one clean page, with no limits and no watermark.

Ready to try it? Scroll back up, enter your width and height and get your aspect ratio in a moment. If you also need to convert or compress images, explore the other free image tools on our site.

ADVERTISEMENT
Demo Ad In-article
COMMON QUESTIONS

Image Aspect Ratio Calculator FAQ

Quick answers about finding an aspect ratio, resizing without distortion and cropping to the right shape.

How do I calculate the aspect ratio of an image?

Divide the width and the height by their greatest common divisor. For example, 1920 × 1080 divided by 120 gives 16:9. With this calculator you only type the width and height, and the exact ratio, the decimal value and the closest standard ratio appear instantly.

How do I find the new height when I change the width?

Multiply the new width by the original height and divide by the original width. For a 4000 × 3000 image resized to 1200 pixels wide, the new height is 1200 × 3000 ÷ 4000 = 900 pixels. Resize mode does this automatically, and it works the other way too when you enter a new height.

What is the aspect ratio of 1920x1080 and 1280x720?

Both 1920 × 1080 (Full HD) and 1280 × 720 (HD) have an aspect ratio of 16:9. They differ only in resolution, not in shape. Other 16:9 sizes include 2560 × 1440 and 3840 × 2160 (4K).

Why does the calculator show a ratio like 683:384 instead of 16:9?

Some sizes, such as 1366 × 768, are not exactly 16:9 but very close to it, so the exact simplified ratio looks unusual. The tool also shows the closest common ratio and the percentage difference, so you can see that 1366 × 768 is effectively 16:9 for everyday use.

What is the best aspect ratio for Instagram, YouTube and Pinterest?

Instagram posts work well as 1:1 square or 4:5 portrait, Stories and Reels use 9:16, YouTube videos use 16:9, and Pinterest pins perform best at 2:3. Platforms update their layouts from time to time, so check the current guidance before publishing important content.

What is the difference between resizing and cropping an image?

Resizing changes the pixel size and keeps the same shape, so the whole image stays visible. Cropping removes part of the picture to change its shape, for example from 4:3 to 1:1. If you need both, crop to the target ratio first and then resize to the exact size.

Is this aspect ratio calculator free and are my images safe?

Yes, it is completely free, needs no signup and has no usage limit. All calculations happen in your browser. If you pick an image to read its dimensions, only the width and height are used and the file is not uploaded to any server.

ADVERTISEMENT
Demo Ad 970 x 250