Design & colour

Aspect ratio calculator

Simplify dimensions and resize proportionally.

Aspect ratio calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Reduces integer dimensions by their greatest common divisor. New height = new width × original height ÷ original width. Decimal output is shown before pixel rounding.

How this is checked

3 reference checks passed These 3 cases were run when this page was built, on 3 December 2026, and all reproduce within the stated tolerance. The same cases are part of the automated tests that run on every change to Toolmoz. Engine version 1.

See the checks and where each expected answer comes from
  1. Case 1

    Inputs
    Original width 1920Original height 1080New width 1280
    Expected, and what Toolmoz gave
    Aspect ratio expected 16:9, Toolmoz 16:9New width expected 1280, Toolmoz 1280New height (exact calculation) expected 720, Toolmoz 720
    Where the expected answer comes from
    gcd(1920, 1080) = 120 gives 16:9. New height = 1280 × 1080 ÷ 1920 = 720
    Allowed difference
    ±1e-12 relative
  2. Case 2

    Inputs
    Original width 1600Original height 1200New width 1000
    Expected, and what Toolmoz gave
    Aspect ratio expected 4:3, Toolmoz 4:3New height (exact calculation) expected 750, Toolmoz 750
    Where the expected answer comes from
    gcd(1600, 1200) = 400 gives 4:3. New height = 1000 × 1200 ÷ 1600 = 750
    Allowed difference
    ±1e-12 relative
  3. Case 3

    Inputs
    Original width 1000Original height 400New width 500
    Expected, and what Toolmoz gave
    Aspect ratio expected 5:2, Toolmoz 5:2New height (exact calculation) expected 200, Toolmoz 200
    Where the expected answer comes from
    gcd(1000, 400) = 200 gives 5:2. New height = 500 × 400 ÷ 1000 = 200
    Allowed difference
    ±1e-12 relative

What this shows: the engine reproduces independently worked values for these cases. It does not prove every possible input is right. To test an answer you were given, see how to check a number; to see what is and is not checked across Toolmoz, see the accuracy ledger.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Original width
1920
Original height
1080
New width
1280

Example result

Aspect ratio
16:9
New width
1,280
New height (exact calculation)
720
New height (nearest pixel)
720