Skip to content

Crop an Image to an Aspect Ratio or an Exact Pixel Region

Pick a ratio and get the largest centred crop of that shape, or type a left offset, top offset, width and height to cut an exact rectangle.

Runs in your browserFree, no sign-upLast reviewed

Settings

Results update automatically as you type.

Fill in the settings to see your result here.

Your result appears here instantly — nothing is uploaded.

Quick answers

How do I crop an image to a square?
Set Crop to Square (1:1). The tool keeps the shorter side in full and trims the longer side equally at both ends. A 1920 x 1080 picture becomes 1080 x 1080, with 420 pixels cut from the left and 420 from the right.
How do I crop a photo to 16:9?
Set Crop to 16:9 widescreen. For a picture that is taller than 16:9, the full width is kept and the height becomes width x 9 / 16. A 4032 x 3024 photo becomes 4032 x 2268, losing 378 pixels from the top and 378 from the bottom.
How do I crop a landscape photo to 9:16 for a vertical story?
Set Crop to 9:16 portrait. The full height is kept and the width becomes height x 9 / 16. A 1920 x 1080 frame becomes 608 x 1080, so only the middle third survives. Start from the largest original you have.
Does cropping reduce image quality?
No. Cropping removes pixels outside the region and leaves the rest untouched, and this tool saves the result as lossless PNG. The picture only looks softer if you later enlarge the crop beyond its pixel size.
What is the difference between cropping and resizing?
Cropping cuts part of the picture away and can change its shape. Resizing keeps the whole picture and changes how many pixels it has. To turn a 4032 x 3024 photo into a 1080 x 1080 square you crop to 1:1 first, then resize 3024 down to 1080.
Can I crop an exact pixel area?
Yes. Choose Custom region below and enter the left offset, top offset, width and height. Offsets are measured from the top-left corner of the picture. The region must lie entirely inside the image or the crop is refused.

How Image Cropper works

Choose a picture and a shape, and this tool cuts the largest region of that shape from the centre of the image. The presets are square (1:1), 4:3, 16:9, 3:4 portrait and 9:16 portrait. A 4032 x 3024 phone photo cropped to 1:1 becomes 3024 x 3024, with 504 pixels removed from each side. For anything else, choose Custom region below and enter a left offset, top offset, width and height in pixels. The crop is saved as a lossless PNG, and the work is done in your browser. There is no drag-to-select box: crops are set by preset or by numbers.

Crop sizes for common photo dimensions at each ratio

The largest centred crop for each preset, in pixels, worked out with the rule the tool uses. Whole means the picture already has that shape and nothing is removed.

Original1:14:316:93:49:16
4032 x 3024 (phone, landscape)3024 x 3024Whole4032 x 22682268 x 30241701 x 3024
3024 x 4032 (phone, upright)3024 x 30243024 x 22683024 x 1701Whole2268 x 4032
4000 x 30003000 x 3000Whole4000 x 22502250 x 30001688 x 3000
6000 x 4000 (3:2 camera)4000 x 40005333 x 40006000 x 33753000 x 40002250 x 4000
1920 x 1080 (Full HD)1080 x 10801440 x 1080Whole810 x 1080608 x 1080
1080 x 1920 (vertical video)1080 x 10801080 x 8101080 x 6081080 x 1440Whole
2048 x 15361536 x 1536Whole2048 x 11521152 x 1536864 x 1536

Where the exact result has a fraction, the saved file is rounded to the nearest whole pixel: 1687.5 becomes 1688 and 607.5 becomes 608.

How the centred crop is calculated

target = ratio width / ratio height. If image width / image height is greater than target: crop height = image height, crop width = image height x target. Otherwise: crop width = image width, crop height = image width / target. Left offset = (image width - crop width) / 2. Top offset = (image height - crop height) / 2.

The picture's own shape is compared with the target shape. If the picture is wider than the target, its full height is kept and the sides are trimmed; if it is taller, the full width is kept and the top and bottom are trimmed. Either way the same amount comes off both ends. For a 6000 x 4000 photo and 16:9, the target is 1.778 and the photo is 1.5, so the width stays at 6000 and the height becomes 6000 / 1.778 = 3375, starting 312.5 pixels from the top. The Crop region line shows rounded figures, so it reads 0, 313 with a size of 6000x3375.

