How-to

Resize a Photo to Any Shape Without Cropping

Turn a vertical photo into a widescreen wallpaper or a landscape shot into an Instagram Story — by letting AI extend the scene instead of cropping it. Includes a margin calculator for every common size.

A portrait illustration of a girl in a meadow expanded into a wider scene, next to outlines of 9:16, 1:1 and 16:9 frames

Every platform wants a different shape. Instagram Stories are tall, YouTube thumbnails are wide, Pinterest pins are tall-ish, LinkedIn banners are long and skinny. And the photo you want to use is never quite the right shape.

The usual fix is cropping — which means cutting off heads, feet, landmarks or the edges of your artwork. There’s a better way: instead of removing part of the picture, let AI add to it. This guide shows you how to extend a photo to any shape, with a calculator that tells you exactly how much to add.

Cropping vs. expanding

When you crop a vertical photo to fit a widescreen frame, you throw away most of it. When you expand it, you keep the whole original and the AI paints new scenery around it — more sky, more beach, more of the room — matching the style, lighting and perspective of what’s already there.

Magic Expand example: a portrait illustration of a girl in a meadow placed on a larger gray canvas, then expanded into a wider scene with more trees, flowers and her full dress
The gray area is the new space. Magic Expand fills it with matching trees, flowers and the rest of her dress.

Expanding is perfect when:

  • Your subject is cut off at the edge — a head, an elbow, a tower top.
  • You need a different shape for a Story, a thumbnail, a banner or a print frame.
  • You want breathing room around a product or portrait.
  • You need empty space for text, like a title above a photo.

How to expand a photo with Magic Expand

  1. Open Magic Expand and click Load an image.
  2. Set how much to add on each side — Left, Right, Top and Bottom. Use the switch to enter values in % or in px. The preview shows the new canvas as you type.
  3. Optionally, describe what should appear in the new space (“more sandy beach and calm sea”). Leave it blank to let the AI continue the scene on its own.
  4. Click Generate, compare, and download your favorite.

In % mode, Left and Right are measured as a percentage of your photo’s width, and Top and Bottom as a percentage of its height. That makes it easy to work out the numbers — or let the calculator below do it.

Margin calculator

How much should I expand?

Enter your photo’s size and pick the shape you need. The calculator centers your photo and splits the new space evenly.
Left–
Right–
Top–
Bottom–

Tip: the default size above (3024 × 4032) is a typical vertical phone photo. You’ll find your photo’s exact size by clicking it on Artly, or in your phone’s photo info.

Got your numbers? Expand your photo now. Try Magic Expand

Common shapes and how much to add

No calculator handy? These cover the most common jobs. Values are rounded; switch to px for exact sizes.

You haveYou needAdd
Vertical phone photo (3:4)Story or Reel (9:16)Top & Bottom 17% each
Vertical phone photo (3:4)Square post (1:1)Left & Right 17% each
Vertical phone photo (3:4)YouTube thumbnail (16:9)Left & Right 69% each
Horizontal phone photo (4:3)Square post (1:1)Top & Bottom 17% each
Horizontal phone photo (4:3)Instagram portrait (4:5)Top & Bottom 33% each
Camera photo (3:2)Pinterest pin (2:3)Top & Bottom 63% each
Square (1:1)Story (9:16)Top & Bottom 39% each
Square (1:1)Desktop wallpaper (16:9)Left & Right 39% each
Widescreen (16:9)X header (3:1)Left & Right 34% each
Widescreen (16:9)LinkedIn banner (4:1)Left & Right 63% each

For reference: Instagram feed posts are 1080 × 1350 (4:5) or 1080 × 1440 (3:4), Stories and Reels are 1080 × 1920 (9:16), Pinterest pins 1000 × 1500 (2:3), YouTube thumbnails 1280 × 720 (16:9), X headers 1500 × 500 and LinkedIn backgrounds 1584 × 396.

Tips for natural-looking results

  • You don’t have to center it. Want space above your subject for a title? Put the whole amount on Top. Want your subject on the left third of a banner? Add more on the Right.
  • Describe big expansions. For small additions the AI simply continues the scene. When most of the final picture will be new, a short description (“a wide sandy beach with palm trees”) keeps it on track.
  • Go in steps for extreme changes. Turning a tall photo into a very wide banner is a big leap. Expanding partway, then expanding the result again, often looks more natural.
  • Watch people at the edges. If someone is half cut off at the edge of your original, the AI will invent the rest of them. Check that it looks right — or remove them first with Magic Eraser.
  • Generate a few versions. Each run is different; pick the one where the new scenery fits best.
  • Finish up. Fine-tune the crop or colors in Basic Edit, and run the result through Upscale to HD if you need a large print or a sharp wallpaper.

FAQ

Does Magic Expand change my original photo?

Its job is to fill the new space around your photo, and the original stays where you placed it on the canvas. As with any AI edit, compare the result with your original before you use it.

Does it work on illustrations and AI art?

Yes — the example above is an illustration. Magic Expand continues the style of whatever you give it, from photos to watercolors.

Can I expand just one side?

Yes. Set the other sides to 0. This is handy for adding room for text, or for making space on one side of a banner.

What if the new area doesn’t look right?

Generate again, add or change the description, or expand by a smaller amount. You can also fix a specific spot afterwards with Magic Fill.

Is it free?

You can try it for free: new accounts get bonus credits at sign-up and a free trial of all the AI tools. Free results include a watermark; paid plans remove the watermark and include private generations. See pricing for details.

Next time a photo doesn’t fit, don’t crop it — expand it.

Try Magic Expand free

Extend an image beyond its edges to add space or change its shape.

Open Magic Expand →

Tools used in this guide