This tool lets you resize image files to an exact width and height in pixels, centimetres or inches. It is built for the photo and signature rules in Indian exam and job forms, which often give dimensions like 3.5 cm × 4.5 cm together with a size limit in KB. You can lock the aspect ratio, choose the DPI and set a maximum file size in one step. Your photo is processed in your browser and never uploaded.
How to resize photo in cm, inches or pixels
- Choose a photo. The original size in pixels appears below the upload box.
- Pick the unit: pixels, centimetres or inches. For cm and inches, choose a DPI (200 is a good default for forms).
- Type the width. With Lock aspect ratio on, the height updates automatically. Turn the lock off to enter both values.
- Optional: enter a maximum size in KB and choose JPG, PNG or WebP.
- Press Resize image and download.
How centimetres become pixels
Screens and image files only know pixels. To turn a physical size into pixels the tool uses DPI, the number of dots per inch:
pixels = centimetres ÷ 2.54 × DPI
At 200 DPI, 3.5 cm becomes 3.5 ÷ 2.54 × 200 ≈ 276 pixels and 4.5 cm becomes about 354 pixels. At 300 DPI the same photo would be 413 × 531 pixels. For inches the formula is simply inches × DPI.
Worked example: change image dimensions for a form
A form asks for a photo of 3.5 cm × 4.5 cm, JPG, maximum 50 KB. Choose cm and 200 DPI, turn off the aspect lock and type 3.5 and 4.5. Enter 50 in the maximum KB box and keep JPG selected. The tool resizes the photo to 276 × 354 pixels and lowers the JPG quality only as much as needed, giving a file of around 35–45 KB. Because the target shape is fixed, crop your photo to roughly the same proportions first so the face is not stretched.
Tips
- Crop before resizing when you need an exact shape. Resizing with the lock off stretches the image to fit.
- Downsizing is safe; upsizing is not. Making an image bigger adds pixels but not detail.
- PNG ignores the KB limit. It is lossless, so pick JPG when a size limit applies.
- DPI is just a ruler. It changes the pixel count for a given cm size but does not by itself change quality.
Common uses
Resize passport photos and signatures for exam and visa forms, prepare product images with equal dimensions for online shops, make profile pictures with exact pixel sizes, and shrink large photos before emailing them. After resizing, you can fine-tune the file size with the image compressor, or go straight to the 50KB photo page.
Read the guide: Photo and Signature Size Requirements for Exam Forms
Last updated: