Frequently Asked Questions
Why are there always one more stile than panels?
Each panel needs a gap on both sides, and neighbouring panels share the gap between them. Four panels in a row have a gap at the left corner, three gaps between panels and a gap at the right corner, which makes five. That is why the formula multiplies the stile width by the panel count plus one, and why the first mark always equals one stile.
Should I measure the wall at the floor or at panel height?
At the height where the boxes will sit. Floors and baseboards often throw the measurement off by a fraction, and walls can lean or bow. Hook the tape at the corner and pull it level across at about the middle of the panel height. If the reading differs much from the floor measurement, use the panel-height reading in the page.
Does the stile width have to match my molding width?
No. The stile here is the visible gap of wall between boxes, not the molding itself. The page treats each box width as the full size of the frame, and its trim figure runs around that rectangle. Many people pick a stile that matches the reveal above the baseboard or below the chair rail so all the margins look the same.
Why does a fractional panel count give an error?
The equal-gap layout only makes sense with whole boxes, so the engine asks for a whole number of panels, 1 or more. Entering 2.6 returns a message instead of a result. If you are torn between two counts, run both, for example 3 panels gives boxes of about 42.67 inches on the default wall and 4 panels gives 31 inches, and pick the one that suits the room.
What does the on-center pitch actually measure?
It is the distance from any point on one box to the same point on the next, such as left edge to left edge or center to center. It always equals one box width plus one stile, so 35 inches on the default. Stepping that distance along a tape from the first mark is the quickest way to lay out every box.
Does the trim estimate cover a chair rail or baseboard?
No. The figure counts only the four sides of each picture-frame box, plus 10% for miter waste. A top cap, chair rail, baseboard or any backer board is extra and needs its own measurement. Work those out from the full wall length, since they usually run the whole width rather than stopping at each box.
How do I handle a wall with an outlet in the way?
Lay out the marks first and see where the outlet falls. If it lands inside a box, many people simply frame around it. If it cuts across a box edge, try one more or one fewer panel, or change the stile width slightly, and rerun the page until the outlet sits clear of every frame line.
Why does the page say my panels will not fit?
The stiles alone use up all or nearly all of the wall. If each box would come out under 2 inches wide, the engine stops and asks for fewer panels or narrower gaps. A 48 inch wall with 12 panels and 4 inch stiles triggers it. Reduce the panel count or the stile width until each box is a sensible size for the room.
Can I use this for a board and batten accent wall?
Yes, if you think of the battens as the stiles and the spaces between them as the panels. Enter the batten width as the stile width and the number of spaces as the panel count. The panel width result is then the space between battens. Ignore the picture-frame trim figure, because it assumes closed rectangles.
What if the left and right corners are not square?
Measure the wall length at the panel height and use that, since the boxes sit there. If a corner is badly out of plumb, the end gaps will look uneven top to bottom whatever you do. Some finishers make the end stiles slightly wider than the inner ones to hide it, which this page cannot model directly.
Can the first and last gaps differ from the stiles between panels?
Not on this page. It spaces every gap equally, including the two at the corners. If you want wider end margins, for example to leave room for a corner bead or a door casing, subtract the extra end width from the wall length first, run the page on what is left, and add the extra back to the first mark when laying out.
Four 31 inch boxes on a 12 foot wall
Out of the box the page lays out a 144 inch wall, which is 12 feet, with 4 picture-frame panels, 4 inch stiles and a panel height of 28 inches. Every panel box comes out 31 inches wide, the boxes repeat at a pitch of 35 inches on center, the first box starts 4 inches from the left end of the wall, and the trim estimate is 43.27 linear feet including a 10% allowance.
The idea behind the layout is simple. You want the same gap between the corner and the first box, between every pair of boxes and between the last box and the far corner. With 4 boxes there are 5 of those gaps. Five gaps of 4 inches use 20 inches of wall, and the rest of the 144 inches, split four ways, gives each box exactly 31 inches.
That is the whole calculation for width: wall length minus (number of panels plus one) times the stile width, all divided by the number of panels. The rest of this guide covers how each input moves the result, how to turn the answer into pencil marks, and where the trim figure comes from.
Working the equal-gap formula by hand
Write it out for the default. The number of gaps is 4 plus 1, so 5. The gaps take 5 times 4, which is 20 inches. Subtract that from the wall length and divide by 4 and you have 31 inches per box. Add one stile to one box and you get the on-center pitch of 35 inches, which is the distance from the left edge of one box to the left edge of the next, or from center to center.
As a check, add everything back together. Four boxes at 31 inches plus five gaps at 4 inches has to equal the wall, and four pitches of 35 inches plus one final 4 inch gap does exactly that, landing on 144 inches.
The same arithmetic holds for any wall. On an 86 inch wall with the other defaults, the page gives 16.5 inch boxes at a 20.5 inch pitch. On a 216 inch wall, 18 feet, it gives 49 inch boxes at a 53 inch pitch. Only the box width and pitch change. The first mark stays at 4 inches, because it is always one stile in from the corner.
Turning the result into tape marks
The page reports only the first left edge mark, but the rest follow from the pitch. Hook the tape on the left corner and mark the left edge of each box at the first mark plus multiples of the pitch. For the default that is 4, 39 and 74 inches, and then 35 inches further for the fourth box. Each right edge is the left edge plus 31, so 35, 70 and so on.
Laying out from one end with a single tape hook is more accurate than measuring each box separately. Small errors in individual cuts and marks stack up across a wall, but cumulative marks from one fixed point do not. Check your final mark by measuring back from the right corner: the last box should end one stile, 4 inches, short of it.
Marking the centerline of each box is a useful second check. Half of 31 is 15.5, so the first box center is at 19.5 inches and every later center is 35 inches beyond the one before. If outlets, switches or a window fall on a box edge, you will see it at this stage and can change the panel count or stile width before cutting any molding.
Panel count, stile width and wall length
Panel count has the biggest effect. On the 144 inch default, 3 panels gives boxes of about 42.67 inches at a 46.67 inch pitch, and 5 panels gives 24 inch boxes at a 28 inch pitch. Fewer, wider boxes suit long uninterrupted walls. More, narrower boxes tend to look better where furniture or openings break the wall up.
The panel count has to be a whole number of 1 or more. Typing 2.6 returns a message asking for a whole number of panels rather than a result.
Stile width changes the box width by the number of gaps it multiplies. Going from 4 inches to 6 inches on the default adds 2 inches to each of 5 gaps, so 10 inches of wall is used up and each box loses 2.5 inches, ending at 28.5 inches. A narrower 3.5 inch stile gives 31.625 inch boxes. Pick the stile to match the reveal you want between boxes, often the width of a rail or the spacing used on an adjacent wall, rather than as an afterthought.
Wall length is what you measure, so measure it at the height the boxes will sit, not at the floor. Walls are rarely perfectly straight or square, and a baseboard or chair rail can shorten the usable length at one end.
Odd fractions and how to round them
The page reports box widths to three decimal places, which is finer than any tape. Three panels on the default wall come out at 42.667 inches. On a tape that is a shade over 42 and 5/8 inches.
The safest way to handle a fraction is to round the box width and let the gaps absorb the difference. If you cut every box at 42 and 5/8, the total is a little short and you can split the leftover across the stiles by eye. Rounding the box up instead makes the boxes too long for the wall, and the error lands entirely in the last gap.
Another option is to change an input until the numbers come out clean. A 96 inch wall with 4 panels and 4 inch stiles gives 19 inch boxes at a 23 inch pitch, both whole numbers. Nudging the stile width by a quarter inch is often enough to turn an awkward fraction into an easy one, and nobody will see the difference across the room.
Where the 43.27 linear feet comes from
The trim figure treats every box as a rectangle of panel width by panel height, adds up the four sides of every box, and adds 10% for waste. On the default each box is 31 inches wide and 28 inches tall, so its frame uses two widths and two heights. Across all four boxes that comes to about 39.33 feet before waste, and 43.27 linear feet after the 10% allowance.
Panel height matters only here. Dropping the height from 28 to 20 inches leaves the box width at 31 inches but cuts the trim to 37.4 linear feet. The page does not check that the height fits under a chair rail or above a baseboard, so work that out from the wall itself.
The estimate is for picture-frame molding only. It does not include a chair rail or cap along the top, a baseboard, or any flat stock behind the boxes. The 10% covers ordinary miter offcuts. Molding comes in fixed lengths, so when buying, work out how many boxes you can get from each stick rather than dividing the total by the stick length. Short pieces left from long cuts are often too short for the next side.
Layouts the page refuses, and ones it should not
The engine refuses a layout that cannot fit. On a 48 inch wall with 12 panels and 4 inch stiles, the 13 gaps alone need more wall than exists, and on a 60 inch wall the same 12 panels would leave slivers well under an inch. In both cases the page stops and says that each box would be under 2 inches wide, suggesting fewer panels or narrower gaps.
Passing that check does not mean the layout looks right. A box only a few inches wide is technically allowed but rarely suits a wall. Treat any box narrower than about the stile width as a sign the panel count is too high. The inputs themselves are validated rather than adjusted: wall length and panel height must be above zero, the gap can be zero or more, and the panel count must be a whole number.
One panel is allowed, and is a useful check. On the default wall a single panel leaves one wide box with a 4 inch gap at each end, which is the right answer for a centered single frame.
Applying the layout to a real room
Measure every wall and run each one on the page separately. Walls that face each other look best with the same number of panels or at least the same stile width, even if the box widths differ a little. Where one wall is much longer, keeping the stile constant and changing the count usually gives boxes of similar proportion.
Walls with a door or window are best split into sections. Run the wall to the left of the opening as its own length, then the wall to the right, and treat the casing edge as the end of the wall. That keeps the gaps equal within each section and avoids a box crashing into the casing.
Before nailing anything, mark all the boxes in pencil, step back and look. The calculation gives equal spacing, but it cannot judge proportion. If the boxes look too tall or too wide for the room, change the count or the height now rather than after the first box is glued up.