‹ All guides

How to Crop an Image to an Exact Size

A form asks for a photo exactly 350 by 467 pixels. A social post needs a banner exactly 1200 by 628. A profile picture must be square, 400 by 400. And the photo on your phone is none of those things. Getting an image to an exact size is a two-part job, and most people only do one part: they crop it, or they resize it, and then they wonder why the result is still wrong. This guide shows the full method — crop first to get the right shape, then set the exact pixels — free, in your browser, without uploading your photo anywhere.

Cropping sets the shape, not the size

Cropping and resizing sound like the same thing, but they do different jobs. Cropping cuts away part of the photo: it changes the shape — a wide photo becomes a square, or a tall photo becomes a wide banner — but it does not set the width and height in pixels. Resizing changes the pixel dimensions of whatever is left. That is why the cropper on this site works by selecting an area, not by typing numbers: you drag a box over the part of the photo you want to keep, and the tool cuts everything outside it. The exact pixel size comes afterwards, with the resizer. Anyone who promises to crop to exact pixels in one step is really doing both steps and hiding the second one.

Step 1: Crop to the right shape

  1. Open the free Image Cropper and choose your photo. It runs entirely in your browser, so the photo never leaves your device.
  2. Drag the crop box over the part you want to keep. For a passport photo, centre the face; for a banner, keep the wide middle strip; for a square profile picture, use the square preset.
  3. Check that the shape matches what the form wants — square for a profile picture, tall for a passport photo, wide for a banner. The exact pixels do not matter yet. Download the cropped photo.

Crop your photo to the right shape now →

Step 2: Set the exact width and height

  1. Open the free Image Resizer and choose the cropped photo you just downloaded.
  2. Type the exact width and height the form asks for — for example 350 by 467 — and make sure the shape matches the crop. If you cropped a square and type a wide size, the photo will stretch.
  3. Download the resized photo and check its size before you upload it. The file info on your phone or computer will show the exact pixel dimensions.

Set the exact size now →

Common exact sizes and what they are for

Some sizes come up again and again. A Pakistan passport photo for the online portal is 350 by 467 pixels, and the printed version is 35 by 45 millimetres. A square profile picture for most social sites works well at 400 by 400 pixels. A Facebook or LinkedIn link preview is 1200 by 628 pixels, and a YouTube thumbnail is 1280 by 720. A favicon — the tiny icon in a browser tab — is 16 by 16 or 32 by 32 pixels. The numbers look random, but each one is just the shape a particular place displays: square for a face, wide for a banner, tall for a passport. Crop to the shape first, then type the numbers — that order never fails.

Keep the photo sharp at a small size

Small sizes are unforgiving: a photo that looks fine at 2000 pixels wide can turn to mush at 350. Start from the original photo, not from a copy that has already been compressed or resized once. Crop tightly, so the important part of the photo fills the frame — at 350 pixels wide, a face that fills half the frame is recognisable, and a face that fills a tenth of it is not. Save the result as JPG for photos: JPG is far smaller than PNG at the same size, and a PNG of a small photo is often several times larger for no visible benefit. And judge the result at the size it will be shown, not zoomed in — if it looks clear at display size, it is good.

Mistakes that ruin an exact-size photo

The most common mistake is resizing first and cropping second: resizing a wide photo to a square size stretches it, and then no amount of cropping fixes the stretched faces. Always crop first. The second mistake is typing the numbers backwards — 467 by 350 instead of 350 by 467 — which turns a tall passport photo into a wide one; read the form twice. The third is sending the finished photo through WhatsApp before uploading it: WhatsApp re-compresses and sometimes resizes the image, so the exact size you worked for is gone. Always upload the exact file the tools give you, straight from your downloads.

Related guides

How to resize photos without stretching →

How to choose image dimensions for a website →

How to resize a profile picture without cropping your face →

Frequently asked questions

Can the cropper set exact pixels by itself?

No — and that is by design. The cropper selects an area of the photo, which sets the shape. To set exact pixels, open the Image Resizer after cropping and type the width and height there. The two steps together take about a minute.

What is the difference between cropping and resizing?

Cropping cuts part of the photo away and changes its shape. Resizing keeps the whole photo and changes its pixel dimensions. A square profile picture usually needs both: crop to a square first, then resize to the exact size the site wants.

Will cropping make my photo blurry?

Cropping itself does not blur anything — it just removes pixels outside the box. Blurriness comes from enlarging a small crop to a large size. As long as you crop from a high-resolution original and only shrink afterwards, the result stays sharp.

Is my photo uploaded to a server?

No. Pixelkit’s tools run entirely in your browser, so your photo never leaves your device.

What if the form asks for millimetres, like 35x45 mm?

Millimetres describe a printed photo; pixels describe a digital one. For the online portal, use the pixel size the form lists next to the millimetres — for a Pakistan passport photo that is 350 by 467 pixels. If the form only gives millimetres, the passport photo guide explains the conversion.