Every platform wants a different rectangle

One product photo, five destinations. The storefront wants it square. The Instagram post wants 4:5 because vertical feeds reward tall. The YouTube end card wants 16:9. The story wants 9:16, which is the same shape wearing a different hat. And the print catalog wants 4:5 at a resolution you have to multiply out on paper. Five crops of the same image, each a different decision about which part of the frame deserves to survive.

That is what cropping actually is — not trimming, but choosing. The camera gave you a rectangle; every platform after that asks for a different one, and the work is deciding where the picture lives inside each. A good cropper makes the mechanical part of that decision instant: ratio presets that know the platforms, pixel-exact fields for the picky ones, a live preview with thirds and safe-area guides, and an export that respects every original pixel.

This page does all of it in the browser. Load, frame, download. The rest of this article is the part most croppers never explain: the ratio arithmetic that determines what you must lose, the print math that determines whether your file is big enough, and the order of operations that keeps quality intact.

Framing the shot you meant to take

The tool's interface is a single canvas with a draggable, resizable crop frame over your image. Ratio presets constrain the frame's shape as you drag — grab a corner with 16:9 selected and the frame breathes in and out without ever leaving the ratio. A free mode releases the shape entirely, and the width/height fields accept exact pixel targets for the cases where a spec sheet, not a vibe, is in charge.

Composition guides overlay the image while you work: rule-of-thirds lines by default, a golden-ratio grid for the devoted, and center crosshairs for symmetry shots. The preview shows the cropped result live beside the source, which sounds minor and is not — cropping blind, by rectangle alone, is how heads end up uncomfortably near frame edges in published covers.

Underneath, the mechanics are as old as canvas itself: the export copies your chosen rectangle pixel-for-pixel onto an output canvas and encodes it. No resampling unless you explicitly resize, no recompression beyond your chosen export format, no magic. Cropping is the rare image operation where the honest implementation and the simple one are the same thing.

Cropping an image, start to finish

  1. Load the image

    Drag, browse, or paste. JPG, PNG, WebP, AVIF, GIF — the browser's decoder list is the tool's supported list, and EXIF orientation is applied so what you see is what everyone else sees.

  2. Pick the target shape

    Choose a ratio preset for the destination platform, or free-crop, or type exact pixel dimensions with the ratio lock engaged. The frame adjusts instantly to the new constraint.

  3. Frame the picture

    Drag and resize with the guides on. The live preview shows the exact crop output, and the readout reports the crop's pixel dimensions and the percentage of the original image you are keeping.

  4. Check the numbers

    For print, the readout shows the maximum paper size the crop supports at 300 DPI. For the web, it shows whether you are above or below the preset's recommended export width.

  5. Export

    PNG for pixel-exact and transparency-safe, JPG for smaller files. Optionally resize on export — the crop stays lossless, and any resampling happens once, at the end, by choice.

The loop is seconds long, which matters because cropping is iterative in a way resizing is not — the first framing is rarely the keeper, and a tool that charges you friction per retry quietly trains you to accept the first draft.

Aspect ratio math, minus the geometry homework

Every crop decision reduces to one fitting question: given a source rectangle and a target ratio, what is the largest target-ratio rectangle that fits inside the source? The algorithm is two lines:

r = target_width / target_height        // e.g. 16/9 = 1.778

// try full width, compute the height it demands:
h = W / r        if h <= H  ->  crop is W x h
// otherwise full height, compute the width it demands:
w = H * r                       ->  crop is w x H

Run it on a standard 12-megapixel photo — 4032 × 3024, natively 4:3 — and watch what each popular ratio costs:

Target ratioCrop dimensionsPixels removedWhat you lose
3:2 (classic photo)4032 × 2688336 px of height (11%)A sliver of sky and ground
16:9 (widescreen)4032 × 2268756 px of height (25%)Foreground and sky, evenly
1:1 (square)3024 × 30241008 px of width (25%)Both side margins
4:5 (portrait print)2419 × 30241613 px of width (40%)Most of the landscape context
9:16 (story/reel)1701 × 30242331 px of width (58%)Everything but the subject column
The largest same-ratio-maximized crop for each target, from a 4032 × 3024 source. Percentages are of the removed dimension.
The 16:9 case, by hand

