How this calculator works
- Step 1Open locallyNo uploadThe file is decoded on your device.
- Step 2New sizeW × HFrom the longest side, a percentage or a box.
- Step 3RedrawSmooth scalingThe picture is redrawn at the new size.
- Step 4SaveJPEG, PNG or WebPPreview, then download.
Resizing changes how many pixels the image has. Fewer pixels make a smaller file and a picture that loads faster; more pixels do not add detail and only make it softer.
Each side is rounded to the nearest whole pixel, and never below one pixel.
Worked example
- Scale
longest side ÷ current longest side
- Scale1,280 ÷ 4,0000.32
- Width4,000 × 0.321,280
- Height3,000 × 0.32960
- New size1,280 × 960
At 50% instead, the same photo becomes 2,000 × 1,500.
Keep proportions or stretch
- Keep proportions405 × 720Fits inside the box; nothing is distorted.
- Stretch1,280 × 720Fills the box exactly; faces and shapes look squashed.
Read the result
The status line gives the new pixel size and file size, and warns when the image was made larger than the original.
The facts list compares the original and resized sizes. For exam-form photos with fixed pixel and KB limits, use the photo and signature resizer.
Assumptions and limits
- PrivateNothing is uploaded; the image stays on your device.
- Size limitsUp to 30 MB in, and 10,000 pixels a side and 40 megapixels out.
- Metadata droppedCamera details and location (EXIF) are not kept.
- Browser scalingUses your browser’s high-quality smoothing.
Animated GIFs are saved as a single still frame.
Related image tools
Resizing changes dimensions. File size and proportions have their own tools.
To reduce file size, use the image compressor. The aspect ratio calculator finds matching sizes, and the photo and signature resizer meets form rules.
Common mistakes
Mistake: Enlarging a small image to make it sharper.
Instead: Use the original, larger file; enlarging adds no detail.
Mistake: Stretching a portrait photo into a landscape box.
Instead: Keep proportions, or crop it first.
Mistake: Saving a photo as PNG to make it small.
Instead: Use JPEG or WebP for photos; PNG suits graphics and screenshots.
Checking the method
Every golden size is recomputed by an independent script with exact fractions and half-up rounding.
The script solves the box fit by checking which side limits it, rather than taking the smaller of two ratios, and compares every size.
Read how we test our calculators, or browse more everyday tools.