Tools/Math Tools/Aspect Ratio Calculator

Aspect Ratio Calculator Free - Width & Height Online

Free online aspect ratio calculator. Enter any two dimensions to find the missing value while keeping the correct aspect ratio for images, videos, and screens.

If this tool isn’t working as expected, please take a screenshot of the error and report the problem here so we can investigate and improve it.

About this tool

Scaling images and videos while maintaining proportions - without stretching or distorting the content - requires knowing the exact ratio relationship. This calculator simplifies any width and height to their reduced ratio and computes the missing dimension for a target ratio, so resized content keeps its original proportions.

Enter any width and height to calculate the simplified aspect ratio, or enter a target ratio plus one known dimension to calculate the missing one - useful for scaling images, videos, and layouts proportionally without distortion.

How to Use Aspect Ratio Calculator

Enter Ratio

Type the width and height ratio, for example 16 and 9 for 16:9 widescreen.

Enter One Dimension

Add either the target width or height and leave the other blank.

Calculate

The tool fills in the missing dimension while maintaining the exact ratio.

Copy Result

Use the calculated dimensions in your design, video export, or image editor.

Common Workflows

Simplify a Ratio From Known Dimensions

Type your actual width and height into the Ratio Width and Ratio Height fields (e.g., 1920 and 1080) to see the simplified ratio, such as 16:9.

Find a Missing Dimension From a Ratio

Set the Ratio Width and Ratio Height (or click a preset), choose Find Height or Find Width, then enter the one dimension you already know.

Use a Preset Ratio

Click one of the six preset buttons - 16:9, 4:3, 1:1, 3:2, 21:9, or 9:16 - to load a common ratio instantly instead of typing it.

Copy the Result

Click Copy next to the result to copy the calculated width × height as text.

Check the Proportion Visually

Use the Proportion Preview box below the result to see the calculated dimensions rendered at their actual proportions.

Best For

  • Calculates the simplified aspect ratio from any width and height (e.g., 1920×1080 simplifies to 16:9).
  • Calculates the missing width or height from a ratio and one known dimension, rounded to the nearest whole pixel.
  • Six one-click presets for common ratios - 16:9, 4:3, 1:1, 3:2, 21:9, and 9:16 - plus a proportional preview box and a decimal aspect value (e.g., 1.7778 for 16:9).

Examples

Finding the height for a 1000px-wide 16:9 image

Input

Ratio 16:9, Solve For Height, Known Width 1000px

Result

1000 × 563 px (Ratio: 16:9, Aspect: 1.7762)

563 is 562.5 rounded to the nearest whole pixel, so the displayed aspect value (1.7762) is very slightly off from the exact 16:9 ratio (1.7778) - an unavoidable effect of rounding to a whole pixel.

Finding the width for a 1080px-tall 21:9 ultrawide image

Input

Ratio 21:9, Solve For Width, Known Height 1080px

Result

2520 × 1080 px (Ratio: 7:3, Aspect: 2.3333)

21:9 simplifies to 7:3 once both numbers are divided by their greatest common divisor, 3 - the simplified ratio and the entered ratio describe the same proportions.

Use Cases

Scaling an image to a specific width

Enter the ratio and your target width to get the exact height that preserves the original proportions.

Checking whether a resized video kept its ratio

Enter your original dimensions into the ratio fields to see the simplified ratio, then compare it against your resized video's dimensions.

Finding dimensions for a common platform ratio

Use a preset like 9:16 for vertical video or 1:1 for square formats, then enter your target width or height to get the matching dimension.

Common Mistakes

Problem

Expecting the tool to resize or export an actual image file

Solution

This calculator only computes numbers - width and height in pixels - it doesn't open, resize, or export any image or video file.

Problem

Expecting an exact ratio when a rounded pixel result is used

Solution

The missing dimension is always rounded to the nearest whole pixel, so the resulting width-to-height division can differ very slightly from the exact target ratio (e.g., 1000×563 divides to 1.7762, not exactly 16:9's 1.7778).

Problem

Leaving the ratio or dimension fields empty

Solution

The tool shows a placeholder message instead of a result until both the ratio and the one known dimension are filled in - there's no separate error message for missing fields.

Problem

Assuming format names are shown for common ratios

Solution

The tool identifies simplified ratio values (like 16:9 or 7:3) but doesn't label them with format names such as "HD video" or "widescreen."

Tips & Best Practices

Use the presets for common ratios

Click 16:9, 4:3, 1:1, 3:2, 21:9, or 9:16 instead of typing the ratio manually if your target is one of these standard formats.

Type your actual dimensions into the ratio fields to identify a ratio

If you have a width and height and want to know what ratio they simplify to, enter them directly into Ratio Width and Ratio Height.

Expect whole-pixel rounding on the result

Since the missing dimension is rounded to the nearest whole pixel, treat the result as the closest practical value rather than a mathematically exact one.

Use the Proportion Preview to sanity-check the shape

The preview box below the result renders the calculated width and height at their actual proportions, which is a fast way to catch a mistyped ratio.

Limitations

Calculates dimensions only - doesn't resize or edit files

This tool computes width and height numbers; it doesn't open, resize, crop, or export any actual image or video file.

Results are rounded to the nearest whole pixel

The calculated dimension always uses whole-pixel rounding, so the exact ratio can be very slightly off in the final result compared to the mathematically precise value.

No format-name identification

The tool shows simplified ratio values but doesn't label them with names like "HD video" or "widescreen" - only the six preset buttons carry a plain ratio label.

No validation messages for empty fields

If the ratio or known dimension fields are empty or zero, the tool simply shows a placeholder prompt instead of an error message.

No saved history

Each calculation is a one-time result on the page - previous ratios or dimensions aren't saved between visits.

Comparisons

Finding a Ratio vs. Finding a Missing Dimension

Both use the same Ratio Width and Ratio Height fields - only what you type into them, and what you're solving for, differs.

Finding a RatioFinding a Missing Dimension
What you type into Ratio Width/HeightYour actual pixel dimensions, e.g. 1920 and 1080A target ratio, e.g. 16 and 9
What you read as the resultThe Ratio: line, simplified via greatest common divisor (e.g., 16:9)The calculated width × height in the Result box
Extra field neededNoneOne known width or height, via Solve For

Which should you use?

The same two ratio fields serve both jobs - type real dimensions in to identify the ratio, or type a target ratio in and add one known dimension to calculate the other.

FAQs

The most common question is what 16:9 means. It means for every 16 units of width, the height is 9 units - the proportional relationship stays constant regardless of the actual pixel dimensions. A 1920×1080 display and a 640×360 display are both 16:9 because dividing width by height gives the same result for both: 1920/1080 and 640/360 both equal 16/9 (about 1.78).

What is an aspect ratio?

An aspect ratio is the proportional relationship between width and height, expressed as W:H. Common ratios include 16:9 for widescreen video and 4:3 for standard displays.

How do I find the height when I know the width and ratio?

Enter the aspect ratio and the known width. The tool automatically calculates the correct height to maintain the ratio without distortion.

Can I use this for image resizing?

Yes. Enter your original image dimensions, enter the new width or height, and the tool calculates the other dimension while preserving the aspect ratio.

Get more tools like this

Leave your email so we can prioritize similar tools and updates.

Trending Tools

Trending tools will appear as visitors explore the catalog.

Recently Used

Your recently visited tools will show up here.