Input

4032 ÷ 16 × 9 = 2268 → the crop is 4032 × 2268

Output

3024 − 2268 = 756 pixels of height leave the image — one quarter of the vertical field of view

Two observations fall out of that table and are worth keeping in mind at framing time. First, the more the target ratio disagrees with the source ratio, the more content you must sacrifice — a 9:16 story crop from a landscape photo is choosing a thin column of the world, and it deserves deliberate choice rather than accidental default. Second, the algorithm always maximizes area *within one dimension*; if you need a specific pixel width instead, the crop height follows from the ratio and the preview tells you immediately whether the result clears your requirements.

When the target demands *more* than the source has — a 16:9 banner crop from a portrait photo, where even the fitted rectangle is too narrow for the banner's pixel spec — the tool says so instead of silently upscaling, because upscaling is a quality decision that deserves to be made knowingly, with a checkbox, in daylight.

The preset table worth memorizing

Ratios cluster by destination, and the clusters are stable enough to learn once:

RatioReads asNative homesFraming note
1:1Classic squareAvatars, marketplace thumbs, album coversCenter-weighted; symmetry loves squares
4:5Tall portraitInstagram feed postsOccupies more feed height — put the subject high
3:2 / 2:3Photographic standardPrints, DSLR defaults, stock photographyThe ratio every camera anticipated
16:9WidescreenYouTube thumbnails, headers, covers, screenshotsLandscape context matters; keep horizons level
9:16Vertical videoStories, reels, Shorts, phone screensSubject centered vertically; faces in upper third
4:5 & 5:4Gallery printFramed prints, museum standards, gallery walls5:4 is the quiet gallery standard — crops generously
21:9Ultrawide bannerHero sections, cinematic strips, carouselsNeeds panorama-grade sources to survive
Where each ratio lives and what it wants from your framing.

The tool ships these as one-click presets with recommended export widths attached — 1080 for feed posts, 1280 for thumbnails, and so on — but the ratios themselves are the durable knowledge. Platforms change their pixel specs the way fashion changes hemlines; the rectangles underneath have been stable for a decade.

One framing habit transfers across every row: put the interesting thing at a thirds intersection, not the center, unless the image is symmetrical on purpose. The overlay grid exists to make that a one-glance decision rather than a squinting one.

Pixels for print: the 300 DPI arithmetic

Print is where cropping meets arithmetic with consequences. The exchange rate is 300 pixels per inch — the resolution at which printed detail stops improving for normal viewing distances — and every paper size converts through it:

4 x 6  print  ->  1200 x 1800 px
5 x 7  print  ->  1500 x 2100 px
8 x 10 print  ->  2400 x 3000 px
11 x 14 print ->  3300 x 4200 px
The 8 × 10 test, on a 4032 × 3024 photo

Input

8 × 10 is a 4:5 ratio · largest 4:5 crop from the source: 2419 × 3024

Output

2419 x 3024 vs. the required 2400 x 3000 — clears it with 19 and 24 pixels to spare, so an 8 × 10 print is available without upscaling
The same photo cropped to 3:2 first

Input

3:2 crop: 4032 × 2688 — plenty of pixels, but the ratio no longer matches 4:5 paper

Output

Re-cropping that 3:2 file to 4:5 yields 2149 × 2688 — now short of 2400 × 3000; the earlier ratio choice spent the print margin

That second example is the quiet lesson of print prep: every intermediate crop spends resolution that a later crop cannot get back. If a print is anywhere in the file's future, crop to the print's ratio from the original, once, and keep the full-resolution master untouched in the archive where it belongs.

The readout in the tool runs this arithmetic continuously — the crop's dimensions divided by 300, shown as the largest print it supports. Watching it while you frame is the difference between ordering the 8 × 10 with confidence and discovering the soft edges after the prints arrive.

Crop first, resize second, never the reverse

