Everyday & Measurement

Aspect Ratio Calculator

Simplify an image or screen ratio and calculate a matching width or height without stretching the picture.

Your inputs

Example values are filled in. Replace them with yours.

Calculator values

Your result

Example result

Original aspect ratio

16 : 9

Proportional dimensions
1,280 × 720 px
Rounded whole-pixel dimensions
1280 × 720 px
Scale relative to original
66.6667%
Save or compare

Saved calculations

Save up to five results in this browser. Select up to three to compare.

    How to use the calculator

    1. Enter the original image or screen width and height.
    2. Choose which dimension you want to set and enter its target value.
    3. Use the matching dimension for layout; use the whole-pixel suggestion when an editor requires integers.
    4. Select Calculate to update the answer and breakdown. Select Reset to bring back the example.

    Formula

    Aspect ratio = width : height simplified by their greatest common divisor. New height = new width × original height ÷ original width; reverse for new width.

    Worked example

    1920 × 1080 has a 16:9 ratio. A width of 1280 pixels gives a matching height of 720 pixels.

    Understanding your result

    Keeping the same aspect ratio avoids stretching. To fill a container with a different ratio, an editor must crop or add empty space.

    Assumptions and limits

    Original dimensions use positive whole pixels. Target dimensions can be fractional for layout planning. Rounded pixel dimensions can introduce a small ratio difference. Resizing does not create additional image detail.

    Common questions

    Will this crop the image?

    No. It calculates proportional dimensions. Cropping changes the visible content and needs a separate choice.

    Why is the matching size sometimes fractional?

    Not every target width or height maps to whole pixels at the exact original ratio.

    Method and references

    Formula and examples checked 2026-12-04. How we check calculations.