1. Home
  2. Images
  3. Fit Photo to Aspect Ratio

Fit Photo to Aspect Ratio

Change a photo to any aspect ratio without cutting anything off.

Runs in your browser · No upload
Method
Margin fill
Horizontal position
Vertical position

How to use

  1. Drop a photo on the page, click to choose one, or paste it with Ctrl+V.
  2. Choose the method. Add margins keeps the whole photo and adds space around it, while Crop keeps only the largest area that fits the ratio.
  3. Pick a ratio. If it is not in the list, choose Custom and enter the width and height numbers.
  4. For margins, fill them with a solid color, a blurred photo or transparency, set where the photo sits, and download.

The photo is processed in your browser and never sent to a server.

Add margins or crop

Method What it does Use it when
Add margins Keeps the photo as is and adds space only on the short side Nothing may be cut off (product shots, documents, group photos)
Crop Keeps the largest area of the photo that fits the ratio You need a full-frame picture with no margins

Adding margins does not scale the photo; only the canvas grows, so resolution is preserved. The canvas is always the smallest one that contains the photo.

Original Target ratio Method Result
1080 × 1350 1:1 Add margins 1350 × 1350 (135 px on each side)
1600 × 900 1:1 Add margins 1600 × 1600 (350 px top and bottom)
4000 × 3000 9:16 Add margins 4000 × 7111
1600 × 900 1:1 Crop 900 × 900
1000 × 1000 16:9 Crop 1000 × 563

When a ratio does not divide evenly, sizes are rounded to the nearest pixel, so you may see a one or two pixel difference. If the result would exceed 8,192 px on a side or about 16.7 million pixels, it is saved slightly smaller to fit browser limits.

Margin fill

  • Blurred photo: the same photo is enlarged and blurred behind the original. This is a common way to show landscape photos on vertical screens such as stories and shorts.
  • Solid color: white or a color that suits the photo. You can pick one from the picture with the image color picker.
  • Transparent: saves without a background as a PNG.

You can also choose where the photo sits (left, center, right and top, center, bottom). If you plan to add text in the margin below, place the photo at the top.

Choosing a ratio

Ratio Common use
1:1 Square feed posts, profiles
4:5 Portrait feed posts
9:16 Stories, shorts, reels
16:9 Video thumbnails, widescreen
3:2, 4:3 Regular camera photos

Recommended ratios change by platform, so check the service’s guidance before uploading. To change pixel dimensions use Resize Image, and to cut out part of a photo use Crop Image.

FAQ

Does it reduce image quality?

Adding margins does not scale the photo. Only JPG output is re-compressed, at 92% quality. Very large originals are scaled down to fit browser limits.

How do I post a photo to Instagram without cropping?

Use margins with 4:5 for portrait photos or 1:1 for a square feed, and nothing gets cut off. Landscape photos also show fully when fitted to 1:1 with margins.

Which format is saved?

JPG if the original is JPG, otherwise PNG. A transparent margin always saves as PNG.

Can I enter my own ratio?

Yes. Choose Custom and enter the width and height. Decimals like 1.91 to 1 work, and only values up to 1,000 are accepted.

Can I process several photos at once?

Photos are handled one at a time. To combine several photos into one, use Merge Images. The photo is processed in the browser only and never sent to a server.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.