A worked example, rendered from real sample data. Sign in to run the tool on your own input.
1920x1080=== Aspect Ratio ===
Input: 1920 × 1080
Ratio: 16:9
Decimal: 1.7778
Orientation: Landscape
Closest standard: 16:9 (exact)
Megapixels: 2.07 MP
=== CSS ===
aspect-ratio: 16 / 9;
padding-top: 56.25%;
Tailwind: aspect-[16/9]
=== Scaled Sizes ===
25% → 480 × 270
50% → 960 × 540
75% → 1440 × 810
100% → 1920 × 1080
150% → 2880 × 1620
200% → 3840 × 2160
=== Common Resolutions (16:9) ===
720p (HD): 1280 × 720
1080p (Full HD): 1920 × 1080
1440p (QHD): 2560 × 1440
4K (UHD): 3840 × 2160
8K (UHD): 7680 × 4320
Calculate aspect ratios and resize dimensions proportionally. Part of the DevTools Surf developer suite. Browse more tools in the Images collection.