Skip to content
FormKB

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.

A 35 × 45 mm passport photo at each DPI, with the JPG size it usually becomes
DPIPixelsJPG file, usual rangeEnough for
72 dpi99 × 1282 to 4 KBA tiny thumbnail; faces are blurry
150 dpi207 × 2666 to 15 KBForms with a 10 to 20 KB limit
200 dpi276 × 35410 to 25 KBPPSC, FPSC and most 25 to 30 KB limits
300 dpi413 × 53120 to 55 KBThe standard print quality; 50 to 100 KB limits
600 dpi827 × 106370 to 200 KBPrinting 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

Common sizes at 300 dpi and what a JPG of them usually weighs
SizePixels at 300 dpiJPG, usual range
Passport photo, 35 × 45 mm413 × 53120 to 55 KB
US photo, 2 × 2 inch600 × 60030 to 90 KB
CNIC or bank card, 85.6 × 54 mm1011 × 63850 to 160 KB
A5 page, 148 × 210 mm1748 × 2480350 KB to 1.1 MB
A4 page, 210 × 297 mm2480 × 3508700 KB to 2.2 MB
4 × 6 inch print1200 × 1800170 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

  1. 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.
  2. 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.
  3. Save as JPG, not PNG.
  4. 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.
  5. 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