How to Resize an Image to Exact Dimensions (Width × Height)
Published 10/6/2026 · Last updated 10/6/2026
Pixels, dimensions and file size
An image's dimensions are its width and height in pixels. Many upload forms, website layouts and profile-photo fields ask for a specific size, and a photo straight from a camera is usually much larger than required.
Resize an image in four steps
- Open the Image Resizer and upload your image.
- Enter the target width and height in pixels.
- Keep "Lock aspect ratio" on so the other side adjusts automatically and nothing looks stretched — turn it off only when you truly need exact custom dimensions.
- Click Resize image and download the result.
Avoiding a stretched or blurry result
If your target has a different shape than the original (for example a square from a landscape photo), locking the aspect ratio will not hit both numbers exactly. In that case decide which side matters, or crop the photo to the right shape first.
Making an image smaller keeps it sharp. Making it larger than its original size cannot add detail, so enlarged images look softer.
Resizing versus compressing
Resizing changes the pixel dimensions; compressing changes how much quality is stored. For a very large photo, resizing first usually saves the most space. If the file is still too heavy, finish with the Image Compressor.
The resized file keeps your original format — a JPG stays a JPG — and everything runs locally in your browser. Check the target platform's current size requirements before you resize, since they change.
Ready to try it? Use the Image Resizer tool free, right in your browser.
Open Image Resizer