CompressPhotosCompress photos

Guide

KB and pixels

Upload forms give sizes in three different units, often in the same sentence: kilobytes, pixels and centimetres at a DPI. They measure different things, and getting one right does not get the others right.

Three units, three questions

  • KB is how many bytes the file takes. It depends on the pixels, the quality, and how busy the picture is.
  • Pixels are how many dots the picture has across and down. A form that says 200 × 230 px wants exactly that.
  • Centimetres at a DPI is a print size. Pixels = centimetres ÷ 2.54 × DPI. The DPI itself is a label in the file and costs no bytes.

From centimetres to pixels

Pixels = cm ÷ 2.54 × DPI, rounded
3.5 × 4.5 cm at 200 DPI276 × 354 px
3 × 3 cm at 200 DPI (thumb impression)236 × 236 px (forms round to 240 × 240)
10 × 5 cm at 200 DPI (declaration)787 × 394 px (forms round to 800 × 400)
2 × 2 in at 300 DPI (US visa)600 × 600 px
A4 page at 200 DPI1654 × 2339 px

Why a small KB limit needs fewer pixels

A JPEG at a readable quality spends very roughly 0.5 to 1.5 bits per pixel on a photo. Twenty kilobytes is 163,840 bits, so it holds a few hundred thousand pixels at most, about 500 × 400. That is why compress photo to 20 KB reduces the pixels after the quality search, and why 200 KB usually does not need to.

When the form gives all three

Set the pixels first (an exact width × height under Dimensions), then the KB range, then the DPI. The exam form presets do all three from the notice and check the result. If a file is too small for the minimum, increase photo size in KB explains what can and cannot be done honestly.

Questions

Is 1 KB 1,000 or 1,024 bytes?
On this site, and on the forms and computers it is used with, 1 KB is 1,024 bytes and 1 MB is 1,024 KB. A 20 KB limit is 20,480 bytes. Sizes are rounded down when shown, so a 20.4 KB file never reads as 20 KB.
Does DPI change the file size?
No. DPI is a number in the file that says how big to print it. The same 600 × 600 pixels is 3 inches at 200 DPI or 2 inches at 300 DPI, and the bytes are identical. Forms that ask for 200 DPI want that number written; the DPI control in the Recipe panel does exactly that.
Why does my photo look blurry at 20 KB?
Because 20 KB holds roughly 200,000 to 400,000 pixels of a photo at a readable quality. A phone photo has 12 million. Either the pixels come down (sharp but small) or the quality does (full size but blocky); this site lowers the quality to a floor of 40 first, then the pixels.