Equal Spacing Layout

Evenly space balusters, pickets, studs, shelf pins, or layout marks in a run.

Run the calculator

Example

You enter

You get

Details, formula, and sources

N items of width w have N+1 equal gaps of (run - N x w)/(N+1) and a center-to-center pitch of gap + w. Solve for the count from a maximum gap (the smallest N with gap at or below the limit, e.g. the IRC 4-inch-sphere guard rule) or the gap from a desired count, with the mark positions (first-principles layout arithmetic).

N items of width w in a run R have N+1 equal gaps of gap = (R - N x w)/(N+1) and a center-to-center pitch of gap + w. Max-gap mode: smallest N with gap at or below gmax is N = ceil((R - gmax)/(w + gmax)). Item-center positions are measured from the start of the run.

Equal-spacing (baluster / picket / stud / division-point) layout - first-principles arithmetic; public domain.

Pure layout arithmetic, public; the run, item width, and gap limit or count are user-supplied.

Estimate. AHJ and licensed professional govern.

Field names used by the API: run_in, item_width_in, mode, max_gap_in, count, gap_in, center_to_center_in

Related tools