DevStack

Calculation

Aspect Ratio

Enter a width and height in pixels to see the simplified ratio, such as 16:9 or 4:3. Choose a common ratio to resize the other side, or scale both sides by a percentage. The matching sizes stay on whole pixels.

Quick start

  1. 1

    Enter the width and height

    The simplified ratio appears, such as 16:9 for 1920×1080.

  2. 2

    Or choose a common ratio

    The other side changes to match 16:9, 4:3, 1:1, 9:16, and the other presets.

  3. 3

    Edit either side

    With a ratio selected, changing the width updates the height, and changing the height updates the width.

  4. 4

    Set a scale

    50% keeps the same ratio and halves both sides. Sizes round to whole pixels.

Features

Simplified ratio

Turn 1920×1080 into 16:9, plus the decimal and orientation.

Lock a ratio

Pick 16:9, 4:3, 1:1, or 9:16 and the other side follows.

Scale

Resize both sides by a percentage without changing the ratio.

Specifications

Presets
16:9, 21:9, 4:3, 1:1, 9:16
Scale
1% to 1000%
Pixels
Rounded to whole pixels
Privacy
Processed on the toolbox API

Use cases

  • Check a hero image before placing it.
  • Resize a 16:9 frame to a new width.
  • Compare how tall the same width would be at 4:3 and 9:16.

Frequently asked questions

Why did the height change by one pixel?

The calculator rounds to the nearest whole pixel, so some ratios cannot land on both sides exactly.