Enter your wall, batten, and obstacle measurements to compare two equal-gap layouts and see which battens cross the marked area.
Counts positive overlap only. Touching an obstacle edge does not count.
Compare this count with the first layout before choosing the pattern.
This is the open edge-to-edge space between neighboring battens.
This is the fitted open space in the alternative layout.
These counts show geometric overlap only. They do not establish electrical clearance or permission to cover or move a fixture. Include any needed clearance in the marked obstacle area.
Table of contents
How to use our Board and Batten Spacing and Obstacle Calculator
- Measure the finished horizontal layout area and enter it as "Clear wall width" in inches.
- Measure the visible face of the actual trim piece and enter it as "Actual batten width." Do not use a nominal lumber size unless it matches the installed face.
- Choose a whole number for "Number of gaps to try first." A layout with 6 gaps has 7 battens, including the two end battens.
- From the same left-wall origin, measure and enter both edges of the area a batten should avoid. Include any clearance you want around a fixture in that marked area.
- Select "Calculate." Compare the crossing-batten counts first, then compare the clear gaps for the two layouts.
- A count of 0 means no batten covers a positive length of the marked area. A batten that only touches an obstacle edge does not count as crossing it.

Definitions
Actual batten width: The visible front-to-front width of one installed trim strip, measured in inches.
Clear gap: The open edge-to-edge space between adjacent battens. It is not center-to-center spacing.
Gap count: The number of open spaces between battens. A layout with n gaps has n + 1 battens.
Obstacle interval: The horizontal keep-clear area between the entered left and right obstacle edges.
Positive overlap: A batten covers some length of the obstacle interval. Exact edge contact has zero overlap and is not counted as crossing.
Common mistakes and quick fixes
Mistake: Using the nominal board size instead of the visible installed face width.
Fix: Measure the face of the actual batten after purchase or cutting. The calculation uses that visible width.
Mistake: Entering the number of battens as "Number of gaps to try first."
Fix: Enter the open spaces between battens. The first layout has one more batten than its gap count.
Mistake: Measuring one obstacle edge from the right side of the wall.
Fix: Measure both "Obstacle left edge from left wall" and "Obstacle right edge from left wall" from the same left-wall origin.
Mistake: Treating clear gap as center-to-center spacing.
Fix: The displayed clear gap is the open edge-to-edge space. Add the batten width to find the distance between neighboring left edges.
Mistake: Assuming a zero crossing count means it is safe to cover or move a fixture.
Fix: Treat the result as layout geometry only. Mark the full area that must remain clear and follow applicable electrical, building, and manufacturer requirements.
Limitations & Key Assumptions / Boundary Conditions
- This calculator assumes battens have one consistent visible width and are placed flush at both ends of a straight wall span.
- It compares only the entered number of gaps and one additional gap. It does not choose a preferred style, calculate trim length, or account for corners, doors, windows, uneven walls, or multiple obstacles.
- The obstacle is treated as a horizontal geometric keep-clear interval. Add your desired clearance to the measured interval before calculating.
- A zero crossing count is not electrical clearance, building-code approval, or permission to cover, alter, or move a fixture.
- Measurements and displayed gaps are in inches. Check the wall and obstacle edges from the same left-wall reference point.
Methodology
Layout math
The first layout uses the entered number of gaps. Its end battens sit flush with the wall ends, so it has one more batten than gaps. The alternative layout adds one gap and one batten.
pitch_a = (wall - batten) / gaps
gap_a = pitch_a - batten
The pitch is the distance between neighboring batten left edges. The clear gap is the open space after one batten width is removed.
pitch_b = (wall - batten) / (gaps + 1)
gap_b = pitch_b - batten
Obstacle test
For each batten, the calculator tests its left and right edges against the marked obstacle interval. A batten counts only if it overlaps the interval by a positive length.
batten_left < obstacle_end and batten_right > obstacle_start
Strict comparisons mean a batten that ends exactly at the obstacle start, or begins exactly at the obstacle end, does not count as crossing.
Worked example
For a 100 in wall, 4 in battens, and 4 gaps, the first-layout pitch is (100 - 4) / 4 = 24 in. Its clear gap is 24 - 4 = 20 in. With an obstacle from 24 in to 27 in, the batten beginning at 24 in overlaps the obstacle, so the first layout has 1 crossing batten. Adding one gap gives a pitch of 96 / 5 = 19.2 in and a clear gap of 15.2 in; no alternative-layout batten overlaps that 24 in to 27 in interval.