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
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
- Drop a photo on the box or tap to choose one. JPG, PNG, WebP and iPhone HEIC files all work.
- Set the border width with the slider and pick a colour.
- Press Process image. The Original and Result appear side by side, and the new pixel size is shown with the result.
- Change the settings and press Process image again if you want a different look.
- 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
| Photo | Border width | Border in pixels | Download size |
|---|---|---|---|
| 4000 × 3000 camera photo | 4% | 120 px | 4240 × 3240 |
| 3024 × 4032 phone portrait | 4% | 121 px | 3266 × 4274 |
| 1080 × 1080 square post | 5% | 54 px | 1188 × 1188 |
| 1080 × 1350 portrait post | 3% | 32 px | 1144 × 1414 |
| 4000 × 3000 camera photo | 25% | 750 px | 5500 × 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?
How big will my image be after adding a border?
Can I add a coloured border instead of white?
Does adding a border crop my photo?
Can I make a portrait photo square with a white border?
Why do two photos get different border sizes in pixels with the same setting?
Related guides
- How to Make a Round Profile Picture With a Transparent Background Make a round profile picture free: centre your face, crop the photo into a circle and save a transparent PNG. Sizes to use and how to add a coloured r...
- JPG vs PNG vs WebP: Which Image Format Should You Use? JPG for photos and forms, PNG for screenshots and logos, WebP for websites. Real size tests, transparency, browser support in 2026, plus HEIC and AVIF...
- How to Compress an Image to 20 KB, 50 KB or 100 KB Get a photo under 20 KB, 50 KB or 100 KB for forms, email or a website: pixel sizes that fit, the quality to use and which free tool to pick.