The spacing math
With a batten at each end, the outer edges sit flush with the wall’s ends, so the battens’ centers span the wall less one batten width:
On center = (wall width − batten width) ÷ (battens − 1)
Gap between battens = on center − batten width
Example: a 12 ft wall is 144 in. Seven 1 × 3 battens (2 1/2 in wide) leave 6 spaces: (144 − 2.5) ÷ 6 = 23.58 in, or 23 9/16 in on center, and 21 1/16 in of wall between each pair. Measure from the end of the wall to the first line, then mark every 23 9/16 in and check the last batten lands flush before you nail.
More battens make a busier wall: eight on the same wall are 20 3/16 in on center, nine are 17 11/16 in. Try counts in the calculator until the gap looks right.
Board and batten over panels or siding
Outdoors, or over panel siding, the battens also cover the panel joints, so the spacing follows the panels: LP’s panels are 4 ft wide, so a spacing that divides 48 in (12, 16 or 24 in on center) lands a batten on every joint, and LP’s trim instructions call for a nail at least every 24 in up each batten. Traditional board and batten siding puts wide boards with a gap and a batten over each gap; the board and batten calculator counts both kinds.
