Aspect Ratio Calc
Calculate aspect ratios and resize dimensions proportionally for images, video and responsive layouts (16:9, 4:3, 1:1 and more).
Common ratios
Type a new width or height — the other side is calculated from the original ratio.
Preview
CSS
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.
Common sizes for 16:9
| Size | Name | Action |
|---|---|---|
| 640 × 360 | nHD | |
| 854 × 480 ≈ | FWVGA (480p) | |
| 960 × 540 | qHD | |
| 1280 × 720 | HD (720p) | |
| 1366 × 768 ≈ | WXGA (≈16:9) | |
| 1600 × 900 | HD+ | |
| 1920 × 1080 | Full HD (1080p) | |
| 2560 × 1440 | QHD (1440p) | |
| 3200 × 1800 | QHD+ | |
| 3840 × 2160 | 4K UHD | |
| 5120 × 2880 | 5K | |
| 7680 × 4320 | 8K UHD |
≈ marks sizes whose height is rounded or that are only marketed with this ratio.
Screen & social presets
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.
Related tools
- Image to WebPConvert PNG and JPEG images to lightweight WebP with adjustable quality, batch processing and ZIP download — no uploads.
- Image ResizerResize and compress JPG, PNG and WebP images by pixels or percentage, keep the aspect ratio and download in bulk. Nothing is uploaded.
- SVG OptimizerMinify and clean SVG files with SVGO directly in your browser. Compare sizes, preview the result and download the optimized SVG.
- Favicon GeneratorGenerate a complete favicon set (multi-size ICO, PNGs, Apple touch icon and web manifest) from an image, a letter or an emoji — entirely in your browser.
- Color ConverterConvert colors between HEX, RGB, HSL, HSV, CMYK and OKLCH, pick colors visually and generate shades, tints and color harmonies.
- Contrast CheckerCheck the contrast ratio between text and background colors against WCAG 2.2 AA and AAA, with live preview and suggested fixes.