Picture Hanging Spacing Calculator: Even Gaps
- Side margin
- cm
- Result
- Total span
- cm
- Result
- Wall width
- 300 cm
- You entered
This calculator works out the horizontal spacing between pictures (or any wall art) so the gaps between them are all equal, and the whole group sits centered on your wall. You enter the wall width, the total width of all your frames, and the number of pictures; you get back the exact gap width and the left/right margin so the arrangement is perfectly symmetrical.
Formula
The core formula is simple:
Gap = (Wall width – Total width of all frames) ÷ (Number of pictures + 1)
Where:
- Wall width (W) – the horizontal space you want the group to occupy, in cm or inches.
- Total frame width (F) – the sum of each frame’s outer width, in the same unit.
- Number of pictures (N) – how many frames you are hanging.
The “+1� accounts for the fact that with N pictures there are N+1 gaps: one on each end plus one between each pair. If you want the group to sit flush with the wall edges (no side margins), use N–1 instead of N+1, but that is rarely what people mean by “spacing.�
Worked Example
Using the defaults from the calculator: wall width 300 cm, total frame widths 150 cm, and 3 pictures.
- Subtract total frame width from wall width: 300 – 150 = 150 cm.
- Add 1 to the number of pictures: 3 + 1 = 4.
- Divide: 150 ÷ 4 = 37.5 cm.
So each gap (including the two side margins) is 37.5 cm. The total span of the group (from left edge of first frame to right edge of last) is 150 + (2 × 37.5) = 225 cm, leaving 37.5 cm on each side. The calculator shows the same result.
Why Equal Spacing Matters
Uneven gaps make a gallery wall look chaotic even if the frames themselves are aligned. The human eye picks up on inconsistent spacing quickly, and a group that is off-center feels unbalanced. Equal spacing creates a visual rhythm that ties the pieces together, whether you are hanging two large prints or a grid of six small photos. The same math applies to vertical spacing if you are stacking pictures, but for a single row or a grid, horizontal gaps are the main concern.
How to Measure Correctly
Accurate measurement is the difference between a plan that works and one that fails. Follow these steps:
- Measure the wall width where you intend to hang the group. If you want the group centered on a specific piece of furniture, measure that width instead.
- Measure each frame’s outer width (not the artwork or mat). If frames have irregular edges, measure at the widest point.
- Add all frame widths together. If you have 3 frames of 50 cm each, the total is 150 cm.
- Decide on the number of pictures. For a grid, count all frames; for a single row, that’s the row count.
- Use the formula to get the gap. Then mark the wall: start from the left edge, mark the first gap, then the first frame, then the next gap, and so on.
Always measure twice and mark lightly with a pencil. If you are hanging on drywall, use a stud finder to locate supports, but for light frames standard wall anchors work.
Common Mistakes and Misconceptions
The most frequent error is confusing the number of gaps with the number of pictures. With 3 pictures, there are 4 gaps if you include the ends. Some people use N–1 and then wonder why the group is not centered. Another mistake is mixing units – if you measure the wall in inches and the frames in centimeters, the formula fails. Convert everything to the same unit first.
A common misconception is that the gap should be a fixed number (like 10 cm) regardless of wall size. That only works if the wall is exactly the right width. The formula automatically adjusts the gap so the group always fits and stays centered.
Rounding is another trap. If you round the gap to a whole number, the group may be off-center by a few millimeters. The calculator gives two decimal places; use that precision for marking, then adjust if needed.
Limits of the Formula
This formula assumes all frames are the same width. If your frames vary, you need a more general approach: decide the gap first, then calculate the total span and center it manually. The formula also assumes the wall is flat and the frames are hung in a straight line. It does not account for picture hanging hardware (like D-rings or wire) that may affect the horizontal position – always hang the frame by its center point, not its edge.
For very large walls or irregular layouts, you might want to use a grid calculator or a layout tool that lets you visualize the arrangement. But for a simple row or a uniform grid, this formula is exact.
Frequently Asked Questions
How do I hang pictures with different widths?
If frames have different widths, the equal-gap formula still works: add all widths together, subtract from the wall width, and divide by (N+1). The gaps will be equal, but the frames themselves will be uneven – that is fine. The group remains centered because the total width is accounted for.
What if I want the pictures to touch each other?
Set the gap to zero. The formula becomes (Wall width – Total frame width) ÷ (N+1), which gives the side margins. For example, with a 300 cm wall and 150 cm of frames, the side margins are 37.5 cm each, and the frames touch in the middle.
Should I use the wall width or the space between two marks?
Use the wall width of the area you want to fill. If you want the group to sit under a sofa that is 200 cm wide, use 200 cm as the wall width, not the entire wall. This centers the group over the sofa.
How do I convert inches to centimeters?
Multiply inches by 2.54 to get centimeters. For example, 48 inches × 2.54 = 121.92 cm. Always convert before using the formula, not after.
What is the best gap size for a gallery wall?
There is no universal “best� – it depends on wall size and frame size. A common rule of thumb is 5–10 cm (2–4 inches) for small frames and 10–15 cm (4–6 inches) for large ones. But the formula ensures even spacing; you can adjust the wall width input to force a specific gap. For instance, if you want a 10 cm gap, set the wall width to (Total frame width + 10 × (N+1)) and use that as the wall width.
Does this work for vertical spacing too?
Yes, the same formula applies if you are stacking pictures vertically. Use the wall height instead of width, and the total frame heights instead of widths. The gap will be the vertical space between frames.
Related
Formula used
in w | Wall width | cm | 300 | 0 in fw | Total frame widths | cm | 150 | 0 in n | Number of pictures | - | 3 | 1 out gap | Gap between pictures | cm | (w - fw) / (n + 1) | 2 out margin | Side margin | cm | (w - fw) / (n + 1) | 2 out total_span | Total span | cm | fw + ((n - 1) * ((w - fw) / (n + 1))) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.