Skip the tape measure: scan the room with an iPhone Pro and get every wall length. See how it works.
Free Tool

Baseboard Calculator

Enter your rooms, subtract doorways, and pick a stock length. Get the linear feet of baseboard and how many pieces to buy.

1 Room Perimeter

Room 1
Length
ft
in
Width
ft
in

Perimeter per room = 2 × (length + width). An L-shaped room has the same perimeter as the rectangle around it.

2 Doorways (subtracted)

qty
in

Baseboard stops at the door casing, so measure casing edge to casing edge.

3 Stock Length, Waste & Price

Stock length
%
$/LF

Per linear foot. Leave blank to skip cost.

Results

Room perimeter
Doorways
Baseboard needed
Waste
With waste
Pieces to buy
pieces
Linear feet purchased

Adding shoe molding or quarter round? Plan on about the same linear footage.

Estimates only. The piece count is by total footage. Lay out a cut list for long walls before you buy.

How to calculate baseboard

Add up the room perimeter, subtract the width of every doorway, add about 10% for miters and offcuts, then divide by your stock length and round up to whole pieces.

Perimeter = 2 × (Length + Width)
Linear feet = Perimeter − doorway widths
Pieces = Linear feet × (1 + waste %) ÷ stock length (round up)

Worked example

A 12 × 14 ft room with one 36 in doorway, using 12 ft stock and 10% waste.

  1. Perimeter: 2 × (12 + 14) = 52 ft.
  2. Subtract the doorway: 36 in ÷ 12 = 3 ft. 52 − 3 = 49 linear ft.
  3. Add 10% waste: 49 × 1.10 = 53.9 ft.
  4. Pieces: 53.9 ÷ 12 = 4.49, round up to 5 pieces (60 ft).
  5. At $1.50 per linear foot: 60 × $1.50 = $90.00.

Check the cut list too. In this room the 14 ft walls are longer than 12 ft stock, so each needs a joint. Buying 16 ft stock would let each wall go up in one piece. Painting the trim and walls? Use the paint calculator.

Skip the tape measure

Every wall length and doorway, from one iPhone scan.

SiteScope uses the LiDAR sensor on iPhone Pro and iPad Pro to scan a room and build a measured floor plan with each wall's length and the doors and windows in place. Read your perimeter and wall lengths off the plan instead of walking the room with a tape.

  • Wall lengths, doors and windows on a 2D floor plan
  • Multi-room projects, one scan per room
  • Guest scanning: a homeowner scans with the free app on their own iPhone Pro, no account needed, and you get the plan

Scanning needs an iPhone Pro or iPad Pro with LiDAR.

Wall lengths from a scan (example)
Wall 112' 0"
Wall 2 · 1 door (3' 0")14' 0"
Wall 312' 0"
Wall 414' 0"
Perimeter less doors49' 0"

Baseboard Calculator FAQ

How do I calculate how much baseboard I need?
Measure the perimeter of the room, 2 × (length + width) for a rectangle, and subtract the width of each doorway. Add about 10% for miter cuts and waste, then divide by the length of the stock you are buying and round up to whole pieces.
How much extra baseboard should I buy?
About 10% covers the miters and offcuts in a typical room. Go to 15% for rooms with lots of short walls, outside corners or bay windows, since short pieces create more scrap.
What is the perimeter of an L-shaped room?
For an L-shaped room, the perimeter equals 2 × (overall length + overall width), the same as the rectangle that encloses it. You can also measure each wall and add them up with the Total length tab.
Do I include closets?
Yes, if the closets get baseboard. Add each closet as its own room so its walls are counted, and subtract the closet doorway like any other door.
Do I need the same amount of quarter round or shoe molding?
Close to it. Shoe molding and quarter round run along the bottom of the baseboard, so they need about the same linear footage. Subtract any runs along cabinets with toe kicks where you won't install it.
What length of baseboard should I buy?
Buy stock long enough to run most walls in one piece. Joints on long walls take time and show through paint. A wall longer than your stock needs a scarf joint, so check your longest walls before you pick 8, 12 or 16 ft lengths.