How to use this calculator
- Pick a layout. Chair rail gives one row of boxes under a chair rail. Full wall gives tall boxes up to the ceiling. 2 rows puts a short box under a tall one.
- Measure the width. Measure the wall from corner to corner, at the top and at the bottom of the boxes. Use the smaller number.
- Measure the height. Under a chair rail, measure from the top of the baseboard to the bottom of the rail. On a full wall, measure to the ceiling, or to the bottom of the crown molding. Measure at both ends and in the middle. Use the smallest number. Under a sloped ceiling, measure at its lowest point.
- Enter the space. 2 3/4 to 4 inches is common.
- Pick the number of boxes. Each choice in the list shows how wide the boxes get.
- Enter your molding. Measure the face of the molding, and pick the length you will buy.
- Cut by the plan. "How to cut the moldings" shows the pieces to cut from each molding. Cut them that way, so they fit in the moldings you buy.
How far apart should the boxes be?
Most DIY guides use 2 3/4 to 4 inches of space. One HGTV guide uses 3 1/2 inches, because a scrap of 1x4 is that wide and makes a spacer. Another HGTV guide and JLC, a magazine for builders, use 3 inches. A wider space shows more wall and makes each box smaller.
How many boxes do I need?
There is no fixed rule. It depends on the width of the wall and on how wide you want each box. The calculator suggests the count that makes the boxes closest to 30 inches (76 cm) wide. That is only a starting point. Narrower boxes, from about 20 inches, are common too. For example, a 12 foot wall with 3 1/2 inch spaces fits 4 boxes that are 31 5/8 inches wide, or 5 boxes that are 24 5/8 inches wide. Pick the count that looks best in the drawing.
A wall with a door or a window works best in sections. Enter the width of each section on its own. Measure it to the outside edge of the door casing. The space then goes next to the casing.
The math we use
The same space goes between the boxes and around them. One row of boxes has one more space than boxes across the wall, and two spaces up the wall. Two rows have three spaces up the wall.
box width = (wall width - (boxes + 1) x space) / boxes box height = area height - 2 x space (one row) lower box = (area height - 3 x space) / 3 (two rows) upper box = 2 x lower box box mark = space + (box number - 1) x (box width + space)
A box mark is the left edge of the box, measured from the left corner of the wall. Two rows use the same marks.
Example: A wall is 144 inches (12 feet) wide. Under the chair rail, the area is 28 inches high. You want 4 boxes with 3 1/2 inches of space.
- box width = (144 - 5 x 3.5) / 4 = 126.5 / 4 = 31 5/8 inches
- box height = 28 - 2 x 3.5 = 21 inches
- Each box needs 2 pieces of 31 5/8 inches and 2 pieces of 21 inches. For 4 boxes, that is 8 of each.
- The first box starts at 3 1/2 inches. Each next box starts one box and one space further on: 31 5/8 + 3 1/2 = 35 1/8 inches. So the marks are 3 1/2, 38 5/8, 73 3/4 and 108 7/8 inches.
- Each box runs from 3 1/2 inches to 3 1/2 + 21 = 24 1/2 inches above the baseboard.
All the pieces add up to 421 inches, a little over 35 feet. An 8 foot molding is 96 inches long. We keep 1/2 inch of it for its rough ends. We also add 1/32 inch to each piece, because the cut list rounds to the nearest 1/16 inch. Each saw cut between two pieces loses about 1/8 inch x 1.41 = 0.18 inch, because the saw crosses the molding at an angle.
Two tops or bottoms and one side fit on one 8 foot molding, with about 11 inches left over. So 4 moldings give all 8 tops and bottoms and 4 sides. The other 4 sides fit on a fifth molding. That is 5 moldings. With 10% extra for mistakes, buy 6. Three tops would also fit on one molding. But that leaves under an inch, so a piece cut a little long would not fit. The count covers the frames only. If you add a chair rail, buy the length of the wall plus about 10%.
For every wall, the calculator tries each way to share the pieces between moldings. It uses the fewest moldings. Among those plans, it picks the one that leaves the most wood on its fullest molding. On a long wall with many boxes, that search takes too long. Then it splits the pieces into a few groups that look alike. It tries each way for each group. That can count a few moldings more than you need. For each molding, "How to cut the moldings" shows the pieces and the wood left over. That is what remains after the pieces and the saw cuts. Like the molding count, it counts each piece 1/32 inch longer. It still includes the 1/2 inch kept for the rough ends.
Tips for a clean result
- Mark the boxes on the wall with painter's tape first. Each outlet or switch should sit fully inside a box, or fully in a space. If the molding crosses one, try another box count or space.
- Put up the chair rail first. Keep it level, because the boxes are measured down from it.
- Keep the boxes level. Floors are rarely level. So under a chair rail, measure down from the rail. On a full wall, draw a level line above the highest point of the baseboard. JLC notes that a small slope near the baseboard is hard to see. The lines under a chair rail must be accurate.
- Cut a scrap of wood to the size of your space, and use it as a spacer between the boxes.
- Cut all pieces of one length in a row, so every box comes out the same.
- Put a dab of glue in each corner. Then nail the piece, so the corner stays closed.
- Fill the nail holes, caulk where the molding meets the wall, then paint.
- Turn off the power before you work around an outlet or a switch.
Common questions
What is picture frame molding?
Picture frame molding is thin trim that you fix to a wall in the shape of rectangles, like empty picture frames. It is a kind of wainscoting. The boxes often sit under a chair rail, or cover the whole wall up to the ceiling. Many people paint the molding and the wall in one color.
How high should a chair rail be?
One HGTV guide puts a chair rail 28 to 32 inches above the floor. Many people place it about a third of the way up the wall. The calculator asks for the space under the rail, not the height of the rail. It starts with 28 inches.
How do I lay out two rows on a full wall?
Make the upper box twice as tall as the lower box. This follows HGTV's guide, where the lower box takes about a third of the height. Use the same space under, between and above the rows. For example, an 8 foot wall with a 5 1/2 inch baseboard leaves 90 1/2 inches. Three spaces of 3 1/2 inches leave 80 inches for the boxes. So the lower boxes are 26 11/16 inches high, and the upper boxes are 53 5/16 inches. Choose 2 rows in the calculator.
Can I use this under a sloped or vaulted ceiling?
Yes. Use the Chair rail layout. Or measure the height at the lowest point of the ceiling. Then every box is a plain rectangle. The wall above the boxes stays plain. Boxes with slanted tops need special angle cuts. This calculator does not plan them.
How do I attach the molding?
Cut both ends of each piece at 45 degrees. Put a few dots of construction adhesive on the back. Then nail it with brad nails. They hold it while the adhesive dries.
Does the molding width change the number of moldings?
No. You measure each piece on its long, outside edge. So each piece is as long as the side of its box, for any molding width. The width changes the opening inside each box. In the example on this page, a 1 1/2 inch molding leaves openings of 28 5/8 by 18 inches. A 3/4 inch molding leaves 30 1/8 by 19 1/2 inches. The width also changes the box list. Each box needs an opening of at least 1 inch.
Does the thickness of the molding matter?
Not for the cuts. The calculator uses the molding width, the face you see on the wall. The thickness does not change any box size or piece length. It changes the look. Thicker molding makes deeper shadows, so the boxes stand out more. Thicker molding also needs longer brad nails.
Sources
- HGTV: How to install picture frame molding (opens in a new tab). 3 1/2 inches of space, set with a 1x4, and the two-row layout with a larger upper box.
- HGTV: How to easily install picture frame molding (opens in a new tab). A chair rail 28 to 32 inches above the floor, and a 3 inch spacer.
- JLC: An introduction to wainscoting (opens in a new tab). 3 inches of space between the boxes and around them, and why the lines under the chair rail must be accurate.
- Ugly Duckling House: Picture frame molding challenges (opens in a new tab). Spaces of 2 3/4 to 4 inches, boxes around outlets and windows, and a level line.