How to Crop an Image to Exact Pixels Online (Free Tool)
Every platform has its own image dimension requirements - Instagram profile photos, banner images for websites, ID photos for portals. Cropping to an arbitrary area is easy; cropping to a specific pixel size takes a bit more precision.
Why Cropping to Exact Pixels Matters
When you upload an image that doesn't match the required dimensions, platforms either reject it or auto-crop it - usually badly, cutting off faces or important content. Getting the crop right yourself before uploading means you control exactly what gets shown.
Common pixel-precise crop requirements:
- Profile photos - 400×400px (square) for most platforms
- Passport photos - typically 600×800px or specific mm dimensions
- YouTube thumbnails - 1280×720px (16:9 ratio)
- Twitter/X header - 1500×500px
- LinkedIn banner - 1584×396px
- Government ID photos - various fixed sizes depending on the portal
How to Crop to Exact Pixels Using LovePDFImg
LovePDFImg's Crop Image tool lets you either drag to select a crop area visually or enter exact X, Y, width, and height values in pixels for precision.
Drag to select visually or type exact pixel values. Works on JPG, PNG, WebP.
- Open Crop Image on LovePDFImg.
- Upload your image.
- Option A (visual): Click and drag on the preview to draw a selection rectangle around the area you want to keep.
- Option B (precise): Type exact values into the X, Y, Width, and Height fields below the preview. X and Y set the top-left corner of the crop; Width and Height set the size of the cropped area.
- Click Crop Image and download the result.
Cropping vs Resizing - What's the Difference?
It's worth being clear on this because the two are often confused:
- Cropping removes parts of the image - you're selecting a region and discarding the rest. The remaining pixels keep their original resolution. A 4000×3000 image cropped to 600×800 gives you 600×800 pixels taken directly from the original.
- Resizing changes the total pixel count of the image without removing content - it stretches or shrinks the entire image. A 4000×3000 image resized to 600×800 gives you a compressed/stretched version of the whole image.
Often, the best approach is to crop first, then resize: select the area and composition you want, then resize to the exact required dimensions. Use Resize Image after cropping for this workflow.
How to Calculate What to Crop
If you need the final image to be 400×400px (square) but your original is 1920×1080px (widescreen), you need to crop out a square region from the wider photo first.
The largest square you can crop from a 1920×1080 image is 1080×1080px (limited by the shorter dimension). After cropping that square region, resize it to 400×400px using Resize Image.
To figure out the right crop dimensions for any target aspect ratio, use Image Aspect Ratio Calculator - enter your original dimensions and target ratio to get the exact crop size.
Checking Your Image Dimensions Before Cropping
Before you start cropping, it helps to know what you're working with. Use Image Size Checker to see the exact pixel dimensions, file size, and aspect ratio of your image. This tells you how much you can crop without running out of pixels for your target size.
Key Takeaways
- Use Crop Image to select any region by dragging or entering exact pixel coordinates.
- Cropping removes edges; resizing scales the whole image - often you need both in sequence.
- Use Aspect Ratio Calculator to find the right crop dimensions for any target ratio.
- Check existing dimensions first with Image Size Checker.
- After cropping, compress the image if it needs to meet a file size limit.