Aspect Ratio Calculator
Calculate missing width or height from any aspect ratio. Convert pixels to ratio. Find print size at any DPI, calculate pixel density (PPI), and get exact Fit vs Fill dimensions with padding and crop values. 20+ ratio presets for screens, social media, film and photography.
Aspect Ratio Calculator Tool
Enter an image's width and height to find its aspect ratio, simplified form, decimal value and nearest standard ratio.
Enter an aspect ratio and one known dimension — the other is calculated instantly.
Resize an image proportionally. Enter original dimensions and one new dimension — the other scales automatically.
Calculate the pixel density (PPI — pixels per inch) of any display or image. Enter resolution and physical size.
Find the print size (in inches and cm) of any pixel-dimensioned image at standard DPI values. 300 DPI is the professional print standard.
Calculate exact Fit (contain) and Fill (cover) dimensions. Fit preserves the whole image with padding; Fill covers the target frame and may crop.
object-fit: containobject-fit: coverRate this tool
Common aspect ratios — complete reference guide
Every major use case has its own standard aspect ratio. This table covers screens, video, photography, social media and print — with example resolutions and the contexts where each ratio appears.
| Ratio | Decimal | Common resolutions | Used in |
|---|---|---|---|
| 16:9 | 1.778 | 1280×720, 1920×1080, 3840×2160 | HDTV, YouTube thumbnails, most laptop and desktop monitors, video calls |
| 4:3 | 1.333 | 1024×768, 1400×1050, 2048×1536 | Legacy TV, iPad (original), presentations, some compact cameras |
| 1:1 | 1.000 | 1080×1080, 1200×1200, 2048×2048 | Instagram square posts, profile pictures, album art, product images |
| 3:2 | 1.500 | 1080×720, 1800×1200, 4500×3000 | 35mm film, DSLR cameras (most Canon, Nikon, Sony), standard prints (6×4) |
| 2:3 | 0.667 | 720×1080, 1200×1800, 2000×3000 | Portrait photography, Instagram portrait posts (rotated 3:2) |
| 9:16 | 0.563 | 1080×1920, 720×1280 | Instagram Stories, TikTok, Reels, YouTube Shorts, mobile video |
| 4:5 | 0.800 | 1080×1350, 1600×2000 | Instagram portrait posts (max feed size), Facebook portrait ads |
| 21:9 | 2.333 | 2560×1080, 3440×1440, 5120×2160 | Ultrawide monitors, cinematic letterbox video, gaming displays |
| 5:4 | 1.250 | 1280×1024, 2500×2000 | Some older desktop monitors, standard 5×4 print format |
| 17:9 | 1.889 | 2048×1080 | DCI 2K cinema projection standard |
| 1.85:1 | 1.850 | 1998×1080 | Flat (standard 35mm theatrical film — most Hollywood releases) |
| 2.39:1 | 2.390 | 2048×858, 4096×1716 | CinemaScope / anamorphic widescreen (action films, blockbusters) |
| 1.43:1 | 1.430 | 11080×7680 | IMAX 15-perf (The Dark Knight, Interstellar IMAX sequences) |
| 32:9 | 3.556 | 3840×1080, 5120×1440 | Super ultrawide monitors, Samsung Odyssey Neo G9 |
| 3:4 | 0.750 | 768×1024, 1536×2048 | iPad tablets (most models), standard A4 document portrait |
5 calculators in one — everything about image dimensions
Most aspect ratio calculators only solve for one missing dimension. This tool covers the full dimension workflow for designers, photographers, video editors, developers and social media managers.
How to use this aspect ratio calculator — step by step
How this aspect ratio calculator compares
Most free aspect ratio calculators do one thing — solve for a missing dimension. Very few combine ratio conversion, PPI, print sizing and Fit vs Fill math in a single tool. Here is how LazyTools stacks up.
| Feature | LazyTools ✦ | Calculator Soup | Kapwing | aspectratiocalculator.com |
|---|---|---|---|---|
| Pixels → simplified ratio (GCD) | ✔ Yes | ✔ Yes | ✘ No | ✔ Yes |
| Solve missing width or height | ✔ Yes | ✔ Yes | ✔ Yes | ✔ Yes |
| Visual shape preview + comparisons | ✔ Yes | ✘ No | ✘ No | ✔ Yes |
| 20+ ratio presets with descriptions | ✔ Yes | Partial | Partial | ✔ Yes |
| CSS padding-top trick output | ✔ Yes | ✘ No | ✘ No | ✘ No |
| Scale existing dimensions proportionally | ✔ Yes | ✔ Yes | ✘ No | ✘ No |
| PPI / pixel density calculator | ✔ Yes | ✘ No | ✘ No | ✘ No |
| Print size at 7 DPI values | ✔ Yes (72–600 DPI) | ✘ No | ✘ No | ✘ No |
| Fit vs Fill (contain / cover) math | ✔ Exact px values | ✘ No | ✘ No | ✘ No |
| Megapixel count output | ✔ Yes | ✘ No | ✘ No | ✘ No |
| Copy-ready output values | ✔ Yes | ✘ No | ✘ No | ✘ No |
The Complete Guide to Aspect Ratios — Screens, Social Media, Video and Print
Aspect ratio is one of the most fundamental concepts in visual media — it defines the shape of any rectangular frame, from a phone screen to a cinema screen to an Instagram post. Understanding aspect ratios lets you resize images without distortion, choose the right format for every platform, and communicate dimensions clearly across design, development, photography and video workflows.
What is an aspect ratio?
An aspect ratio describes the proportional relationship between the width and height of a rectangle. It is expressed as two numbers separated by a colon — 16:9, 4:3, 1:1 — where the first number represents the width and the second represents the height. Crucially, aspect ratio describes shape, not size. A 1280×720 image and a 3840×2160 image are different sizes but share the same 16:9 ratio — they have identical shapes at different scales.
The same principle applies to decimal ratios. Dividing 16 by 9 gives 1.778 — this is the decimal form of 16:9. Decimal ratios are useful in CSS (where aspect-ratio: 16/9 is a property), in programming, and when comparing ratios that cannot be easily simplified to whole numbers.
How to calculate aspect ratio from pixel dimensions
To find the aspect ratio of any image, divide both the width and height by their greatest common divisor (GCD) — the largest whole number that divides both without a remainder. For a 1920×1080px image, the GCD of 1920 and 1080 is 120. Dividing both gives 16:9. The Pixels → Ratio calculator above does this automatically for any dimensions using the Euclidean algorithm.
Not every pixel dimension simplifies neatly to a recognisable ratio. A 1366×768 display has a GCD of 2, giving 683:384 — a near-16:9 ratio but not exactly. The calculator shows both the exact simplified ratio and the nearest standard ratio (16:9 in this case), so you know what you are working with.
The 16:9 ratio — why it dominates modern screens
The 16:9 widescreen ratio became the global standard for HD television in the 1990s and has since spread to laptops, desktop monitors, projectors, video games, streaming video, YouTube and most video conferencing platforms. Its prevalence is a practical result of human visual perception — our horizontal field of vision is wider than our vertical field, making wider frames feel more natural for video content.
Common 16:9 resolutions form a clean progression: 1280×720 (HD), 1920×1080 (Full HD), 2560×1440 (QHD), 3840×2160 (4K UHD), 7680×4320 (8K). Each step quadruples the total pixel count while maintaining the same shape. YouTube thumbnails must be 16:9 at 1280×720px minimum — smaller submissions appear blurry in search results and on connected TVs. Use the Ratio → Dimension calculator to find any 16:9 size instantly.
Social media aspect ratios — platform-by-platform guide
Every social media platform has specific aspect ratio requirements. Instagram accepts images from 1:1 (square) to 4:5 (portrait) to 1.91:1 (landscape) in the feed, with 9:16 for Stories and Reels. The 4:5 portrait ratio at 1080×1350px occupies the maximum possible feed space — about 33% more vertical real estate than a square post — making it the choice for high-visibility content.
TikTok, Instagram Reels and YouTube Shorts all use the 9:16 vertical ratio at 1080×1920px. This is the inverse of 16:9 — the same shape rotated 90 degrees. When shooting video on a smartphone held vertically, you are naturally capturing 9:16 content. Twitter/X post images display at 16:9 (1200×675px) in the feed, with a 3:1 ratio (1500×500px) for header banners. Facebook cover photos use a non-standard ~2.63:1 ratio (820×312px).
Photography aspect ratios — cameras and prints
Most DSLR and mirrorless cameras capture images at a 3:2 ratio — the aspect ratio of 35mm film, which has been the standard for over 50 years. A 24MP full-frame sensor captures at roughly 6000×4000px, which is 3:2. Printing a 3:2 image at standard 6×4 inch (15×10cm) print size preserves the ratio perfectly — one of the few cases where camera ratio and print size match without cropping.
Standard print sizes do not always match common camera ratios. Printing a 3:2 camera image to 8×10 inches requires cropping — the 8:10 ratio (4:5) is different from 3:2. Printing to 4×6 preserves the ratio; printing to 5×7, 8×10 or A4 all require composition-level decisions about what to crop. The Fit vs Fill calculator makes this explicit: it shows exactly how much of the image is cropped or padded for any target size.
Pixel density (PPI) — what it means for quality
PPI (pixels per inch) measures how densely pixels are packed into a display or print. A 1920×1080 resolution on a 27-inch monitor produces about 81 PPI — comfortable for desktop use at normal viewing distance. The same resolution on a 5.5-inch phone screen would give about 401 PPI — Apple's "Retina" threshold (the point at which individual pixels become indistinguishable at typical viewing distance) is approximately 220 PPI for phone screens and 110 PPI for desktop monitors.
For print, PPI and DPI are closely related. Professional offset printing uses 300 DPI (dots per inch), which requires 300 pixels for every inch of printed size. A 3000×2000px image prints at 10×6.67 inches at 300 DPI — large enough for magazine use.
At 72 DPI (typical web resolution), the same 3000×2000px image would print at over 40 inches wide — but with large, clearly visible pixels. Use the Print Size calculator above to find the maximum print size your image supports at each quality level.
The CSS padding-top trick for maintaining aspect ratio
Web developers frequently need elements to maintain a specific aspect ratio as they scale with the browser window. The classic CSS approach uses a percentage-based padding-top on an empty element — since padding percentages are calculated from the parent's width, not height, this creates a proportional relationship. For a 16:9 ratio, padding-top: 56.25% (9÷16×100). Modern browsers also support the native aspect-ratio: 16/9 CSS property directly, which is cleaner and better supported. The Pixels → Ratio calculator provides both values ready to copy.
Fit vs Fill — contain and cover in image layouts
When placing an image into a frame of different proportions, two strategies exist: Fit (contain) and Fill (cover). Fit scales the image to be as large as possible while showing the complete image — if the aspect ratios differ, letterbox bars (horizontal empty space) or pillarbox bars (vertical empty space) fill the remaining area. Fill scales the image to completely cover the frame with no empty space — if the aspect ratios differ, the image is cropped, with edges trimmed on the longer axis.
Neither approach is universally correct — the right choice depends on context. Product images in e-commerce grids typically use Fit to show the complete product without unexpected cropping. Hero images on websites typically use Fill to cover the full browser width. Video thumbnails use Fill because the platform defines a fixed display ratio. Profile pictures use Fill with a circular mask. The Fit vs Fill calculator shows the exact scaled dimensions and the amount of padding or cropping on each axis, so you can make the right decision for each use case.