When a portal says "image must be 413×531 pixels" or "profile picture must be 400×400 pixels," they are specifying the pixel dimensions — the exact width and height in terms of picture elements. Pixel dimensions are different from file size (kilobytes). You can change dimensions without necessarily compressing quality, and you can compress size without changing dimensions.
Understanding Pixels vs Physical Size
A pixel is a single point of colour in a digital image. The total dimensions of an image are expressed as width × height in pixels. A 1920×1080 image has 1920 pixels across and 1080 pixels down — that is 2,073,600 total pixels (approximately 2 megapixels). Physical print size (in centimetres or inches) depends on both pixel dimensions and the DPI (dots per inch) setting, but for web and portal uploads, only the pixel count matters.
Common Exact Dimension Requirements
- Passport photo (India): 413×531 pixels (equivalent to 3.5cm × 4.5cm at 300 DPI)
- Digital signature: 300×80 pixels (standard portal specification)
- Profile picture (most platforms): 400×400 pixels or 500×500 pixels
- Aadhaar-style photo: 200×200 pixels minimum
- Social media profile (Instagram/Facebook): 400×400 pixels minimum
- LinkedIn profile photo: 400×400 pixels (up to 20MB)
Use the Tool: SudoGrep's image resizer tool allows you to set exact pixel width and height, with optional aspect ratio locking. Everything runs in your browser.
Aspect Ratio Mathematics
The aspect ratio of an image is the ratio of its width to its height. A standard passport photo at 413×531 pixels has an aspect ratio of approximately 3.5:4.5 (or 7:9). If you need to resize an image to different dimensions that have a different aspect ratio, you have two choices:
- Crop: Trim the edges of the image to match the target aspect ratio before resizing. This is the recommended approach for portraits.
- Stretch: Force the image to the target dimensions regardless of aspect ratio. This distorts faces and objects — not recommended for portrait photos.
Step-by-Step: Resize to Exact Pixels
- Step 1: Open SudoGrep's image resizer tool.
- Step 2: Upload your image by dragging and dropping it or clicking to browse.
- Step 3: Enter the target width in pixels. If you want to lock the aspect ratio, enable the lock toggle — the height will automatically calculate.
- Step 4: If you need to override the height independently (e.g., to hit an exact 413×531 target), unlock the aspect ratio and enter both width and height manually.
- Step 5: Click download to save the resized image.
After Resizing: Compress to a Size Limit
After resizing to exact dimensions, you may need to also compress the file size (kilobytes). Portal requirements often specify both dimensions and a maximum file size. After resizing, use our image compressor to apply a target file size such as 50KB or 100KB.
Resize Your Image to Exact Pixels
Enter your target dimensions and download immediately. No upload, no registration.
Open Image Resizer →