How do I resize an image by pixels?
Upload your image, choose Custom, and type the width and height you need, for example 800 × 600 px. This tool lets you resize image by pixels with three fit options: crop to fill, fit with padding, or stretch. Tick Lock aspect ratio to type only the width, and the height is worked out for you. Then download as JPG, PNG or WebP.
What does resizing by pixels mean?
Every digital image is a grid of tiny squares called pixels. An image that is 1920 × 1080 pixels has 1920 columns and 1080 rows. Resizing by pixels changes that grid to an exact new width and height. This is different from compressing, which changes the file size in KB but can keep the same dimensions.
Websites, exam portals, online stores and social platforms often say exactly how many pixels they want. If you upload the wrong size, the site may stretch, cut or reject the picture. Setting the size yourself gives you control over how the final image looks.
Crop, pad or stretch: which fit mode should you use?
When the new shape is different from the original, the image has to be adjusted. You choose how:
| Fit mode | What happens | Best for |
|---|---|---|
| Crop to fill | Fills the whole frame and trims the edges. You choose what to keep with the crop box. | Profile pictures, thumbnails, photos |
| Fit with padding | Shows the full image and fills empty space with a colour you pick | Product photos, logos, documents |
| Stretch | Forces the exact size and may distort the image | Only when the shapes are already close |
Steps to change image size in pixels
- 1Upload the image
JPG, PNG, WebP, GIF and BMP are supported. Paste with Ctrl+V also works.
- 2Enter width and height
Pick a preset (HD, Full HD, Instagram, YouTube thumbnail) or choose Custom. You can also type cm, mm or inches with a DPI.
- 3Choose the fit mode
Use Crop to fill for photos. Drag the crop box to keep the important part.
- 4Pick a format and download
JPG for photos, PNG for graphics with sharp edges, WebP for smaller web images. Optionally set a KB limit.
Common pixel sizes
| Use | Pixel size | Aspect ratio |
|---|---|---|
| Full HD wallpaper / slide | 1920 × 1080 | 16:9 |
| HD | 1280 × 720 | 16:9 |
| YouTube thumbnail | 1280 × 720 | 16:9 |
| Instagram square post | 1080 × 1080 | 1:1 |
| Instagram portrait post | 1080 × 1350 | 4:5 |
| Exam photo (IBPS style) | 200 × 230 | ≈ 7:8 |
Does resizing reduce image quality?
Making an image smaller keeps it sharp. The tool uses high-quality smoothing, so edges stay clean. Making an image larger than the original cannot add new detail. The picture will look softer. If you need a large size, start from the biggest original you have. To learn more about how images are scaled, see Image scaling (Wikipedia).
Related tools
For a ready-made square, use Resize Image to 300 × 300 or Resize Image to 600 × 600. For cm and inch sizes, use Resize to Custom Dimensions. For free-hand cropping, use Crop and Resize Image. For exam photos with a KB limit, use Photo to 50KB.
Frequently Asked Questions
How do I resize an image to exact pixels?
Upload the image on PhotoKB Resize Image by Pixels, choose Custom, type the width and height and download. Use Crop to fill to avoid distortion.
Will resizing by pixels stretch my image?
Only if you choose Stretch. Crop to fill and Fit with padding both keep the original proportions.
How do I keep the aspect ratio?
Tick Lock aspect ratio and type only the width. The height is calculated from your image or crop.
Does resizing reduce quality?
Making an image smaller keeps it sharp. Making it bigger than the original can make it look soft.
Can I also reduce the file size?
Yes. Turn on Limit file size and enter a KB value. The pixel size stays exactly as you set it.
Which formats are supported?
You can upload JPG, PNG, WebP, GIF or BMP and download JPG, PNG or WebP.
About this tool
Built and maintained by the PhotoKB Editorial Team. We test every tool with real phone photos, scans and PDFs before each update. Exam and portal values are based on public official notifications. PhotoKB is not linked to any exam body, so always confirm current rules on the official website. Last updated: 8 November 2026.