Whether you are hanging picture frames across a living room wall, laying out pendant lights over a kitchen island, fitting shelf brackets, setting fence post bays, or nailing timber battens and rafters, getting every gap dead even is what separates a clean layout from an awkward leftover sliver at the end.
The key to even set-out is letting the spacing adjust slightly so a whole number of equal intervals divides your total length cleanly. The Chippy Tools Equal Spacing Calculator takes your Overall Length and Target Spacing, calculates the exact equal spacing, and generates a cumulative running mark-out list from 0—offline in metric or imperial on iOS and Android.
How to Use the Equal Spacing Calculator
The Equal Spacings calculator in Chippy Tools keeps set-out fast with two inputs:
- Enter your Overall Length: Measure the total span you want to divide equally in metric (mm, cm, m) or imperial (feet, inches, and fractions).
- Flush at both ends (
N − 1gaps): Subtract one member width from the wall length (L − W) so the first piece starts at0and the last piece finishes flush atL. - Equal gap at both ends (
N + 1gaps): Add one item width to the clear opening (L + W) to generate the repeating pitch directly—or use the Baluster Spacing Calculator when you want to enter opening length, member width, and a maximum gap separately.
- Flush at both ends (
- Enter your Target Spacing: Enter the approximate repeating spacing you want. If your items have a width that matters (boards, slats, panels, or frames), include one item width plus your desired gap—for example,
90 mmfor an85 mmboard with a5 mmgap. For centre-to-centre points (lights, hooks, post centres), enter the desired centre-to-centre distance directly. - Tap Calculate: Chippy Tools divides the overall length into the nearest whole number of equal intervals, displays the exact adjusted Spacing, and populates the Num. / Spacing table of cumulative marks starting at
0. - Mark out from one end (or tap Speak Measurements): Hook your tape at
0and mark every cumulative measurement in one pass, or tap Speak Measurements to have the app read each mark aloud while your hands stay on your tape and pencil.
Quick Reference Table: The 4 Equal Spacing Formulas
Before calculating by hand or choosing how to measure your overall length, identify which end condition your layout needs. Leaving an equal gap at both ends creates one extra space (N + 1), while starting and finishing flush at both ends creates one fewer space (N − 1):
| Layout Mode | End Condition | Number of Gaps for N Items | Clear Edge-to-Edge Gap Formula | Centre-to-Centre Pitch Formula | Typical Applications |
|---|---|---|---|---|---|
| 1. Gap at Both Ends (Inside Opening) | Equal space before 1st item & after last item | N + 1 gaps | [L − (N × W)] ÷ (N + 1) | (L + W) ÷ (N + 1) | Picture frames, vertical bookcase shelves, pergola rafters, deck balusters, pickets between posts |
2. Flush at Both Ends (Outside-to-Outside, N ≥ 2) | 1st and last items sit flush at 0 and L | N − 1 gaps | [L − (N × W)] ÷ (N − 1) | (L − W) ÷ (N − 1) | Acoustic timber slat walls, board-and-batten, wainscoting stiles, outer shelf brackets, end-to-end fence posts |
| 3. Centre-to-Centre Only (Zero Width / Points) | Equal spaces from wall ends to point centres | N + 1 spaces | L ÷ (N + 1) (or L ÷ N with S/2 end margins) | L ÷ (N + 1) (or L ÷ N) | Pendant lights, recessed downlights, wall hooks, garden plants, anchor bolts, post centres |
| 4. Max-Gap Code Limit (Safety Barrier Mode) | Gap must never exceed G_max (e.g., 100 mm / 4" or 125 mm) | N + 1 gaps | N = ceil[(L − G_max) ÷ (W + G_max)] | (L + W) ÷ (N + 1) | Stair & deck balustrades, pool fencing (use Baluster Spacing Calculator) |
(Above: L = Total wall, shelf, or opening length; W = Actual width/thickness of one item; N = Number of items.)
Worked Examples: Everyday Home & Carpentry Layouts
Example 1: Hanging Picture Frames on a Wall — Gap at Both Ends (Imperial)
Suppose you want to hang 3 framed prints, each 16 in wide, evenly across an 8 ft (96 in) wall with the same clear space between the frames and at both ends of the wall (Mode 1: N + 1 gaps):
- Count the gaps: 3 frames with equal end margins create
3 + 1 = 4 equal gaps. - Deduct total frame width:
3 × 16 in = 48 in. - Divide remaining wall space by 4 gaps:
(96 in − 48 in) ÷ 4 = 48 ÷ 4= 12 in clear gap between frames and from each wall corner. - Centre-to-centre pitch:
16 in + 12 in = 28 in(also(96 + 16) ÷ 4 = 28 in). - Nail / hanger centreline marks from the left edge: Start at
12 in + 8 in (half a frame) = 20 in, then step by28 in→ 20 in, 48 in, and 76 in.
Example 2: Pendant & Recessed Lighting — Centre-to-Centre Points (Metric & Imperial)
Suppose you are hanging 4 pendant lights along a 3,000 mm (10 ft / 120 in) kitchen island with equal spacing from each end (Mode 3: N + 1 equal spaces):
- Count the spaces: 4 lights with equal end margins create
4 + 1 = 5 equal spaces. - Divide total length by 5:
3,000 ÷ 5= 600 mm (120 in ÷ 5= 24 in). - Fixture centreline marks from one end: 600 mm, 1,200 mm, 1,800 mm, and 2,400 mm (
24", 48", 72", and 96"). - In Chippy Tools: Enter Overall Length
3,000 mm(120") and Target Spacing600 mm(24"). Marks2through5in the table are your exact fixture centres.
Tip for recessed ceiling downlights: If you prefer the common half-space end margin (S/2 from each wall and S between lights), divide L ÷ N instead: for 4 lights over 3,000 mm, S = 750 mm (30"), placing centres at 375 mm, 1,125 mm, 1,875 mm, and 2,625 mm (15", 45", 75", and 105").
Example 3: Shelf Brackets & Vertical Bookcase Shelves (Metric & Imperial)
Shelf layouts use either Mode 2 (N − 1) across a bracket span or Mode 1 (N + 1) inside a cabinet:
- Horizontal shelf brackets (
N − 1intervals): On a 1,800 mm (72 in) wall shelf with outer brackets inset 150 mm (6 in) from each end, the span between outer brackets is1,800 − 300 = 1,500 mm(60 in). Enter Overall Length1,500 mm(60") and Target Spacing500 mm(20") in Chippy Tools → 3 equal bays (4 brackets total) at 500 mm (20") centres. Add the end inset to mark the wall at 150 mm, 650 mm, 1,150 mm, and 1,650 mm (6", 26", 46", and 66"). - Vertical bookcase or cupboard shelves (
N + 1compartments): Fitting 4 shelves (18 mmthick) inside a 1,600 mm tall cabinet opening creates4 + 1 = 5equal compartments. Clear compartment height =[1,600 − (4 × 18)] ÷ 5 = 1,528 ÷ 5= 305.6 mm (shelf-to-shelf pitch305.6 + 18 = 323.6 mm).
Example 4: Timber Slat Feature Wall — Flush at Both Ends (Metric)
Suppose you are building an acoustic timber slat wall across a 3,400 mm hallway using 42 mm wide dressed timber battens, aiming for roughly 18 mm gaps with a batten sitting flush against both end walls (Mode 2: N − 1 gaps):
- Set your Chippy Tools inputs:
- Leading-edge span (subtract one batten width so the last batten lands flush at
3,400 mm): Overall Length =3,400 − 42= 3,358 mm. - Repeating module (
W + Target Gap): Target Spacing =42 + 18= 60 mm.
- Leading-edge span (subtract one batten width so the last batten lands flush at
- Calculate the equal intervals:
3,358 ÷ 60 = 55.97→ rounds to 56 equal intervals (N = 56 + 1 = 57 battens, with56gaps). - Read the exact spacing and gap:
- Exact running pitch =
3,358 ÷ 56= 59.96 mm (59.964 mm). - Exact clear gap =
59.964 − 42= 17.96 mm (visually indistinguishable from 18 mm, and the 57th batten finishes dead flush at3,400 mm). - Leading-edge tape marks from
0: 0 mm, 59.96 mm, 119.93 mm, 179.89 mm … 3,358 mm.
- Exact running pitch =
Example 5: Exposed Pergola Rafters Between Beams — Gap at Both Ends (Imperial)
Suppose you have a 14 ft (168 in) clear opening between two perimeter beams and want to space 7 exposed 2×6 rafters (actual thickness 1-1/2 in) evenly across the opening with an equal space at both ends (Mode 1: N + 1 gaps):
- Count the gaps: 7 rafters inside an opening create
7 + 1 = 8 equal gaps. - Deduct total rafter thickness:
7 × 1.5 in = 10.5 in(always measure actual thickness, not nominal lumber size). - Divide remaining opening by 8 gaps:
(168 in − 10.5 in) ÷ 8 = 157.5 ÷ 8= 19.6875 in = 19-11/16 inches clear gap between rafters. - Centre-to-centre layout pitch:
19.6875 in + 1.5 in = 21.1875 in(21-3/16" OC). In Chippy Tools, entering Overall Length169-1/2"(L + W) and Target Spacing21"returns the exact21-3/16"repeating pitch across 8 equal intervals.
Example 6: Dividing a Boundary Fence into Equal Post Bays (Metric)
Standard timber fence rails commonly span up to 2,400 mm (or 2,700 mm). If your boundary measures 28.0 metres (28,000 mm):
- Enter Overall Length
28,000 mmand Target Spacing2,400 mmin Chippy Tools. 28,000 ÷ 2,400 = 11.67→ rounds to 12 equal bays (requiring 13 posts including both end posts, Mode 2:N − 1bays).- Exact post centre-to-centre spacing =
28,000 ÷ 12= 2,333.33 mm (2.33 m) per bay. Every panel is identical, with no short offcut bay at the back corner.
Why Use Running Tape Marks Instead of a Spacer Block?
Even when you calculate your gap to the nearest fraction of a millimetre, stepping a fixed packer block from piece to piece has two hidden traps:
- Material widths vary slightly: Dressed timber battens, pickets, and even picture frames can vary by ±0.5 mm to 1.0 mm. If battens average
42.4 mminstead of42.0 mm, after 50 pieces your layout has crept 20 mm too wide and the final piece will not fit. - Pressure and pencil drift: Pressing harder on a spacer block on some pieces than others introduces cumulative creep down the run.
Reading the cumulative running measurements directly from the Chippy Tools table (or using Speak Measurements hands-free) with your tape measure hooked at 0 anchors every mark to the true datum—absorbing tiny material variations in the adjacent gaps so your layout stays square from start to finish.
Related Calculators
- Baluster Spacing Calculator: Dedicated calculator for deck and stair balustrades with maximum legal gap enforcement (100 mm / 4" or 125 mm sphere rule).
- Running Measurements Calculator: Generate up to 100 cumulative tape marks from any starting offset and spacing interval, with spoken audio readout.
- Fence Picket Calculator: Configured specifically for vertical picket fences, privacy fences, and horizontal slat panels.
- Wainscoting Calculator: Calculate stile and raised/recessed panel widths around walls, doors, and windows.
- Decking Calculator: Estimate decking board counts, board gaps, joists, bearers, and fixings.
