Resize Image by Pixels: Width, Height or Both

Upload one image, adjust the settings below, and download the processed result instantly.

Queue is empty 0 files queued | 0 MB total
Ready for up to 20 files. Queue builds instantly as you drop files.
Advertisement icyabmod — admin panel included: update your website yourself, no code

How Resize Image by Pixels: Width, Height or Both works

Change the pixel dimensions of a photo or graphic. Type one side to keep proportions or both for an exact size, up to 4000 pixels, and keep the original file format.

Input JPG / PNG / WebP / AVIF / GIF / BMP
Output Resized download
Works done 1,122

How to use it

To resize image dimensions here, type a new width, a new height, or both, in pixels. Enter just one value and the other side is calculated from the original proportions, so nothing looks stretched; enter both and the output matches that exact size. Each side can go up to 4000 pixels, and JPG, PNG, WebP, AVIF, GIF and BMP files keep their original format after resizing.

Resize image files in four steps

  1. Add the picture you want to resize by dragging it onto the upload area or choosing it with Browse files.
  2. Type the width you need, and leave Height empty if the proportions should stay as they are.
  3. Fill in both fields only when a fixed size is required and the source already has that shape.
  4. Download the result and confirm the new dimensions in an image viewer.

The aspect ratio math behind one value versus two

Aspect ratio is simply width divided by height. A typical phone photo of 4032 × 3024 pixels has a 4:3 ratio. Ask for a width of 1200 and the tool works out 1200 × 3024 ÷ 4032 = 900, giving 1200 × 900 with faces and circles intact. Ask for 1200 × 1200 instead and you get a true square, but the 4:3 picture is squeezed horizontally to fit, so people look narrower than they are.

When the shape you need differs from the shape you have, change the shape first with the image cropper and resize afterwards. That order matters for ID photos and product shots, where any distortion is obvious.

Typical sizes by placement

These are commonly recommended values, not official specifications. Platforms revise their guidance from time to time, so check the current help page of the service you are uploading to.

PlacementTypical size (px)Ratio
Square feed post1080 × 10801:1
Portrait feed post1080 × 13504:5
Full-screen story or vertical video cover1080 × 19209:16
Link preview image (Open Graph)1200 × 630about 1.91:1
Video thumbnail1280 × 72016:9
Full-width website banner1920 widevaries
Image inside a blog article1200–1600 widefree
Newsletter image600–800 widefree
Profile picture400 × 400 or larger1:1

Downscaling sharpens, upscaling softens

Shrinking a picture combines the information of several source pixels into each new one, which is why a reduced photo often looks crisper than the original viewed at 100 percent. Enlarging works the other way: the software has to invent the in-between pixels by blending their neighbours, so a 300-pixel logo stretched to 2000 pixels comes out soft around every edge. The tool will upscale to 4000 pixels if you ask, but no resizer can add detail that was never captured. If a vector (SVG) version of a logo exists, export the large size from that instead.

Sizing for high-density screens

Modern phones and many laptops draw each CSS pixel with two or three physical pixels. An image displayed in a 600-pixel-wide slot therefore looks slightly blurry on those screens if the file itself is only 600 pixels wide. The usual compromise is to export at twice the display width, 1200 pixels in this example. Going to three times rarely pays off: the file grows a lot while the visible gain is small. Pair the right size with the image compressor and you get sharp pictures that still load fast; the guide on image optimization for SEO covers the rest of the checklist.

Pixels for print: what DPI really means

For printing, the pixel count is what matters; the DPI value stored inside a file is only a label. Multiply the print size in inches by the resolution you want. A 4 × 6 inch photo print at 300 DPI needs 1200 × 1800 pixels, while a large poster viewed from across a room usually looks fine at 150–200 DPI. Resize to at least that figure. Going far beyond it adds file size without making the print any better.

Resizing and file size

Pixel count grows with the square of the side length. Halve the width with proportions locked and the height halves too, leaving a quarter of the pixels and, roughly, a quarter of the data. One caveat: resized JPGs are saved at quality 90, so a heavily compressed original can come out heavier than you might expect after a modest reduction. Running the result through the compressor solves that.

Details worth knowing before you upload

  • Format: the output keeps the input format. To switch formats, use a converter such as JPG to WebP.
  • Transparency: transparent areas in PNG, WebP, AVIF and GIF survive resizing.
  • Animated GIFs: every frame is resized, so the animation keeps playing.
  • Limits: 24 MB per file, 50 megapixels per image and 16,384 pixels per side on input; 4000 pixels per side on output.
  • HEIC photos: not supported. Set the phone camera to save JPG, or share the photo as JPG before uploading.
  • Privacy: the image is uploaded, resized within the same request and returned to you. Nothing is stored or shared, and the contents must match the file extension or the upload is refused.
Advertisement Kelivo — a word game by icyabmod, on Google Play and the App Store

Frequently asked questions

Fill in only one field. Type the width and leave the height empty, and the height is calculated from the original ratio; do the opposite and the width is calculated. Entering both values is only safe when the source already has the same proportions as the target. If the shapes differ, crop to the right ratio first and then resize.

Not really. When enlarging, the software estimates the missing pixels from their neighbours, so the file gets bigger but no real detail is added and edges soften. Doubling the size often still looks acceptable; beyond that, blur becomes obvious. For logos and icons, start from a vector source. For photos, look for a higher-resolution original instead.

Work in three steps. Crop the photo to the ratio the form expects first; for a square requirement, crop a centered square around the face. Then enter the required width and height on this page; since the ratio already matches, nothing is distorted. If the form also sets a KB limit, finish in the compressor with a target slightly below that limit.

There are two usual reasons. Resized JPGs are saved at quality 90, so an original that was saved at a lower quality shrinks less than expected. And PNG files that contain photographs stay heavy because PNG is lossless, whatever the dimensions. In the first case run the result through the compressor; in the second, convert the picture to JPG or WebP.

Metadata is not guaranteed to survive resizing, so the capture date, camera details or color profile may be missing from the output. Keep the original if you need that information. If, on the other hand, you want location data removed for certain, use the image compressor, which strips metadata every time.