Baseboard Calculator
Calculate how many linear feet of baseboard you need for a room after deducting doorways, how many 8, 12 or 16 ft pieces to buy, plus corners and nails.
By CalcBuilt Editorial TeamUpdated September 9, 2026Formulas checked against manufacturer specs, see how we calculate.
Results
- Baseboard needed
- 41 ft
- 44 ft perimeter minus 3 ft for openings. 45.1 ft with 10% waste.
- Pieces to buy
- 6 pieces of 8 ft
- 48 ft purchased
- Inside corners
- 4
- For a rectangular room. Cope inside corners; miter outside corners at 45 degrees
- Finish nails
- 62
- Two 2 in (5 cm) 15 or 16 gauge nails per stud at 16 in on center: one into the stud, one low into the bottom plate. Mark studs before the base covers the drywall screws
Baseboard formula
Perimeter (ft) = 2 x (Length + Width)
Baseboard needed = Perimeter - 3 ft x doors - other openings
Pieces = Baseboard needed x (1 + waste %) / piece length, rounded up
Nails = Baseboard needed x 12 / 16 in stud spacing x 2Worked example
A 14 x 16 ft living room with two doors and a 5 ft cased opening to the hall: the perimeter is 2 x (14 + 16) = 60 ft. Subtract 6 ft for the doors and 5 ft for the opening to get 49 ft. Add 10% waste for 53.9 ft. In 12 ft lengths that is 53.9 / 12 = 4.5, so buy 5 pieces (60 ft). At $1.50 per foot the baseboard costs $90.
Nails: 49 x 12 / 16 = 37 studs, times 2 nails = 74 finish nails, so one small box.
Quick reference
| Room size | Perimeter | Baseboard needed | 8 ft pieces | 16 ft pieces |
|---|---|---|---|---|
| 10 x 10 ft | 40 ft | 37 ft | 6 | 3 |
| 10 x 12 ft | 44 ft | 41 ft | 6 | 3 |
| 12 x 12 ft | 48 ft | 45 ft | 7 | 4 |
| 12 x 15 ft | 54 ft | 51 ft | 8 | 4 |
| 14 x 16 ft | 60 ft | 57 ft | 8 | 4 |
| 15 x 20 ft | 70 ft | 67 ft | 10 | 5 |
| 20 x 20 ft | 80 ft | 77 ft | 11 | 6 |
How to calculate baseboard
Measure each wall along the floor and add them up for the perimeter, or for a simple rectangle double the length plus width. Subtract every door, about 3 feet each including the casing, and any cased opening, closet without a door, fireplace or built-in that the baseboard stops at. What is left is the length you will actually install.
Add 10 percent for waste, then divide by the stock length you plan to buy and round up. Better still, list the wall lengths and match pieces to walls: an 11 foot wall wastes 5 feet of a 16 foot piece but only 1 foot of a 12 foot piece. Baseboard waste is cutoffs, not defects. Walls longer than the stock length get a 45 degree scarf joint over a stud, glued and nailed through both pieces, open side away from the door.
Materials, corners and installation
Primed MDF is the cheapest, comes in 16 foot sticks and paints flat. It swells when wet and its thin edge crumbles when coped, so it belongs in dry rooms. Finger-joint pine copes cleanly and costs a little more. Poplar is the paint-grade solid for bathrooms, laundry rooms and mudrooms: it copes, holds nails and shrugs off a mop. Stain-grade oak or maple is sold in shorter random lengths, so plan on 15 percent waste. Match the profile height to the room: 3 1/4 inch for 8 foot ceilings, 5 1/4 inch or taller for 9 feet and up.
Cope inside corners: run the first piece square into the corner and miter the mating piece at 45 degrees. Then cut along the profile line with a coping saw and back-bevel it. Drywall corners are rarely 90 degrees, and a mitered inside corner opens as the wood dries. Miter outside corners after checking the angle with two scraps, glue them and pin across the joint; a bullnose corner takes three pieces at 22 1/2 degrees. Nail with two 2 inch finish nails at every stud, the low one into the bottom plate, and mark the studs before the base covers the screw dimples. Fill, caulk the top edge and paint. Install base after the finished floor; if 3/4 inch hardwood goes in later, hold the base up on a spacer and cover the gap with shoe.
What this calculator leaves out
Baseboard, corners and nails only. Not included: shoe molding or quarter round to cover the flooring gap (same length as the base), door casing and plinth blocks. Consumables: wood glue, a 10 oz tube of paintable caulk per 40 to 50 feet of top edge, filler for nail holes, and primer for cut ends. A 15 or 16 gauge finish nailer rents for typically $25 to $40 a day in 2026, plus a compressor. Removing the old base, pulling its nails and hauling it off are labor items.
Mistakes that cost money
- Mitering inside corners: drywall corners are never square and the miter opens as the wood dries; cope the second piece instead.
- Nails between studs hit only drywall and the base pulls loose; mark studs first and drop the low nail into the bottom plate.
- MDF in a bathroom, laundry or at an exterior door wicks water and swells within a year; use poplar or PVC base there.
- Coping MDF blows out the thin edge; cope finger-joint or poplar, or back-cut MDF hard with a grinder so only the face line touches.
- Base installed before a 3/4 in hardwood floor ends up too low; install after the floor, or hold it up on spacers and add shoe.
- A butt joint on a long wall opens into a visible line; cut a 45 degree scarf over a stud and glue it.
Key facts
- Common baseboard heights are 3 1/4 in and 5 1/4 in; taller rooms with 9 or 10 ft ceilings look better with 5 1/4 in or more.
- Baseboard is stocked in 8, 12 and 16 ft lengths; longer pieces mean fewer joints on long walls.
- A standard interior door with casing takes up about 3 ft of wall, which is deducted from the run.
- Nail baseboard with 2 in 15 or 16 gauge finish nails, two at every stud, 16 in on center.
- Inside corners are coped rather than mitered so they stay tight when the wood moves with the seasons.
Frequently asked questions
How much baseboard do I need for a 12x12 room?
The perimeter is 48 feet. With one door that is 45 feet of baseboard, or about 50 feet with 10% waste, which is 7 pieces of 8 feet or 4 pieces of 16 feet.
Should I use MDF, finger-joint pine or poplar baseboard?
MDF for dry rooms on a budget: it is straight, cheap and paints well, but it copes poorly and swells when wet. Finger-joint pine copes clean and holds nails, at a middle price. Poplar is the paint-grade solid for bathrooms, laundry rooms and anywhere that gets mopped; use it or PVC base wherever water lands. Stain-grade oak, maple and walnut cost the most and come in random lengths.
What length does baseboard come in?
Stock lengths are 8, 12 and 16 feet. Some suppliers sell stain-grade hardwood in random lengths from 6 to 16 feet.
How many nails do I need for baseboard?
Two finish nails at every stud, 16 inches on center, which works out to about 1.5 nails per foot. A 50 foot room needs about 75 nails, so a single 1 lb box is plenty.
Sources and references
Next steps for this project
The usual order for a flooring & tile project. See all flooring & tile calculators.
Embed this calculator
Results are estimates based on standard formulas and typical product specifications. Confirm quantities with your supplier and local code before ordering.