Photo border calculator

Plan a clean white frame around a photo. Enter the photo size and the border you want, and see the final size and the exact border on every side, including the uneven borders needed to fit 1:1, 4:5 or 9:16.

Free, no sign-upRuns in your browser
Photo
Border
Style
Final size–
Top–
Right–
Bottom–
Left–
Aspect ratio–
How to use it

Calculate a photo border in three steps.

  1. Enter the photo size

    Type the width and height of your photo in pixels. You can find them in your photo app's info panel.

  2. Choose the border

    Set the border in pixels or as a percentage of the photo's short side, so it scales with any resolution.

  3. Pick a style

    Even gives the same border all round, Gallery adds a deeper bottom edge, and Fit to format adds just enough border to reach 1:1, 4:5 or 9:16.

How it works

How photo borders are worked out.

An even border adds the same amount to every side, so the photo grows by twice the border in each direction. A 3,000 × 2,000 px photo with a 100 px border becomes 3,200 × 2,200 px.

A gallery border copies the look of a mounted print: the sides and top match, and the bottom is deeper, often twice as deep. The extra space at the bottom makes the photo look balanced rather than sinking in the frame.

Fit to format is for posting without cropping. The calculator first adds your minimum border to every side, then finds the smallest 1:1, 4:5 or 9:16 size that holds it and shares the extra space equally on both sides. The same 3,000 × 2,000 px photo with a 100 px minimum fits a 4:5 frame of 3,200 × 4,000 px: 100 px left and right, and 1,000 px above and below.

Setting the border as a percentage of the short side keeps it looking the same whether you work on a full-size file or a 1080 px export.

SnapLayout

Make the whole collage in SnapLayout.

SnapLayout is a collage and carousel app for iPhone. Pick a layout, add your photos and export at the exact size for Instagram, TikTok or Facebook.

Download on the App Store
App Store
4.5
Read reviews →

Frequently asked questions

It depends on the look you want. Around 2–5% of the short side gives a thin, modern edge; 8–10% looks more like a gallery mount. Try a few values and watch the preview.
Choose Fit to format and pick 4:5 or 1:1. The calculator tells you the final size and the border on each side so the whole photo fits Instagram's shape with a white frame around it.
Framers often leave more space under a print. The photo then sits slightly above the visual centre, which looks more balanced on a wall or a screen.
Yes. It is free, needs no account and runs entirely in your browser.