Skip to content
FiftyCalc Free calculators for all 50 states

Trim Molding Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the room's length and width, the width of openings the molding skips, a waste allowance and the stock length sold at your store. You get the linear feet, the number of pieces and the cost.

Result

Sample figures

Pieces to buy—

Room perimeter (linear feet) —

  • Molding to install (linear feet)—
  • Molding with waste allowance (linear feet)—
  • Linear feet bought—
  • Material cost—

The unit choice applies to the fields you fill in. Results stay in the units written with them.

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Trim Molding Calculator

Units: switches the fields between the two unit systems.

Room length, in ft: enter 0 or more. Prefilled example: 14.

Room width, in ft: enter 0 or more. Prefilled example: 12.

Openings to skip, total width, in ft: enter 0 or more. Prefilled example: 6.

Waste allowance for cuts and defects, in percent: enter a number from 0 to 100. Prefilled example: 10.

Stock length of each piece

Stock length of each piece: choose 8 ft, 10 ft, 12 ft, 14 ft or 16 ft. Prefilled example: 16 ft.

Price per linear foot, in dollars: enter 0 or more. Prefilled example: 1.25.

Affiliate link

This is an affiliate link. As an Amazon Associate I earn from qualifying purchases. This does not change the result.

Search Amazon for baseboard molding. Visit Amazon

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Units: switches the fields between the two unit systems.
  2. Room length, in ft: enter 0 or more.
  3. Room width, in ft: enter 0 or more.
  4. Openings to skip, total width, in ft: enter 0 or more.
  5. Waste allowance for cuts and defects, in percent: enter a number from 0 to 100.
  6. Stock length of each piece: choose 8 ft, 10 ft, 12 ft, 14 ft or 16 ft.
  7. Price per linear foot, in dollars: enter 0 or more.
  8. Read the result: Pieces to buy; the panel also shows Room perimeter (linear feet), Molding to install (linear feet), Molding with waste allowance (linear feet), Linear feet bought and Material cost.

How this calculator works

Perimeter of a rectangular room = 2 × (length + width). Molding to install = perimeter − openings: subtract door openings for baseboard; for crown molding, which runs above the doors, enter 0.

With waste = installed length × (1 + allowance ÷ 100). The allowance covers miter and cope cuts, short offcuts and defects; there is no standard figure, so take it from your installer or supplier (rooms with many corners need more).

Pieces = linear feet with waste ÷ stock length, rounded up to whole pieces. Cost = pieces × stock length × price per linear foot.

For an L-shaped or irregular room, add the length of every wall that gets molding, then enter half of that total as the length and 0 as the width: the calculator doubles length + width to get the perimeter.

The formula

  1. Pe=2×(len+wid)
  2. N=max⁡(0,Pe−o)
  3. Ne=N×(1+w100)
  4. Pie=ceil⁡(round⁡(Nep,6))
Symbols used in the formula
SymbolMeaningUnit
lenRoom lengthft
widRoom widthft
oOpenings to skip, total widthft
wWaste allowance for cuts and defects%
pStock length of each piece
PeResult of step 1
NResult of step 2
NeMolding with waste allowance (linear feet)
PiePieces to buy
max(a, b, …)the largest of the values.
ceil(x)the smallest whole number not below x.
round(x, d)x rounded to d decimal places, or to a whole number without d.

Worked example

Room length14 ft
Room width12 ft
Openings to skip, total width6 ft
Waste allowance for cuts and defects10%
Stock length of each piece16 ft
Price per linear foot$1.25
Room perimeter (linear feet)52
Molding to install (linear feet)46
Molding with waste allowance (linear feet)50.6
Linear feet bought64
Material cost$80.00
  1. Pe=2×(14+12)=52
  2. N=max⁡(0,52−6)=46
  3. Ne=46×(1+10100)=50.6
  4. Pie=ceil⁡(round⁡(50.616,6))=4

Pieces to buy 4

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

Should I subtract windows?

Not for baseboard or crown molding, which run below and above windows. Subtract only the openings the molding actually skips, such as doorways for baseboard.

Why buy longer pieces?

Longer stock means fewer joints along a wall. Pick the length that covers your longest wall in one piece if it fits in your vehicle.

Does this cover door and window casing?

No. Casing is measured around each opening: for a door, two side lengths plus the head, with extra for the miters.

Questions answered

Related calculators