Uncensored Image Start generating
Free tool · runs in your browser

AI image aspect ratio calculator

Diffusion models work best near their native pixel count and with dimensions divisible by 8 or 64. Pick a ratio and target size to get the right width and height.

Aspect ratio
Most diffusion models need dimensions divisible by 8; many prefer 64.
0 × 0width × height (px)
0actual megapixels
0 × 0after 2× upscale
0%ratio error from rounding

Why native resolution matters

Image models are trained at a particular pixel budget, about 0.26 megapixels for SD 1.5 and about one megapixel for SDXL and FLUX-family models. Generating far above that budget often causes duplicated subjects, extra limbs or tiled backgrounds. Keep the pixel count near native and change the shape, not the size.

Common sizes at one megapixel

Popular dimensions for SDXL-class models:

  • 1:1, 1024 × 1024
  • 3:2, about 1216 × 832
  • 16:9, about 1344 × 768
  • 9:16, about 768 × 1344

Common questions

Why must dimensions be divisible by 8?

Diffusion models work in a compressed latent space that is typically 8× smaller than the image, so pixel sizes need to divide cleanly.

How do I get larger images?

Generate at native resolution, then upscale (optionally with a light second diffusion pass).

Does this work for video?

Yes, choose a video preset like 720p to get frame dimensions.

Prompt ready. Now render it.

Paste your prompt into the uncensored image generator and pick a model.