Aspect Ratio Calculator

A free aspect ratio calculator for images, video and social media. Find the ratio from any width and height, resize dimensions to a target ratio, or work out a crop — instantly, in your browser.

No sign-up No file upload Works on mobile Free forever

Enter your dimensions

Type an image or video width and height to get its simplified aspect ratio.

px
px
Simplified aspect ratio
16:9
1.778:1
OrientationLandscape
Width ÷ height177.8%
Total pixels2.07 MP
1920 × 1080 px preview

Resize to a target ratio

Choose a ratio and enter either the width or the height. We calculate the matching dimension.

px
Matching dimensions
1920 × 1080 px
Ratio 16:9 · rounded to whole pixels
16:9 shape
Width (px)Height (px)Result

Scale & crop from an existing size

See the resized dimensions, the largest centered crop, and the letterbox bars needed to keep the full frame.

W px
H px
px
Scaled dimensions
1920 × 1080 px
Scaled from 1920 × 1080 px
Largest centered crop—
Letterbox bars—
Target shape

How to calculate an aspect ratio

An aspect ratio compares width to height. To simplify a pixel size into its ratio, divide both numbers by their greatest common divisor (GCD).

GCD(1920, 1080) = 120
1920 / 120 = 16  ·  1080 / 120 = 9
// 1920 × 1080 → 16:9

To go the other way — finding a missing dimension — multiply or divide by the ratio:

height = width × H / W
width = height × W / H
// 16:9, width 1920 → height = 1920 × 9 / 16 = 1080

Screens and image editors work in whole pixels, so results are rounded to the nearest pixel. Ratios such as 16:9 and 1:1 produce exact dimensions at common widths; ultrawide or cinema ratios may be off by one pixel.

Common aspect ratios and their uses

Each ratio below links to a dedicated page with ready-to-use pixel sizes and platform notes.

Frequently asked questions

What is an aspect ratio?

An aspect ratio describes the proportional relationship between width and height, written as W:H. A 16:9 image is 16 units wide for every 9 units tall, whether it is 1280 × 720 or 3840 × 2160 pixels.

How do I calculate an aspect ratio from width and height?

Divide both dimensions by their greatest common divisor. For 1920 × 1080 the GCD is 120, giving 16:9. The calculator above simplifies any pair of numbers instantly.

Is 1920x1080 the same as 16:9?

Yes. 1920:1080 simplifies to 16:9. Other 16:9 sizes include 1280 × 720, 2560 × 1440 and 3840 × 2160.

What aspect ratio should I use for Instagram posts?

Use 4:5 (1080 × 1350 px) for portrait feed posts, 1:1 for square posts, and 9:16 (1080 × 1920 px) for Stories and Reels.

Should I crop or add letterbox bars to change aspect ratio?

Crop when the subject stays safely inside the frame and you want to fill the target ratio. Add bars when you need to keep the entire original image visible. The Scale & crop tab shows both options.

Does this calculator upload my images?

No. All calculations happen in your browser. Nothing is uploaded, stored, or sent to a server.