Wall Spacing Calculator – Evenly Space Frames, Shelves & Decor

This calculator solves two layout problems on a wall. In the equal-gaps mode you enter the wall width, the number of items and the width of each, and it returns the gap between items, the centre-to-centre spacing and where the first item sits. In the second mode you enter a gap you like and it shows how many items fit. A third result gives the centre of the wall.

Wall Calculators

Wall Spacing Calculator

Evenly space frames, panels, shelves or decals on a wall — equal gaps, centre-to-centre distance, and the centre of the wall.

The formulas

Equal gaps for a set number of items

Gap = (wall width − n × item width) ÷ (n + 1)
Centre-to-centre spacing = gap + item width
First item centre = gap + item width ÷ 2

How many items fit

Items = round down ((wall width − gap) ÷ (item width + gap))

Centre of the wall

Wall centre = wall width ÷ 2

Where:

  • The wall width and item width are in inches in this tool.
  • n is the number of items.
  • The same gap appears at both ends and between every pair, which is why there are n + 1 gaps.

Worked examples

Example 1: three pictures on a 120 inch wall

Each picture is 20 in wide:

Gap = (120 − 3 × 20) ÷ 4 = 60 ÷ 4 = 15 in
Centre-to-centre = 15 + 20 = 35 in
First centre = 15 + 10 = 25 in
Centres at 25, 60 and 95 in

Check: 15 + 20 + 15 + 20 + 15 + 20 + 15 = 120.

Example 2: four shelves on a 96 inch wall

Each shelf is 12 in wide:

Gap = (96 − 4 × 12) ÷ 5 = 48 ÷ 5 = 9.6 in
Centre-to-centre = 9.6 + 12 = 21.6 in
First centre = 9.6 + 6 = 15.6 in
Centres at 15.6, 37.2, 58.8 and 80.4 in

Example 3: how many fit with a 6 inch gap

A 120 in wall and 20 in items:

Items = round down ((120 − 6) ÷ (20 + 6)) = round down (4.38) = 4

Four items need 4 × 20 + 5 × 6 = 110 in, so 10 in is left over. Five items would need 5 × 20 + 6 × 6 = 136 in, which is too much.

Example 4: a wider gap

A 144 in wall, items 30 in wide and an 8 in gap:

Items = round down ((144 − 8) ÷ (30 + 8)) = round down (3.58) = 3

Marking the wall

Mark the centres

Measure from the left end of the wall and mark the centre of each item. In example 1 the marks are at 25, 60 and 95 in. Hanging hardware often sits at the centre of the top edge, so centre marks are easier to use than edge marks.

Mark the edges

If you prefer to set the left edge of each item, add the gap to the previous right edge. In example 1 the left edges are at 15, 50 and 85 in.

Use the wall centre

For a symmetric group, the wall centre is the midpoint. In a 120 in wall it is 60 in, and with an odd number of equal items the middle item is centred on it.

Things to keep in mind

  • The wall width is the usable width. If the wall has a corner, a door frame or a window, measure between those limits.
  • Items of different widths need the total of their widths in place of n × item width.
  • A negative gap means the items do not fit on the wall. Reduce the number or the width.
  • Hanging height is a separate decision and this tool does not calculate it.

Frequently asked questions

How do I space pictures evenly on a wall?

Subtract the total width of the pictures from the wall width and divide by the number of pictures plus one. Three 20 in pictures on a 120 in wall leave a gap of 15 in.

What is centre-to-centre spacing?

It is the distance between the middles of two neighbouring items, which equals the gap plus the item width. In example 1 it is 35 in.

Why divide by n + 1?

Equal spacing puts a gap at each end of the wall as well as between the items. n items have n + 1 gaps.

How many items fit on a wall with a set gap?

Round down the wall width minus one gap, divided by the item width plus one gap. For 120 in, 20 in items and a 6 in gap, four fit.

Can I space items of different sizes?

Yes. Use the total of all item widths in place of n times the item width, and divide the leftover by n + 1 for equal gaps.

Does the tool use inches or centimetres?

It works in inches. Convert centimetres by dividing by 2.54 before you enter them.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 699