Crop Image to Exact Size

Crop image to exact size: type the width and height in pixels, drag the frame over the part worth keeping, and download an exact size crop, never a stretched copy.

Part of Piknova's free toolkit
type the size, up to 25 MB per image

A custom image cropper
that takes numbers, not guesses.

The form says 1200 by 628. Not 1201, not "about 1200", and it will tell you so in red. Nudging a crop handle across a trackpad until the readout finally agrees is nobody's idea of an evening. Type the two numbers instead, and the frame snaps to them.

Exact pixel size Stays on your device No signup

Why use Piknova?

Typed numbers beat a dragged handle.

What changes when a cropper takes the size as two numbers instead of a steady hand.

Piknova

What you get
  • Type the width and height, and the frame takes that size
  • A true crop, so nothing is squashed to fit the numbers
  • Runs in your browser, the photo stays on your device
  • No signup, full resolution download
  • One crop, exported at Half, Actual or 2x

Other tools

What you put up with
  • Drag a handle and watch a readout until it agrees
  • Size fields that stretch the whole photo to match
  • Sent to a server, cropped there, sent back
  • An account wall at the download button
  • A separate crop for every size you need

Drop, type two numbers, download

Three steps in this browser tab, no account, 25 MB per image.

  1. 01

    Drop the picture

    Drag a JPG, PNG or WebP onto the box. The crop frame opens around it and the width field is already waiting for a number.

  2. 02

    Type the width and height

    Width, Tab, height, Enter. The frame snaps to that size; drag its middle to slide it over the part you want.

  3. 03

    Apply, then download

    Press Apply, keep the export on Actual size, and check the readout shows your two numbers before you download.

Step by step

Crop image to exact size in six steps

Two numbers, one drag, one download. Here is the whole thing, keys included.

  1. Drop the picture: Drag a JPG, PNG or WebP onto the box at the top of this page, or paste one with Ctrl+V. The crop frame opens around the whole image with the cursor in the width field.
  2. Type the width: Type the width in pixels, then press Tab to jump to the height.
  3. Type the height: Type the height and press Enter. The frame snaps to exactly that size, centred on where it was.
  4. Slide it into place: Grab the middle of the frame and drag it over the part you want. Moving never changes the size; the handles on the edge do, so leave those alone.
  5. Apply the crop: Press Apply in the toolbar. Enter works too, once the cursor is out of the number fields.
  6. Download at Actual size: Open the export menu, keep the scale on Actual size, and check the readout shows your two numbers. Then download.

Tab, not Enter, between the two fields. Enter in a number field confirms that number and nothing else, which is on purpose: it stops a half-typed size from cropping your photo.

Piknova's crop toolbar with 1200 typed in the width field and 628 in the height field, the crop frame at that size over a photo, and the Apply button beside the fields

2

numbers to type

Crop or resize

Crop image to exact dimensions without stretching it

A crop and a resize can both end at 1200 by 628. They get there by throwing away very different things.

Cropping cuts pixels off the edges and leaves the rest untouched. Resizing keeps the whole picture and redraws it with fewer or more pixels. Type 1200 by 628 into a resizer with the ratio unlocked and a 4:3 photo gets squashed flat, which is the stretched look everyone recognises from a bad profile picture.

You wantUseWhat happens to the picture
A part of the photo, at an exact pixel sizeCropThe edges go; everything left keeps its original pixels
The whole photo, just smallerResizeNothing is cut; every pixel is redrawn at the new size
A different shape and a smaller sizeCrop, then resizeCut to the shape first, then scale down with the ratio locked
Which one a size requirement actually needs

Here is the catch nobody prints on the box. A crop never scales, so 1200 by 628 on a 4032 by 3024 phone photo keeps a window just under a third of the width. Fine for a face, hopeless for a group shot.

To keep more of the scene, crop to a whole-number multiple of the target that still fits. For 1200 by 628 that is 3600 by 1884, three times each side. Apply it, then set the width to 1200 in the image resizer with the ratio locked, and the height lands on 628 exactly.

Twice the size is quicker still: crop 2400 by 1256 and export at Half size. Stick to even numbers for that one, because half of an odd number gets rounded and the result is a pixel out.

