Layout Aspect Ratio Calculator
Calculate video aspect ratio dimensions from width or height. Convert 16:9, 4:3, 2.35:1 cinema, and vertical 9:16 for social media and broadcast formats.
Use this result well
- Inputs that matter
- Width and height in pixels, with an optional ratio/size preset and the link control for proportional resizing.
- Output to expect
- A simplified aspect ratio, scaled preview, pixel count, diagonal in pixels and a CSS aspect-ratio declaration.
- How it works
- The ratio reduces the entered whole-pixel dimensions. When linking is on, changing one dimension adjusts the other to retain the current proportion, rounded to a whole pixel.
- Unlock the dimensions when you want to change the ratio itself. Presets replace the dimensions; review both values afterwards.
- The diagonal is measured in pixels, not inches. Copy includes the dimension summary as well as the CSS declaration.
Projects using Layout Aspect Ratio Calculator
This tool is part of these guided projects. Each project provides step-by-step instructions with checklists and all the tools you need in one place.
Related Tools
Tools you might need next
Calculate whole-pixel image dimensions with a locked ratio or independent width and height, then compare scale and pixel area before exporting in an editor.
Generate responsive breakpoints. CSS media queries or Tailwind config. sm, md, lg, xl. Free design tool with instant browser-based results — no account, works
Convert px to vw/vh. Viewport units. For responsive design. Assumes 1920x1080. Free design tool with instant browser-based results — no account, works on
Reference & details
How it works
Updated July 2026
How it works
Updated July 2026Height from Width
16:9 → ratio 1.778. Width 1920 → height 1080.
Height = Width ÷ Aspect Ratio (W:H as decimal W/H)Width from Height
Vertical 9:16: height 1920 → width 1080.
Width = Height × Aspect RatioSimplify Ratio
Divide both dimensions by greatest common divisor for clean ratio notation.
GCD simplification: 1920×1080 → 16:9Updated: July 2026
Example Scenarios
3840 width → 2160 height. Standard UHD delivery for YouTube and streaming.
1080 width → 1920 height. Full vertical HD for mobile-first content.
3840 × 1607 active pixels with letterbox bars to 2160 total height.
FAQ
About Layout Aspect Ratio Calculator
Compute video frame dimensions from any aspect ratio and one known side. Enter ratio (16:9, 4:3, 2.39:1, 9:16) plus width or height to get matching pixel dimensions for export, cropping, and social platform specs.