Social media growth services from EthicalSMM

Add Border to Image

Add a white or coloured border around a photo, sized as a percentage so it looks even on any picture, then download it.

Lower quality gives a smaller file.

Percentage of the shorter side, added on every edge.

Your file is ready

Download result
Original image
Original
Processed image Your result will appear here Base64 text is ready to download
Result

Was this tool helpful?

Thanks for the feedback!

This tool puts an even border around a photo, in white or any colour you pick. The border is sized as a percentage of the photo, so it looks the same on a small screenshot as on a 12 MP camera shot. Everything runs in your browser and nothing is uploaded.

The two settings

Border width runs from 1% to 25% and starts at 4%. It is a percentage of the shorter side of the photo, rounded to whole pixels, and the same width is added on every edge. Border colour is a colour picker that starts at white. Pick black for a gallery look, or match a brand colour; in most browsers the picker also lets you type a hex code.

The border is added outside the photo, so nothing is covered or cropped. The download is bigger than the original by twice the border width in each direction.

How to use it

  1. Drop a photo on the box or tap to choose one. JPG, PNG, WebP and iPhone HEIC files all work.
  2. Set the border width with the slider and pick a colour.
  3. Press Process image. The Original and Result appear side by side, and the new pixel size is shown with the result.
  4. Change the settings and press Process image again if you want a different look.
  5. Press Download result to save the framed photo.

How the size is worked out

border = round(shorter side × width% ÷ 100)
new width = width + 2 × border
new height = height + 2 × border
PhotoBorder widthBorder in pixelsDownload size
4000 × 3000 camera photo4%120 px4240 × 3240
3024 × 4032 phone portrait4%121 px3266 × 4274
1080 × 1080 square post5%54 px1188 × 1188
1080 × 1350 portrait post3%32 px1144 × 1414
4000 × 3000 camera photo25%750 px5500 × 4500

Take the first row. The shorter side is 3000 px and 4% of that is 120 px. Adding 120 px on the left and on the right makes the width 4000 + 240 = 4240 px, and doing the same at the top and bottom makes the height 3000 + 240 = 3240 px. On the phone portrait, 4% of 3024 is 120.96, which rounds to 121 px.

Things to know before you download

  • An equal border changes the shape slightly. The 4000 × 3000 photo has a 4:3 ratio (1.333), while 4240 × 3240 works out to about 1.309. If a print shop or website needs an exact size, resize afterwards with the Image Resizer, or check how large the new file will print with the Print Size Calculator.
  • The border is the same on all four sides, so it will not turn a portrait or landscape photo into a square. A square photo stays square.
  • If the image is a PNG with a transparent background, the border colour also fills in behind the transparent areas, so a cut-out logo ends up on a solid block of that colour.
  • A JPEG comes back as a JPG saved at 92% quality. PNG, WebP and other sources come back as a PNG. The file name ends in -ethicalfusion, so your original is kept as it was.
  • Press Process image again whenever you change the width or colour. The result does not update on its own.

Popular uses

A thin white border of 2 to 4% gives a clean, printed-photo look for social media posts. A thicker white border of 8 to 12% on a print leaves room to handle it or slide it into a mount. A black border suits black and white photos and art prints, and a border in a brand colour helps a set of product photos look consistent. When picking a colour, a light border makes a photo feel airy and a dark one makes colours look richer, so try both on the same picture. For soft rounded edges instead of a frame, use Round Image Corners.

Frequently asked questions

How do I add a white border to a photo?
Load the photo, leave Border colour on white, set Border width (4% is a good start), press Process image and download. The border is added on all four sides.
How big will my image be after adding a border?
Each dimension grows by twice the border. A 4000 × 3000 photo with a 4% border gets 120 px on every edge and downloads at 4240 × 3240.
Can I add a coloured border instead of white?
Yes. Click Border colour and choose any colour, or type a hex code if your browser's colour picker allows it.
Does adding a border crop my photo?
No. The border goes outside the original picture, so every pixel of the photo is kept.
Can I make a portrait photo square with a white border?
Not with this tool, because it adds the same width on every edge. A square photo stays square, while portrait and landscape photos keep roughly their original shape.
Why do two photos get different border sizes in pixels with the same setting?
The width is a percentage of each photo's shorter side, so a larger photo gets a thicker border in pixels. This keeps the border looking the same relative to the picture.

Related guides

Related tools

People also used

Embed this tool on your site

Paste it into any blog or website. Free, with a credit link.