Please report any bugs to me. Due to potential differences in calculation the size returned is larger then necessary by a few pixels.

Your image is exactly the same MP as the target value.
No change can be made.

Enter new numbers and try again:

The Doughnut Man's Nifty Megapixel Size Machine

This tool accepts the current pixel dimensions of an image, plus a target mexapixel value, and calculates the minimum size that the original image can be downsampled to while preserving its aspect ratio and meeting the MP requirement.


Width:
Height:


Downsample to:

iStock Medium (1.92MP / 1600x1200)
iStock Large (4.91MP / 2560x1920)
iStock XLarge (11.76MP / 4200x2800)
iStock XXLarge (16.17MP / 4900x3300)

Custom MP based on width: x height:
Custom MP: (e.g. 1.2)


© Perry Kroll / titaniumdoughnut