Resizing an image to exact pixel dimensions is one of the most common things people need to do online — and one of the things that causes the most confusion. What's the difference between pixels and physical size? How do you resize without stretching the image? What dimensions do passport photos actually need? This guide answers all of those questions clearly and gives you a straightforward process to resize any image to exactly the pixels you need.
A pixel is the smallest individual element of a digital image — think of it as a single dot of colour. When we talk about image dimensions in pixels, we're describing how many of these dots make up the width and height of the image. A 600x600 pixel image has 360,000 individual colour dots arranged in a grid.
Why does this matter? Because online portals, printing services and display systems all have specific pixel requirements. A government portal that requires a 600x600 pixel photo will reject a 599x601 pixel photo. A social media platform optimised for 400x400 pixel avatars will display a 1000x1000 pixel photo compressed down — wasting bandwidth and potentially reducing sharpness.
DPI (Dots Per Inch) is one of the most confusing concepts in image handling. Here's the simplest explanation:
If you need to resize to physical measurements like millimeters or centimeters for print, use our resize in millimeters tool or resize in centimeters tool which handle the DPI conversion automatically.
The aspect ratio is the proportional relationship between width and height. A square image has a 1:1 ratio. A standard passport portrait has approximately a 7:9 ratio (35:45). A widescreen HD image has a 16:9 ratio.
When you resize an image, preserving the aspect ratio means the image won't appear stretched or squished. If you have a 1000x750 pixel image (4:3 ratio) and resize it to 800x600 pixels, the ratio is maintained and the image looks correct. If you resize to 800x800 pixels, the image will be vertically stretched.
Our resize by pixels tool has a Lock Aspect Ratio option — when enabled, entering the width automatically calculates the correct height. For passport photos where an exact ratio is required that differs from your original, you may need to crop first. Use our free crop tool to get the right composition and ratio, then resize to exact pixel dimensions.
| Use Case | Required Pixels | Physical Size | Notes |
|---|---|---|---|
| 🇺🇸 US Passport | 600×600 px | 51×51 mm | Square format — unique to USA |
| 🇬🇧 UK Passport | 413×531 px min | 35×45 mm | Portrait format |
| 🇮🇳 India Passport | 600×600 px | 51×51 mm | Same as US — under 300KB |
| 🇮🇪 Ireland Passport | 715×951 px min | 35×45 mm | Highest digital resolution requirement |
| 🇦🇪 UAE Passport | 508×650 px | 43×55 mm | Unique larger format |
| Instagram Profile | 320×320 px min | N/A | Upload at 800×800 for best quality |
| Facebook Profile | 170×170 px display | N/A | Upload at 320×320 minimum |
| LinkedIn Profile | 400×400 px min | N/A | 3:4 ratio preferred for headshots |
| YouTube Channel Icon | 800×800 px | N/A | Displays at 98×98 on channel page |
| Email signature photo | 150×150 px | N/A | Keep under 50KB for email compatibility |
For passport-specific requirements, check our detailed country guides. We cover US passport photos, UK passport photos, India passport photos and many more — each with exact pixel dimensions, file size limits and background colour requirements.
Enter any width and height. Download instantly. No signup, no watermark.
Open Pixel Resize Tool →Understanding the direction of resizing is crucial for maintaining quality:
When you reduce pixel dimensions, you're removing pixels. Modern resizing algorithms (like bicubic interpolation) average surrounding pixels intelligently, resulting in a sharp, clean smaller image. Going from 2000x1500 to 400x300 pixels produces excellent quality. This is the recommended direction — always start with a larger image and resize down.
When you increase pixel dimensions, the tool must invent pixels that don't exist in the original. This results in blurring or a pixelated appearance. Going from 200x200 to 800x800 pixels will produce a blurry image because there simply isn't enough original data to fill the larger canvas. If you need a high-resolution version of a small image, always go back to the original high-resolution source file.
Passport photos have very specific pixel requirements that vary by country. Always refer to the official portal requirements. The general rule is that 300 DPI is the print standard — so the pixel dimensions equal the physical size in inches multiplied by 300. A 2x2 inch US passport photo = 600x600 pixels. A 35x45mm European passport photo = approximately 413x531 pixels at 300 DPI.
Most Indian exam portals require portrait photos at 200x200 pixels and signature scans at 140x60 pixels. Some use slightly different dimensions — always check the specific portal's instructions. After resizing to the correct pixels, you'll usually also need to compress to meet the file size limit.
Profile photos on social media are displayed at small sizes but should be uploaded at larger dimensions for quality. Platforms automatically downscale your upload — providing more pixels than necessary gives the platform better data to work with. For profile photos, 400-800 pixels square is generally ideal. If you also want to add text to your social media images, check our add text to image guide.