Polysh for agents is in early access. Your coding agent records the demo, and Polysh finishes it. Join the waitlist →

Aspect Ratio Calculator

Get the simplest ratio for any size, or the missing width or height.

Loading your browser tool…

What Aspect Ratio Calculator does

Type a width and height and you get the reduced ratio, its decimal form, and the closest standard shape from a list that includes 16:9, 4:3, 1:1, 21:9, 16:10 and the cinema ratios 2.39:1 and 1.85:1. Switch Find to Height or Width and the same page solves the missing side for any ratio you type, decimals included.

Reach for it when a screen size like 2560 × 1080 doesn't map to a ratio you recognize, or when you need a square 1:1 or ultrawide frame that an encoder will accept. For fixed 16:9, 9:16 and 4:3 work with preset lists, the dedicated resolution calculators are quicker.

Example

Input

Find: Ratio
Width: 2560 px
Height: 1080 px

Result

Aspect ratio: 64:27
Decimal: 2.37:1
Closest standard: 2.39:1 (0.8% off)

2560 × 1080 is sold as a 21:9 ultrawide, but the exact ratio is 64:27, which sits closest to the 2.39:1 cinema shape.

How to use Aspect Ratio Calculator

  1. Choose what to find: Ratio, Height or Width.
  2. Enter the known numbers. In Height or Width mode, type the ratio as 16:9, 4:3, 2.39:1 or just 1.85.
  3. Use the Even (video-safe) size when the result is for a video export, then Copy the result.

Good to know

  • In Ratio mode, width and height must be whole pixels. Use Height or Width mode when you start from a fractional ratio.
  • The closest standard comes from a fixed list of 14 shapes, so an unusual ratio such as 5:3 is matched to its nearest neighbor with a percentage off. Only a size with exactly the same ratio is labeled an exact match; 1366 × 768, for example, shows as under 0.1% off 16:9.
  • It works with numbers only and does not read an image or video file. To find your display's size, use the Screen Resolution Checker.

Questions about Aspect Ratio Calculator

How do I calculate an aspect ratio from a resolution?

Divide the width and height by their greatest common divisor. 1920 and 1080 share a divisor of 120, which gives 16:9. Enter both numbers in Ratio mode and the calculator does the division and also shows the decimal form, such as 1.778:1.

What height do I need for a 1:1 square video?

The same as the width. Set Find to Height, type 1:1 as the ratio and enter your width, for example 1080 px, and you get 1080 × 1080. Square sizes are video-safe whenever the width is even.

Is 21:9 the same as 64:27?

Not exactly. Monitors marketed as 21:9 are usually 2560 × 1080 (64:27, about 2.37:1) or 3440 × 1440 (43:18, about 2.39:1). True 21:9 is 2.33:1, so the label is rounded shorthand.

Why does video need an even width and height?

H.264 and H.265 usually store color at half resolution in each direction (4:2:0), so frame sizes must divide by two. Many encoders reject odd sizes or pad them, which can leave a thin black edge.