Aspect Ratio Calculator

Convert any width × height into a simplified ratio, or pick a preset and find a missing dimension. Built for video editors, web designers, photographers, and anyone sizing images for the web.

Result

16:9

Closest preset: Widescreen

Decimal: 1.7778

Height as % of width: 56.25%

Aspect ratio

Common presets

Social media sizes

Screen Ruler

Try the Ruler Now

What is the aspect ratio calculator?

The aspect ratio calculator simplifies any width-by-height pair into its lowest-terms ratio — for example, 1920 × 1080 becomes 16:9, the standard for Full HD video. Switch to reverse mode to find a missing dimension when the ratio is fixed: enter a target width and the calculator returns the matching height for 16:9, 21:9 ultrawide, 9:16 vertical video, or 2.39:1 cinema. Eight one-tap presets cover every common social, photo, and film ratio. The result, decimal value, and percentage update instantly, and the URL stays in sync so you can share an exact configuration with a teammate.

How to use the aspect ratio calculator

  1. Choose a mode — calculate ratio from pixels, or reverse-calculate a missing dimension from a known ratio.
  2. In ratio mode, enter your image or screen's width and height in pixels (or any consistent unit). The simplified ratio appears immediately.
  3. In reverse mode, pick a preset (16:9, 9:16, 21:9, etc.) or any of the 8 ratios, then enter a single known dimension.
  4. Read the result — the ratio is shown both as integers and as a decimal, with a visual aspect-ratio preview block to confirm the proportions.
  5. Click Copy to put the result on your clipboard, or share the URL with a teammate — query parameters preserve the exact configuration.

Who uses an aspect ratio calculator

  • Students: Math homework on ratios and proportions, plus geometry assignments that require simplifying fractions like 1920:1080.
  • Web & UI designers: Sizing hero images, banners, and product cards to a fixed ratio across responsive breakpoints without distortion.
  • Video editors & filmmakers: Converting between cinema standards (2.39:1 anamorphic, 16:9 broadcast, 9:16 vertical) when conforming footage for delivery.
  • Social media managers: Cropping the same content for Instagram (1:1 and 9:16), Twitter/X (16:9), Pinterest (2:3), and LinkedIn (1.91:1) without trial-and-error.
  • Photographers: Matching sensor output (3:2 DSLR, 4:3 micro four thirds) to print sizes and gallery layouts before exporting.

Why this calculator

  • 8 common ratio presets — 16:9, 4:3, 1:1, 9:16, 21:9, 3:2, 2:3, 2.39:1 cinema — covering every major social, photo, and film standard.
  • Two complementary modes: simplify pixels to a ratio, or reverse-calculate a missing dimension from any preset.
  • Shareable URL — width, height, and preset persist as query parameters so a link captures the exact configuration.
  • Visual aspect-ratio preview block confirms proportions at a glance before you commit to a crop or export.
  • 100% browser-based, no signup, no ads in the result panel, works offline once loaded.

How accurate is the result?

The calculator uses the Euclidean GCD algorithm on integer pixel counts, so simplifications are mathematically exact (1920 × 1080 always becomes exactly 16:9). Decimal inputs are scaled to four decimal places before reduction, which preserves cinema ratios like 2.39:1 without rounding error. Reverse calculations use direct multiplication, so the only loss is whatever rounding you choose to apply when a non-integer dimension results.

Frequently asked questions

What is an aspect ratio?
An aspect ratio expresses how wide an image is compared to its height, simplified to the lowest whole-number form. Full HD's 1920 × 1080 simplifies to 16:9 — meaning for every 16 units of width, there are 9 units of height. Aspect ratio is independent of resolution: a 4K (3840 × 2160) display is also 16:9.
How is the aspect ratio calculated?
Divide the width and height by their greatest common divisor (GCD). For 1920 × 1080, the GCD is 120; dividing both gives 16 and 9. The calculator does this automatically using the Euclidean algorithm and handles decimal inputs by scaling them up first.
What's the difference between 16:9 and 21:9?
16:9 is the standard widescreen ratio used by Full HD, 4K UHD TVs, YouTube, and most computer monitors. 21:9 is ultrawide, found on cinematic monitors and curved gaming displays. A 21:9 image is roughly 33% wider than 16:9 at the same height — useful for letterboxed cinema content and side-by-side document workflows.
What aspect ratio should I use for social media?
Use 1:1 (square) for Instagram feed posts, 9:16 (vertical) for Reels/Stories/TikTok/Shorts, 16:9 (landscape) for Twitter and YouTube horizontal video, 2:3 (portrait) for Pinterest pins, and 1.91:1 for LinkedIn link previews. The reverse mode of this calculator helps you size a single source image to each destination without distortion.
Why is my video showing black bars?
Black bars (letterboxing or pillarboxing) appear when content's aspect ratio doesn't match the player's. A 16:9 video shown on a 4:3 screen gets pillarboxed (black bars on the sides); a 2.39:1 cinema film on a 16:9 TV gets letterboxed (black bars on top and bottom). The fix is either cropping or transcoding to the target ratio.
What is 2.39:1 used for?
2.39:1 (sometimes called 2.40:1 or anamorphic widescreen) is the dominant aspect ratio for theatrical film since the 1970s. It's wider than 21:9 and wider than 16:9. Most modern Hollywood features and prestige TV finales master at 2.39:1 to give the image a 'cinematic' feel.
Is this calculator accurate for non-integer pixel counts?
Yes — decimal inputs are scaled by 10,000 before the GCD step, which preserves four decimal places of precision. That's enough to faithfully represent every common cinema ratio (2.39:1, 1.85:1, 1.66:1) and any user-entered fractional pixel count.