Aspect Ratio Calculator

Find a missing dimension or calculate widths and heights across the breakpoint sizes you supply.

Inputs stay on your device No sign-up Free to use
How this works

The tool runs in this browser. Your file or text is not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Privacy details

Calculate controls

Showing an example. Edit to see your own.

The first number in the ratio, such as the 16 in 16:9.

The second number in the ratio, such as the 9 in 16:9.

Which side do you know?

The measurement you already have. The answer uses the same unit, whatever that unit is.

Decimal places

Applies to answers that do not divide evenly. A whole answer prints without decimal places.

Optional. One line per breakpoint as breakpoint,width in pixels, such as 375,320. Up to 20 lines, and each height is worked out from the same ratio in the decimal places above.

Processed in your browser. Your inputs stay on this device.

How to use Aspect Ratio Calculator

  1. Type the ratio as two numbers, such as 16 and 9.
  2. Choose whether the measurement you already have is the width or the height.
  3. Type that measurement in the known side value, and set the decimal places for a fractional answer.
  4. Optionally add breakpoint,width pairs in pixels, one per line, to get a height for each supplied width.
  5. Read the missing side in the answer, then check the formula line to see the multiplication behind it.

Example: Aspect Ratio Calculator

Work out the height of a 16:9 frame from its width.

You add
Ratio width: 16. Ratio height: 9. Which side do you know?: Width. Known side value: 1920. Decimal places: 2.
You get
The summary names a height of 1080, the answer reads 1080, the formula line shows 1920 × 9 ÷ 16 = 1080, and the table lists a width of 1920 beside a height of 1080.

Options

Ratio width and ratio height
The two numbers that describe the shape, for example 16 and 9. Each one accepts 0.000001 to 100000, and the calculator refuses a side of zero or below.
Which side do you know?
This tells the calculator which ratio number matches your measurement, so it divides by the other one.
Known side value
The measurement you already have, in pixels or in any other single unit. The answer comes back in that same unit, up to 1000000.
Decimal places
0, 2 or 4. The setting rounds an answer that does not divide evenly, and a whole answer prints with no decimal point.
Breakpoint widths
Enter breakpoint,width pairs such as 375,320 and 1440,1280. A 16:9 ratio gives heights 180 and 720 for those supplied widths. The breakpoint is a label for your layout; it does not automatically measure the available width.

Supported inputs and limits

Each ratio side accepts 0.000001 to 100000, and the known side accepts 0.000001 to 1000000 in one unit. Zero and negative numbers are refused with a message. A result above 1000000000000 stops the run instead of printing a number too long to read. Answers round half up to 0, 2 or 4 decimal places. An optional list accepts up to 20 unique breakpoint,width pairs, with at most 2,048 characters. Breakpoints are positive whole pixel values up to 1,000,000. Listed widths use the known-side limits above; returned heights use the same ratio and rounding. This page calculates dimensions; it does not resize, crop or open an image file.

Where your input is processed

This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Where the multiplication comes from

A ratio such as 16:9 says the width divided by the height equals 16 divided by 9. When the width is the known side, the height follows from the width multiplied by 9 and then divided by 16. Rearranged the same way, it gives the width from the height. Dividing once at the end keeps the answer from drifting the way it would if a rounded figure were divided again.

Rounding to whole pixels

A screen or a video frame stores whole pixels, so a height of 1080.25 has to become 1080 or 1081. Rounding moves the true ratio a little, and the gap grows with size. When an exact match matters, keep the side you know fixed and round only the missing side, then compare the pair against the ratio you started with.

Questions about Aspect Ratio Calculator

What does a 16:9 ratio mean?

The first number is the width and the second is the height, both measured in the same unit. A 16:9 frame is 16 units wide for every 9 units high, so 1920 wide gives 1080 high.

Can the ratio sides be decimals?

Yes. A ratio of 1.5:1 works the same way as 3:2, because only the relationship between the two numbers matters. Decimals are read exactly, not rounded first.

Why does my answer have decimals?

Not every ratio and size divide evenly. Set Decimal places to 4 for a closer figure, or keep 2 for a practical measurement.

Does this change my image?

No. The calculator works with the numbers you type. It never opens, resizes or saves a picture, and nothing leaves your browser.

Project manager: Tony Hines · Content updated 30 September 2026 · Report a problem