Unfiltered
Free tool · runs in your browser

AI image resolution calculator

Pick a ratio and a model's native size and get exact, correctly rounded width and height, so your compositions don't duplicate or stretch.

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

The duplicate-subject problem

When you ask a one-megapixel model for a much larger image in one pass, it often fills the extra space by repeating the subject, two heads, doubled horizons. Generating at native size and upscaling afterwards avoids it.

Rounding matters

Diffusion models operate in a latent space that's typically one-eighth of the image size, so dimensions must be divisible by at least 8. Many models are happiest at multiples of 64.

Common questions

What's native resolution for SDXL?

About one megapixel, 1024×1024 or an equivalent area in other shapes.

Should I generate at 4K directly?

No. Generate near native size, then upscale.

Does it work for video frames?

Yes, pick a 480p, 720p or 1080p preset.

Now develop it.

Paste your prompt into the darkroom and generate four frames.