IMAGE TOOLSPopular

Aspect Ratio Calculator

Dual-mode image and video aspect ratio calculator. Calculate a missing pixel width or height from any preset or custom W:H ratio, or switch to Find Aspect Ratio from Pixels to compute the simplified integer ratio, decimal ratio, and GCD factor from any width and height.

Known Dimension:
Calculated Height

1080 px

Proportion: 1920 × 1080 (16:9)

Advertisement

How to Use Aspect Ratio Calculator

Choose between two calculation tabs at the top of the workspace. In Calculate Missing Dimension (Width or Height), click one of the 6 common display presets—`16:9` (Widescreen HD/4K), `9:16` (TikTok/Reels/Shorts), `4:3` (Classic TV/iPad), `1:1` (Square/Instagram), `21:9` (Ultrawide Cinema), or `3:2` (35mm DSLR Classic)—or type custom Ratio Width and Ratio Height values, select `Enter Width → Get Height` or `Enter Height → Get Width`, and copy the resulting dimensions. In Find Aspect Ratio from Pixels (W × H), pick a resolution preset (such as `1920 × 1080` or `3840 × 2160`) or type any pixel Width and Height to compute the Simplified Aspect Ratio, Decimal ratio (`X:1`), and Greatest Common Divisor (`GCD factor`).

  1. 1

    Select Dimension or Ratio Mode

    Choose Calculate Missing Dimension (Width or Height) or Find Aspect Ratio from Pixels (W × H).

  2. 2

    Pick a Preset or Enter Custom Values

    Click a ratio preset (16:9, 9:16, 4:3, 1:1, 21:9, 3:2) or resolution preset (1080p, 4K, 720p), or enter custom numbers.

  3. 3

    Solve for Width, Height, or GCD Ratio

    Toggle Enter Width → Get Height (or vice versa) in Mode 1, or view the simplified W:H ratio and GCD factor in Mode 2.

  4. 4

    Copy Dimensions or Aspect Ratio

    Click Copy Dimensions (`WxH`) or Copy Aspect Ratio (`W:H`) to paste directly into your editor.

Worked Input & Output Example

Calculating Proportional 16:9 Dimensions & Simplifying 1920×1080 via GCD

Mode 1 solves `Height = Math.round((Width × RatioH) / RatioW)`, while Mode 2 divides pixel dimensions by their Greatest Common Divisor.

1. Mode 1 & Mode 2 Inputs
16:9 @ 2560 px W | 1920 × 1080 px

Solving missing height for 2560 px width and reducing 1920 × 1080.

2. Proportional & GCD Math

Mode 1: (2560 × 9) ÷ 16 = 1440 px · Mode 2: GCD(1920, 1080) = 120 → 16:9.

Client-side calculation
3. Calculated Results
2560 × 1440 px | 16:9 (1.778:1 · GCD 120)

One-click Copy Dimensions (`2560x1440`) or Copy Aspect Ratio (`16:9`).

16:9 Widescreen1920 × 1080 px1.778:1 (GCD 120)
9:16 Vertical1080 × 1920 px0.563:1 Reels / Shorts
4:3 & 3:2 Photo1024×768 / 3:21.333:1 & 1.500:1
1:1 & 21:9 Presets1080×1080 / 21:9Square & Ultrawide

Step-by-Step Guides for Aspect Ratio Calculator

All Guides

Related Free Tools

Explore more browser-based tools in Image Tools or browse the complete All Tools Directory.