Resize Images Without Stretching: Pixel Size Guide
Change an image’s width and height proportionally. Use worked pixel examples and understand when resizing, cropping or compression is needed.
| Original pixels | New width | Matching height |
|---|---|---|
| 1600 × 900 | 800 | 450 |
| 1920 × 1080 | 1200 | 675 |
| 1200 × 1800 | 400 | 600 |
Separate pixels, file size and print resolution
Pixel dimensions describe the image grid, such as 1600 × 900. File size describes stored bytes, such as 200 KB. DPI describes how pixels are mapped to a physical print size. Changing one value does not guarantee a required value for the others. Start with the destination’s exact requirements so you choose the right operation.
Lock the aspect ratio before changing a dimension
The aspect ratio is width divided by height. With Keep aspect ratio selected in Image resizer, enter a new width or height and let the other dimension update. For a 1600 × 900 source, a width of 800 becomes a height of 450. The shape stays the same while the image has fewer pixels. Download and check the result at its intended display size.
Calculate a matching dimension yourself
New height = original height × new width ÷ original width. For 1920 × 1080 resized to 1200 pixels wide, the height is 1080 × 1200 ÷ 1920 = 675. For a portrait image of 1200 × 1800 resized to 400 wide, the height is 600. The tool rounds to whole pixels, so some original ratios can only be approximated at small sizes.
When the requested shape is different
A 16:9 photo cannot fill a square without changing the visible content, adding space or stretching. Forcing it to 800 × 800 with the ratio unlocked changes its shape. Crop to a square or add a border in a suitable editor first if the destination needs a square. Toolnest’s resizer changes dimensions; it does not crop, remove a background or add borders.
Choose the output for the image and destination
Use an accepted output format. JPEG replaces transparency with white in the resizer. PNG can retain transparency, while WebP provides another option when supported by the destination. A smaller pixel grid does not guarantee a smaller file: re-encoding into a different format can increase the bytes. Check the size shown after processing.
Fit a byte limit after setting required pixels
If the image has the right pixel dimensions but exceeds an upload cap, use Compress image to KB with dimension reduction disabled. If the portal requires 800 × 450, keep those pixels while trying a lower quality setting. If it also requires particular print-resolution metadata, use an appropriate print workflow; this browser resizer is not a DPI metadata editor.
Common questions
How do I resize a photo without distorting it?
Keep the aspect ratio locked and change one dimension. The matching dimension is calculated from the original ratio. Check the image preview after downloading.
Can I make a wide photo square without stretching?
A wide photo cannot fill a square at its original proportions unless you crop part of it or add empty space. Toolnest resizes pixels; it does not crop or add borders. Prepare a square source separately, or keep the original proportions.
Will resizing automatically make the file smaller?
Fewer pixels can help, but file size also depends on output format, image detail and compression. A resized PNG can be larger than an original JPEG. Check the reported output size.
Can this tool create a 300 DPI file?
This tool controls pixel width and height, not print-resolution metadata. Browser canvas exports use 96 DPI metadata where the output format supports it. For a print specification, check both the required pixels and the print workflow.