๐Ÿ“š Image tools ยท Guide

How to Resize an Image by Pixels or Percentage (Without Stretching It)

Resize photos to exact pixel sizes or by percentage while keeping the aspect ratio. Learn the right sizes for websites, social media and forms, and how to avoid blurry or stretched images.

By RexBD Team 24 Nov 2026 7 min read 1,504 words
How to Resize an Image by Pixels or Percentage (Without Stretching It)

Almost every place you put an image wants it in a particular size. A website banner might need 1920 pixels wide. A profile picture should be square. A form might demand exactly 300 ร— 300 pixels. A blog looks best when every image is the same width. And the photo you have, straight from your phone, is probably 4000 pixels wide.

An image resizer changes the dimensions of a picture so it fits where it needs to go. This guide shows you how to use the free Image Resizer on RexBD and explains the key ideas, such as aspect ratio and resolution, so your images always look sharp and never stretched.

Pixels, dimensions and file size

A digital image is a grid of pixels. Its dimensions are the width and height of that grid, such as 1200 ร— 800 pixels. More pixels mean more detail, but also a larger file.

Resizing changes the number of pixels:

  • Downscaling (making an image smaller) throws away pixels. Done well, it keeps the image sharp and reduces the file size a lot.
  • Upscaling (making it bigger) invents new pixels by blending existing ones. It cannot add real detail, so enlarged images tend to look soft or blurry.

As a rule, resize down freely, but avoid enlarging small images much beyond their original size.

๐Ÿ“ Free tool ยท no sign-upTry the Image ResizerResize images by pixels or percentage, keeping the aspect ratio. Open tool โ†’

Aspect ratio: why images get stretched

Aspect ratio is the relationship between width and height. A 1200 ร— 800 image has a ratio of 3:2. If you change the width to 600 but leave the height at 800, the ratio changes and everything looks squashed.

The RexBD resizer can keep the aspect ratio locked. When you change the width, it calculates the matching height automatically, so faces, logos and text keep their shape.

If you need a different shape, such as turning a landscape photo into a square, do not stretch it. Crop it instead with the Image Cropper, then resize. Common ratios are easy to calculate with the Aspect Ratio Calculator.

How to use the Image Resizer

Step 1: Open your image

Go to the Image Resizer and select an image. The resizing happens in your browser, so your photo is never uploaded.

Step 2: Choose pixels or percentage

  • By pixels: enter the exact width or height you need, such as 1200 pixels wide.
  • By percentage: shrink the image to a fraction of its size, such as 50 percent, which halves both width and height.

Step 3: Keep the aspect ratio

Leave the aspect ratio option on unless you have a specific reason to change the shape. Enter one dimension and let the tool calculate the other.

Step 4: Download

Download the resized image. If you need it smaller in file size too, run it through the Image Compressor afterwards.

Ad Kothay

Common sizes you will need

These sizes are widely used and work well. Platforms update their recommendations from time to time, so treat them as good starting points.

Use Recommended size (pixels) Shape
Website full-width banner 1920 ร— 600โ€“1080 Wide
Image inside a blog post 1200 wide Usually 3:2 or 16:9
Open Graph share image 1200 ร— 630 1.91:1
YouTube thumbnail 1280 ร— 720 16:9
Instagram square post 1080 ร— 1080 1:1
Instagram portrait post 1080 ร— 1350 4:5
Instagram or Facebook story 1080 ร— 1920 9:16
Facebook cover (desktop) about 820 ร— 312 Wide
Profile picture 400 ร— 400 or larger 1:1
Email newsletter image 600 wide Any
Website favicon 512 ร— 512 source 1:1

For social media in particular, the Social Media Image Resizer has these presets built in.

Resolution, DPI and printing

You will often hear about DPI (dots per inch) or PPI (pixels per inch). On screens, DPI does not matter: only the pixel dimensions count. A 1200-pixel-wide image looks the same on a website whether its file says 72 DPI or 300 DPI.

DPI matters only when printing. It tells the printer how many pixels to squeeze into each inch of paper. For good print quality, aim for about 300 pixels per inch. So:

  • A 4 ร— 6 inch photo print needs about 1200 ร— 1800 pixels.
  • An A4 page (about 8.3 ร— 11.7 inches) needs about 2480 ร— 3508 pixels.
  • A 2 ร— 2 inch passport photo needs about 600 ร— 600 pixels.

