Aspect Ratio Calculator

What is the aspect ratio of your width and height?

Enter any two dimensions to get the exact aspect ratio, simplified fraction, and scaled dimensions. Useful for resizing images, setting up video formats, and checking display compatibility without distorting content.

Updated July 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Think of aspect ratio as a recipe proportion — if a bread recipe calls for 2 cups flour to 1 cup water, doubling it means 4 cups flour and 2 cups water. The ratio stays the same regardless of batch size. Aspect ratio works identically: a 1920x1080 image and a 640x360 image contain the same shape, just at different sizes. The ratio 16:9 is simply the most reduced form of that proportion.

The calculation uses the greatest common divisor (GCD) — the largest number that divides both dimensions evenly. For 1920 and 1080, both are divisible by 120, producing 16 and 9. For dimensions like 1280x800, the GCD is 160, giving 8:5. Most people recognize 16:9 immediately; fewer know that 8:5 and 1.6:1 are the same shape as a sheet of A4 paper rotated.

The decimal form (1.778:1 for 16:9) is useful when comparing ratios that do not reduce to clean whole numbers. A 2.39:1 cinemascope film frame and a 21:9 monitor are close but not identical — the decimal makes that difference measurable. Designers and video editors who work across formats routinely check both the simplified fraction and the decimal to confirm compatibility.

When To Use This
Right tool, right situation

Use this tool when you need to resize an image or video and preserve its shape exactly. The most direct use cases are: confirming video export settings before uploading to a platform with strict format requirements, cropping a photo to match a specific print size without distortion, and checking whether a custom canvas size matches a standard format before designing in it.

Use the scaling fields when you know one target dimension and need the other. This is the fastest path to responsive image dimensions — enter your original size, then test multiple target widths to see what height each produces.

This tool is not appropriate when your goal is to change the aspect ratio intentionally — for example, cropping a 4:3 photo to 16:9 for widescreen output. In that case, you are choosing which part of the image to keep, not calculating a proportional resize. The tool will show you the original ratio and help you understand what the target ratio would require, but the creative decision about what to crop is outside what any calculator can decide.

Common Mistakes
Why results sometimes look wrong

The most common mistake is assuming a matching ratio means matching resolution. A 640x360 image and a 3840x2160 image are both 16:9, but one is 4K and one is less than standard definition. Resizing a low-resolution image to a larger canvas at the correct ratio does not add detail — it only enlarges pixels. The ratio tells you about shape, not quality.

A second mistake is mixing units. If width is in inches and height is in pixels, the resulting ratio is meaningless. Both values must use the same unit. This error appears most often when converting scanned documents to digital formats, where DPI resolution is confused with physical dimensions.

A third mistake is rounding too aggressively when simplifying. 1366x768 is a common laptop resolution that does not simplify cleanly — its GCD is 2, giving 683:384, which looks unusual but is correct. Some tools incorrectly round this to 16:9. The actual ratio is approximately 1.779:1, very close to but not equal to 16:9. Treating it as 16:9 causes sub-pixel errors when cropping or scaling precisely.

The Math
Worked examples and deeper derivation

The core formula is straightforward: ratio = width / height. Simplification requires the Euclidean algorithm for GCD. For integers a and b, GCD is found by repeatedly replacing the larger value with the remainder of dividing the two, until the remainder is zero. The last non-zero value is the GCD.

For non-integer dimensions (like 1366.5 x 768), the tool scales both values up by a factor before applying GCD, then divides back down. This prevents floating point errors from breaking the simplification. Because pixel dimensions are almost always integers in practice, this edge case rarely surfaces — but it matters for print dimensions measured in millimeters or inches.

Scaling works by maintaining the ratio constant: target_height = target_width / ratio, and target_width = target_height * ratio. These are inverse operations of the same proportion. The decimal ratio acts as the conversion factor between any two sets of proportional dimensions, which is why calculating it once lets you scale to any target size without re-measuring.

Resizing a YouTube thumbnail to match 16:9
Width: 1920, Height: 1080, Scale to Width: 1280
The calculator confirms a 16:9 ratio and shows the proportional height at 1280 px wide is 720 px. This means you can resize to 1280x720 and your thumbnail will not stretch or letterbox — a direct constraint for YouTube uploads.
Checking a scanned document before printing
Width: 2480, Height: 3508
The result shows a ratio close to 1:1.414, which matches the ISO A4 paper standard (approximately 5:7 simplified). This confirms the scan dimensions are correct for A4 printing without cropping. If the ratio were off, you would see no standard format match and know a re-scan is needed.
A filmmaker verifying a camera sensor crop for vertical social reels
Width: 1080, Height: 1920, Scale to Height: 1334
The ratio is 9:16, matching vertical video format. Scaling to 1334 px tall gives a proportional width of 750 px — exactly the resolution of older iPhone screens. This is useful for confirming that a vertically shot clip will fill the frame on legacy mobile devices without pillarboxing.
Expert Unlock
The thing most explanations skip

The GCD simplification assumes integer dimensions, but real-world sensor and display pipelines often work with non-integer pixel counts due to oversampling, anamorphic lenses, or non-square pixel formats. Anamorphic video, for instance, stores a squeezed image that expands at playback using a pixel aspect ratio (PAR) separate from the display aspect ratio (DAR). A file recorded at 1440x1080 with a 1.333 PAR displays at 1920x1080 — the stored ratio (4:3) and the display ratio (16:9) are both valid but describe different things. This calculator computes the storage ratio from pixel counts; it cannot account for PAR without additional inputs.

What does my aspect ratio actually mean for resizing?

How do I calculate aspect ratio from width and height?
Divide the width by the height to get the decimal ratio, then simplify by finding the greatest common divisor of both values. For 1920x1080, the GCD is 120, giving 16:9. This tool handles the GCD calculation automatically so you get the simplified ratio instantly.
What aspect ratio is 1920x1080?
1920x1080 is 16:9, the standard widescreen format used by HD and 4K televisions, YouTube, and most modern monitors. It means for every 16 units of width, there are 9 units of height — a ratio of approximately 1.778:1.
How do I find the height for a given width while keeping the same aspect ratio?
Divide the target width by the original ratio (width divided by height). For a 16:9 source scaled to 1280 px wide: 1280 divided by 1.778 equals 720 px. Enter your target width in the Scale to Width field and this calculator does it in one step.

Need something this doesn't cover?

Suggest a tool — we'll build it →