Nexlito.◎ 日本語
All tools / Images & QR
▭
Keep the shape as the size changes.

Aspect Ratio Calculator

Reduce integer image dimensions to an aspect ratio and calculate height for a new width. See both precise and rounded pixels without uploading an image.

Enable JavaScript to use this tool.

♧ Your inputs stay in your browser. Nothing is uploaded or saved by Nexlito.

How to use this tool

  1. Enter original width and height as positive whole pixels.
  2. Enter the desired new whole-pixel width.
  3. Use the calculated height or nearest whole pixel, allowing for small rounding differences.
WORKED EXAMPLE

Resizing a 16:9 frame

A 1920 × 1080 frame reduces to 16:9. At a new width of 1280 pixels, the matching height is 720 pixels. At 1000 pixels wide the precise height is 562.5, rounded to 563.

Method and assumptions

The greatest common divisor reduces width:height to its simplest integer ratio. Target height = target width × original height ÷ original width. The nearest whole-pixel output is a practical approximation, not a crop or a file modification.

Frequently asked questions

Will this change my image file?

No. It calculates dimensions only. Use the image resizer to create a smaller image file.

Why is the height sometimes a decimal?

The exact ratio may not fit a whole number of pixels at your target width. The rounded height can differ slightly in proportion.

Does it crop to fit a screen?

No. Fit, fill, cropping and padding are different choices. This calculator preserves the source ratio mathematically.

Content and calculation method checked November 28, 2026. Processing takes place on your device. Do not enter sensitive content on an untrusted device.