Skip to content
VektraTool

How to Resize an Image Online

Updated · 4 min read

Resizing changes the number of pixels in an image, its width and height. It’s how you make a photo fit a website layout, a social media post or an application form that asks for exact dimensions.

How to resize an image

  1. Open the image resizer and select your image.
  2. Choose Pixels to type an exact width and height, or Percentage to scale it, for example to 50%.
  3. Leave “Keep aspect ratio” on so the image isn’t stretched.
  4. Pick an output format, select Resize image and download the result.

Aspect ratio: avoid stretched photos

The aspect ratio is the relationship between width and height. A typical phone photo is 4:3, for example 4000 × 3000 pixels. If you resize it to 1200 wide, the height must be 900 to keep the same shape. Forcing it into 1200 × 1200 squashes everything horizontally.

When a site needs a different shape, such as a square profile picture, crop the photo to that shape first in your phone’s or computer’s photo editor, then resize.

Making images smaller vs. larger

Reducing an image is safe: detail is condensed, and the result looks sharp. Enlarging can’t add detail that the camera didn’t capture, so upscaled images look soft. If you need a large image, start from the highest-resolution original you have.

Pixels, centimetres and DPI

Some forms give sizes in centimetres or inches, such as 3.5 × 4.5 cm for a passport photo. To convert, multiply by the print resolution: at 300 DPI, 1 inch is 300 pixels and 1 cm is about 118 pixels. So 3.5 × 4.5 cm at 300 DPI is about 413 × 531 pixels. Check whether the form specifies a DPI; if not, many use 200–300.

Resizing to reduce file size

Fewer pixels means a smaller file. Halving both dimensions typically cuts the file size by about 75%. If your goal is a specific size in KB, it’s easier to use Compress Image to 100KB or 50KB, which adjust dimensions automatically.

Tools used in this guide

  • Needed for the site to work and to remember choices you make, such as this cookie choice and your light or dark theme. These cannot be switched off.

  • Help us understand which tools are used and whether they work, so we can improve them. Analytics never includes the files or text you put into tools. Not currently used on this site.

  • Lets Google personalise the ads you see based on your activity on other sites. Switched off, you still see ads, but they are not personalised; Google may still use cookies to limit how often you see an ad, prevent fraud and measure ads. Not currently used on this site.

  • Remember optional settings between visits, such as tool options you want kept, beyond what is strictly needed. Not currently used on this site.