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.
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.
Related
AI Image Prompt Builder
Build detailed image prompts from subject, medium, lighting, camera and mood, in three output formats.
Free toolNegative Prompt Generator
Build a clean, weighted negative prompt from common quality, anatomy, composition and watermark issues.
Free toolAI Art Style Generator
Enter a subject and get random, original style combinations of medium, era, lighting and mood to paste into any image generator.
Free toolPrompt Weight Calculator
Write one concept per line with a weight and get correct emphasis syntax for Stable Diffusion, ComfyUI or Midjourney, or a plain ordered prompt.
Free toolImage Model GPU Checker
Pick an open image model, your GPU memory and output size to see whether it fits at full precision, FP8 or GGUF quantisation.
GuideHow to Write AI Image Prompts: A Practical Formula (With Examples)
A simple six-part formula for AI image prompts, with before-and-after examples, model-specific tips for FLUX and Stable Diffusion, and common mistakes.
Prompt ready. Now render it.
Paste your prompt into the uncensored image generator and pick a model.