Find the aspect ratio
Resize without changing the ratio
1280 × 720 is exactly 16:9.
aspect-ratio: 16 / 9;How aspect ratio is calculated
An aspect ratio is width compared with height, reduced to the smallest whole numbers. Find the greatest common divisor of the two sides and divide both by it:
1920 × 1080 → greatest common divisor 120 → 16:9
1080 × 1350 → greatest common divisor 270 → 4:5
1366 × 768 → greatest common divisor 2 → 683:384 (≈ 16:9)
3440 × 1440 → greatest common divisor 80 → 43:18 (sold as 21:9)Some sizes do not reduce to a familiar ratio, like 1366 × 768. In that case the calculator shows the closest common ratio and how far off it is. Anything under about 1% looks identical.
Common aspect ratios and resolutions
| Ratio | Common sizes | Used for |
|---|---|---|
| 16:9 | 1280 × 720, 1920 × 1080, 2560 × 1440, 3840 × 2160 | Video, YouTube, most monitors and TVs |
| 16:10 | 1920 × 1200, 2560 × 1600 | Many laptops and productivity monitors |
| 4:3 | 1024 × 768, 1600 × 1200, 4032 × 3024 | iPad, older monitors, phone camera photos |
| 3:2 | 6000 × 4000, 2880 × 1920 | DSLR and mirrorless photos, Surface devices |
| 21:9 (64:27, 43:18) | 2560 × 1080, 3440 × 1440 | Ultrawide monitors, cinematic video |
| 1:1 | 1080 × 1080 | Square social posts, profile photos |
| 4:5 | 1080 × 1350 | Instagram portrait posts |
| 9:16 | 1080 × 1920 | Stories, Reels, TikTok, YouTube Shorts |
| 1.91:1 | 1200 × 630 | Link previews on Facebook, LinkedIn and X |
To produce every social size from one image, use the Social Media Image Resizer. To see how a page's link preview image actually renders, run it through the Open Graph Checker.
Changing size versus changing ratio
Scaling an image up or down keeps its ratio, so nothing is stretched. Changing the ratio, for example turning a 16:9 video into a 9:16 vertical clip, always means one of three things:
- Crop part of the picture away. Best when the subject sits in the middle.
- Pad with bars or a blurred background (letterboxing or pillarboxing). Keeps everything, but wastes space.
- Stretch it. People and text look distorted, so avoid this.
Aspect ratio in CSS and HTML
Browsers reserve space for an image before it loads when they know its ratio. Add width and height attributes to every <img>, or use the CSS aspect-ratio property on containers such as video embeds:
<img src="photo.jpg" width="1200" height="800" alt="…">
.video-embed { aspect-ratio: 16 / 9; width: 100%; }Without that space reserved, the page jumps as images load, which counts against your Cumulative Layout Shift score. The Blog Image Size Checkerreports an image's dimensions and file size before you upload it.
Frequently asked questions
How do I calculate an aspect ratio?
Divide the width and the height by their greatest common divisor. For 1920 × 1080 the greatest common divisor is 120, so the ratio is 1920 ÷ 120 : 1080 ÷ 120, which is 16:9. To express it as a decimal, divide width by height: 1920 ÷ 1080 = 1.78, written 1.78:1.
How do I resize an image without changing the aspect ratio?
Pick the new width, then multiply it by the original height and divide by the original width to get the new height. For a 4000 × 3000 photo resized to 1200 pixels wide, the height is 1200 × 3000 ÷ 4000 = 900. The calculator does this for you in both directions.
What aspect ratio is 1366 × 768?
Exactly 683:384, which is 1.7786:1. It is sold as 16:9 because it is within 0.05% of 16:9 (1.7778:1). The panel resolution was chosen to suit display hardware, not to match the ratio perfectly, and the difference is not visible.
What aspect ratio is 1080 × 1350?
4:5. It is the tallest portrait shape Instagram shows in the feed without cropping, which is why 1080 × 1350 is the usual size for portrait Instagram posts.
Is 21:9 really 21:9?
Not quite. 21:9 is a marketing name. A 2560 × 1080 ultrawide monitor is 64:27 (2.37:1) and a 3440 × 1440 monitor is 43:18 (2.39:1), while true 21:9 is 2.33:1. All three are close enough that content made for one fits the others with thin bars or a small crop.
Does the image I drop in get uploaded?
No. The browser reads the image's width and height on your device. The file is not uploaded, stored or sent anywhere.
Related Tools
- Social Media Image Resizer — Upload one image and automatically generate optimized versions for Instagram, Facebook, LinkedIn, Pinterest, YouTube and X using fast local image processing.
- Blog Image Size Checker — Analyze your image for dimensions, file size, format, aspect ratio and WordPress suitability using fast browser-based processing.
- Open Graph Checker — Preview how a link appears on Facebook, LinkedIn and X, check Open Graph and Twitter Card tags, and test the og:image size, format and reachability.
- Favicon Generator — Turn a PNG, JPG, SVG image or plain text into a full favicon package — multi-size favicon.
- PPI Calculator — Work out the pixels per inch of a monitor, laptop, phone or TV from its resolution and size, with dot pitch, physical size and viewing distance.
- SEO Title Checker — Check a title tag for length, keyword position and truncation, preview it in desktop and mobile results, and get a 0–100 headline score.