Runs in your browser, nothing is uploaded

Find the aspect ratio of any size

Type a width and a height and see the ratio, the megapixels and the Midjourney --ar value at once. Then work out a new size that keeps the same shape.

Free, no limit, no sign-up
No size in mind? Try one of these

Every picture has a shape: wide, tall or square. The aspect ratio is that shape as two numbers. Know it, and you can resize without stretching, pick the right Midjourney setting and see how many megapixels a file has.

  • Nothing is uploaded
  • No daily limit
  • No sign-up
  • Copy in one click

Why people use this one

The exact ratio, even for odd sizes

Any width and height is reduced to its smallest whole numbers. When a size is not an exact ratio, like 1366 x 768, you also see the common ratio it is close to.

  • 1920 x 108016:9Exact
  • 1366 x 768683:384Close to 16:9
  • 1080 x 13504:5Exact
  • 3000 x 20003:2Exact

Resize without stretching

Type a new width and the height follows, or the other way round. The shape stays the same, so nothing looks squeezed.

16:9
Width 1920Height 1080

Megapixels and Midjourney in one place

Many stock sites set their minimum size in megapixels, so the number is right there. The --ar value for Midjourney is ready to copy too.

Size1920 x 1080
Megapixels2.07 MP
--ar 16:9 Copy

How it works

  1. Step 1

    Type your size

    Enter the width and height in pixels, or tap a common ratio like 16:9 or 4:5.

  2. Step 2

    Read the result

    You see the ratio, the nearest common ratio, the shape and the megapixels at once.

  3. Step 3

    Resize or copy

    Type a new width or height to keep the same ratio, or copy the --ar value for Midjourney.

Questions

Short answers about ratios, sizes and megapixels.

See all questions

Width and height are divided by their greatest common divisor. 1920 x 1080 becomes 16:9, because both numbers divide by 120.

Some screen sizes are not an exact ratio. 1366 x 768 is 683:384, which is within 1% of 16:9, so the tool shows both.

Width times height, divided by one million. A 6000 x 4000 photo is 24 megapixels.

No. The calculator runs only in your browser. Nothing is uploaded and you do not need an account.

Work out your next size

Ratio, megapixels and a new size that keeps the shape. Free, with no limit.

Any image. A perfect prompt.

One click away.

PromptMaster Pro settings screen
PromptMaster Pro open in AI tool screen
PromptMaster Pro AI prompt panel