Aspect Ratio Calculator Type a width and height to find the ratio, or resize to fit one

Size
Resize to

Only the calculated side is rounded. Enter an even value for the other side if both need to be even.

16:91.78:1

Landscape

The preview fits this space. It shows the shape, not the actual pixel size.

Common shapes

A shape keeps your current width and sets the nearest whole-pixel height. Copy the page address to share your size and resize settings.

The calculation runs on this device. Your sizes are included in the page address and are not uploaded by this tool.

What is aspect ratio?

Aspect ratio compares width with height. A 16:9 rectangle is 16 units wide for every nine units tall. It describes shape rather than size: 1280 × 720 and 1920 × 1080 have the same ratio, even though the second contains more pixels. The ratio alone does not tell you how sharp an image looks.

Type a width and height to see the exact reduced ratio and its decimal form. The preview changes shape as you type. A square is 1:1, a landscape image is wider than it is tall, and a portrait image is taller than it is wide. This page calculates dimensions; it does not edit a file.

How to calculate aspect ratio

Divide the width and height by their greatest common divisor. For 1920 × 1080, that divisor is 120: dividing both numbers by 120 gives 16:9. For 1366 × 768, the divisor is two, so the exact ratio is 683:384. It is very close to 16:9, but the two shapes are not identical.

The nearby-standard comparison uses proportional distance, so a shape that is wider or narrower by the same factor is treated equally. The percentage compares its width-to-height value with the nearest standard. A difference above 1% is reported instead of forcing an unrelated common name.

To keep the shape while resizing, enter one new dimension. The other is calculated from the original Size row. A fractional pixel must be rounded, and the note shows the unrounded number and how much the resulting ratio changes. The even-number option rounds the calculated side to the nearest even pixel. All four fields accept whole numbers from 1 to 100,000.

Common screen sizes and their ratios

Press a size to load it. The ratio column is calculated from its dimensions. “21:9” is a common sales label for the ultrawide sizes shown, whose exact ratios differ.

SizeRatioUsually called

Aspect ratio questions

What is the aspect ratio of 1920 × 1080 or 2560 × 1440?

Both reduce to 16:9. Divide each width and height by their greatest common divisor to see the same result. The sizes have different pixel counts, but the same shape.

What is the aspect ratio of 3440 × 1440?

It reduces to 43:18, about 2.39:1. Screens with this size are commonly sold as 21:9 ultrawide. The exact ratio comes from the actual width and height rather than the sales label.

Is 21:9 really 21:9?

Not for the two common ultrawide sizes in the table. A 2560 × 1080 screen is 64:27, about 2.37:1. A 3440 × 1440 screen is 43:18, about 2.39:1. Both are sold as 21:9, while the literal fraction 21 ÷ 9 is about 2.33.

How do I find the aspect ratio of my image or video?

Look at its width and height in pixels in the file's details, then enter those numbers here. Use the dimensions of the actual image or video rather than the size of a player window around it.

What aspect ratio should I use for social media?

Vertical video commonly uses 9:16, and portrait posts often use 4:5. A platform's own help page gives its current accepted sizes and how it displays them. Choose a shape for your intended use, then check those current requirements.

Why does resizing round my number?

Image dimensions use whole pixels. Keeping a ratio can produce a fraction, so the tool rounds the calculated side to the nearest whole pixel, or the nearest even pixel when selected. The note shows the resulting ratio change; it is not a guarantee of a perfectly unchanged shape after rounding.