Generators & Utilities

Aspect Ratio Calculator

Enter a width and height to get the simplified aspect ratio, its decimal value, and which common format it matches, like 16:9 or 4:3. A lock-ratio solver then finds the matching height for any new width (or vice versa), so you can resize images and video without distortion. A table of common resolutions rounds it out, and everything computes instantly in your browser.

Runs entirely in your browser. Handy for video (16:9), photography (3:2, 4:3), and social crops (1:1, 9:16).

What an aspect ratio is

An aspect ratio expresses the relationship between an element's width and height, independent of its actual size. A 1920×1080 image and a 1280×720 image are different resolutions but share the same 16:9 ratio, which is why one scales perfectly into the other. The tool finds the ratio by dividing both dimensions by their greatest common divisor, reducing something like 1920:1080 down to the clean 16:9 that describes its shape.

Recognizing common formats

The calculator names the format when it recognizes one. 16:9 is the standard for HD and 4K video, YouTube, and modern displays. 4:3 is the classic television and older-monitor shape. 3:2 comes from 35mm photography and many camera sensors. 1:1 is the square used across social media, and 9:16 is the vertical format for phone stories and short-form video. Knowing which format your dimensions produce helps you target the right size for each platform and avoid black bars or awkward cropping.

The lock-ratio solver

The most practical feature is the solver. Once you have a ratio, type a new width and it instantly returns the height that preserves it — or type a new height to get the width. This is the math behind “constrain proportions” in image editors, and doing it here means you can resize a graphic, plan a video export, or size a CSS container without stretching or squashing the content. Distortion happens whenever width and height are scaled by different amounts; the solver guarantees they scale together.

Common uses

Video editors check that footage matches their timeline's ratio before it letterboxes. Web developers size responsive image and embed containers. Photographers plan crops for print sizes. Social media managers resize a single design for feed, story, and thumbnail. Anyone exporting an image for a specific slot — a banner, a card, a video frame — can use it to hit the exact pixels while keeping the shape correct. The common-resolutions table gives ready-made dimensions at your ratio.

Privacy notes

All the math runs in your browser — there is nothing to upload, and no image is involved, only the numbers you type. Nothing is stored or logged, and the tool works offline once loaded. It is a pure calculator, so it is instant and completely private.

FAQ

How is the aspect ratio simplified?

The tool divides both the width and height by their greatest common divisor. That reduces dimensions like 1920x1080 to the clean 16:9 ratio that describes the shape regardless of size.

How do I resize without distortion?

Use the lock-ratio solver: enter a new width to get the matching height, or a new height to get the width. Scaling both by the same amount keeps the shape and avoids stretching.

Which formats does it recognize?

Common ones including 16:9, 4:3, 3:2, 1:1, 9:16, 21:9, and 16:10. When your dimensions match one, the tool names it so you know which standard you are working with.

What does the decimal value mean?

It is the width divided by the height. For example 16:9 is about 1.778. It is a quick way to compare two ratios or plug the proportion into other calculations.

Does this upload my images?

No. It works only with the numbers you type, not with image files. Everything runs in your browser with nothing stored, and it works offline once loaded.

More free tools