Skip to main content

DigitalCalculators.net

Image Resizer

Last updated By the DigitalCalculators.net team Free, no sign-up

Resize a photo to exact pixels or a percentage, keep its shape, and save it as JPG, PNG or WebP. Your image never leaves your device.

Results

ItemValue
Resizing happens in your browser with the Canvas API, and the image is never uploaded. Saving re-encodes the picture, so photo details such as camera data (EXIF) and location are not kept. Very large images may be slow on older phones.

Quick Answer

Choose a photo, type the new width in pixels, and leave the height blank to keep the same shape. Press Resize, then Download. For example, a 4000 × 3000 photo resized to 1200 pixels wide becomes 1200 × 900. Your picture is resized on your device and is never uploaded.

Last updated: 15 November 2026 ·How we calculate this: how the new size is worked out

How This Image Resizer Works

Pick an image from your phone or computer. Choose a new width and height in pixels, or a percentage of the original size, and the format to save it in. The tool draws the picture at the new size and gives you a download link. Nothing is uploaded, so it works for private photos too.

Features:

  • Exact pixels: set the width, and the height too if you want.
  • Keep the shape: leave the height blank to keep the aspect ratio.
  • Percentage: 50% makes each side half as long.
  • JPG, PNG or WebP: with a quality choice for JPG and WebP.

How to Use the Image Resizer

  1. Choose an image from your device.
  2. Choose pixels or percentage.
  3. Enter the new width (and height if needed), or a percentage.
  4. Choose the format and quality, then press Resize.
  5. Check the preview and press Download resized image.

How the New Size Is Worked Out

  • Keep shape: new height = original height × new width ÷ original width, rounded to whole pixels.
  • Percentage: new width = original width × percent ÷ 100, and the same for height.
  • Pixels in the image: width × height. Halving both sides leaves a quarter of the pixels.
  • Quality: JPG and WebP use lossy compression; a lower quality gives a smaller file with less detail.

Key Terms

  • Pixel: one dot of color in a digital image.
  • Aspect ratio: the shape of an image: width compared with height.
  • Lossy compression: making files smaller by dropping some detail, as JPG does.
  • EXIF: camera details stored in a photo, such as date and location.

Worked Example

A 4000 × 3000 pixel photo needs to be 1200 pixels wide for a website.

  • Height: 3000 × 1200 ÷ 4000 = 900 pixels
  • New size: 1200 × 900 = 1,080,000 pixels, against 12,000,000 before
  • That is 9% of the original pixels, so the file is usually much smaller
  • At 50% instead, the photo would be 2000 × 1500

Real-Life Examples

  • Websites: 4000 × 3000 down to 1200 × 900 keeps 9% of the pixels.
  • Email: 25% of a 4032 × 3024 photo is 1008 × 756.
  • Profile pictures: crop to a square first, then resize to 400 × 400.
  • Forms with limits: a 2000-pixel-wide limit means a 6000 × 4000 photo becomes 2000 × 1333.

Resizing vs Compressing vs Cropping

  • Resizing: changes the number of pixels, so the whole picture gets smaller or larger.
  • Compressing: keeps the pixels but stores them in fewer bytes, often with some loss of detail.
  • Cropping: cuts away the edges to change what is in the picture or its shape.

Work out a matching width and height with the Aspect Ratio Calculator.

Common Image Sizes

Aspect ratioExample sizePixels
1:11080 × 10801,166,400
4:31200 × 9001,080,000
3:21500 × 10001,500,000
16:91920 × 10802,073,600
16:91280 × 720921,600

Tips for Resizing Images

  • Shrink, do not stretch: making an image bigger than the original cannot add real detail.
  • Pick the right format: JPG for photos, PNG for screenshots, logos and transparency, WebP for small web files.
  • Keep the shape: entering both width and height with a different ratio will stretch the picture.
  • Keep your original: the download is a new file; your original is not changed.
  • Check the site's rules: many forms list a maximum width, height or file size.

Common Mistakes to Avoid

  • Typing both width and height. Unless they match the original shape, the picture is stretched.
  • Making small images bigger. They will look blurry.
  • Saving logos as JPG. PNG keeps sharp edges and transparency.
  • Choosing the lowest quality. Very low quality shows blocky artefacts.
  • Expecting camera data to stay. The new file does not keep EXIF or location data.

Frequently Asked Questions

Enter the new width and leave the height blank. The height is worked out for you.

No. The image is resized in your browser and never leaves your device.

Yes. Choose Percentage and enter a value, such as 50.

JPG for photos, PNG for screenshots and logos, WebP for small files on websites.

Saving as PNG or at high quality can make a file larger than a compressed original. Try JPG at Good quality.

Yes, up to 500% or 10,000 pixels, but it will not gain real detail.

No. The new file does not include EXIF data such as location.

Yes. Choose a photo from your gallery and download the resized copy.

The new image can be up to about 40 million pixels, which most browsers can handle.

Not yet. Resize one image, download it, then choose the next one. Your settings stay the same between images.

References & Sources

SourceUsed ForLink
MDN Web Docs, CanvasRenderingContext2D.drawImage() Drawing the image at a new size. https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage
MDN Web Docs, HTMLCanvasElement.toBlob() Saving as JPG, PNG or WebP with a quality setting. https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob
Cite or share this calculator

DigitalCalculators.net. (2026, November 15). Image Resizer. https://digitalcalculators.net/image-resizer/