Two operations, one correct order. Cropping selects a rectangle of original pixels; resizing resamples pixels to a new count. Crop first and the resampler works from the maximum information your framing allows; resize first and you have already spent resolution that the crop then throws away wholesale. The export path in the tool is built in this order — crop is pixel-exact, resize is the optional final step:

// crop: pixel-exact copy of the chosen rectangle
dctx.drawImage(img,
  sx, sy, sw, sh,      // source rectangle (your frame)
  0, 0, sw, sh);       // destination, same size — no resampling

// optional resize, once, at the end
dctx.imageSmoothingQuality = 'high';
dctx.drawImage(cropped, 0, 0, targetW, targetH);

The `drawImage` overload with a source and destination rectangle is doing all the work in one call — nine arguments, the entire crop operation. When the destination dimensions equal the source rectangle's, the copy is exact; when they differ, the browser resamples with the quality setting you provide. Keeping those two phases separate is the whole discipline.

A third operation sometimes sneaks in and deserves expulsion: round-tripping through an intermediate format. Every JPG save is a lossy re-encode, and cropping done inside an editor that re-compresses on save quietly degrades the pixels you carefully preserved. Export PNG for the pixel-exact path, or JPG once at high quality when size matters — and never crop a crop of a crop when the original is still reachable.

Rotations, retinas, and other traps

The sharp edges of the crop world, in the order they bite people:

  • EXIF orientation lies. Phone photos store rotation as metadata; a portrait shot's raw file claims landscape dimensions. The tool applies orientation on load — your frame matches what every viewer sees — and bakes it into the export, so downstream tools stop disagreeing about which way is up.
  • Retina previews fib about sharpness. On a 2× display, the on-screen preview at '100%' shows half the real pixels. The export is always the full-resolution truth; judge softness on the exported file, or zoom the preview past 100% before deciding the image is unusable.
  • Sources smaller than the spec. Cropping cannot add pixels, and the tool refuses to pretend otherwise: if the target width exceeds what the crop contains, you get a clear warning rather than a silently stretched image. Upscale knowingly, on purpose, once — or reshoot, which the pixels will thank you for.
  • Off-grid crop edges. The frame snaps to whole pixels, because fractional edges produce interpolated boundaries — a one-pixel blur exactly where you wanted crispness. The snap is invisible until you need it, at which point it is priceless.
  • Extreme ratios from wrong-shaped sources. A 21:9 banner crop from a portrait photo is a thin strip asking to be a hero image. The tool will do it; composition will not forgive it.
  • Transparency survives, mostly. A cropped PNG with alpha keeps its alpha; note that JPG export flattens transparency to black or white depending on the encoder's mood, as it has since the beginning of the format.

Who crops all day

Social and marketing teams, first — the five-rectangle problem from the opening is their Tuesday, and ratio presets with recommended export widths turn a per-platform slog into a per-platform click. E-commerce catalog teams live the same life one layer deeper: every marketplace enforces its own ratio and minimum resolution, and the pixel-exact fields exist for exactly their spec sheets.

Photographers crop for print and for portfolio presentation — the 5:4 gallery standard, the 3:2 proof sheet, the quiet arithmetic of 300 DPI against paper sizes. Real-estate and interior shooters crop to listing standards while keeping rooms readable. And the enormous casual cohort: profile pictures, cover photos, event albums, the school fundraiser's poster — everyone crops eventually, which is why the operation deserves a fast, private, exact tool rather than a signup wall with handles attached.

The shape-adjacent family takes over where rectangles end: the Circle Image Cropper for avatars and round-Logo exports, Image Resizer for the second half of the crop-then-resize pipeline, and the Rounded Corners Image Tool for the softer geometric treatments.

This cropper versus iLoveIMG versus your phone

ApproachRatio presetsExact pixelsGuides & live previewFile handling
This pagePlatform set + customWidth/height fields with ratio lockThirds, golden, center + live outputNever uploaded
iLoveIMG cropStandard setNumericBasic overlayUploaded to their servers
Phone Photos appFreeform + few presetsNoMinimal gridLocal
Photoshop / GIMPAny, plus scripted batchesFull numeric controlFull — plus content-aware fillLocal, heavyweight
The field of cropping options from paste-and-go to full studio.

