Midjourney Aspect Ratio Calculator

Convert pixel dimensions to Midjourney --ar flags instantly.

Free Midjourney aspect ratio calculator. Enter width and height in pixels and get the simplified --ar flag, plus the nearest supported MJ v5/v6 ratio and a visual preview of the frame shape. Runs entirely in your browser. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

What aspect ratios does Midjourney support?

Since v5 Midjourney accepts almost any aspect ratio you pass to --ar, from extreme panoramas to tall portraits. Earlier versions were limited to a handful of presets. Very extreme ratios (beyond roughly 7:1) can still produce repetition or stitching artifacts, so the tool flags when a ratio is unusually wide or tall.

Midjourney’s --ar flag wants a clean width-to-height ratio like 16:9, not raw pixel dimensions. This calculator takes any width and height you have in mind and reduces it to the simplest whole-number ratio, formats the flag, and shows you the frame shape so there are no surprises.

How it works

The maths is simple but easy to get wrong by hand. The tool:

  1. Finds the greatest common divisor of your width and height using the Euclidean algorithm.
  2. Divides both numbers by that GCD to reach the lowest-terms ratio — so 1920 x 1080 becomes 16:9, and 1500 x 1000 becomes 3:2.
  3. Formats the flag as --ar W:H exactly as Midjourney expects it.
  4. Shows the decimal ratio (width ÷ height) and a live preview rectangle so you can confirm the orientation at a glance.

Because Midjourney v5 and v6 accept arbitrary ratios, you are not limited to presets — but the tool warns you if a ratio is extreme enough to risk tiling artifacts.

Tips and notes

  • --ar is shape, not size. It never sets your output resolution. To get a bigger file, generate at your chosen ratio and then upscale.
  • Common presets: 1:1 square (default), 16:9 widescreen, 9:16 vertical/stories, 4:3 and 3:2 classic photo, 2:3 portrait, 21:9 cinematic.
  • Avoid extremes. Ratios beyond roughly 7:1 can cause the model to repeat elements to fill the long axis. If you need a banner, generate at a moderate ratio and crop or extend.
  • Whole numbers only. Midjourney expects integers in --ar, which is exactly what the lowest-terms reduction produces.

Use cases for common aspect ratios

Choosing the right ratio before you generate saves time and avoids awkward crops. Here is how each common ratio is actually used:

RatioUse case
1:1Instagram square posts, profile images, album art
16:9YouTube thumbnails, desktop wallpapers, presentations, widescreen prints
9:16Instagram Stories, TikTok, mobile wallpapers, Pinterest pins
4:3Traditional TV format, slideshows, some print layouts
3:2DSLR output format, standard photo prints (4×6, 6×9 inches)
2:3Portrait photography, book covers, vertical posters
21:9Cinematic ultra-wide, hero website banners
7:4Landscape print, wide editorial images

How —ar interacts with zoom and pan

When you use Midjourney’s zoom-out or pan features on an upscaled image, the operation changes the canvas dimensions and therefore the effective aspect ratio of the final image. If you have a target ratio in mind for the finished piece, plan the starting ratio carefully: zooming out from a 1:1 image twice will give you a wider result, but exactly how wide depends on how many times and at what zoom factor you expand. Use this calculator to convert the final pixel dimensions you want back into the --ar flag that matches the starting frame you need.