Trim & Molding Calculator — Pieces for the Room

Total wall length in — baseboard, crown or casing pieces out, with the 10% that miter cuts eat.

Trim & Molding Calculator

Paste it on your own page or wiki — no signup, no tracking script.

Linear feet, then pieces

Trim is sold in 8, 12 and 16-foot sticks priced by the linear foot. The calculation: room perimeter minus door openings, × 1.1 for miter waste, ÷ piece length = pieces to buy. Corner miters eat several inches per corner, and the piece you measure wrong is always the last one.

Crown needs more than the math

Crown molding runs on a compound angle — the spring angle means the wall and ceiling cuts differ, and inside/outside corners flip the miter direction. Cut test pieces from offcuts before touching the good stock. Baseboard and casing are square-cut at the wall, far more forgiving.

Sources and standards

Where these figures come from

Every formula on this page is implemented from the published reference material below. Where a value depends on a regional code, the calculator lets you override it rather than assuming one jurisdiction.

Figures, formulas and reference tables last verified: 19 September 2026.

FAQ

How much baseboard for a 12×12 room?

48 ft perimeter minus the door ≈ 44 ft — with 10% waste, six 8-foot or four 12-foot pieces.

More project calculators

Have a suggestion?

Missing a feature or found something off? Tell us — user suggestions decide what we build next.