Free online aspect ratio calculator
This aspect ratio calculator does two jobs in one place. Use Resize keeping ratio to scale an image or video to a new width or height without distorting it, and use Simplify a ratio to turn raw pixel dimensions like 1920 × 1080 into a clean ratio such as 16:9. Everything updates live as you type and runs privately in your browser — no uploads, no sign-up, and no data ever leaves your device.
How to resize while keeping the aspect ratio
- Type your original width and original height into the first card.
- Enter the new width you want — the new height fills in automatically.
- Or enter the new height instead and the matching width is calculated for you.
- The proportions stay locked, so the result never looks stretched.
How to simplify a ratio
In the second card, enter any width and height and the tool divides both by their greatest common divisor to show the simplest whole-number ratio, plus a decimal form like 1.778:1 for ratios that do not reduce neatly. Press Copy to grab the simplified ratio for your notes, CSS, or a design brief. Common results include 16:9 for widescreen, 4:3 for older displays, 1:1 for square, and 3:2 for classic photos.
Private, accurate, and free
All the arithmetic happens locally in JavaScript, so your numbers stay on your machine. Need more quick math? Try our percentage calculator for discounts and changes, or convert artwork with the image to Base64 encoder. Bookmark this page so the next resize is only a click away.