Crop it or pad it? See exactly what each choice costs.

Type your image size and the ratio you need. Everything is computed in your browser, nothing is uploaded.

SizePixelsCompared with your original

All figures are plain arithmetic on the numbers you type: ratio = width / height, the greatest common divisor reduces it, and a crop or pad keeps the other dimension unchanged so no pixels are resampled.