← All articles

Image Aspect Ratio Calculator & Guide (Common Ratios Explained)

Every platform has a preferred shape for images — YouTube wants wide rectangles, Instagram Stories want tall ones, and passport photos want perfect squares. Aspect ratio is what defines that shape, and getting it right is the difference between a crisp thumbnail and a cropped-off face.

This guide covers what aspect ratio means, how to calculate it from any image dimensions, the ratios every platform uses, and how to change your image's aspect ratio without guessing. You can jump straight to the Pixotter crop tool to change your ratio now, or read on to understand what you're actually changing.


What Is Image Aspect Ratio?

Aspect ratio is the proportional relationship between an image's width and its height, expressed as two numbers separated by a colon — like 16:9 or 4:3.

The numbers themselves don't represent actual pixels. They represent a ratio. A 1920×1080 image and a 1280×720 image both have a 16:9 aspect ratio — same shape, different resolution.

A few practical implications:

Portrait ratios (height > width) suit vertical content like phone screens and Stories. Landscape ratios (width > height) suit video, presentations, and most displays. Square ratios (1:1) are platform-neutral and always safe for thumbnails.


Common Aspect Ratios

Ratio Example Pixels Common Use Cases
1:1 1080×1080, 800×800 Instagram feed, profile photos, product images
16:9 1920×1080, 1280×720 YouTube, TV, desktop wallpaper, presentations
9:16 1080×1920, 720×1280 TikTok, Instagram Reels, YouTube Shorts, phone wallpaper
4:3 1280×960, 800×600 Older monitors, tablets, some print formats
3:2 1500×1000, 3000×2000 DSLR photos, print (4×6), Flickr, 500px
2:3 1000×1500, 2000×3000 Pinterest portrait, book covers, vertical print
4:5 1080×1350, 864×1080 Instagram portrait (maximum feed crop)
21:9 2560×1080, 3440×1440 Ultrawide monitor wallpaper, cinematic video
5:4 1280×1024, 2500×2000 5×4 print, older square monitors
3:4 768×1024 iPad portrait, some print layouts

Which ratio should you use? For anything that might appear on multiple platforms, 16:9 is the safe default for landscape content and 9:16 for vertical. For still images with no specific destination, 3:2 matches most camera sensors — it's what your photos already are before anything touches them.


How to Calculate Aspect Ratio

The Formula

To find an image's aspect ratio, divide both the width and height by their greatest common divisor (GCD). The GCD is the largest number that divides evenly into both dimensions.

Formula:

GCD(width, height) = GCD(height, width mod height)   [repeat until remainder is 0]
aspect ratio = (width / GCD) : (height / GCD)

Step-by-Step Example

Image dimensions: 1920 × 1080

Step 1 — Find the GCD:

GCD(1920, 1080)
= GCD(1080, 1920 mod 1080)
= GCD(1080, 840)
= GCD(840, 1080 mod 840)
= GCD(840, 240)
= GCD(240, 840 mod 240)
= GCD(240, 120)
= GCD(120, 240 mod 120)
= GCD(120, 0)
= 120

Step 2 — Divide both dimensions by the GCD:

1920 / 120 = 16
1080 / 120 = 9

Aspect ratio: 16:9

Another Example: 1200 × 900

GCD(1200, 900) → GCD(900, 300) → GCD(300, 0) = 300
1200 / 300 = 4
900 / 300 = 3

Aspect ratio: 4:3

Calculating Target Dimensions

Going the other direction — "I know the ratio I want, what pixel dimensions do I need?" — is straightforward:

target_height = target_width / ratio_width * ratio_height

For a 16:9 image that's 800 pixels wide:

800 / 16 * 9 = 450

Target dimensions: 800 × 450

For a 1:1 square from a 1200px wide starting point:

target_height = 1200 / 1 * 1 = 1200

Target dimensions: 1200 × 1200


How to Change Image Aspect Ratio with Pixotter

Pixotter's crop tool at /crop handles aspect ratio changes directly in your browser — no upload to a server, no account required.

Step 1 — Open the Crop Tool

Go to pixotter.com/crop. Drop your image into the tool or click to open the file picker.

Step 2 — Select Your Target Ratio

The crop tool shows preset ratio buttons along the top of the crop interface:

Click the button matching your target platform. The crop selection area immediately snaps to that ratio — you can resize it or move it around the image, but it stays locked to the correct proportions.

Step 3 — Position the Crop

Drag the crop box to frame your subject. If you want to crop to a specific part of the image rather than the center, just drag the box there. The aspect ratio lock ensures the output will hit your target ratio exactly.

