Skip to content
FormKB

KB to pixels: what size in pixels gives a 20, 50 or 100 KB photo

By Umair Tahir · Updated 1 November 2026

People search “KB to pixels” because a form says “photo must be under 50 KB” and the phone shows a picture that is 4000 by 3000 pixels and 3 MB. The honest answer is that kilobytes and pixels measure different things and there is no fixed conversion: the same 600 by 800 picture can be 40 KB or 400 KB depending on the file format, the JPG quality setting and how much detail is in the picture. What does exist is a reliable range for one common case, a head-and-shoulders photo saved as JPG at normal quality, and that range is what this page gives, together with the two things that break it.

Why there is no formula

Pixels describe how many dots the picture has; kilobytes describe how much space the file takes after compression. An uncompressed photo needs 3 bytes per pixel (one each for red, green and blue), so a 600 by 800 picture is 1,440,000 bytes, about 1.4 MB. JPG compression throws away detail the eye does not notice and typically keeps between 0.08 and 0.25 bytes per pixel for a photograph, which is why the same 600 by 800 file lands anywhere between 40 KB and 120 KB. A plain wall compresses to the low end; a patterned shirt, hair against a bright background or a grainy low-light picture pushes it to the high end. PNG does almost no lossy compression on photographs and stays near 1.5 bytes per pixel, so a PNG of the same picture is roughly 700 KB.

KB to pixels for a JPG photo

Pixel sizes that usually land inside each limit for a passport-style JPG at quality 75 to 85 (4:5 shape). Lower figure: detailed picture; higher figure: plain background.
File size limitPixel size range (width × height)MegapixelsForms that use this limit
10 KB200 × 250 to 280 × 3500.05 to 0.1Lower limit on JEE Main and other Indian exam forms
20 KB300 × 375 to 400 × 5000.1 to 0.2Pak Navy (under 20 KB)
25 to 30 KB320 × 400 to 450 × 5600.13 to 0.25PPSC (25 KB), FPSC and ASF (30 KB)
50 KB450 × 560 to 600 × 7500.25 to 0.45UK passport lower limit, many university portals
100 KB600 × 750 to 800 × 10000.45 to 0.8Teletalk photo (Bangladesh), JEE Main signature upper limit
200 KB800 × 1000 to 1200 × 15000.8 to 1.8JEE Main photo upper limit, many scholarship portals
300 KB1000 × 1250 to 1400 × 17501.25 to 2.5Pak Army, PM Chromebook Scheme documents
500 KB1200 × 1500 to 1800 × 22501.8 to 4Most “under 500 KB” upload fields

Read the table from the limit you were given. If a form says “under 30 KB”, a 400 by 500 pixel JPG is the safe target: it fits with room to spare and still prints acceptably at the passport size of 35 by 45 mm. If a form gives a lower limit too (JEE Main asks for 10 to 200 KB), aim for the middle of the range rather than the floor, because a file squeezed to the minimum is also the softest.

Documents are different from faces

A scanned CNIC, mark sheet or certificate is mostly small text on a light background, and JPG handles text badly: the sharp edges of letters cost many bytes. The same pixel count that gives a 100 KB face photo gives a 250 KB document scan. For documents the rule of thumb is to keep the width at about 1,200 pixels, which keeps the text readable, and then let the quality setting bring the size down; below 900 pixels wide a CNIC’s small print starts to blur before the KB target is reached.

How to hit an exact KB limit

  1. Crop to the shape the form wants (passport 35:45, square, or the document’s edges) so that no pixels are wasted on background.
  2. Resize to the pixel range in the table for your limit.
  3. Save as JPG, not PNG. Start at quality 80. If the file is still over the limit, lower the quality in steps of 5; if it is far under, raise it.
  4. Check the result at full size. Faces should be sharp at the eyes; documents should show every digit of the number.
  5. The resizer on this site does steps 2 to 4 automatically: pick the form or type the KB limit, and it searches for the largest pixel size and quality that fit.

Related conversions

Pixels become centimetres only when you choose a print resolution, so “KB to cm” is two steps: KB to pixels (this page), then pixels to cm at 300 dpi for prints (413 by 531 pixels is 3.5 by 4.5 cm). The guide on KB, MB, pixels and DPI explains the units from the start, and the DPI to KB page has a calculator for scanned documents.

Sawal Urdu mein

Mukhtasar jawab Roman Urdu mein. Tafseel aur official wording upar English mein hai.

20 KB photo kitne pixels ki hoti hai?
Seedha formula nahi hai, lekin passport-style JPG photo 20 KB ke andar aam tor par 300 × 380 se 400 × 500 pixels ki banti hai. Saada background aur quality 75–85 par yeh range milti hai. Is site ka tool pixels aur quality dono khud set karta hai.
50 KB photo size in pixels?
JPG photo ke liye taqreeban 450 × 560 se 600 × 750 pixels. Agar photo mein bohat detail (patterned background, baal, kapron ki lines) ho to kam pixels rakho.
100 KB ya 200 KB ki photo kitne pixels?
100 KB: taqreeban 600 × 750 se 800 × 1000 pixels. 200 KB: 800 × 1000 se 1200 × 1500 pixels. Yeh JPG ke liye hai; PNG same pixels par 5–10 guna bari hoti hai.
Pixels kam kiye phir bhi KB zyada hai, kyun?
Do wajahein: file PNG hai (JPG mein save karo), ya JPG quality 95–100 par hai. Quality 80 par karo; aankh ko farq nahi dikhta, size aadhi ho jati hai.

Resize to exact pixels and an exact KB limit

Read next