Aspect Ratio Calculator

Updated July 2026

Lock a ratio like 16:9 and change one dimension to get the other proportionally, or paste any pixel resolution to see its simplified aspect ratio, decimal value and closest common name. Everything runs privately in your browser.

An aspect ratio is the proportion of width to height, like 16:9. Lock a ratio and change one dimension to get the other proportionally — for example, at 16:9 a width of 1920 gives a height of 1080.

Find a missing dimension

Edit width and height is recomputed.
Edit height and width is recomputed.
Proportional size at this ratio
Locked ratio
Decimal ratio
Total pixels

Simplify a resolution to a ratio

Simplified aspect ratio
Decimal ratio
Closest common ratio
Total pixels

How this aspect ratio calculator works

An aspect ratio describes the shape of an image or screen — the relationship between its width and its height — independent of how big it is in pixels. It is written as two numbers separated by a colon, such as 16:9, which means 16 units of width for every 9 units of height.

To resize without distortion you keep that proportion fixed. Lock a ratio of width rw to height rh, then if you set a new width the matching height is height = width × rh ÷ rw; if you set a new height the matching width is width = height × rw ÷ rh. Going the other way, to find the ratio of a known resolution you divide both pixel values by their greatest common divisor (GCD), which reduces them to the smallest whole-number pair.

Worked example: at a locked 16:9 ratio, a width of 1920 gives a height of 1920 × 9 ÷ 16 = 1080. Conversely, simplifying 1920×1080: the GCD of 1920 and 1080 is 120, so 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9, giving the ratio 16:9 (decimal ≈ 1.78).

Reference note: simplification uses integer pixel values and the Euclidean GCD. Resolutions that do not reduce to a tidy common ratio (such as 1366×768) are matched to the nearest well-known ratio by comparing decimal values.

Common aspect ratios and example resolutions

RatioDecimalCommon useExample resolution
16:91.78HD video, TVs, YouTube1920×1080
4:31.33Classic TV, tablets1024×768
21:92.33Ultrawide monitors, cinema2560×1080
1:11.00Instagram square posts1080×1080
3:21.50DSLR photos, prints3000×2000
9:160.56Reels, Shorts, Stories1080×1920
4:50.80Instagram portrait posts1080×1350

Frequently asked questions

What is an aspect ratio?
An aspect ratio is the proportion of width to height, written as two numbers with a colon such as 16:9. It describes shape, not size, so any image with the same ratio looks proportionally identical regardless of its pixel count.
What is the aspect ratio of 1920x1080?
It is 16:9. Dividing both numbers by their greatest common divisor of 120 gives 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9 — the standard widescreen Full HD ratio.
How do I resize an image keeping the ratio?
Lock the original ratio, change only one dimension, and compute the other: new height = new width × ratio height ÷ ratio width. That keeps the proportions and avoids stretching.
What is a 16:9 or 4:3 aspect ratio?
16:9 is the modern widescreen ratio used by HD video, monitors and YouTube. 4:3 is the older, more square ratio used by classic TVs and many tablets.
How do I calculate height from width at a given ratio?
Multiply the width by the ratio's height value and divide by its width value. At 16:9, a width of 1920 gives 1920 × 9 ÷ 16 = 1080.
What aspect ratio is best for YouTube or Instagram?
YouTube videos use 16:9 landscape and Shorts use 9:16 vertical. Instagram feed posts suit 1:1 or 4:5, while Stories and Reels use 9:16.
⚡ Aspect Ratio Calculator — by larely ↗

Related tools

Markdown Preview

Live Markdown-to-HTML preview with copyable HTML output.

Subnet Calculator

IPv4 CIDR subnet calculator: network, broadcast, mask and host range.

PX to REM Converter

Convert between px, rem, em and pt for CSS at any base font size.

Hash Generator

Generate SHA-256, SHA-1, SHA-384 and SHA-512 hashes in your browser.

JWT Decoder

Decode a JSON Web Token's header and payload .

Sort Text Lines

Sort, deduplicate, reverse, shuffle and clean a list of lines.

JSON to CSV Converter

Convert a JSON array to CSV and CSV back to JSON.

URL Encoder / Decoder

Percent-encode and decode text, and parse a URL into its parts.

Word Frequency Counter

Find the most-used words and keyword density in any text.

Image to Base64 Converter

Encode an image to a Base64 data URI for HTML or CSS, in your browser.

What Is My Browser?

Detect your browser, OS, screen resolution, window size and more.

Chmod Calculator

Convert file permissions between octal , symbolic and the chmod command.

Browse all 251 free tools →