100% Client-Side in BrowserZero Server Data UploadsFree & No Sign-Up

Common ratios:

Simplest ratio-
Decimal ratio-
Megapixels-
Scale to: ×
aspect-ratio: 16 / 9;
Visual preview:

How to Use

  1. Enter a width and height (or tap a preset chip like 16:9) — the simplest ratio, decimal value and megapixels appear instantly.
  2. Type a target width or height in the scale row to get the matching proportional size, and swap W/H to flip orientation.
  3. Copy the CSS aspect-ratio line or share your exact values via the link.

Common aspect ratios

RatioDecimalTypical useExample
16:91.78HD/4K video, YouTube1920×1080
9:160.56Shorts, Reels, TikTok1080×1920
4:31.33Classic TV, iPad1024×768
1:11.00Avatars, Instagram1080×1080
21:92.33Ultrawide monitors2560×1080
3:21.50DSLR photos1440×960
4:50.80Social portrait1080×1350
64:272.37Cinema 21:9 exact2560×1080

Frequently Asked Questions

How is the simplest ratio computed?

The width and height are divided by their greatest common divisor (Euclid's algorithm) — e.g. 1920×1080 → 16:9, 2560×1080 → 64:27.

Can I scale to a target width or height?

Yes — type a new width and the matching height appears instantly (rounded to whole pixels), or type a height to get the width.

What does the decimal ratio mean?

It expresses the ratio as W:1 — 16:9 ≈ 1.78:1. Video editors and CSS aspect-ratio accept this form too.

Does the share link restore my values?

Yes — Copy Share Link produces ?w=…&h=… so anyone opening it sees the same ratio and preview.