Aspect Ratio Calculator: Resize Images, Video & Simplify Ratios
Calculate proportional width and height, find the exact simplified aspect ratio from any pixel resolution (GCD), verify exact whole pixels, and copy CSS & Tailwind aspect-ratio code.
aspect-ratio: 16 / 9;
padding-bottom: 56.25%; • Tailwind: aspect-video
How to Calculate Aspect Ratios in 3 Steps
Choose Scale or Ratio Finder Mode
Use Scale Dimensions to resize within a locked preset (like 16:9 or 9:16), or switch to Find Ratio from Pixels to enter any custom width and height.
Enter Width, Height, or Quick Scale
Type a dimension or click 720p, 1080p, 1440p, or 4K. Watch the exactness pill to verify whether your pixels divide into whole integers.
Preview & Copy CSS or Tailwind
Inspect the scaled live shape box, swap between landscape and portrait, and copy the pixel size, CSS aspect-ratio, or Tailwind class.
The Complete Guide to Aspect Ratios, Geometry & Screen Resolutions
16:9). To simplify any pixel size into its ratio, divide both dimensions by their Greatest Common Divisor (GCD); to scale proportionally, use Height = (Width × H1) ÷ W1.
The Mathematics Behind Aspect Ratio Calculation (GCD & Scaling)
To simplify any pixel resolution into its lowest ratio, divide both width and height by their Greatest Common Divisor (GCD) using Euclid's algorithm:
New Height = (New Width × H1) ÷ W1 | New Width = (New Height × W1) ÷ H1
Decimal Multiplier (16:9) = 16 ÷ 9 = 1.7778
Display Aspect Ratio (DAR) vs. Pixel Aspect Ratio (PAR)
Modern LCD, OLED, and smartphone screens use strictly square pixels (PAR = 1:1), so Storage Aspect Ratio (SAR) equals Display Aspect Ratio (DAR). Legacy broadcast formats like NTSC/PAL DVDs used rectangular pixels, whereas all calculations here follow modern square-pixel standards.
Why 3440×1440 Ultrawide Monitors Are Not Exactly 21:9
Monitors marketed as "21:9" (2.333:1) rarely use an exact 21:9 pixel grid: 2560×1080 simplifies to 64:27 (2.37:1), and 3440×1440 simplifies to 43:18 (2.39:1), which closely matches 2.39:1 Hollywood anamorphic cinema.
Letterboxing vs. Pillarboxing
- Letterboxing (Top & Bottom Bars): Occurs when wider 21:9 or 2.39:1 cinema video plays inside a 16:9 screen.
- Pillarboxing (Left & Right Bars): Occurs when 4:3 classic video or 9:16 vertical phone video plays inside a 16:9 widescreen display.
Standard Aspect Ratios & Social Media Resolution Matrix
| Ratio | Decimal | Common Resolutions | Best Media / Social Platform |
|---|---|---|---|
| 16:9 | 1.78:1 | 1280×720, 1920×1080, 2560×1440, 3840×2160 | YouTube, HDTV, Desktop Monitors, X Video |
| 9:16 | 0.56:1 | 720×1280, 1080×1920 | TikTok, Instagram Reels, YouTube Shorts, Stories |
| 4:3 | 1.33:1 | 1024×768, 1440×1080, 2048×1536 | iPad Tablets, Classic TV, Retro Gaming |
| 3:2 | 1.50:1 | 1500×1000, 2400×1600, 6000×4000 | DSLR / Mirrorless Full-Frame Photography, 4×6 Prints |
| 1:1 | 1.00:1 | 1080×1080, 2048×2048 | Square Instagram Posts, Avatars, Album Art |
| 4:5 | 0.80:1 | 1080×1350 | Instagram Portrait Feed (maximum mobile height) |
| 1.91:1 | 1.91:1 | 1200×630, 1200×628 | Open Graph (OG) Link Cards, Facebook & LinkedIn Shares |
| 21:9 / 43:18 | 2.33–2.39:1 | 2560×1080, 3440×1440, 3840×1606 | Ultrawide Gaming Monitors & Anamorphic Cinema |
Frequently Asked Questions
Explore More Tools & Useful Platforms
Check out our other free client-side utilities, tech guides, and video tutorials:
Check your camera resolution, live FPS, megapixels, snapshots, and microphone levels in 1 click.
Open Webcam Test →Eject trapped water and dust from phone speakers using calibrated 165Hz acoustic waves.
Open Fix My Speaker →Strip ChatGPT fluff, Markdown syntax, citations, and hidden Unicode characters instantly.
Open AI Text Cleaner →Explore tutorials and guides on 1io.site or watch walkthroughs on videos.1io.site.
Visit 1io.site →