Baseboard Trim Calculator

Enter the size of a room, or the total wall length for a whole house, then subtract doorways and add a waste allowance. The calculator returns linear feet, the number of 8, 12 or 16 ft pieces to buy, a count of inside and outside corners, and optional quarter-round or shoe molding.

Your project
rooms
Use 1 for a single room.
corners
Corners that stick out into the room, such as bump-outs, fireplaces and wall returns. An L-shaped room has 1.
openings
Baseboard stops at door casings, so each opening is deducted.
Interior doors are commonly about 2 ft 4 in. to 3 ft wide. Measure the opening plus casing for a closer number.
Archways, sliding closet doors or built-ins that take no baseboard (total width).
%
About 10% is a common rule of thumb for miters, coping and bad cuts. Use 15% if the rooms have many corners or short walls.
Home centers commonly stock 8, 12 and 16 ft pieces, but lengths vary by store and material.
$

Results

Enter your measurements to see results.

Advertisement

Last updated · How we calculate · Report a problem

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.

Room perimeter (ft) = 2 × (length + width)
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

  1. Perimeter: 2 × (12 + 12) = 48 ft.
  2. Subtract the doorway: 48 − 3 = 45 ft of baseboard.
  3. Add 10% waste: 45 × 1.10 = 49.5 ft.
  4. 8 ft pieces: 49.5 ÷ 8 = 6.19, round up to 7 pieces.
  5. 12 ft pieces: 49.5 ÷ 12 = 4.13, round up to 5 pieces.
  6. 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.

Advertisement

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:

WhereTypical cutNotes
Inside cornerCope 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 cornerTwo 45° miters on a square cornerAdjust the angle if the corner is not 90°. Leave the pieces a little long, then trim to fit.
Joint along a long wallAngled scarf jointA common practice is to place it over a stud so both ends can be nailed, and to glue the faces.
Door casingSquare cut that butts the casingBaseboard stops at the casing, which is why doorways are deducted.

How much waste to allow

SituationTypical allowance
Simple room, long walls, few doorwaysAbout 10%
Many corners, short walls, closets or hallwaysAbout 15%
Stained wood where grain and color should match15–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 lengthGood forTrade-off
8 ftShort walls, closets, hallways; easy to carryMore joints on long walls
12 ftWalls up to about 12 ft, a common bedroom dimensionHarder to fit in a small car
16 ftLong living room and open-plan wallsNeeds 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.