Crop before you resize
Trim the photo to roughly the shape the form asks for (portrait for 3.5 × 4.5 cm, square for UPSC) so resizing barely has to move a single pixel.
Exact pixels · 300 DPI · No upload
Type the width and height in pixels, centimetres or millimetres — or tap your exam's preset. The photo is resized inside your browser with HTML5 Canvas, so it never leaves your device.
JPG, PNG or WebP · nothing is uploaded, ever.
Presets fill the width and height only — always confirm the pixels in your exam notification.
cm and mm are converted at 300 DPI: 1 inch = 2.54 cm = 25.4 mm = 300 px.
JPG can be squeezed to a KB target. PNG is lossless, so a KB limit may not always be reachable.
Resizing…
Saved straight to your device — nothing was sent anywhere.
A portal rejects a photo for two reasons: the pixels are wrong, or the face looks squeezed. Do these four things in order and both problems go away.
Trim the photo to roughly the shape the form asks for (portrait for 3.5 × 4.5 cm, square for UPSC) so resizing barely has to move a single pixel.
Copy the width and height from the notification, or tap the exam preset. Both sides are usually fixed, so the preset leaves “Maintain aspect ratio” unchecked.
When only one side is fixed, or you want a natural face, switch it on — the second side then follows your photo's own proportions instead of stretching.
Open the file's details on your phone and check both numbers: the pixel size and the KB size. If the portal still complains, re-crop tighter rather than shrinking further.
| Preset | Pixels | Size at 300 DPI | Typical file limit |
|---|---|---|---|
| Passport photo | 413 × 531 px | 3.50 × 4.50 cm | 20–50 KB |
| SSC photo | 100 × 120 px | 0.85 × 1.02 cm | 20–50 KB |
| IBPS / SBI photo | 200 × 230 px | 1.69 × 1.95 cm | 20–50 KB |
| UPSC photo | 350 × 350 px | 2.96 × 2.96 cm | 20–300 KB |
| Railway RRB photo | 320 × 240 px | 2.71 × 2.03 cm | 15–70 KB |
| PAN card photo | 213 × 213 px | 1.80 × 1.80 cm | 20–50 KB |
Note: portals that fix the pixel size care about the pixel count, not the physical centimetres. The cm column is only there so you can compare a printed passport photo with a digital upload. SarkariHelper is not affiliated with any exam body — always confirm the exact rules in the official notification.