If an image does not have enough pixels for the print size, it will look soft. For passport and visa photos with exact millimetre sizes, use the Passport Photo Maker, which sets the correct pixel dimensions at 300 DPI.

A worked example: preparing photos for an online shop

An online clothing shop takes product photos with a phone. They come out at 3024 ร— 4032 pixels and about 4 MB each. The shop's website displays product images at a maximum of 1000 pixels wide, in a 3:4 portrait shape.

The owner resizes each photo to 1000 pixels wide with the aspect ratio locked. Because the phone photos are already 3:4, the height becomes 1333 pixels automatically. Then he compresses them at quality 80. Each image drops from about 4 MB to around 150 KB. Product pages now load in a fraction of the time, which helps both shoppers on mobile data and search rankings, and every product image has the same size, so the shop grid looks tidy.

Resizing for upload forms

Many forms ask for exact dimensions, for example "photo 300 ร— 300 pixels, signature 300 ร— 80 pixels". To meet them:

  1. Crop the image to the right shape first, so it is not stretched.
  2. Resize to the exact pixel size.
  3. Compress if there is also a file size limit.

The Job Photo & Signature Resizer combines these steps for common Bangladeshi job and admission forms.

Keeping a consistent look on a blog or website

Websites look more polished when images follow a few simple size rules. Decide them once and apply them every time:

  1. Choose one width for images inside articles, such as 1200 pixels. Every in-article image is resized to that width before uploading.
  2. Choose one shape for featured images, such as 1200 ร— 630 pixels, which also works as the Open Graph share image.
  3. Choose one shape for product or gallery grids, such as square 1000 ร— 1000 or portrait 1000 ร— 1333, so the grid lines up neatly.
  4. Write the rules down for everyone who uploads content.

Consistent sizes make pages look professional, prevent layouts from jumping around as images load, and keep file sizes predictable. When a new photo arrives in a different shape, crop it to the agreed shape first, then resize.

Tips for sharp results

  • Start from the largest original you have. Resizing down from a big image always looks better than resizing an already small one.
  • Resize once. Resizing the same image repeatedly can soften it. Go back to the original each time.
  • Do not upscale small images much. If you only have a small image, consider whether a smaller display size would work.
  • Check text and logos. Fine text becomes unreadable when images are shrunk a lot. Keep text large in images meant for small sizes.
  • Use PNG or WebP for graphics with sharp edges, such as screenshots and logos, and JPG or WebP for photos.

Common mistakes

  • Stretching an image to fit a shape instead of cropping it.
  • Uploading 4000-pixel photos to a website that shows them at 800 pixels.
  • Confusing DPI with pixel size when preparing images for screens.
  • Enlarging a tiny logo and expecting it to stay sharp. For logos, use the original vector file (SVG) instead.
  • Forgetting to keep the original photo.

Our image resizer tips and mistakes article has more advice for print and web.

Frequently asked questions

How do I resize an image without losing quality?

Resize downwards, keep the aspect ratio, start from the original file and avoid enlarging small images. Downscaling a large image usually looks perfectly sharp.

What is the difference between resizing and compressing?

Resizing changes the pixel dimensions. Compressing reduces the file size while keeping the same dimensions. Use both for the smallest files.

Why does my resized image look stretched?

The aspect ratio was changed. Keep the ratio locked, and crop if you need a different shape.

Does DPI matter for websites?

No. Only pixel dimensions matter on screens. DPI matters for printing.

Is my image uploaded?

No. Resizing happens in your browser.

Can I make a small image bigger?

You can, but it will look softer, because the tool cannot invent real detail. Use the largest original available.

What size should a website image be?

Match the largest size it will be displayed at on the biggest screen you care about. For full-width images, 1600 to 1920 pixels wide is plenty. For images inside an article, 1200 pixels wide works well. Then compress the result.

Is the Image Resizer free?

Yes. It is free, needs no account and adds no watermark.

Found this useful?Share it with a friend or colleague who needs it.

Keep reading

More image tools articles
321 free tools, one placeSEO, text, images, code, money, units and design. Private, fast and almost all in your browser.
Ad Kothay