Developer & Design 100% Client-Side
Aspect Ratio & Resolution Scaler
Calculate simplified aspect ratios, scale video or image dimensions proportionally, and copy CSS aspect-ratio.
Proportional Scaler (edit either side)
Ratio & Preview
Simplified Ratio
16:9
Decimal: 1.778:1
Scaled Output
1280×720
0.92 MP
Orientation
Landscape
aspect-ratio: 16 / 9;
16:9
How to Use This Tool
- Enter any width and height (or pick presets like 1080p, 4K, Vertical 9:16, Ultrawide 21:9, or Square 1:1).
- Lock the ratio and enter a new target width or height to compute exact proportional pixel dimensions.
- Copy the ready-to-use CSS `aspect-ratio` rule directly into your stylesheet.
Formula & Method
Simplified Ratio = (W / gcd(W, H)) : (H / gcd(W, H))
All calculations run directly inside your browser. No input values are sent to any external server.
Frequently Asked Questions
What is the aspect ratio of 1920×1080?
1920×1080 simplifies to 16:9 (widescreen HD). The same 16:9 ratio applies to 1280×720, 2560×1440, and 3840×2160 (4K UHD).
What dimensions are best for YouTube Shorts, Reels, and TikTok?
Vertical 9:16 video at 1080×1920 pixels is the standard high-definition resolution for short-form mobile video.
Related Tools
Color & WCAG Contrast
Check WCAG 2.1 AA/AAA accessibility contrast ratios and convert colors between HEX, RGB, and HSL.
Unit Converter
Instantly convert length, weight, temperature, volume, area, speed, and digital storage units.
Percentage Calculator
Calculate percentages, percentage increase/decrease, and ratios instantly in one clean view.