Skip to content
Free Tool Arena

How-To & Life · Guide · Audio, Video & Voice

How to crop images for web

Common aspect ratios (16:9, 4:5, 1:1), focal-point cropping, art-direction vs pixel-density scaling, and how to avoid upscaling artifacts.

Updated April 2026 · 6 min read

A great photo badly cropped looks amateur. A mediocre photo well cropped looks intentional. Cropping for the web is less about taste than about hitting specific aspect ratios — Instagram wants 1:1 or 4:5, Twitter wants 16:9, LinkedIn header wants 4:1, Pinterest wants 2:3, and your own site’s grid probably wants something else. Get the ratio wrong and the platform crops for you, usually badly. This guide covers the aspect ratios that matter, where to put the focal point, when to use smart-crop automation versus manual control, Retina 2x math, and the safe-zone rules that keep faces and key elements from being chopped off in unpredictable containers.

Advertisement

Aspect ratios by platform

Context                         Aspect   Recommended size
Instagram feed (square)         1:1      1080x1080
Instagram feed (portrait)       4:5      1080x1350
Instagram story / Reels         9:16     1080x1920
Twitter/X inline                16:9     1200x675
Twitter/X header                3:1      1500x500
Facebook link share             1.91:1   1200x630
Facebook cover                  16:9     820x312
LinkedIn post image             1.91:1   1200x628
LinkedIn cover                  4:1      1584x396
Pinterest pin                   2:3      1000x1500
YouTube thumbnail               16:9     1280x720
Open Graph default              1.91:1   1200x630
Blog hero                       16:9     1920x1080
Product card                    1:1      800x800

These change occasionally — platforms update their specs — but the underlying aspect ratios are stable. Crop to the ratio, then resize to the target pixels.

The rule of thirds as a starting point

Divide the frame into a 3×3 grid. Place key subjects on the intersections of the lines or along the lines themselves. Horizons go on the upper or lower third, not dead center. Eyes in a portrait go on the top horizontal third. This isn’t a rigid law — centered symmetry works for formal portraits and product shots — but it’s the default that reads as composed rather than snapshotted.

Focal point: where the eye lands first

When you crop, you’re choosing what the viewer sees first. For a portrait, that’s usually the face. For a product, the product. For a landscape, the specific feature (the mountain, the lighthouse) rather than the whole vista. If the viewer’s eye has to search the image to find the subject, the crop is wrong. Move the subject until it’s obvious.

For responsive images that may get cropped by the browser, set an explicit focal point with CSS:

img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: 50% 30%;  /* center horizontally,
                                 30% from top -> keeps faces */
}

The default object-position: 50% 50% crops equally from all sides, which cuts off heads in portraits. 50% 30% is a safer default for portrait-heavy content.

Smart crop vs manual

Smart-crop algorithms (face detection, saliency detection) pick a center for you. They work well for batches of similar photos — a catalog of product shots or a gallery of portraits. They fail on complex compositions: two faces at different depths, a face far from center, images where the “important” element is contextual (a hand holding a watch, not the face next to it).

For any hero image, marketing asset, or published thumbnail, crop manually. Five minutes per image beats the 15 minutes you spend fixing a smart-crop that cut off the CEO’s head.

Retina and pixel density

High-density displays (iPhone, MacBook Retina, most modern Android) render at 2x or 3x the logical pixel count. A 400px-wide card on a Retina screen is actually 800 physical pixels. Export your source at 2x the display size to keep it sharp.

Display size   Export at (2x)  Export at (3x)
200x200        400x400         600x600
400x400        800x800         1200x1200
800x600        1600x1200       2400x1800

3x export is overkill for most cases — the file size penalty isn’t worth the barely-perceptible sharpness gain. 2x is the sensible baseline. Serve different densities with srcset to avoid pushing the 2x file to people on 1x screens.

Safe zones for responsive layouts

Your hero image might render as 16:9 on desktop, 4:5 on mobile, and get cropped by a share card as 1.91:1. Plan for the worst-case crop. Keep critical elements (faces, text, logos, CTAs) in the central safe zone — roughly the middle 50% horizontally and 60% vertically. Anything outside that zone might get cropped on some platform.

Avoiding face cropping

The most common crop failure is chopping the top of a head. Phone cameras compose with headroom; social crops remove it. Rules: leave at least 10% of the frame above the top of the subject’s head. Never crop between the shoulders and the chin — cut at the shoulders or mid-chest. Never crop at a joint (knee, elbow, wrist) — it looks amputated; crop mid-limb instead.

Text in images

If your image includes overlaid text (a product label, a quote card, a CTA), keep that text inside the safe zone and leave 10–15% margin on all sides. Platforms penalize text-heavy images (Facebook used to reject ads with >20% text) and any crop will chop unprotected text first.

Cropping versus extending

If a photo is 4:3 and you need 16:9, you have two options: crop off the top and bottom (loses content) or extend left and right (requires either blurred-edge fill, solid background, or generative fill). For most editorial contexts, crop. For formal logos, product packaging, or when the full composition matters, extend with a matching color background rather than crop.

Square vs portrait on mobile feeds

Instagram’s feed used to be strictly square; now 4:5 portrait takes more vertical screen real estate and typically gets higher engagement. If you’re shooting for social, prefer portrait aspect ratios for content, square for grid consistency. For Pinterest, 2:3 is non-negotiable — 1:1 pins get buried.

Common mistakes

Cropping at joints. Cutting at the wrist, knee, or elbow makes subjects look amputated. Crop mid-forearm or mid-thigh instead.

Centering every subject. Dead-center composition is fine for symmetric products but looks static for portraits and landscapes. Use the rule of thirds as a default.

Ignoring headroom. Phone portraits have breathing room above the head; social crops remove it. Leave 10% above the hair line.

Exporting at 1x for Retina screens. Images look soft on modern phones and laptops. Export at 2x the display size.

Using one crop for all platforms. A 16:9 blog hero gets center-cropped to 1.91:1 by Open Graph, losing the top and bottom. Export a platform-specific variant or keep the subject in the safe zone.

Cropping before resizing. If you’re going to resize anyway, crop generously and let the resize step handle the final dimensions. You keep more flexibility.

Forgetting text safe margins. Overlaid text at the edge of the frame gets clipped on any aggressive crop. Margin 10–15% inside the frame.

Run the numbers

Crop to any aspect ratio with the image cropper. Pair with the image resizer to hit platform-specific pixel dimensions after the crop, and the image compressor to ship the final asset at a file size that doesn’t blow up page weight.

Advertisement

Found this useful?Email