Quick answer: Measure the room's perimeter in feet, subtract door openings, then add ~10% for miter-cut waste. Baseboard is sold in 8, 12, and 16 ft lengths.
Baseboard trim calculator with a room-size quick chart. Get linear feet and the number of 8 ft or 12 ft pieces to buy, with door openings and miter waste accounted for.
If you just want the number without entering anything, find your room below. Perimeter is the raw wall measurement; the door columns show what you actually need once openings are subtracted.
| Room size | Wall perimeter | Less 1 door | Less 2 doors | 8 ft pieces | 12 ft pieces |
|---|---|---|---|---|---|
| 8 × 10 ft | 36 ft | 33 ft | 30 ft | 5 | 4 |
| 10 × 10 ft | 40 ft | 37 ft | 34 ft | 6 | 4 |
| 10 × 12 ft | 44 ft | 41 ft | 38 ft | 6 | 4 |
| 12 × 12 ft | 48 ft | 45 ft | 42 ft | 7 | 5 |
| 12 × 14 ft | 52 ft | 49 ft | 46 ft | 7 | 5 |
| 12 × 16 ft | 56 ft | 53 ft | 50 ft | 8 | 5 |
| 14 × 16 ft | 60 ft | 57 ft | 54 ft | 8 | 6 |
| 16 × 20 ft | 72 ft | 69 ft | 66 ft | 10 | 7 |
| 20 × 20 ft | 80 ft | 77 ft | 74 ft | 11 | 8 |
| 20 × 24 ft | 88 ft | 85 ft | 82 ft | 12 | 8 |
Door openings assumed at 3 ft each. Piece counts are based on the one-door figure plus 10% miter waste, rounded up. Perimeter = 2 × (length + width).
The chart shows both, and the difference matters more than the price per foot suggests.
Every joint in a baseboard run is a place that can open up as the house moves through the seasons. A 12 ft wall run in one piece has no joint. The same wall in 8 ft stock needs a scarf joint that has to be glued, nailed through the overlap, and caulked — and it will still telegraph if the wood shrinks.
Longer stock costs slightly more per foot and is significantly more awkward to transport, but on any wall over 8 ft it produces a visibly better result. Measure your longest wall before choosing your stock length: if it is 11 ft, 12 ft pieces let you do it in one run, and that single decision will do more for the finished look than the grade of trim you buy.
Walking into the trim aisle, you'll see three main materials. Choosing the wrong one for your specific room is a classic DIY mistake.
Unlike flooring, where you can use a small off-cut to start the next row, trim waste is permanent. Every time you cut a 45-degree miter for an inside or outside corner, you lose length. If you mess up a cut on an 8-foot piece, you often have to throw the whole piece away.
Have you ever wondered why a contractor's baseboards look like one continuous piece of expensive wood, while a DIYer's look like separate boards with gaps? The secret isn't the wood; it's the caulk and filler.
Trim projects vary wildly. Here is how to use our calculator for the most common scenarios.
Always nail trim to the wall studs. Use a stud finder to locate them, and shoot your finish nails directly into the wood. If you only nail into the drywall, the trim will eventually pull away from the wall as the house settles.
Use 2-inch to 2.5-inch 15-gauge or 16-gauge finish nails. This length is long enough to bite deep into the wall studs, but short enough that you won't accidentally hit electrical wiring or plumbing running through the center of the wall.
It is highly recommended to remove the carpet and tack strip first. Installing baseboard over carpet looks unprofessional, leaves a gap when the carpet is eventually replaced, and prevents you from nailing securely into the bottom plate of the wall.
Outside corners require two 45-degree miter cuts that meet at a 90-degree angle. Use a miter saw set to 45 degrees. Test the fit on the floor before nailing. If your walls aren't perfectly square (they rarely are), you may need to adjust the angle slightly (e.g., 44 or 46 degrees) to get a tight fit.
Most MDF trim comes "primed" from the factory, but it is still highly recommended to apply a coat of high-quality primer before your topcoat. MDF is very porous, and skipping primer will result in a blotchy, uneven paint finish.
Every constant this calculator uses and where it comes from, so you can check it rather than take our word for it.
Local codes amend the model IRC and adopt different cycles — your building department governs. Manufacturers revise yields; where your product's data sheet disagrees with a default here, use the product's number. See our full methodology.