How it works
Wainscoting looks right when the panels are even and the margins at the two ends match, so the page finds the most whole panels that fit the run and centres them. The stile field is the width of the rail between panels, and one stile finishes each end, so the count is one more than the panels. Height usually lands at chair-rail level, around a third of the wall or 32 to 36 inches, and a taller room can carry more. Cut all panels to the same height after you set the top rail.
Formula
length used = panels × (panel width + stile width) − stile width
margin each end = (wall length − length used) ÷ 2
stiles = panels + 1
Sources
Example
A 144 inch wall with 24 inch panels and 3.5 inch stiles: panels = round down (147.5 ÷ 27.5) = 5. Length used = 5 × 27.5 − 3.5 = 134, so the margin at each end is (144 − 134) ÷ 2 = 5 inches. Check: 5 + 134 + 5 = 144.
Frequently asked questions
How high should wainscoting be?
Around 32 to 36 inches, which is chair-rail height. A tall room can take more.
How wide should the panels be?
Commonly 18 to 30 inches. Keep them equal along the wall and avoid a narrow one at the end.
Do the end margins have to match?
Yes. Even ends look deliberate; a wide margin on one side looks like a mistake.
How many stiles do I need?
One more than the panel count, so both ends are finished.