Work out the right pixel dimensions to keep an image or video in proportion. Set your target aspect ratio, such as 16:9 for widescreen video or 4:3 for classic photos, then type a width and the calculator fills in the matching height, or type a height to get the width. This saves you from squashed or stretched media when you resize, crop for a thumbnail, or plan a layout. You can also enter a custom ratio for anything unusual. Because it works both directions, you always land on the exact pair of dimensions that preserves the shape you want. It runs entirely in your browser with instant results as you type, so there is nothing to install and no waiting, and none of your values are ever sent anywhere.
You enter a width or height and a target ratio, and it calculates the matching dimension so the image stays proportional.
You can use common ratios like 16:9 or 4:3, or set your own, and the tool solves for the missing side.
Matching the ratio prevents images or videos from stretching or squashing when you resize them.
Work out the right pixel dimensions to keep an image or video in proportion. Set your target aspect ratio, such as 16:9 for widescreen video or 4:3 for classic photos, then type a width and the calculator fills in the matching height, or type a height to get the width.
Yes. Aspect Ratio Calculator is completely free, with no sign-up and no usage limits.
Yes. Aspect Ratio Calculator runs in any modern web browser. There is nothing to download or install.
Yes. Aspect Ratio Calculator runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/aspect-ratio-calculator)