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.
W:H
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.
PX
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
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.
- Choose a mode: Pick Find ratio, Resize or Crop to ratio at the top of the calculator.
- 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.
- 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.
- Check the live preview: The preview box shows the shape of the ratio, and the result list shows the details.
- 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:1 | 1.000 | Square | Instagram posts, profile pictures, app icons, album covers |
| 5:4 | 1.250 | Landscape | Large-format photography, 8×10 inch prints |
| 4:3 | 1.333 | Landscape | Older monitors and TVs, iPad screens, many compact cameras |
| 3:2 | 1.500 | Landscape | DSLR and mirrorless photos, 35mm film, 4×6 inch prints |
| 16:10 | 1.600 | Landscape | Widescreen laptops and monitors |
| 16:9 | 1.778 | Landscape | HD and 4K video, YouTube, TVs, presentations, most monitors |
| 21:9 | 2.333 | Landscape | Ultrawide monitors and cinematic video |
| 4:5 | 0.800 | Portrait | Instagram portrait posts, 8×10 inch portrait prints |
| 2:3 | 0.667 | Portrait | Portrait photos, Pinterest pins, 4×6 inch portrait prints |
| 9:16 | 0.563 | Portrait | Stories, 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 post | 1:1 | 1080 × 1080 px |
| Instagram portrait post | 4:5 | 1080 × 1350 px |
| Stories, Reels, Shorts, TikTok | 9:16 | 1080 × 1920 px |
| YouTube video and thumbnail | 16:9 | 1920 × 1080 px (video), 1280 × 720 px (thumbnail) |
| Facebook and LinkedIn link preview | 1.91:1 | 1200 × 630 px |
| Open Graph image for websites | 1.91:1 | 1200 × 630 px |
| Pinterest pin | 2:3 | 1000 × 1500 px |
| Website hero banner | 16:9 or 3:1 | 1920 × 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| Ratio | Typical resolution | Common use |
|---|
| 16:9 | 1920 x 1080, 1280 x 720, 3840 x 2160 | YouTube, TVs, laptops, slides |
|---|
| 9:16 | 1080 x 1920 | Stories, Reels, Shorts, TikTok |
|---|
| 4:3 | 1024 x 768, 1600 x 1200 | Older displays, classic slides |
|---|
| 1:1 | 1080 x 1080 | Square social posts |
|---|
| 21:9 | 2560 x 1080 | Ultrawide 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.