ThisCalculator

Technology

Aspect Ratio Calculator: What It Is & How to Use It

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Aspect Ratio Calculator: What It Is & How to Use It

An aspect ratio calculator works out the proportional relationship between an image or screen’s width and height, and it can also find a missing dimension when you know one side and the ratio. You enter either two dimensions or a ratio and one dimension, and you get back the simplified ratio or the missing width or height. This is essential for resizing images without distortion, choosing a video format, or fitting content to a display.

Formula

The aspect ratio is simply width divided by height, expressed as two numbers separated by a colon (e.g., 16:9). The formula is:

Aspect Ratio = Width : Height

To simplify, divide both width and height by their greatest common divisor (GCD). For example, 1920 ÷ 1080 = 1.777…, which is 16:9 when simplified. The calculator above gives the decimal ratio (1.78) and the simplified ratio (16:9) using the GCD method.

Worked Example

Using the default values of 1920 px width and 1080 px height:

  1. Divide width by height: 1920 ÷ 1080 = 1.777…
  2. Find the GCD of 1920 and 1080, which is 120.
  3. Divide both by 120: 1920/120 = 16, 1080/120 = 9.
  4. Result: 16:9.

The calculator shows 1.78 as the decimal ratio and 16:9 as the simplified form.

Why Aspect Ratios Matter

Aspect ratios are everywhere: TV screens, computer monitors, smartphone displays, photos, videos, and even paper sizes. The ratio determines how content is framed. A 4:3 image looks nearly square, while 21:9 is ultra-wide. When you change one dimension without keeping the ratio, the image stretches or squashes, making circles look like ovals and faces look distorted. This is why video editors and graphic designers always lock the aspect ratio when resizing.

How to Choose the Right Aspect Ratio

Your choice depends on the output medium:

  • 16:9 – Standard for HDTV, YouTube, and most modern monitors.
  • 4:3 – Older TVs, some tablets, and classic photography (e.g., 640×480).
  • 1:1 – Square, common for social media profile pictures and some print work.
  • 21:9 – Cinematic widescreen for movies and ultrawide monitors.
  • 3:2 – Common in DSLR photography (e.g., 6000×4000).
  • 9:16 – Vertical video for stories and short-form platforms.

If you are unsure, check the platform’s recommended specs—most will list a resolution like 1920×1080 or 1080×1920.

Common Mistakes and Misconceptions

One frequent error is confusing aspect ratio with resolution. Aspect ratio is a relationship, not a fixed size. A 1920×1080 image and a 3840×2160 image both have a 16:9 ratio, but the latter has four times the pixels. Another mistake is mixing up width and height when working with vertical content. A 9:16 video is not the same as a 16:9 video rotated—it must be shot in portrait orientation.

Rounding can also cause problems. If you round 1.777 to 1.78, you lose the exact ratio. Always use the simplified whole-number ratio (16:9) when possible, especially for video standards.

Using the Calculator for Resizing

To resize an image without distortion, you need to know either the target width or height. For example, if you have a 4000×3000 photo and want it 1200 px wide, divide 4000 by 1200 to get the scale factor (3.33), then divide 3000 by that factor to get 900 px height. The calculator can do this in reverse: enter the known dimension and the ratio, and it will give the missing side.

For video editing software, you usually just set the ratio and the program handles the math. But for custom sizes, this calculator saves time and prevents mistakes.

Limits of the Formula

The aspect ratio formula is simple, but it assumes you are working with rectangular pixels. Some displays use non-square pixels (rare today), which would require a correction factor. Also, the GCD method only works for whole-number ratios; if you have a non-integer ratio like 1.414 (A4 paper), you cannot simplify it to a clean pair of integers. In that case, the decimal form is more useful.

Finally, the calculator does not account for cropping or letterboxing. If you force a 4:3 image into a 16:9 frame, you either stretch it (bad) or crop it (loses content). The calculator only gives you the numbers—you decide how to apply them.

Frequently Asked Questions

What is the difference between aspect ratio and resolution?

Aspect ratio is the proportional relationship between width and height (e.g., 16:9). Resolution is the actual pixel count (e.g., 1920×1080). Many resolutions share the same ratio.

How do I convert a decimal ratio to a fraction?

Multiply the decimal by a suitable number until you get a whole number, then simplify. For example, 1.5 becomes 3:2 because 1.5 × 2 = 3. The calculator above does this automatically using the GCD.

Why does my video look stretched?

You likely changed the resolution without keeping the aspect ratio. For example, if you take a 1920×1080 video and set it to 1920×1200, it will stretch vertically. Use the calculator to find the correct height for a given width.

What is the best aspect ratio for Instagram?

Instagram supports several ratios: 1:1 for feed posts, 4:5 for portrait posts, and 9:16 for stories and reels. The platform will crop or letterbox if you use something else, so choose based on your content type.

Can I use this calculator for print sizes?

Yes. Print sizes like 8×10 inches have a 4:5 ratio. If you want to enlarge a photo to 12 inches wide, the calculator will tell you the height should be 15 inches (12 × 5/4).

Does aspect ratio affect file size?

Not directly. File size depends on resolution and compression, not the ratio. A 16:9 image at 1920×1080 is the same file size as a 4:3 image at 1920×1440 if both are saved with the same quality.

Related

Formula used
in w | Width | px | 1920 | 1
in h | Height | px | 1080 | 1
out ratio | Aspect Ratio | : | w / h | 2
out gcd | Simplified Ratio | - | (w / gcd(w,h)) * 100 + (h / gcd(w,h)) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.