Skip to content

Aspect Ratio Calculator

Calculate and convert aspect ratios for images, videos, and screens. Find missing dimensions instantly.

Aspect Ratio Calculator tool

Loading...

Example

Input: Width 1920, Height 1080

Result: Aspect Ratio 16:9 (decimal 1.7778), 2.07 MP, Landscape. Resizing to a width of 1280 at 16:9 gives 1280 x 720 px

Both sides are divided by their greatest common divisor, 120, which reduces 1920:1080 to 16:9.

Common Resolutions and Their Exact Ratios

ResolutionExact ratioUsually called
1280 x 72016:9HD (720p)
1920 x 108016:9Full HD (1080p)
2560 x 144016:9QHD (1440p)
3840 x 216016:94K UHD
1366 x 768683:384About 16:9
1920 x 12008:516:10
2560 x 108064:27Ultrawide 21:9
3440 x 144043:18Ultrawide 21:9
1024 x 7684:3Classic 4:3
1080 x 10801:1Square
1080 x 13504:5Portrait post
1080 x 19209:16Vertical video
6000 x 40003:2Camera photo

Exact ratios computed with the calculator GCD method.

  1. Enter the original width and height of your image or video.
  2. The tool instantly calculates and displays the simplified aspect ratio.
  3. Enter a new width or height to find the matching dimension that preserves the ratio.
  4. Browse common presets like 16:9, 4:3, 1:1, and 21:9 for quick reference.
  5. Copy the calculated dimensions to use in your design or development project.

Understanding Aspect Ratios Like 16:9 and 4:3

An aspect ratio is the shape of a rectangle, written as width to height. A 1920 x 1080 video is 16:9, which means 16 units wide for every 9 units tall. This calculator simplifies any size to its ratio and finds a missing width or height for the ratio you need.

The tool has two modes. Calculate Ratio from Dimensions takes a width and height, divides both by their greatest common divisor (GCD), and shows the simplest whole-number ratio. It also shows the diagonal in pixels, the megapixels and whether the shape is landscape, portrait or square. Resize with Ratio Constraint works the other way: choose a ratio, type one side, and the other is filled in, rounded to whole pixels. Presets cover 16:9, 4:3, 21:9, 1:1, 3:2, 9:16, 5:4 and 2:1.

Exact math can surprise you. Many screens are sold under a rounded name. A 1366 x 768 laptop screen simplifies to 683:384, which is close to 16:9 but not equal. An ultrawide 2560 x 1080 monitor is exactly 64:27, although it is sold as 21:9. When a result looks odd, compare the decimal values instead: 16:9 is 1.778 and 1366 x 768 is 1.779.

Keeping the ratio fixed is what stops a picture from stretching. It is also why a 4:3 photo gets black bars or cropping in a 16:9 frame. Once you know the target size, the Image Resizer can scale the image. The Image Cropper cuts it to a new shape with ratio presets.

Formula / How It Works

Aspect Ratio = Width / Height, simplified by dividing both by their greatest common divisor (GCD). To find a missing dimension: Height = Width / (Ratio Width / Ratio Height).

Frequently Asked Questions

Divide the width and height by their greatest common divisor. For 1920 x 1080 the GCD is 120, giving 16:9. For 1080 x 1350 it is 270, giving 4:5. The calculator does this for you in Calculate Ratio from Dimensions mode and also shows the diagonal and megapixels.
Divide the width by 16 and multiply by 9. A 1280 pixel width gives 720, and 3840 gives 2160. In Resize with Ratio Constraint mode, choose 16:9 and type the width, and the height is filled in and rounded to whole pixels. The same works for any ratio.
Some common sizes are only close to their marketing ratio. 1366 x 768 simplifies to 683:384 and 2560 x 1080 to 64:27, which are sold as 16:9 and 21:9. The exact ratio is correct, but the shape is nearly the same. Comparing decimals, such as 1.778 and 1.779, makes the match clear.
16:10 (also written 8:5) is slightly taller. At the same width of 1920 pixels, 16:9 gives 1080 pixels of height and 16:10 gives 1200. Many laptops use 16:10 for extra vertical space, while TVs and most video use 16:9, so 16:9 video shows thin bars on a 16:10 screen.

Related Tools

Image Resizer

Resize images to exact pixel dimensions with an optional aspect ratio lock, entirely in your browser.

Image and Media

SVG to PNG Converter

Convert SVG vector files to PNG raster images at any resolution directly in your browser using canvas.

Image and Media

QR Code Generator

Generate QR codes for URLs, text, vCards, and WiFi credentials. Download as SVG or PNG instantly.

Image and Media

Favicon Generator

Upload an image and generate favicon files in multiple sizes for websites and web apps. Client-side only.

Image and Media

Image to Base64 Converter

Convert any image file to a Base64-encoded string instantly in your browser. No server upload required.

Image and Media

SVG Placeholder Generator

Generate lightweight SVG placeholder images with custom dimensions, colors, text, and border radius.

Image and Media