Custom region examples: offsets, width and height

Coordinates start at 0, 0 in the top-left corner. The left offset moves the region right and the top offset moves it down.

Square crop pushed to the left edge

Image 4032 x 3024. Custom region: Left 0, Top 0, Width 3024, Height 3024

A 3024 x 3024 PNG of the left part of the photo. The centred preset would have started at 504 instead of 0.

For a 1:1 crop of this photo, any left offset from 0 to 1008 is valid.

Trimming a 40 px border from every side

Image 1920 x 1080. Custom region: Left 40, Top 40, Width 1840, Height 1000

A 1840 x 1000 PNG. Width is 1920 minus 80 and height is 1080 minus 80.

4:5 portrait, which is not a preset

Image 3024 x 4032. Custom region: Left 0, Top 126, Width 3024, Height 3780

A 3024 x 3780 PNG. 3024 x 5 / 4 = 3780, and (4032 - 3780) / 2 = 126 centres it vertically.

A region that does not fit

Image 1920 x 1080. Custom region: Left 1600, Top 0, Width 400, Height 400

No file. 1600 + 400 = 2000, which is past the 1920 pixel width, so the message says the crop region falls outside the 1920 x 1080px image.

Reduce the left offset to 1520 or the width to 320.

Limits worth knowing before you crop

Preset crops are always centred. The tool does not detect faces or subjects, so a person standing at the edge of a wide photo can be cut by a square crop. When that happens, switch to Custom region below, keep the same crop size from the table above and move the offset toward the subject.

There is no on-image selection box to drag. If you do not know the coordinates of the area you want, work them out from the picture's dimensions, which appear as Original size after the first run, or use the Aspect Ratio & Crop Calculator on this site to get the crop size and centred offsets for other ratios such as 4:5, 3:2 and 21:9.

The custom fields start at 0, 0 and 400 x 400, so selecting Custom region below without changing them gives a 400 pixel square from the top-left corner. A picture smaller than 400 pixels on either side triggers the outside-the-image message until you lower the numbers.

Output is always PNG. That keeps the kept pixels exactly as they were, but a cropped camera photo saved as PNG can be a larger file than the JPEG you started with. Run the result through the Image Compressor or Image Converter if you need a small JPEG or WebP.

How to use it

  1. 1

    Under Image, choose the photo. Files up to 30 MB are accepted.

  2. 2

    Set Crop to: Square (1:1), 4:3, 16:9 widescreen, 3:4 portrait, 9:16 portrait or Custom region below.

  3. 3

    For a custom crop, fill in Left offset (px), Top offset (px), Width (px) and Height (px). These four fields are ignored by the presets.

  4. 4

    Read Original size and Crop region in the Details panel to confirm what was kept.

  5. 5

    Download the result, saved as the original name with -cropped added and a .png extension.

Questions people ask

Why does the tool say my crop region falls outside the image?
Left offset plus width is greater than the picture's width, or top offset plus height is greater than its height. The message states the picture's real dimensions. Lower the offsets or the size until both sums fit.
Can I crop to 4:5, 3:2 or another ratio that is not listed?
Yes, through Custom region below. Work out the crop size yourself: for a ratio of a:b on an image w wide, the height is w x b / a. Then centre it by setting each offset to half of what is left over.
Is my photo uploaded when I crop it?
No. The picture is read and cut by the canvas feature in your browser, and the PNG is created on your device.
Why is the cropped file a PNG when I uploaded a JPG?
The tool always writes PNG so that no second round of lossy compression is applied to the pixels you kept. Convert the result to JPEG or WebP afterwards if file size matters more.
Should I crop before or after resizing?
Crop first. You then resize only the pixels you are keeping, and you choose the final dimensions for the shape you actually want.
Can I crop a circle or a freehand shape?
No. Only rectangles are supported. For a round profile picture, crop to Square (1:1); most sites that display avatars in a circle apply the mask themselves.
What happens if I leave the custom width or height empty?
An empty Width (px) is treated as the full width of the picture and an empty Height (px) as the full height. With a non-zero offset that will overshoot the edge, so enter both numbers.
Does the crop keep transparency?
Yes. Transparent areas in a PNG or WebP source stay transparent in the cropped PNG.

Looking for something else? Browse all image tools or see every tool.