⚡ Scale by Ratio + Find Ratio from Pixels (GCD) + Nearest Match
✓ Instant CSS aspect-ratio, Padding % & Tailwind Snippets

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.

✓ Exact whole pixels
Popular Ratios:
:
×
Quick Scale:
16:9
1920 × 1080 px • Diagonal: 2202.9 px
Simplified Ratio16:9
Nearest Common16:9 (Exact)
Decimal Factor1.78:1
Total Pixels2.07 MP
Standard MediaFull HD (1080p)
Developer CSS & Tailwind: aspect-ratio: 16 / 9; padding-bottom: 56.25%; • Tailwind: aspect-video

How to Calculate Aspect Ratios in 3 Steps

1

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.

2

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.

3

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

Quick Answer: An aspect ratio expresses width relative to height (like 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:

4K UHD (3840 × 2160): GCD = 240 → (3840 ÷ 240) : (2160 ÷ 240) = 16:9
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

Standard Aspect Ratios & Social Media Resolution Matrix

RatioDecimalCommon ResolutionsBest Media / Social Platform
16:91.78:11280×720, 1920×1080, 2560×1440, 3840×2160YouTube, HDTV, Desktop Monitors, X Video
9:160.56:1720×1280, 1080×1920TikTok, Instagram Reels, YouTube Shorts, Stories
4:31.33:11024×768, 1440×1080, 2048×1536iPad Tablets, Classic TV, Retro Gaming
3:21.50:11500×1000, 2400×1600, 6000×4000DSLR / Mirrorless Full-Frame Photography, 4×6 Prints
1:11.00:11080×1080, 2048×2048Square Instagram Posts, Avatars, Album Art
4:50.80:11080×1350Instagram Portrait Feed (maximum mobile height)
1.91:11.91:11200×630, 1200×628Open Graph (OG) Link Cards, Facebook & LinkedIn Shares
21:9 / 43:182.33–2.39:12560×1080, 3440×1440, 3840×1606Ultrawide Gaming Monitors & Anamorphic Cinema

Frequently Asked Questions

An aspect ratio is the proportional relationship between an image, video, or screen's width and height. Written as two numbers separated by a colon (e.g. 16:9), the first value represents width and the second represents height.
Switch the calculator to 'Find Ratio from Pixels (GCD)' mode and enter your exact width and height (such as 2400 and 1600). The tool divides both numbers by their Greatest Common Divisor (800) and outputs the simplified ratio (3:2) plus the nearest standard ratio.
16:9 is the standard horizontal landscape widescreen format for YouTube, HDTVs, and monitors (such as 1920x1080). 9:16 is the vertical portrait format used for TikTok, Instagram Reels, and YouTube Shorts (such as 1080x1920).
Use 9:16 (1080x1920) for TikTok, Reels, and YouTube Shorts; 4:5 (1080x1350) for Instagram feed photos to maximize vertical mobile screen space; 1:1 (1080x1080) for square carousels; 1.91:1 (1200x630) for Open Graph link cards; and 16:9 (1920x1080) for YouTube and X video.
Modern browsers natively support 'aspect-ratio: 16 / 9;'. Applying it to an image, video, or container with 'width: 100%;' automatically reserves proportional height, preventing Cumulative Layout Shift (CLS) without legacy padding-top hacks.
21:9 is a marketing label for cinema-style ultrawide screens (2.33:1). Mathematically, 3440x1440 has a GCD of 80, reducing to 43:18 (2.39:1), while 2560x1080 reduces to 64:27 (2.37:1).
Yes. Digital image and video files require whole integer pixels, so Scale mode rounds to the nearest whole pixel and flags whether the result is an exact whole integer or rounded from a fraction.

Explore More Tools & Useful Platforms

Check out our other free client-side utilities, tech guides, and video tutorials:

📷 Webcam Test

Check your camera resolution, live FPS, megapixels, snapshots, and microphone levels in 1 click.

Open Webcam Test →
🔊💧 Fix My Speaker

Eject trapped water and dust from phone speakers using calibrated 165Hz acoustic waves.

Open Fix My Speaker →
🧹 AI Text Cleaner

Strip ChatGPT fluff, Markdown syntax, citations, and hidden Unicode characters instantly.

Open AI Text Cleaner →
🌐 1io.site & Videos

Explore tutorials and guides on 1io.site or watch walkthroughs on videos.1io.site.

Visit 1io.site →
✅Ready