How to think about spacing nest boxes
Spacing depends on the birds and the shape of the garden. A row of identical boxes is not always the best use of a fence.

Start with the kind of neighbour
Some birds defend nesting territories, while others are comfortable breeding near members of their own species. That difference makes a universal distance between all nest boxes unhelpful. A scheme for house sparrows should not automatically become the layout for several tit boxes.
Decide which species each box is intended for, then use the relevant siting guidance. If the garden is small, one well-positioned box may be a more useful starting point than filling every available support. Leaving room is not wasted effort.
Draw the garden rather than measuring a row
A simple sketch can reveal conflicts. Mark doors, frequently used paths, feeders, dense cover and potential box sites. Two positions several metres apart on the same bare fence may face directly towards one another, while a building or established vegetation may separate other positions more substantially.
Do not treat a screen of leaves as permission to crowd boxes together, but consider how birds will actually approach them. A layout that looks symmetrical from the patio may channel every arrival through one narrow gap. Garden appearance and nesting suitability are different design questions.
Avoid a feeding hub around the nests
Multiple boxes can tempt owners to place a large feeding station in the centre. That brings repeated traffic and cleaning activity into the nesting area. Keep supplementary feeding elsewhere and follow the current seasonal feeding advice.
The garden's capacity also includes food and shelter beyond what you provide. More boxes do not create more caterpillars, more cover or more territory. Retaining a varied living garden can be a better next project than adding another chamber to a crowded boundary.
Observe before expanding
After installing an initial box or small species-appropriate group, watch use over a season. Record which entrance is visited and whether birds regularly challenge one another nearby, without assuming every chase is caused by the boxes.
If you decide to alter the arrangement, do so only when the affected sites are inactive. Do not remove an occupied box to make a spacing diagram look better. In a school or community garden, put this constraint into the maintenance notes so somebody else does not rearrange the boxes during a tidy-up day.
A gradual scheme leaves room to learn about the site. It also makes future inspections and repairs manageable instead of creating a collection that nobody can maintain.