JPG, DPI, Pixels and KB Explained: Photos for Exams, Forms and Print
Online forms rarely speak one language. One notice says “passport size, 3.5 × 4.5 cm”. Another wants “200 × 230 pixels, 20–50 KB, JPEG, 200 DPI”. A US visa upload asks for a square photo of at least 600 × 600 pixels. These numbers are not interchangeable, which is why a file that looks fine on a phone can still be rejected. This guide explains what a JPG is, how pixels, DPI, PPI and file size in KB relate, and when each matters for a screen upload versus a print. Crop Desk did not invent these rules — always read the latest official notice or the live upload screen before you submit.
What a JPG file actually is
A digital photograph is a grid of coloured squares called pixels. A JPG (or JPEG — the same format) stores that grid after lossy compression: the encoder throws away some fine detail so the file is smaller. The usual “quality” slider controls how aggressive that is. A high-quality JPG of a face still looks sharp; a very low-quality one shows blocky patches and muddy edges.
Three practical consequences follow:
- Saving a JPG again and again makes it worse. Start from the original camera file (or a lossless copy), crop and resize once, then export a single JPG for upload.
- A smaller KB number is not automatically better. Forms often set a minimum as well as a maximum. A heavily compressed signature can look thin or blotchy.
- Most Indian portals ask for JPG because the files are small. PNG keeps ink edges cleaner, but if the notice says JPEG or JPG, convert at a high quality setting after the background is clean. iPhones often save HEIC, which many portals reject — convert first with a HEIC to JPG tool.
Two photos with the same pixel dimensions can still differ in KB: a noisy or busy picture is harder to compress than a simple passport photo on a plain background.
Pixels and resolution: what the portal actually checks
When a website checks your photo, the first thing it can count is the grid: width × height in pixels. A 200 × 230 file is 200 pixels wide and 230 tall, no matter how large it looks on your screen. On-screen size depends on the screen’s own pixel density, not on a number stored in the file.
Useful distinctions:
- Resolution in pixels is the grid (for example 600 × 600). This is what most upload scripts read.
- Megapixels are just width × height ÷ 1,000,000. A typical 12 MP phone photo is around 4000 × 3000 pixels — far more than an exam form needs — so you almost always resize down, not up.
- Cropping removes edges. Resizing changes the pixel count. Stretching changes the aspect ratio and distorts the face. Crop to the right shape first, then resize.
If a form states exact pixels, resize to those pixels. If it states only a centimetre size, you still need enough pixels for a sharp print — that is where DPI comes in.
DPI vs PPI — and why the number in the file is often a label
DPI means dots per inch: how many dots a printer lays down, or a scanner samples, in one inch of paper. PPI means pixels per inch and is the more accurate term for a digital image. Official forms usually say “DPI” even when they mean that stored pixels-per-inch figure. For filling a form, treat the two as the same relationship:
pixels = inches × DPI. Since 1 inch = 2.54 cm, pixels = (centimetres ÷ 2.54) × DPI.
Worked examples:
- A US 2 × 2 inch photo at 300 DPI: 2 × 300 = 600 × 600 pixels.
- A 3.5 × 4.5 cm Indian passport-style print at 300 DPI: (3.5 ÷ 2.54) × 300 ≈ 413 and (4.5 ÷ 2.54) × 300 ≈ 531, so about 413 × 531 pixels. At 200 DPI the same print size is about 276 × 354 pixels.
- A 6.0 × 2.0 cm signature at 300 DPI: about 709 × 236 pixels.
Those figures are calculations from centimetres and a stated DPI. They are not a substitute for a pixel size printed in a notice.
The metadata myth
A JPG can store a DPI or PPI value in its header (often 72 or 96 on phones and screenshots, or 200/300 after a scan). Changing that tag without changing the pixels does not sharpen the picture or change how large it looks on a website. A 200 × 230 photo is the same grid at 72 DPI or at 300 DPI. Only the implied print size changes: 200 ÷ 72 ≈ 2.8 inches wide; 200 ÷ 300 ≈ 0.67 inches.
Most exam portals ignore the stored DPI and check pixels plus KB. Some PAN and SSC upload screens do mention a DPI value. If a portal rejects a file for “wrong DPI” even when the pixels are correct, rewrite just the tag — Crop Desk’s image DPI converter does that in the browser, without resampling. See also DPI explained for form photos.
When DPI is a real physical setting
DPI is a real choice when you scan paper. A scanner at 300 DPI turns each inch of the page into 300 pixels, so a 3.5 × 4.5 cm photo becomes about 413 × 531 pixels — enough to crop and resize down. The same print at 100 DPI is only about 138 × 177 pixels, too small for a 200 × 230 requirement. Scan photographs and signatures at 200–300 DPI. Higher settings mostly create huge files you will shrink anyway.
A phone camera has no scanner-style DPI knob; it just captures a large pixel grid. A sharp, well-lit photo of an A4 sheet that fills 4000 pixels of height is already more than 300 DPI. What usually spoils a phone scan is blur, glare or a crooked angle. See how to scan with your phone.
Print vs screen
A screen displays pixels. The same 600 × 600 image is a small square on a sharp phone and a larger square on a 96 PPI monitor, so “it looked big on my laptop” does not tell you whether a print will be 2 × 2 inches.
A printer needs enough pixels for the intended print size. At the 300 DPI most labs use, each inch of paper needs 300 pixels. Below about 200–300 pixels per inch, a small identity photo starts to look soft in print. For a screen-only upload, the portal usually cares about pixel count and KB, not the print size in inches.
So the same picture can have two jobs:
- For a printed passport or application: produce the correct physical size (for example 2 × 2 inches, or 3.5 × 4.5 cm) at a print resolution around 300 DPI, on photo paper, at actual size (no “fit to page”).
- For an online upload: match the stated pixels (or the pixel size implied by cm + DPI) and keep the JPG inside the stated KB range.
File size in KB: what actually changes it
Kilobytes measure how heavy the file is, not how wide it is. You cannot read KB off the pixel dimensions alone. The size depends on pixel count, JPG quality, colour detail, and noise.
To bring a file into a range such as 20–50 KB or 10–200 KB:
- Start from the original, not a WhatsApp forward or a screenshot.
- Crop tightly to the required subject (face, or ink signature on white).
- Resize to the required pixels if the form gives them. A 4000-pixel-wide phone photo will stay huge in KB no matter how far you drag a quality slider.
- Then lower JPG quality until the file is just under the maximum, and confirm it is still above any minimum. Open the result and check the eyes, or the strokes of the signature.
If the file is still too large after a reasonable quality setting, use slightly fewer pixels — but not below a size the form states. If it falls under a minimum KB, export again at a higher quality. Crop Desk’s image compressor and the 20 KB, 50 KB and 100 KB tools run in the browser. For signatures, clean the background first with the signature background remover or signature resizer. See also how to reduce image KB without losing quality.
Some portals count 1 KB as 1000 bytes, others as 1024. If the maximum is strict, aim a little under (for example about 97 KB when the limit is 100 KB) and check the downloaded file’s size on your computer.
How to read a form requirement
- Only pixels (for example 200 × 230): resize to that. The stored DPI usually does not matter.
- Only centimetres (for example 3.5 × 4.5 cm): that is a print size. For an upload, keep the same aspect ratio and enough pixels to look sharp, and obey any KB range. For a physical print, use about 300 DPI and print at actual size.
- Centimetres plus DPI (for example 3.5 × 2.5 cm at 200 DPI, or 6.0 × 2.0 cm at 300 DPI): convert with the formula above, then resize to those pixels and set the DPI tag if the portal checks it.
- Only KB: keep the photo sharp, resize if it is needlessly large, then compress into the range.
- All of the above: meet every stated limit. A file can pass the KB test and still fail on pixels, format, background or DPI.
Indian exam and government form uploads
There is no single national standard, and two annexures in the same PDF sometimes disagree. The figures below come from official 2026 documents or instruction pages. Use them to understand the units, then confirm the current notice and the portal’s upload screen.
| Process (2026 sources) | What official text states | How to read the units |
|---|---|---|
| SSC CGL 2026 | Photo is captured live, not uploaded. Signature: JPEG/JPG, 10–20 KB, about 6.0 × 2.0 cm (notice, para 9.6). | At 300 DPI, 6.0 × 2.0 cm is about 709 × 236 px. The same notice also has 4.0 × 2.0 cm in an annexure — follow the live portal if they differ. |
| NEET (UG) 2026 | Passport-size photo taken after 1 January 2026: JPG/JPEG, 10–200 KB, white background, about 80% face including ears, no mask. Signature: 10–100 KB. Finger/thumb impressions: 10–200 KB. A live photo is also captured. Source: NTA Information Bulletin. | The 2026 bulletin does not state pixels or centimetres for the online photo. Keep printed passport-size and postcard-size copies as the bulletin also asks. |
| PAN — Protean (formerly NSDL) | Colour JPEG photo: 200 DPI, max 20 KB, 3.5 × 2.5 cm. Colour JPEG signature: 200 DPI, max 10 KB, 2 × 4.5 cm. Source: Protean’s PAN instructions. | At 200 DPI that is about 276 × 197 px (photo) and 157 × 354 px (signature). UTIITSL uses different limits — follow that site’s upload screen. |
| Aadhaar photograph | UIDAI captures the photo at an enrolment or update centre. It is biometric, not an online upload (UIDAI, “Updating Data on Aadhaar”). | There is no official self-upload “Aadhaar photo KB”. If another form asks you to compress an Aadhaar card scan (for example to 200 KB), that is that form’s rule. |
| IBPS PO / Clerk 2026 | Recent notices have specified a colour JPG photo of 200 × 230 px, 20–50 KB, and a JPG signature of 140 × 60 px, 10–20 KB, plus thumb and declaration images on some forms. | These are pixel and KB limits, so stored DPI is usually irrelevant. Confirm the current IBPS notification. |
Official starting points: SSC CGL 2026 notice (PDF), NEET (UG) Information Bulletin, Protean PAN instructions, UIDAI update guidance. Crop Desk is not affiliated with these organisations.
More exam-specific walkthroughs: photo and signature size for online exam forms, NEET / NTA requirements, IBPS and SBI image sizes, and the SSC photo and signature tool.
US 2 × 2 inch passport photos: why 600 × 600 pixels at 300 DPI
A printed US passport photo must be 2 × 2 inches (51 × 51 mm), square, in colour, taken within the last six months, on a white or off-white background, with the head (chin to the top of the hair) between 1 and 1⅜ inches (25–35 mm). Those print rules are on travel.state.gov.
Labs commonly print at 300 DPI, so a 2 inch side needs 2 × 300 = 600 pixels. A 600 × 600 pixel square JPG at 300 DPI therefore prints at exactly 2 × 2 inches — the direct relationship between inches, DPI and pixels.
For US visa digital images, the State Department’s digital-image requirements state a square JPEG between 600 × 600 and 1200 × 1200 pixels, in colour, at most 240 KB, and a 300 PPI scan if you start from an existing 2 × 2 inch print. For online US passport renewal, the current upload page has listed JPG, JPEG, PNG, HEIC or HEIF files between 54 KB and 10 MB, with cropping inside the application. Do not assume the visa file-size cap applies to every process — check the page for the form you are filing.
You can crop a 2 × 2 photo and a 4 × 6 print sheet with Crop Desk’s US passport photo tool or the general passport photo maker. Related guides: 2×2 size and rules, taking a 2×2 photo at home, and Indian passport-size dimensions (3.5 × 4.5 cm is not the same as 2 × 2 inches).
A simple workflow that fits most forms
- Read the current official notice and write down format, pixels or cm, DPI if given, and the KB range.
- Capture a sharp original: good light, plain background, no beauty filters. For a signature, use a dark pen on white paper; for a scan, 200–300 DPI or a carefully framed phone photo.
- Crop to the subject and the correct aspect ratio. Do not stretch.
- Resize to the stated pixels, or to the pixels implied by cm × DPI.
- Set the DPI tag if the form requires a specific value, without unnecessarily resampling.
- Export one JPG inside the KB window and inspect it before you upload. Keep the original in case you need a second attempt.
All of the Crop Desk tools below run in your browser. The photo stays on your device.
Image compressor Image resizer Change DPI Passport photo maker US 2×2 photo Signature resizer HEIC to JPG
Frequently asked questions
Does changing the DPI number in a JPG make the photo sharper?
No. Changing only the DPI (or PPI) tag in the file’s metadata does not add pixels. The picture is the same grid of pixels, whether the tag says 72 or 300. Sharpness comes from how the photo was taken or scanned, and from how many pixels it actually has.
Why is a 2×2 inch US photo 600 × 600 pixels?
Pixels = inches × DPI. Two inches at 300 DPI is 600 pixels on each side, so a square 2×2 inch print at typical photo-lab resolution is 600 × 600 pixels. Official US visa digital-image rules also accept a square JPEG from 600 × 600 up to 1200 × 1200 pixels. Always check the current travel.state.gov page for the process you are using.
Do Indian exam portals check DPI or pixels?
Most upload portals check the file format, the width and height in pixels (when they state them) and the file size in KB. Some, including certain PAN and SSC upload screens, also mention a DPI value. If a form gives size in centimetres plus a DPI figure, convert to pixels with the formula in this guide, then follow whatever the live upload screen shows.
Can I upload a new Aadhaar photograph online?
No. UIDAI treats the facial photograph as biometric information. It is captured at an Aadhaar enrolment or update centre, not uploaded on myAadhaar. Online you usually upload supporting documents. If another website asks you to resize an “Aadhaar photo” to a KB limit, it is usually a scan of the Aadhaar card for that other form — follow that form’s notice.
How do I shrink a photo to 20 KB or 50 KB without making it unusable?
Start from the original file, not a screenshot or a repeatedly saved JPG. Crop first, resize to the pixel size the form asks for, then lower JPG quality until the file sits inside the KB range. Check that the face or signature is still clear. Crop Desk’s image compressor and 20 KB / 50 KB tools do this in your browser and do not upload the file.
Is JPG or PNG better for a signature?
PNG can keep sharp ink edges with no JPEG smudging, but most Indian exam and PAN forms ask for JPEG/JPG. Convert to JPG at a high quality setting after the signature is on a clean white background, then compress to the required KB. If the form accepts PNG, you can keep it.