AltUtils

Aspect Ratio Calc

Calculate aspect ratios and resize dimensions proportionally for images, video and responsive layouts (16:9, 4:3, 1:1 and more).

CategoryVisuals
Sheet31 / 42
ProcessingIn your browser
16:91.778:1Landscape2.07 MP

Type a new width or height — the other side is calculated from the original ratio.

1920 × 1080
→ 1280 × 720
aspect-ratio: 16 / 9;
padding-top: 56.25%;

Use aspect-ratio in modern CSS; the padding-top percentage is the legacy fallback for responsive embeds.

SizeNameAction
640 × 360nHD
854 × 480 ≈FWVGA (480p)
960 × 540qHD
1280 × 720HD (720p)
1366 × 768 ≈WXGA (≈16:9)
1600 × 900HD+
1920 × 1080Full HD (1080p)
2560 × 1440QHD (1440p)
3200 × 1800QHD+
3840 × 21604K UHD
5120 × 28805K
7680 × 43208K UHD

≈ marks sizes whose height is rounded or that are only marketed with this ratio.

What is the Aspect Ratio Calculator?

The Aspect Ratio Calculator finds the proportional relationship between a width and a height and helps you resize without distortion. Enter any size — whole numbers or decimals such as 2.35 × 1 — and it reduces it to the simplest whole-number ratio with the greatest common divisor (1920 × 1080 → 16:9, 1366 × 768 → 683:384), shows the decimal form and names the closest common ratio when the size is only approximately standard.

Type a new width or a new height and the other dimension is calculated instantly, rounded to whole pixels, to even pixels (required by many H.264/H.265 video encoders) or kept exact. Quick scale buttons, a table of standard resolutions for the current ratio, social-media and device presets, and ready-to-copy CSS (aspect-ratio and the padding-top fallback) cover the usual design, video and front-end workflows.

Frequently asked questions

What is an aspect ratio?
It is the proportion between width and height, written W:H. It describes the shape of an image or screen, not its size: 1280 × 720 and 3840 × 2160 are both 16:9.
How is the ratio simplified?
Both sides are divided by their greatest common divisor. Decimal inputs are first scaled to whole numbers, so 2.35:1 becomes 47:20 and 1.5:1 becomes 3:2.
Why does 1366 × 768 show 683:384 instead of 16:9?
Because it is not exactly 16:9 — 1366 ÷ 768 = 1.7786, while 16 ÷ 9 = 1.7778. The calculator shows the exact ratio and adds “≈ 16:9” as the closest common ratio.
How do I calculate a missing dimension?
Enter the original width and height, then type either the new width or the new height. The other value is computed as new height = new width × original height ÷ original width (or the reverse).
Why choose even pixel rounding?
Video formats using 4:2:0 chroma subsampling (most H.264, H.265 and VP9 files) require even widths and heights. Rounding to even numbers avoids encoder errors or a silently cropped pixel row.
How does aspect ratio help Core Web Vitals?
When an image, video or embed has width/height attributes or a CSS aspect-ratio, the browser reserves its space before it loads, which prevents layout shifts and improves your Cumulative Layout Shift (CLS) score.
Does this tool send my data anywhere?
No. All calculations run locally in your browser.