How to calculate baseboard
Baseboard runs along the bottom of every wall, so the starting point is the perimeter of the room. Doorways have no baseboard, so their width comes off. The trim is then cut to fit, and miters, coped joints and the odd mistake use some extra, so a margin goes back on top.
Perimeter = 2 × (length + width)
Wall to trim = perimeter + other walls − doorways
Total = wall to trim × (1 + extra %)
Pieces = total ÷ piece length, rounded up
Measure each wall at floor level, where the trim sits. Closets, alcoves and bump-outs add wall length that a simple rectangle misses: measure them and enter their total as other walls. Count a doorway at its full width, casing included, because the baseboard stops at the casing.
Worked example: a 14 by 12 foot room
The room has four walls: 14 + 12 + 14 + 12 = 52 ft. One doorway of 36 in (3 ft) comes off, leaving 49 ft of wall to trim.
- Add 10% for cuts: 49 × 1.1 = 53.9 ft
- In 16 ft pieces: 53.9 ÷ 16 = 3.37, rounded up to 4 pieces (64 ft)
- In 8 ft pieces: 7 pieces (56 ft)
Lengths vary by store and profile. Longer pieces mean fewer joints along a wall, which looks better, but they are harder to carry and to fit into a car. The calculator lists every common length so you can compare.
Baseboard for common room sizes
The table repeats the calculation for rooms of a few common sizes, each with one 36 in doorway and 10% extra. Real rooms often have more doorways, a closet or a wall with a radiator, so treat it as a starting point and use the calculator for your own room.
| Room | Perimeter | Wall to trim | With 10% extra | Pieces of 16 ft |
|---|---|---|---|---|
| 10 × 10 ft | 40 ft | 37 ft | 40.7 ft | 3 |
| 12 × 12 ft | 48 ft | 45 ft | 49.5 ft | 4 |
| 14 × 12 ft | 52 ft | 49 ft | 53.9 ft | 4 |
| 16 × 14 ft | 60 ft | 57 ft | 62.7 ft | 4 |
| 20 × 15 ft | 70 ft | 67 ft | 73.7 ft | 5 |
| 24 × 18 ft | 84 ft | 81 ft | 89.1 ft | 6 |
For several rooms of the same size, enter the number of rooms. For a whole floor with rooms of different sizes, run the calculator once per room and add the totals, or add the extra walls of the other rooms in the other walls box.
How much extra for waste?
Every inside corner and every outside corner uses a joint, and each joint can cost a few inches if a cut goes wrong. A room with many corners or short walls needs a bigger margin than a plain rectangle. The calculator starts at 10% as an example; raise it for complicated rooms, for a first project, or for trim with a profile that is hard to cope.
Plan your cuts before you buy. Each wall should get the longest piece you can fit, and offcuts from long walls often cover a short wall or a closet return. That is why the piece count can come out lower once the cuts are planned, and why rounding up the total is the safe side.
Shoe molding, quarter round and other trim
The same lengths work for shoe molding or quarter round along the bottom of the baseboard, and for a chair rail or crown molding along the top of the walls, with one difference: a crown or chair rail runs across the doorways only where it actually passes over them. For a room with a ceiling trim and a baseboard, run the calculator once with the doorways and once without.
Paint or stain is easier before the trim goes up; the paint calculator helps with the walls, and the linear feet calculator adds up lengths of any kind. If you are also replacing the floor, the flooring calculator uses the same room size.
Baseboard Calculator FAQ
How much baseboard do I need for a 12 x 14 room?
The perimeter is 52 ft. With one 36 in doorway and 10% extra, buy about 53.9 ft, which is 4 pieces of 16 ft.
Do you subtract doorways for baseboard?
Yes. Baseboard stops at the door casing, so take the full width of each opening off the wall length, then add your margin for cuts.
How do you calculate linear feet of baseboard?
Add the length of every wall at floor level, which is 2 × (length + width) for a rectangular room, then subtract the doorways and add extra for cuts.
What lengths does baseboard come in?
Lengths vary by store and by profile, so check what yours stocks. The calculator shows the number of pieces for 8, 10, 12, 14 and 16 ft.
How much extra baseboard should I buy?
Enough for miters, coped joints and a mistake or two. The calculator uses 10% as an example; add more for rooms with many corners or short walls.