The phone's built-in cropper is fine for one avatar and has no concept of a spec sheet. The desktop editors are unmatched for batch work and content-aware fill-in, at the price of being desktop editors. The upload-based web croppers have the presets but want your file in exchange — a trade that ranges from harmless (a public sunset) to regrettable (unreleased product shots, family photos, anything with a face in it).

A browser-local cropper with presets, exact pixel control, and print arithmetic lands where most of the work actually is: frequent, quick, and occasionally holding images that should stay home. The absence of an upload path is not a limitation being spun as a feature — for this task it is the feature.

Nothing leaves the browser

The crop is decoded, framed, copied, and encoded entirely within the page. No upload endpoint receives the file; the network panel holds steady from load to download. For a tool whose input is routinely personal — family photos, client product shots, unreleased campaign material — that is the baseline requirement, not the premium tier.

There is a metadata wrinkle worth knowing even in a crop tool: the output is a fresh encode, which means the new file carries no EXIF by default — no GPS, no timestamp, no device model from the original. Cropping for publication quietly gets you the privacy benefit of metadata stripping, for free, as a side effect of the export path. If you need the metadata preserved for archival reasons, keep the original file untouched alongside the crop.

And the standard corollaries: no file-size quotas, no watermark diagonals, no 'free plan' counters, and full function offline once the page is cached. A rectangle selection tool with a business model is an odd thing, and this is not one.

Cropping questions, answered

What is the difference between cropping and resizing?

Cropping removes content — you choose a rectangle of the original pixels and discard the rest, keeping full resolution inside the frame. Resizing changes resolution — every pixel stays, but each one maps onto more or fewer screen dots. Crop to choose the picture, resize to fit the slot, and when both are needed, crop first so the resize works from the strongest possible source.

Which aspect ratio should I pick for social platforms?

Squares (1:1) still work everywhere and read as classic. Instagram portraits want 4:5, which occupies more vertical feed space than a square. Anything video-adjacent — thumbnails, covers, stories, reels — lives at 16:9 or its vertical twin 9:16. Classic photographic printing is 3:2 or 4:5. When in doubt, crop to the platform's ratio and export at its recommended pixel width; the presets in the tool encode all of this.

Does cropping reduce image quality?

Not per pixel. The crop is a pixel-exact copy of the region you chose — no resampling, no interpolation, nothing recomputed. What shrinks is the field of view: a 16:9 crop from a 4:3 photo keeps 75% of the original pixels, and a 1:1 crop keeps 75% of a landscape shot's area. Quality per pixel is untouched; quantity of picture is the trade.

Can I crop to exact pixel dimensions?

Yes — alongside the ratio presets there are width and height fields that accept exact pixels, with a lock that preserves your chosen ratio while you type. The crop rectangle snaps to whole pixels, because fractional pixel edges produce soft, interpolated boundaries on export.

How do I crop for a print?

Work backwards from the paper: multiply inches by 300 for the pixels you need at print quality — an 8 × 10 wants 2400 × 3000. Set the crop ratio to the paper's ratio (4:5 in that case), position the frame, and check the readout that shows the maximum print size your crop supports at 300 DPI. If it clears the paper size, you are done; if not, crop wider or accept a smaller print.

Why does my photo show up rotated or flipped?

Because of EXIF orientation — phones store the intended rotation as metadata rather than physically rotating the pixels. The cropper applies the orientation on load so what you frame is what viewers see everywhere, and the orientation is baked into the export so the final file is self-describing. The trade-off is that output dimensions may differ from the raw file's stored dimensions by a swap of width and height.

Does cropping here send my photo anywhere?

No. The crop preview and the export both run on the canvas inside your tab — the file is decoded locally, the crop is copied locally, the download is encoded locally. Family photos, client product shots, and unreleased campaign material stay on your machine throughout.

Next stops for your rectangles

Shape-family neighbors: the Circle Image Cropper for round avatars and transparent PNG outputs, Image Resizer for the resampling half of the pipeline, and the Rounded Corners Image Tool when the edges should soften without going full circle.

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.