A merged image with no gaps can look like one confusing picture, especially when the photos have similar colours. A small, even space between them fixes that instantly and makes the result look designed rather than pasted together. This guide shows how to add space between images when you merge them, how wide the gap should be, which colours work, and when it’s better to skip spacing altogether.
The easiest way is to merge pictures horizontally online with the spacing slider, which adds a perfectly even gap of 0 to 200 pixels between every image.

Why Spacing Makes Such a Difference
Our eyes group things that touch. When two photos meet with no gap, the edge between them becomes a visual seam, and if both have, say, a blue sky, the brain briefly reads them as one scene. A gap separates them clearly. Designers call this white space, and it’s one of the cheapest ways to make any layout look more professional.
How to Add Space Between Images, Step by Step
- Open the horizontal merger (or the vertical one for stacks) and add your images.
- Tick Make all images the same height so the gaps line up.
- Move the Spacing slider. The preview updates as you go.
- Pick a Background colour. This is the colour of the gaps and any padding.
- Choose Transparent instead if the image will sit on a web page, and save as PNG or WebP.
- Download and check it at actual size.
The same options work in our vertical image merger, where the gap appears between stacked images.
How Wide Should the Gap Be?
| Gap | Look | Good for |
|---|---|---|
| 0 px | Seamless, one continuous image | Panoramas, comic strips, long screenshots |
| 2–6 px | A fine dividing line | Before-and-after, side-by-side comparisons |
| 10–20 px | Clean gallery look | Collages, banners, product rows |
| 30–60 px | Airy, magazine style | Portfolios, prints with lots of white |
| 60 px and more | Each image stands alone | Rarely needed; can look disconnected |
A useful rule: make the gap about 1–2% of the final image width. For a 2,000 px wide merge, that’s 20–40 px. Gaps that are too small for the image size disappear when the picture is shown smaller on a phone.
Choosing the Gap Colour
- White: clean and classic. Works with bright photos and on white web pages.
- Black: dramatic and modern. Great for night shots, moody portraits and dark-mode sites.
- A brand colour: ties a banner or social graphic to your identity. Keep it subtle.
- Transparent: the gap shows whatever is behind the image. Ideal for websites and presentations with coloured backgrounds. Note that JPG doesn’t support transparency, so it turns white.
One trick: pick a colour already present in the photos, such as a dark grey from the shadows or a cream from the walls. It looks intentional rather than added on.
Adding a Border Around the Whole Image
Spacing usually goes between images. If you also want a frame around the outside, there are two easy approaches:
- Use padding: some tools add the background colour around the edges as well as between images, which gives an instant frame.
- Merge again: place the finished merge on a slightly larger plain canvas in any editor, or in Paint with Ctrl+E to enlarge the canvas and the image centred.
Keep the outer border the same width as the inner gaps, or slightly larger. A thinner outer border than inner gap looks unbalanced.
Adding a Line Between Two Photos
For a simple before-and-after, a fine 4–6 px white or black line between two photos is often all you need. It separates them without distracting from the comparison. If the two photos are different sizes, see how to merge images of different heights first so the line runs the full length.
When to Skip Spacing
- Panoramas and continuous scenes, where the whole point is that it looks seamless.
- Long screenshots and chat histories, where gaps break the reading flow.
- Webtoon and comic strips that already have their own panel gutters.
Doing It Manually
In Paint or similar editors you leave extra canvas between images and fill it with the bucket tool. It works, but keeping every gap identical is fiddly, and transparency isn’t possible in Paint. Our Paint side-by-side guide covers the manual method if you prefer it.
Spacing Mistakes to Avoid
- Uneven gaps, the clearest sign of a hand-made layout.
- Bright white gaps on a dark website, which look like holes.
- Choosing transparent but saving as JPG, which fills the gaps with white.
- Huge gaps on a small image, so the photos look lost.
Frequently Asked Questions
How do I add space between images when merging?
Use the spacing slider in the merger, pick a gap size from 0 to 200 pixels and choose a background colour for the gap.
What is a good gap size between photos?
About 1 to 2 percent of the final width. For a 2,000 pixel image, 20 to 40 pixels works well.
Can the space between images be transparent?
Yes. Choose a transparent background and save as PNG or WebP; JPG turns transparency white.
How do I add a border between two photos?
Set a small spacing of 4 to 6 pixels with a white or black background.
When should I not add spacing?
For panoramas, long screenshots and comic strips that should read as one continuous image.
Small Gap, Big Difference
Even spacing is the simplest upgrade you can make to a merged image. Choose a gap around 1–2% of the width, match its colour to your photos or page, and keep it consistent. Try different gaps live with our free image merger with spacing control and download the one that looks best.