If none of the presets match what you need, you can enter a custom ratio using the width and height inputs — useful for formats like 4:5 (Instagram portrait maximum) or 2:3 (Pinterest).

Step 4 — Download

Click Crop and download. The output file matches your target ratio to the pixel.

Need to resize after cropping? The Pixotter resize tool lets you set exact output dimensions — crop to the right ratio first, then resize to the right resolution.


Aspect Ratio by Platform

Different platforms display images differently — some crop automatically, others letterbox, others reject uploads that don't match. Use this table to target the right ratio on the first pass.

Platform Content Type Recommended Ratio Safe Pixels Notes
YouTube Thumbnail 16:9 1280×720 Minimum 640px wide
YouTube Shorts 9:16 1080×1920 Full-screen vertical
Instagram Feed (square) 1:1 1080×1080 Always safe
Instagram Feed (portrait) 4:5 1080×1350 Max portrait crop shown in feed
Instagram Feed (landscape) 1.91:1 1080×566 Compressed heavily in-feed
Instagram Stories / Reels 9:16 1080×1920 150px top and bottom may be cropped by UI
TikTok Video / Image 9:16 1080×1920 Anything else gets pillarboxed
Twitter / X In-feed image 16:9 1200×675 Twitter crops to 16:9 in timeline
Twitter / X Profile photo 1:1 400×400 Displayed as circle
LinkedIn Feed post 1.91:1 1200×628 Link preview also uses this
LinkedIn Profile banner 4:1 1584×396 Wide banner ratio
Facebook Feed post 1.91:1 1200×630 Albums may show 1:1
Facebook Cover photo ~2.7:1 820×312 Desktop and mobile differ
Pinterest Pin 2:3 1000×1500 Standard tall pin
Pinterest Wide pin 1:1 1000×1000 Square also works well

Rule of thumb: If you only prepare one version of a social image, 1:1 (square) is the most cross-platform safe. It displays properly on every platform without cropping — the only ratio that's true for all of them.

For platform-specific image sizing beyond just ratios, see the image size for website guide and the standard photo print sizes reference for print dimensions.


FAQ

What's the difference between aspect ratio and resolution?

Aspect ratio is shape; resolution is size. A 1920×1080 and a 640×360 image have the same aspect ratio (16:9) but very different resolutions. You can scale one from the other without distortion — the ratio stays the same even as the pixel count changes.

Can I change aspect ratio without cropping anything out?

Yes — by adding empty space (called letterboxing or pillarboxing). This pads the shorter dimension with bars (usually black or white) to reach the target ratio. Cropping removes content; padding preserves it but adds blank space. Pixotter's crop tool focuses on cropping. If you need to add padding instead, use a canvas resize approach.

What aspect ratio is 9:16 in pixels?

9:16 is a vertical ratio where the height is taller than the width. The most common pixel implementation is 1080×1920 (Full HD portrait). Smaller variants: 720×1280, 540×960. The ratio stays 9:16 as long as you keep the same proportion — multiply both sides by any integer.

How do I know what aspect ratio my image currently is?

Check the image dimensions. On most operating systems: right-click the file → Properties (Windows) or Get Info (Mac) → look for the pixel dimensions. Then divide both numbers by their GCD (see the calculation section above). Or just open the image in Pixotter — the tool displays the current dimensions.

Why does my image look stretched after resizing?

Stretching happens when you change both width and height independently, breaking the original aspect ratio. Always resize with the aspect ratio locked — most tools have a padlock icon that links width and height. The Pixotter resize tool locks the ratio by default.

What aspect ratio should I use for YouTube thumbnails?

16:9, at a minimum of 1280×720 pixels. YouTube recommends 1280×720 and enforces a maximum file size of 2MB. It displays thumbnails at 16:9 across all surfaces — if you upload a different ratio, YouTube crops it or adds black bars.

What's the correct aspect ratio for a passport photo?

Most countries require a 1:1 square crop (2×2 inches at 300 DPI = 600×600px for the US). Some countries use slightly different dimensions — check the specific requirements for your country before printing. The key things passport authorities check are the face-to-frame ratio and background color, not just the image dimensions. For circular crops needed in some document photos, the circle crop tool covers that workflow.

What's the 4:5 aspect ratio for on Instagram?

4:5 is the tallest portrait crop Instagram allows in the feed — 1080×1350 pixels. It's not one of the standard "nice" ratios like 4:3 or 3:2, which is why it confuses people. The reason Instagram chose 4:5: it's the maximum portrait crop that fits cleanly within their feed layout without causing layout issues. For Reels and Stories, go full 9:16 instead.