Image Cropper
Crop any photo to exact pixel coordinates, or pick an aspect-ratio preset — square, 4:3, 16:9, or 3:2 — centered automatically.
Image Cropper
Drop an image here or click to choose one
Your image never leaves your device — cropping runs entirely in your browser. The crop box is clamped to the image edges, so it can never extend outside the photo.
Formulas:
Clamped X = larger of 0 and X, Clamped Y = larger of 0 and Y
Cropped width = smaller of Crop width and (Image width − Clamped X)
Cropped height = smaller of Crop height and (Image height − Clamped Y)
Area kept = (Cropped width × Cropped height) ÷ (Image width × Image height) × 100
What Does an Image Cropper Do?
An image cropper cuts away part of a photo and keeps the rest. Unlike resizing, which shrinks the whole image, cropping changes what the image shows: it removes unwanted edges, distractions, or empty space, and it changes the image's shape. A wide landscape photo cropped to a square keeps only the middle slice; a photo with a stranger at the edge cropped tighter removes the stranger entirely. Cropping is the simplest and most powerful editing move there is — it is how a mediocre photo becomes a good one.
This cropper works with exact numbers instead of a drag handle. You enter the crop box as four values — the left edge (X), the top edge (Y), the width, and the height, all in pixels — and the tool cuts out exactly that rectangle. Or you pick an aspect-ratio preset — square, 4:3, 3:2, 16:9, or 9:16 — and the tool centers the largest possible box of that shape on your image automatically. Numeric cropping is precise and repeatable: the same numbers always give the same result, which drag-cropping cannot promise.
How to Use This Image Cropper
Drop an image onto the upload area or click to choose one. The tool shows a preview with the original dimensions and file size. Then either pick a preset or enter the crop box by hand. Presets are the fast path: choose 1:1 for a square profile picture, 16:9 for a video thumbnail, or 9:16 for a phone story, and the tool fills in the box for you, centered on the image. You can then adjust the numbers to shift the box — move X to slide it left or right, move Y to slide it up or down.
For a free crop, enter the four numbers directly: X is the distance from the left edge of the image to the left edge of the crop, Y is the distance from the top edge to the top of the crop, and the width and height set the size of the kept rectangle. The results show the cropped size, the clamped position, the percentage of the original area kept, and the aspect ratio of the result. Choose an output format — JPEG for photos, PNG for graphics, WebP for the smallest files — and download. The original file is never changed.
How the Crop Box Works
Image coordinates start at the top-left corner, which is position (0, 0). X increases to the right and Y increases downward — the opposite of the graphs you learned in school, where Y increases upward. A crop box of X = 500, Y = 400, width = 2,000, height = 1,500 on a 4,000 by 3,000 image keeps the rectangle starting 500 pixels from the left edge and 400 pixels from the top, extending 2,000 pixels right and 1,500 pixels down. The kept rectangle ends at X = 2,500 and Y = 1,900, well inside the image.
The tool clamps the box to the image edges, which means it can never extend outside the photo. If X is negative, it is treated as 0. If the box would run past the right edge, the width is reduced so the box ends exactly at the edge. If the box starts entirely outside the image — X greater than or equal to the image width, for example — the tool reports an error instead of producing a broken result. Clamping makes the tool forgiving: you can enter generous numbers without worrying about breaking anything.
The Crop Formula
The crop math is straightforward. The clamped X is the larger of 0 and the X you entered; the clamped Y is the larger of 0 and the Y you entered. The cropped width is the smaller of the crop width you entered and the space remaining to the right edge — the image width minus the clamped X. The cropped height is the smaller of the crop height and the space remaining to the bottom edge. The area kept is the cropped width times the cropped height, divided by the image width times the image height, times 100.
Aspect-ratio presets use one more step. For a preset like 16:9, the tool finds the largest box of that shape that fits inside the image: the scale is the smaller of the image width divided by 16 and the image height divided by 9, the box width is 16 times that scale, and the box height is 9 times that scale. The box is then centered, with X equal to half the leftover width and Y equal to half the leftover height. On a 4,000 by 3,000 image, the 16:9 preset gives a scale of 250, a box of 4,000 by 2,250, and a position of X = 0, Y = 375.
Worked Example
Take a 4,000 by 3,000 photo and crop a box at X = 500, Y = 400, width = 2,000, height = 1,500. The box is fully inside the image, so no clamping is needed: the cropped size is 2,000 by 1,500 pixels, the aspect ratio is 4:3, and the area kept is (2,000 times 1,500) divided by (4,000 times 3,000) times 100 = 3,000,000 divided by 12,000,000 times 100 = 25 percent. A quarter of the photo survives; three quarters are cut away.
Now a clamping example: on a 1,920 by 1,080 image, enter a box at X = 1,700, Y = 900, width = 500, height = 400. The box would run past both edges, so the width is clamped to 1,920 minus 1,700 = 220 pixels and the height to 1,080 minus 900 = 180 pixels. The cropped size is 220 by 180, the aspect ratio is 11:9, and the area kept is (220 times 180) divided by (1,920 times 1,080) times 100 = 39,600 divided by 2,073,600 times 100 = 1.9 percent — a small corner of the original. Both examples are computed by the tool's own formula.
Aspect Ratios for Common Uses
Different platforms want different shapes, and cropping to the right shape avoids awkward automatic cropping by the platform. Square (1:1) is the shape for Instagram posts and profile pictures everywhere — a square crop of a landscape photo keeps the middle and discards the sides. Widescreen (16:9) is the shape for YouTube thumbnails, video covers, and presentation slides: 1,280 by 720 pixels is the standard YouTube thumbnail size.
Portrait (9:16) is the shape for phone stories on Instagram, TikTok, and Snapchat — 1,080 by 1,920 pixels is the standard story size. Standard photo ratios are 4:3 (older cameras and phone photos) and 3:2 (DSLR cameras and classic 6 by 4 inch prints). A 4:3 photo cropped to 3:2 loses a little from the top and bottom; a 3:2 photo cropped to 4:3 loses a little from the sides. Knowing the target ratio before you crop saves a second round of editing.
Cropping Tips for Better Photos
Crop to the subject, not to the frame. The most common cropping mistake is keeping too much empty space around the subject. Move in tight: the subject should fill most of the frame, with just enough room around it to breathe. A photo of a person where the person occupies a tenth of the frame is a photo of a landscape that happens to contain a person.
Use the rule of thirds. Imagine the frame divided into thirds both ways, and place the subject on one of the four intersection points rather than dead center. A centered subject looks static; an off-center subject looks dynamic. You can shift the crop box with X and Y to place the subject exactly where you want it.
Straighten before you crop. A tilted horizon is more noticeable after cropping, because the crop removes the context that made the tilt less obvious. If your photo is crooked, straighten it in an editor first, then crop the straightened version.
Crop before resizing. Cropping first and resizing second gives the best quality, because the resize works from the cropped pixels only. Resize first and you throw away pixels that the crop would have removed anyway — and if you crop after resizing, the cropped image is smaller than it needed to be. Our Image Resizer handles the resize step, and our Image Compressor finishes the job.
Common Mistakes to Avoid
The biggest mistake is cropping too aggressively from a small original. A 1,920 by 1,080 photo cropped to 10 percent of its area leaves an image of about 607 by 341 pixels — fine for a thumbnail, but blurry when displayed larger. The tool shows the area kept and the cropped size precisely so you can see this before downloading. If the cropped size is smaller than the size you need, crop less or start from a larger original.
The second mistake is forgetting that cropping is destructive. Once you download the cropped image, the cut-away parts are gone from that file. Always keep the original photo so you can re-crop differently later — a square crop for Instagram today and a widescreen crop for a video thumbnail tomorrow both come from the same original.
Finally, watch the aspect ratio of the result. A free crop of 1,000 by 733 pixels has an odd ratio that may not match any platform, leaving you with another round of cropping later. When the destination is known, use the preset for that shape first, then adjust the position — the ratio stays correct while you fine-tune what the frame contains.
Frequently Asked Questions
How do I crop an image to a specific size?
Enter the crop box as four numbers: X (distance from the left edge), Y (distance from the top edge), width, and height, all in pixels. For example, X 500, Y 400, width 2,000, height 1,500 on a 4,000 x 3,000 photo keeps a 2,000 x 1,500 rectangle — 25% of the original area.
What is the difference between cropping and resizing?
Cropping cuts away part of the image and changes what it shows; resizing shrinks or grows the whole image without removing anything. Crop to remove distractions or change the shape; resize to make the same picture smaller for the web.
What aspect ratio should I crop to for Instagram?
1:1 (square) for standard posts, 4:5 (1,080 x 1,350) for portrait posts, and 9:16 (1,080 x 1,920) for stories. This tool's presets cover 1:1 and 9:16; use the free crop with exact numbers for 4:5.
Can I crop an image without losing quality?
The kept pixels are unchanged, so cropping itself loses no quality — but the result has fewer pixels. A 4,000 x 3,000 photo cropped to 25% of its area is 2,000 x 1,500, which is still sharp at normal display sizes. Crop from the largest original you have.
What happens if my crop box goes past the edge of the image?
The tool clamps it: the box is trimmed so it ends exactly at the image edge. A box at X 1,700 with width 500 on a 1,920-wide image becomes 220 pixels wide. If the box starts entirely outside the image, the tool reports an error instead.