Skip to content
Display & screen info

Aspect Ratio Calculator

Solve any W:H ratio.

Lock a ratio & solve sizes GCD-reduced ratios Live, no submit

Simplified ratio

16:9

1.778:1

Dimensions

— × —

enter a width or height

Unlock to derive the ratio from two dimensions

Preset ratios

Ratio
:
Dimensions (px)
×
Copied

Two ways to solve a ratio.

An aspect ratio is the proportional relationship between a frame's width and height, written as W:H. Most calculators only do one direction; DeftGauge does both. With Lock ratio on, you fix a ratio — say 16:9 — and type the one dimension you have. The matching width or height is computed so the proportion stays exact, which is perfect for resizing a video, banner or render without distortion.

Turn Lock ratio off and enter both a width and a height instead. DeftGauge divides both numbers by their greatest common divisor to reduce them to the smallest whole-number ratio, and also reports the decimal form (width ÷ height) so even ugly resolutions are easy to compare. If the result lands within a fraction of a common standard, we'll point that out.

About the Aspect Ratio Calculator

An Aspect Ratio Calculator is a simple tool that helps you keep the proportions of a frame correct when you change its size. An aspect ratio is the relationship between width and height, written as W:H. A 16:9 ratio, for example, means the frame is sixteen units wide for every nine units tall. Whenever you resize a photo, crop a video, or design a layout, the aspect ratio is what decides whether the result looks natural or stretched and squashed. This calculator does the math for you so you never have to guess.

The tool works in two directions. You can lock a ratio and solve a missing dimension, or you can enter two dimensions and let it derive the ratio. Both run live in your browser, so the answer updates the moment you type.

How to use the aspect ratio calculator

Using it takes only a few seconds. First, decide what you already know. If you have a target ratio, turn on Lock ratio, set the width part and height part (for instance 16 and 9), then enter the one dimension you have. The calculator solves the missing dimension instantly, keeping the proportion exact. If instead you have two sizes and want to know their ratio, switch Lock ratio off and enter both a width and a height. The tool divides them by their greatest common divisor to show the simplest whole-number ratio, plus a decimal form for comparison.

  • Pick a preset chip, or type your own width and height parts.
  • Enter the known dimension and read the solved value.
  • Unlock the ratio to reverse the process and find the ratio from two sizes.

Working in pixels vs inches

Because a ratio is just a proportion, the same numbers apply whether you think in pixels or inches. If you use this aspect ratio calculator pixels workflow for screens and digital images, your width and height are pixel counts like 1920 and 1080. If you treat it as an aspect ratio calculator inches workflow for print or physical displays, you can enter measurements in inches and the proportion still holds. The ratio itself is unit-free, so 16:9 looks identical at 1920 by 1080 pixels or at 16 by 9 inches.

Common ratios and where they are used

A handful of ratios cover most of what you will meet. The 16:9 aspect ratio calculator preset matches modern monitors, laptops, and televisions, and is the default for most online video. The 4:3 ratio belongs to classic displays, many tablets, and older cameras. The 21:9 ratio is the ultrawide and cinematic choice for immersive monitors and film. A 1:1 square is the staple of profile pictures and grid posts, while 9:16 is the vertical format for stories, reels, and short-form video.

The image aspect ratio calculator side of the tool is especially handy for creative work. When you use the aspect ratio calculator for images, you can resize a photo to fit a banner, thumbnail, or product slot without cropping awkwardly or distorting faces. Designers rely on it to lay out galleries where every tile lines up, and video editors use it to letterbox or reframe footage between platforms that demand different shapes.

Why does any of this matter? Getting the ratio right protects the quality of your work. A mismatched ratio forces software to stretch or crop, which warps detail and wastes space. Matching dimensions to the intended container means sharper images, cleaner video, and layouts that behave the same on every device. Whether you are preparing assets for social media, sizing a render, or planning a display wall, this calculator gives you exact numbers in seconds, so you can move on with confidence instead of trial and error.

Frequently asked questions

What is an aspect ratio?

An aspect ratio is the proportional relationship between the width and height of an image, video or screen, written as two numbers with a colon such as 16:9. The first number is the width and the second is the height, so 16:9 means 16 units across for every 9 units down. It stays the same no matter how big or small the frame is, which is why it describes shape rather than size.

How do I calculate aspect ratio?

Divide the width by the height to get the decimal ratio, then reduce both numbers by their greatest common divisor to get the clean whole-number form. For example, 1920 by 1080 reduces to 16:9, and 800 by 600 reduces to 4:3. Just type your width and height into the aspect ratio calculator above and it shows the simplified ratio and decimal instantly.

How do I calculate a 16:9 aspect ratio?

For a 16:9 ratio, multiply the height by 16 and divide by 9 to find the width, or multiply the width by 9 and divide by 16 to find the height. For example, a 1080px height gives 1920px wide because 1080 × 16 ÷ 9 = 1920. Tap the 16:9 preset above, turn on Lock ratio, and type one dimension to let the calculator fill in the other for you.

How do I find the aspect ratio of an image?

Find the pixel dimensions of the image first, usually shown in your photo viewer or file properties as width by height, then divide one by the other and simplify. A 4032 by 3024 photo, for instance, works out to 4:3. Enter both pixel sizes into this image aspect ratio calculator above and it reduces them to the simplest ratio for you, no manual math needed.

How do I resize an image while keeping the same aspect ratio?

Lock the original ratio, then enter only the new width or the new height and let the matching dimension be solved automatically so the picture is never stretched or squashed. The formula is new height = original height ÷ original width × new width. Turn on Lock ratio above to resize any image in pixels without distortion.

What resolution is 16:9?

Any resolution where width divided by height equals about 1.78 is 16:9. The most common ones are 1280 × 720 (HD), 1920 × 1080 (Full HD), 2560 × 1440 (QHD) and 3840 × 2160 (4K UHD). They are all the same shape, just different pixel counts, which you can confirm by entering any of them into the calculator above.

What are 4:3, 21:9, 1:1 and 9:16 used for?

Each ratio suits a different purpose. 4:3 is the classic shape of older TVs, tablets and retro photos, 21:9 is the ultrawide, cinematic format for film and gaming monitors, 1:1 is the square used for profile pictures and social grids, and 9:16 is the tall vertical format for phone video and stories. Each has a preset chip above so you can solve sizes for any of them.

What aspect ratio should I use for YouTube and Instagram?

YouTube videos use 16:9 at sizes like 1920 × 1080, while YouTube Shorts, Instagram Reels and Stories all use 9:16 at 1080 × 1920. Instagram feed posts work best as 1:1 squares (1080 × 1080) or 4:5 portrait (1080 × 1350). Pick the matching preset above and the calculator will solve exact pixel dimensions for each platform.

Does aspect ratio work in pixels or inches?

Both, because an aspect ratio is just a proportion and has no units of its own. For screens and digital images you enter the width and height as pixel counts, and for print or physical displays you can enter inches instead, and the ratio comes out the same. A 16:9 frame looks identical whether it is 1920 by 1080 pixels or 16 by 9 inches.

Why does aspect ratio matter?

Getting the ratio right keeps your work sharp and properly framed instead of stretched, cropped or boxed in by black bars. When the dimensions match the container they are going into, images and video fill the space cleanly on every device. This free aspect ratio calculator gives you exact numbers in seconds so you avoid distortion and guesswork.