Aspect Ratio Calculator

Calculate the missing width or height to keep an aspect ratio, and simplify any width:height to its smallest ratio.

Original size
Aspect ratio

Resize keeping ratio (edit either field)

 
Common ratios reference
RatioPixelsUse
16:91920×1080HD video, YouTube
16:93840×21604K UHD
4:31024×768Classic monitor
64:272560×1080Marketed as 21:9 ultrawide
1:11080×1080Instagram post
9:161080×1920Story / Reels / TikTok
2:31000×1500Pinterest pin
A42480×3508Print @ 300 DPI

Brand palette? Color shades generator · resize images: Image splitter · social crop: Screenshot beautifier.

FAQ

What does it do?

Simplifies positive integer pixel dimensions, scales either side with your chosen rounding mode, and outputs CSS aspect-ratio code.

Example?

1920×1080 → 16:9. New width 1280 → height 720, or enter height to get width.

Is 2560×1080 exactly 21:9?

No. Its exact reduced pixel ratio is 64:27. “21:9” is the common ultrawide marketing name.

Can I resize from height?

Yes — edit either New width or New height; the other dimension updates to keep the ratio.

Last updated: