Baseboard and trim calculator

Calculate linear feet and number of pieces of baseboard, crown molding or trim for a room.

Quick sizes:
ft
ft
Each door removes about 21 sq ft
%
Extra for cuts, breakage and mistakes
$
Optional. Shows the total cost.

The numbers start with a worked example. Change any box and the result updates instantly. Your last entries are remembered on this device.

Baseboard to buy

54

linear ft

Wall length49 ft
Pieces5 × 12 ft
Inside corners (about)4
Finish nails (about)74
Estimated cost$70.00

Estimate only. Check product labels and local codes. Updated December 2026.

How to use the baseboard & trim calculator

Baseboard and crown are sold by the piece. Enter the room size and doors, and the calculator gives linear feet and the number of pieces with waste for corner cuts.

Enter your measurements in the boxes above. Every result updates as you type, and you can add a price to see the total cost. Use Copy result to save the numbers to your phone before you go to the store.

Formula

Linear feet = 2 × (length + width) − 3 ft per door
Pieces = linear feet × (1 + waste) ÷ piece length

Worked example

With room length 14 ft, room width 12 ft, doors (3 ft each) 1, piece length: 12 ft, waste 10 %, you need 54 linear ft (wall length: 49 ft; pieces: 5 × 12 ft). With a price per piece of $14.00, the estimated cost is $70.00.

Quick reference chart

Common sizes worked out with the same formula and the default settings above.

Room (1 door)Linear ft (10% waste)12 ft pieces
10 × 10 ft414
12 × 12 ft505
12 × 14 ft545
14 × 16 ft636
16 × 20 ft767
20 × 20 ft858

Tips before you buy

  • Use the longest pieces that fit in your car. Fewer joints look better.
  • Crown molding needs about 15% waste for tricky corner cuts.
  • Nail into studs, which are usually every 16 inches.

Frequently asked questions

How much baseboard for a 12x12 room?

About 45 ft after one door, or 50 ft with 10% waste, which is 5 pieces of 12 ft.

How do I measure for crown molding?

Measure the room perimeter at the ceiling. Do not subtract doors.

Do I subtract doorways?

Yes for baseboard, since it stops at the door casing. No for crown molding.

Add this calculator to your website

Run a blog, a store or a contractor website? Paste this code to give your visitors this free baseboard & trim calculator.

Baseboard & Trim Calculator by HatCalc – more free calculators →