Hands cutting a sheet of paper along a steel ruler on a green cutting mat
Photo: Antoni Shkraba on Pexels

The numbers

Crop image by pixels: what the two numbers mean

One typed pixel is one pixel of your original. Zoom level and screen size never enter the maths.

The fields measure the photo, not your screen. Type 800 on a photo 4000 pixels wide and the frame covers a fifth of it, however small the editor makes it look.

  • It centres: A typed size grows or shrinks around the middle of the frame you had, so whatever you framed stays in the middle.
  • It stays inside the photo: A number bigger than the picture stops at the picture's edge. A crop only removes pixels, so it cannot make a 1000 pixel photo 1200 wide.
  • It sets the ratio to Free: Your two numbers decide the shape now, so the ratio menu lets go of whatever preset it was holding.
  • It is whole pixels: The fields take whole numbers, up to five digits. No half pixels, no decimals to round later.

The limits below come straight from the editor's own settings, so they are the real ones rather than a marketing number.

LimitValueWhat it means
Smallest crop24 x 24 pxA smaller number is raised to this, so the frame stays big enough to grab
Largest file25 MBPNG, JPG or WebP. Convert a HEIC to JPG first
Largest export50 megapixelsCounted after the export scale, so 2x makes every pixel four
Read from the editor's settings when this page was built.

For the web

Crop to pixel size for web slots and retina screens

A slot on a web page has a size in CSS pixels, and a sharp screen wants two real pixels for each of them.

A 600 by 400 slot shows 600 by 400 pixels on an ordinary monitor. On a phone or a Retina laptop the browser has two or three device pixels for every CSS pixel, so a 600 pixel image gets spread across 1200 of them. That is the soft, faintly smudged look.

So crop once at double the slot, 1200 by 800, and export it twice. Actual size gives the 2x file for sharp screens and Half size gives the 600 by 400 file for everything else, both from the same framing.

Hand both to the page with srcset and the browser picks the right one for each screen. The reading below explains how, and what device pixel ratio actually measures.

A monitor showing a web page layout with photo slots in a design app
Photo: Tranmautritam on Pexels
FAQ

Exact size crop: common questions

What people ask when a form, a print lab or a web page has already decided the size for them.

Drop the picture on the box above; the width field is already selected. Type the width, press Tab, type the height and press Enter.

Slide the frame over the part you want, press Apply, and download at Actual size. The export menu shows the final size before you save.

Check the scale in the export menu first. Half size and 2x change the output on purpose; Actual size is the one that matches the fields.

If you typed a number bigger than the photo, the frame stopped at the photo's edge, so the crop came out smaller. And if the file was right when it left here, the site you uploaded it to may have resized it on arrival.

A crop cannot add pixels, so the frame stops at the edge of the picture. Crop to the right shape at a smaller size first, for example 600 by 314 when the target is 1200 by 628.

Then enlarge it in the image resizer with the ratio locked. Enlarged pixels are estimated, not recovered, so expect it a little softer than a photo that was big enough to begin with.

Only if the photo already has the same shape as the size you need. A 4:3 photo cannot become 16:9 without losing some height, gaining bars, or being stretched.

If you need the whole picture and the shape is flexible, the image resizer scales it with nothing cut. If the shape is fixed, a crop is the honest option, and at least you choose what goes.

Yes, it switches the ratio menu to Free. Your two numbers define the shape now, and a locked ratio would only fight them.

To work by shape instead of size, pick a ratio from the menu and drag the handles. Any ratio preset keeps its proportions while you pull.

Not yet. The fields set the size, and you choose the position by dragging the middle of the frame.

A typed size keeps the frame's centre, so frame the subject roughly first and then type the numbers. It stays in the middle.

24 by 24 pixels. Type a smaller number and the field is raised to 24, so the frame never shrinks past the point where you can grab it.

Files up to 25 MB open here, and a crop can be as big as the photo itself. The export stops at 50 megapixels, counted after the scale.

That only bites at 2x, which turns every pixel into four. The biggest square crop that still exports at 2x is about 3535 by 3535; at Actual size, anything the photo holds is fine.

Two numbers and you are done.

Drop the photo, type the size the form asked for, and download the exact size crop. Free, with no signup.