How it works
Add up the wall lengths, subtract the door openings, then add a waste allowance for mitre cuts and corners. Divide by the length of the pieces you can buy and round up. Longer pieces mean fewer joints but are harder to carry and fit. For crown molding, measure along the top of the wall instead of the floor.
Formula
needed = length × (1 + waste % ÷ 100)
pieces = round up (needed ÷ stock piece length)
Sources
Example
Walls of 12, 10, 12 and 10 ft total 44 ft. With 10% waste that is 48.4 ft. Pieces of 8 ft: 48.4 ÷ 8 = 6.05, rounded up to 7 pieces. Check: 7 × 8 = 56 ft, which covers 48.4 ft with 7.6 ft left over.
Frequently asked questions
Why allow 10% waste?
It is a common allowance for cuts and corners. Use whatever suits the room.
Do corners need extra?
Yes. Each inside or outside corner needs more length than the straight run suggests.
Should I subtract doors?
Yes for baseboard. The trim stops at the door casing.
Does crown molding work the same way?
Yes, but measure along the top of the wall.