Aspect Ratio Calculator
Three linked fields: width, height, and ratio. Type a new width and the height updates to keep the ratio; type a new ratio (`16:9`, `21×9`, `1920/1080`) and the height adjusts to match. Eight common presets cover most video/social formats. The 'fit inside' section solves the other common question: 'I have a 1280×800 container — how big will my 16:9 video render?'
Presets
1920 × 108016:9
Fit inside container
Largest size of this ratio that fits in the container without cropping.
Scaled to: 1280 × 720
How to use
- Pick a preset, or type any width/height/ratio — the others update automatically.
- Optionally enter a container size to see the scaled-to-fit dimensions.
- Copy the result string.
Frequently asked questions
- Why does the ratio get reduced to '8:5' instead of '16:10'?
- The tool divides both sides by the greatest common divisor — 16:10 and 8:5 are the same shape. Both are correct.
- Which separators does the ratio input accept?
- `:`, `×`, `x`, and `/` — `16:9`, `16×9`, `16x9`, `16/9` all work.
- What does 'fit inside' compute?
- Given a container W × H and your aspect ratio, the largest dimensions of that ratio that fit inside without cropping or stretching.
- Decimals?
- Yes — `2.39:1` (cinema scope) is parsed correctly.
Related tools
Image Aspect Ratio Detector
Drop an image and see its pixel dimensions, simplified aspect ratio, decimal ratio, megapixels, orientation, file size, and the closest common preset.
Image Crop (Aspect Ratio)
Crop any image to a standard aspect ratio (1:1, 16:9, 4:3, etc.) — centered automatically.
Image Padding & Border
Add solid or transparent padding and an optional border around any image. Fit to a target aspect ratio (1:1, 4:5, 16:9…) for Instagram, YouTube, or print — all in your browser.
DPI / Print Size Calculator
Pixels ↔ physical print size at any DPI. Common print presets (72 web, 150 draft, 300 photo, 600 fine art), megapixels, aspect ratio, and file size estimates.
Paper Size Reference & Pixel Calculator
Browse ISO 216 A/B/C, US (Letter/Legal/Tabloid/ANSI), Japanese JIS-B, photo and envelope paper sizes — see millimeters, inches and pixel dimensions at any DPI, plus side-by-side size comparison.
Two's Complement Converter (8–64 bit)
Enter a decimal, hex, binary, or octal value and see its 8/16/32/64-bit two's complement bit pattern, plus its signed and unsigned readings, hex, octal, and one's complement — in your browser.