DPI to KB converter: what 300 dpi means in kilobytes
By Umair Tahir · Updated 26 October 2026
There is no fixed answer to “300 dpi in KB”, because DPI and KB measure two different things. DPI (dots per inch) says how many pixels are printed in one inch; KB (kilobytes) says how much space the file takes. The same 300 dpi can be a 5 KB stamp or a 5 MB poster. What connects them is the number of pixels: a printed size at a given DPI gives a pixel size, and the pixel size, together with the format and the picture itself, gives the KB. The calculator does both steps.
Printed size and DPI
Picture size
413 × 531 pixels
219,303 pixels in all (0.22 megapixels)
- JPG photo, usual range
- 17 KB to 54 KB
- PNG photo, about
- 320 KB
- Uncompressed (BMP, raw)
- 640 KB
A JPG with a plain background and normal quality lands near the low figure; a busy background, a scan of text or maximum quality lands near the high figure. The DPI number itself adds nothing to the file.
Why there is no dpi to kb conversion
DPI is a note written inside the image file that says “print me at this many dots per inch”. It does not change the pixels, and the note itself is a few bytes long. If you take a 413 × 531 pixel photo and change its DPI from 72 to 300 in an editor, the file stays the same size to within a few bytes, and the picture looks identical on screen. Only the printed size changes: at 72 dpi it would print 14.6 cm wide, at 300 dpi 3.5 cm wide.
File size in KB depends on three things: how many pixels the picture has, which format it is saved in, and how much detail it contains. A JPG throws away detail the eye does not notice, so a photo with a plain background compresses to a small file and a photo with a patterned shirt and a busy wall compresses to a larger one, at the same pixel size. That is why the calculator gives a range for JPG rather than one number.
What changes when you change the DPI
When a form or a photo shop says “300 dpi”, they mean the printed size and the pixel size together: a 35 × 45 mm photo at 300 dpi is 413 × 531 pixels. Raising the DPI while keeping the printed size means more pixels, and more pixels mean more KB. Doubling the DPI gives four times the pixels, because both the width and the height double. The table shows the same passport photo at the DPI values forms and scanners commonly use.
| DPI | Pixels | JPG file, usual range | Enough for |
|---|---|---|---|
| 72 dpi | 99 × 128 | 2 to 4 KB | A tiny thumbnail; faces are blurry |
| 150 dpi | 207 × 266 | 6 to 15 KB | Forms with a 10 to 20 KB limit |
| 200 dpi | 276 × 354 | 10 to 25 KB | PPSC, FPSC and most 25 to 30 KB limits |
| 300 dpi | 413 × 531 | 20 to 55 KB | The standard print quality; 50 to 100 KB limits |
| 600 dpi | 827 × 1063 | 70 to 200 KB | Printing at a photo shop; 5 MB limits |
The ranges come from JPGs saved at normal quality (about 80 on the usual 0 to 100 scale). Save at maximum quality and the figures roughly double; save at 60 and they fall by about a third. A PNG of the same photo is five to ten times larger than the JPG, which is why forms with a KB limit want JPG.
300 dpi in KB for the sizes people ask about
| Size | Pixels at 300 dpi | JPG, usual range |
|---|---|---|
| Passport photo, 35 × 45 mm | 413 × 531 | 20 to 55 KB |
| US photo, 2 × 2 inch | 600 × 600 | 30 to 90 KB |
| CNIC or bank card, 85.6 × 54 mm | 1011 × 638 | 50 to 160 KB |
| A5 page, 148 × 210 mm | 1748 × 2480 | 350 KB to 1.1 MB |
| A4 page, 210 × 297 mm | 2480 × 3508 | 700 KB to 2.2 MB |
| 4 × 6 inch print | 1200 × 1800 | 170 to 530 KB |
A scanned A4 page of printed text sits at the top of its range or above it, because sharp black letters on white are exactly the detail a JPG struggles to throw away. A scanned page saved as PDF carries the same JPG inside it plus a few KB of wrapper, so the guide on compressing a PDF applies.
KB to dpi: the question the other way round
People also search for “kb to dpi” and “50 kb photo in dpi”, usually because a form lists both a file size and a DPI. The DPI of a file you already have is found from its pixels and its printed size, not from its KB. Divide the pixel width by the width in inches: a 413 pixel wide photo meant to print at 35 mm (1.378 inches) is 300 dpi. Most phones write 72 or 96 dpi into their photos regardless of size; that number is meaningless for a 4,000 pixel wide picture and no form checks it.
When a form asks for both, treat them as two separate rules. The DPI rule fixes the pixel size: 300 dpi at 35 × 45 mm means 413 × 531 pixels. The KB rule is then met by saving as JPG and lowering the quality until the file is under the limit. At 413 × 531 pixels a JPG can go down to about 15 KB before the face visibly suffers, so a 300 dpi photo under 20 KB is possible; a 300 dpi photo under 10 KB is not, and a form that asks for that is really asking for a smaller picture.
How to get a photo at a given DPI and under a KB limit
- Work out the pixels: printed width in inches × dpi, and printed height in inches × dpi. The calculator above does this; 35 × 45 mm at 300 dpi is 413 × 531.
- Resize the photo to exactly those pixels. The resize tool on this site takes the size in mm, cm or inches with a DPI, and writes that DPI into the file as well.
- Save as JPG, not PNG.
- If the file is over the form’s KB limit, compress it with the form’s page on this site; the pixels stay the same and only the JPG quality moves.
- Check the final file against the form with the photo checker before uploading.
Does a form actually check the DPI?
Almost never. Pakistani portals check the file size in KB and sometimes the pixel size; none of the forms covered on this site reads the DPI note. The number matters in two places only: a print shop uses it to decide how big to print, and an online form that states pixels in terms of DPI (for example “300 dpi, 35 × 45 mm”) is using it as a shorthand for 413 × 531 pixels. In both cases the pixels are what count, and the KB follows from the pixels.
Sawal Urdu mein
Mukhtasar jawab Roman Urdu mein. Tafseel aur official wording upar English mein hai.
- 300 dpi kitne KB hota hai?
- DPI aur KB alag cheezein hain. 300 dpi par 35 × 45 mm photo 413 × 531 pixels banti hai, aur JPG mein woh takreeban 20 se 55 KB hoti hai. Size badlo to KB badlega, dpi akela kuch nahi batata.
- Form 300 dpi aur 50 KB dono maangta hai, kaise karein?
- Photo 35 × 45 mm ko 300 dpi par 413 × 531 pixels rakho, JPG save karo, phir is site ke tool se 50 KB ke neeche compress karo. Dono shartein ek saath poori ho jati hain.
- KB ko dpi mein kaise convert karein?
- Nahi hota. KB file ka wazan hai, dpi print ki density. Photo ki pixels aur print size se dpi nikalta hai: 413 pixels ÷ 1.378 inch = 300 dpi.
Resize a photo to an exact size and DPI
Read next
KB vs pixels: what KB, MB, pixels and DPI mean for a photo upload
KB is file size, pixels are picture size, and DPI links pixels to print. A plain explanation with examples, and why a form can refuse a photo on either one.
How to compress a photo to 20 KB and keep the face clear
A 20 KB photo can still look sharp. What uses up the file size, how to take a photo that compresses well, and the mistakes that leave it blurry.
Passport size photo in Pakistan: cm, mm, inches and pixels
Passport size photo height and width in Pakistan: 45 × 35 mm, or 531 × 413 pixels at 300 dpi. Also 2 × 2 inches (US) and 50 × 70 mm (Canada), with conversions and a free resizer.