Black Friday · 30% Off Claim 30% Off

Equal Spacing Calculator

Divide any wall, shelf, ceiling, deck, or fence run into even spaces in seconds. Enter your overall length and target spacing to get exact equal spacing and cumulative tape marks in metric or imperial.

375,000+

downloads

4.6

2,788 ratings · App Store

3.9

217 ratings · Google Play

App screenshot App screenshot

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:

  1. 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 − 1 gaps): Subtract one member width from the wall length (L − W) so the first piece starts at 0 and the last piece finishes flush at L.
    • Equal gap at both ends (N + 1 gaps): 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.
  2. 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 mm for an 85 mm board with a 5 mm gap. For centre-to-centre points (lights, hooks, post centres), enter the desired centre-to-centre distance directly.
  3. 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.
  4. Mark out from one end (or tap Speak Measurements): Hook your tape at 0 and 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 ModeEnd ConditionNumber of Gaps for N ItemsClear Edge-to-Edge Gap FormulaCentre-to-Centre Pitch FormulaTypical Applications
1. Gap at Both Ends (Inside Opening)Equal space before 1st item & after last itemN + 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 LN − 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 centresN + 1 spacesL ÷ (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 gapsN = 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.)

Space Any Layout Evenly in Seconds

Download Chippy Tools on iOS or Android to calculate equal spacing and cumulative running tape marks for walls, shelves, lights, fences, and framing—100% offline.

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):

  1. Count the gaps: 3 frames with equal end margins create 3 + 1 = 4 equal gaps.
  2. Deduct total frame width: 3 × 16 in = 48 in.
  3. 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.
  4. Centre-to-centre pitch: 16 in + 12 in = 28 in (also (96 + 16) ÷ 4 = 28 in).
  5. Nail / hanger centreline marks from the left edge: Start at 12 in + 8 in (half a frame) = 20 in, then step by 28 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):

  1. Count the spaces: 4 lights with equal end margins create 4 + 1 = 5 equal spaces.
  2. Divide total length by 5: 3,000 ÷ 5 = 600 mm (120 in ÷ 5 = 24 in).
  3. Fixture centreline marks from one end: 600 mm, 1,200 mm, 1,800 mm, and 2,400 mm (24", 48", 72", and 96").
  4. In Chippy Tools: Enter Overall Length 3,000 mm (120") and Target Spacing 600 mm (24"). Marks 2 through 5 in 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 − 1 intervals): 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 is 1,800 − 300 = 1,500 mm (60 in). Enter Overall Length 1,500 mm (60") and Target Spacing 500 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 + 1 compartments): Fitting 4 shelves (18 mm thick) inside a 1,600 mm tall cabinet opening creates 4 + 1 = 5 equal compartments. Clear compartment height = [1,600 − (4 × 18)] ÷ 5 = 1,528 ÷ 5 = 305.6 mm (shelf-to-shelf pitch 305.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):

  1. 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.
  2. Calculate the equal intervals: 3,358 ÷ 60 = 55.97 → rounds to 56 equal intervals (N = 56 + 1 = 57 battens, with 56 gaps).
  3. 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 at 3,400 mm).
    • Leading-edge tape marks from 0: 0 mm, 59.96 mm, 119.93 mm, 179.89 mm … 3,358 mm.

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):

  1. Count the gaps: 7 rafters inside an opening create 7 + 1 = 8 equal gaps.
  2. Deduct total rafter thickness: 7 × 1.5 in = 10.5 in (always measure actual thickness, not nominal lumber size).
  3. 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.
  4. Centre-to-centre layout pitch: 19.6875 in + 1.5 in = 21.1875 in (21-3/16" OC). In Chippy Tools, entering Overall Length 169-1/2" (L + W) and Target Spacing 21" returns the exact 21-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):

  1. Enter Overall Length 28,000 mm and Target Spacing 2,400 mm in Chippy Tools.
  2. 28,000 ÷ 2,400 = 11.67 → rounds to 12 equal bays (requiring 13 posts including both end posts, Mode 2: N − 1 bays).
  3. 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:

  1. 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 mm instead of 42.0 mm, after 50 pieces your layout has crept 20 mm too wide and the final piece will not fit.
  2. 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.

  • 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.

Guides for your project

Work through the calculations, then check the requirements for your location and approved design.

Try the Equal Spacing Calculator

Download Chippy Tools and start calculating in seconds. Works offline, supports metric and imperial.

Frequently Asked Questions

Need help? Contact us

What is the formula for calculating equal spacing?
The formula depends on your end condition—whether you want an equal gap at both ends or the outer items flush at both ends:
  • Equal gap at both ends (N + 1 gaps): Gap = [L − (N × W)] ÷ (N + 1) and Pitch = (L + W) ÷ (N + 1). Use this for picture frames on a wall, vertical bookcase shelves, pergola rafters, or balusters between posts.
  • Flush at both ends (N − 1 gaps, for N ≥ 2): Gap = [L − (N × W)] ÷ (N − 1) and Pitch = (L − W) ÷ (N − 1). Use this for slat feature walls, wainscoting stiles, or outer shelf brackets fixed at the ends of a span.
  • Centre-to-centre points only (zero width, N + 1 spaces): Spacing = L ÷ (N + 1) for equal end margins (or L ÷ N for recessed lights using a half-space margin at each wall).
How do I use the Equal Spacing Calculator in Chippy Tools?
Open Equal Spacings in Chippy Tools and enter two measurements: your Overall Length and your Target Spacing. When your objects have a noticeable width (such as boards, slats, or frames), include one object width plus your desired gap in Target Spacing (for example, 90 mm for an 85 mm board with a 5 mm gap). Tap Calculate to see the exact adjusted equal spacing and a full list of cumulative running marks starting at 0, or tap Speak Measurements to hear them read aloud hands-free.
How do I space pictures, lights, or shelves evenly on a wall?
Choose the end condition that fits the job. For picture frames or vertical bookcase shelves with equal space at both ends, use N + 1 gaps: three 16" frames on a 96" wall leave (96 − 48) ÷ 4 = 12" gaps, placing hanger centres at 20", 48", and 76". For pendant lights across a 3,000 mm island, 4 lights create 5 equal spaces of 600 mm. For horizontal shelf brackets inset from each end, subtract both end insets first and divide the remaining span into equal bays.
Why should I use cumulative running marks instead of a spacer block?
If a spacer block is just 0.8 mm (1/32") off, or if boards vary in width by ±1 mm, stepping a spacer block along a 4-metre run compounds that error across 40 pieces—leaving the last piece 32 mm out of position or creating a wedge-shaped gap at the end. Hooking your tape at 0 and marking cumulative positions keeps every piece anchored to the true layout.
What is the difference between the Equal Spacing Calculator and the Baluster Spacing Calculator?
The Equal Spacing Calculator divides an overall length by a target repeating spacing into the nearest whole number of equal intervals—ideal for general layouts like picture frames, lighting, shelves, feature-wall slats, rafters, and fence post bays. The Baluster Spacing Calculator takes clear opening width, baluster width, and a strict building-code maximum clear gap (such as 100 mm / 4" or 125 mm) so gaps never exceed the legal limit.
Does the Equal Spacing Calculator support metric and imperial measurements?
Yes. You can switch between metric (millimetres, centimetres, metres) and imperial (feet, inches, and fractions) in Chippy Tools. Enter your overall length and target spacing in your preferred units to get exact adjusted spacing, cumulative running marks, and spoken measurements—100% offline on iOS and Android.