How to calculate baseboard
Baseboard is sold by the piece in set lengths, but you measure it in linear feet. The job comes down to the distance around the room, minus any doorways, plus an allowance for the cuts at every corner. This calculator does that math, then divides by the length of the pieces you plan to buy.
Baseboard length = perimeter − (doorways × width) − other openings
Length to buy = baseboard length × (1 + waste %)
Pieces = length to buy ÷ piece length, rounded up
Worked example: a 12 × 12 ft room with one 3 ft doorway
- Perimeter: 2 × (12 + 12) = 48 ft.
- Subtract the doorway: 48 − 3 = 45 ft of baseboard.
- Add 10% waste: 45 × 1.10 = 49.5 ft.
- 8 ft pieces: 49.5 ÷ 8 = 6.19, round up to 7 pieces.
- 12 ft pieces: 49.5 ÷ 12 = 4.13, round up to 5 pieces.
- 16 ft pieces: 49.5 ÷ 16 = 3.09, round up to 4 pieces.
Quarter-round or shoe molding along the same walls needs the same length, so the same piece counts apply if you buy it in the same lengths.
Inside corners, outside corners and joints
Every corner and every joint along a long wall is a cut, and that is where waste comes from. Common ways to handle each one:
| Where | Typical cut | Notes |
|---|---|---|
| Inside corner | Cope the second piece, or miter both at 45° | Coping often stays tighter if the house shifts or the corner is not exactly 90°. Check with an angle finder. |
| Outside corner | Two 45° miters on a square corner | Adjust the angle if the corner is not 90°. Leave the pieces a little long, then trim to fit. |
| Joint along a long wall | Angled scarf joint | A common practice is to place it over a stud so both ends can be nailed, and to glue the faces. |
| Door casing | Square cut that butts the casing | Baseboard stops at the casing, which is why doorways are deducted. |
How much waste to allow
| Situation | Typical allowance |
|---|---|
| Simple room, long walls, few doorways | About 10% |
| Many corners, short walls, closets or hallways | About 15% |
| Stained wood where grain and color should match | 15–20%, or buy extra pieces and sort them |
These are common rules of thumb rather than fixed standards. Round up to whole pieces after adding the allowance, and ask the store about its return policy on full pieces so you can take back what you do not cut.
Choosing piece length and height
Home centers commonly stock baseboard in 8, 12 and 16 ft pieces, though the lengths on the shelf vary by store and material. Primed MDF, finger-jointed pine and solid wood do not all come in the same lengths, so check what is available before you settle on a plan.
| Piece length | Good for | Trade-off |
|---|---|---|
| 8 ft | Short walls, closets, hallways; easy to carry | More joints on long walls |
| 12 ft | Walls up to about 12 ft, a common bedroom dimension | Harder to fit in a small car |
| 16 ft | Long living room and open-plan walls | Needs a truck or roof rack; can bow or get damaged in transit |
Baseboard height is a style choice and varies by region and era. Profiles of roughly 3 1/4 to 5 1/4 inches tall are commonly sold, but check what your store carries, and taller trim is used in some older or more formal rooms. Height does not change the linear-foot count, but taller boards cost more per foot and take more care when coping.
Quarter-round and shoe molding
Quarter-round and shoe molding are thin strips nailed to the baseboard (not the floor) to cover the gap where the baseboard meets the flooring. They are common over hardwood, laminate and vinyl plank, which are installed with an expansion gap along the walls. Follow the flooring manufacturer's instructions for how large that gap should be. Shoe molding is usually a slimmer profile than quarter-round. Both follow the same path as the baseboard, so turn on the quarter-round option in the calculator to get a matching piece count.
Tips for measuring and buying
- Measure along the floor on every wall rather than assuming the room is a perfect rectangle. Add all the wall segments together and use the total-length option.
- Do not skip the closets. Add their walls, and subtract any door width that has no trim.
- Paint or finish long pieces before installing, then fill nail holes and caulk the top edge afterward. Our paint calculator covers the walls above.
- Over hard-surface flooring, the trim usually goes in after the floor. Size the floor first with the flooring calculator, which shows the room perimeter for a single room.
- Need the room area first? The square footage calculator handles L-shapes and odd rooms.
Frequently asked questions
How much baseboard do I need for a 12×12 room?
The perimeter is 48 feet. Subtract about 3 feet for one doorway to get 45 feet, then add 10% for waste to reach about 49.5 feet. That is 7 pieces of 8 ft baseboard, 5 pieces of 12 ft, or 4 pieces of 16 ft.
How do I figure linear feet of baseboard?
Add the length of every wall that gets baseboard, measured along the floor. For a rectangular room that is 2 × (length + width). Subtract the width of each doorway, then add an allowance for waste.
Should I subtract doorways when measuring for baseboard?
Yes. Baseboard stops at the door casing, so the width of each doorway is deducted. Closet doors with trim on both sides are deducted too, and open archways usually are as well.
How much extra baseboard should I buy for miters and coping?
About 10% is a common allowance for a simple room. Rooms with many corners, short walls or matched wood grain may need 15% or more. Round up to full pieces after adding the allowance.
Do I need quarter-round if I have baseboard?
Not always. Quarter-round or shoe molding is mainly used to hide the gap between the baseboard and the floor, which is common over hardwood, laminate and vinyl plank. Some installers skip it when the baseboard sits tight to the floor or a thicker baseboard hides the gap. Follow the flooring manufacturer's expansion-gap instructions.
Is it better to cope or miter inside corners?
Many trim carpenters cope inside corners because the joint stays tighter when walls are slightly out of square or the house moves with the seasons. Mitering both pieces is faster and can look fine on square corners with paint-grade trim and a bead of caulk.
Sources and further reading
- Wood Flooring Installation Guidelines — National Wood Flooring Association: Baseboard, base shoe and quarter round conceal the perimeter expansion space; nail them to the wall or baseboard, not the flooring
- How to Install Baseboard — Fine Homebuilding: Mitered joints tend to open at inside corners; a coped joint is the better inside-corner choice
Add this calculator to your website
Run a blog, contractor site or supply store? You can embed this baseboard trim calculator for free. Copy the code below and paste it into any page. It works in WordPress, Squarespace, Wix and plain HTML.