How Aspect Ratio Reduction (GCD), Cross-Multiplication & CSS aspect-ratio Work
Why Preserving Exact Aspect Ratios Prevents Stretched Videos & Cropped Thumbnails
An image or video's aspect ratio expresses the proportional relationship between its width and height as two simplified whole numbers separated by a colon (such as 16:9 for widescreen HD video or 9:16 for vertical mobile Reels and Shorts). When designers scale a banner, YouTube thumbnail, or responsive web container without locking the original aspect ratio, faces appear horizontally stretched or vertically squashed—or social media platforms automatically crop away important headline text. By reducing raw pixel dimensions via their Greatest Common Divisor (GCD) and cross-multiplying target dimensions, you can resize any asset cleanly while keeping 100% of your composition intact.
How to Calculate & Resize by Aspect Ratio in 3 Easy Steps
- Enter Base Dimensions or Click a Preset: Type your original width and height (e.g.,
1920 × 1080) or click any preset button like 16:9, 9:16, or 4:5.
- Type Either Target Width or Height: Edit Target Width (W2) or Target Height (H2)—the companion dimension updates automatically to maintain the exact proportion.
- Copy CSS / Dimensions or Resize an Image: Click Copy Dimensions, or select a local photo at the bottom to export it resized to your exact target pixels.
GCD Aspect Ratio Simplification & Cross-Multiplication Formulas + Worked Example
To simplify any resolution W1 × H1 into its lowest whole-number ratio and solve for a new target height H2:
Simplified Ratio = (W1 / GCD) : (H1 / GCD) | H2 = round( W2 × H1 / W1 )
Worked Example: Suppose you have a 4K video frame measuring 3840 × 2160 px and want to scale it down to a 1280 px wide web thumbnail.
The Greatest Common Divisor of 3840 and 2160 is 240, simplifying the aspect ratio to (3840/240) : (2160/240) = 16 : 9.
Target Height H2 = (1280 × 2160) / 3840 = 720 px → Exact proportional resolution = 1280 × 720 px.
Standard Video, Social Media, Screen & Print Aspect Ratios (16 Standards)
Use this creator and developer reference chart to match every platform's required aspect ratio and standard pixel dimensions.
| Aspect Ratio |
Decimal |
Standard Pixel Resolutions |
Primary Platform / Media Use |
| 16 : 9 (Widescreen HD) |
1.78 : 1 |
1920×1080, 1280×720, 3840×2160 |
YouTube videos, thumbnails, TVs, laptops |
| 9 : 16 (Vertical Mobile) |
0.56 : 1 |
1080×1920, 720×1280 |
YouTube Shorts, Instagram Reels, TikTok, Stories |
| 1 : 1 (Square) |
1.00 : 1 |
1080×1080, 1200×1200, 512×512 |
Instagram feed, profile avatars, favicons |
| 4 : 5 (Social Portrait) |
0.80 : 1 |
1080×1350, 864×1080 |
Instagram & Facebook vertical feed posts |
| 4 : 3 (Classic Photo / iPad) |
1.33 : 1 |
1600×1200, 1024×768 |
Digital cameras, iPads, classic presentations |
| 3 : 2 (35mm DSLR Standard) |
1.50 : 1 |
6000×4000, 1500×1000 |
DSLR/mirrorless cameras, 4×6 inch prints |
| 21 : 9 (Ultrawide Cinema) |
2.33 : 1 |
2560×1080, 3440×1440 |
Ultrawide gaming monitors & cinema trailers |
| 1.91 : 1 (Open Graph Card) |
1.91 : 1 |
1200×628 / 1200×630 |
Facebook, LinkedIn & X link preview cards |
| 2 : 3 (Pinterest / Poster) |
0.67 : 1 |
1000×1500, 2000×3000 |
Pinterest pins, book covers, vertical posters |
| 16 : 10 (Pro Laptop Display) |
1.60 : 1 |
1920×1200, 2560×1600 |
MacBook Pro & productivity WUXGA displays |
| 7 : 9 (Indian Exam Photo) |
0.78 : 1 |
3.5 cm × 4.5 cm (350×450 px) |
SSC, UPSC & IBPS passport photo uploads |
| 1 : 1.414 (ISO A4 Paper) |
0.71 : 1 |
2480×3508 px (300 DPI) |
International A4, A3 & A5 print documents |
| 8.5 : 11 (US Letter Paper) |
0.77 : 1 |
2550×3300 px (300 DPI) |
North American standard office printing |
| 2.39 : 1 (Anamorphic Scope) |
2.39 : 1 |
3840×1606 px |
Theatrical widescreen motion pictures |
CSS aspect-ratio Property |
Modern CSS3 |
aspect-ratio: 16 / 9; |
Prevents Cumulative Layout Shift (CLS) on web |
| Calculation Accuracy |
Exact Integer GCD |
100% Client-Side |
Instant bidirectional width/height solver |
Need to resize images in CM/inches/MM, crop to exact 1:1 or 16:9 frames, change 300 DPI print metadata, or compress under 50 KB? Explore our companion tools: