UTILS.
Private by default
📏

Trim & Molding Linear-Foot Calculator

Calculate baseboard, crown, chair-rail, or casing linear feet from a room's perimeter, subtracting door openings and adding waste and stock-length counts.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

The Trim & Molding Linear-Foot Calculator figures out how much baseboard, crown molding, chair rail, or door/window casing to buy for a room. It starts from the room perimeter, calculated as 2 × (length + width) for a rectangular room. Baseboard and chair rail run around the room but stop at door openings, so the tool subtracts the total width of your openings from the perimeter. Crown molding runs continuously across the tops of the walls and ignores doors, so its length equals the full perimeter.

Casing is calculated per opening: a door is trimmed on three sides, so each opening needs 2 × height + width of molding. The tool multiplies that by the number of openings. Whichever trim type you choose, a cut-and-miter waste allowance is added on top — 10 percent is typical for straight profiles, and 15 percent is a safer margin for crown or patterned moldings where every corner is a compound miter.

Results show the net linear feet, the linear feet to purchase once waste is included, and the number of stock lengths to buy — 8, 12, or 16 ft boards — rounded up. The corner count is also reported as a quick guide to how many mitered joints you will cut. All math happens locally in your browser, so nothing you enter is uploaded.

Frequently asked questions

How is the trim length calculated?
For baseboard and chair rail it is the room perimeter, 2 × (length + width), minus the combined width of door openings. Crown molding uses the full perimeter with no deductions. Casing uses 2 × height + width per opening, summed over all openings.
Why do baseboard and crown give different amounts?
Baseboard and chair rail break at every doorway, so opening widths are subtracted. Crown molding runs along the wall-to-ceiling line uninterrupted by doors, so it needs the entire perimeter — usually a few feet more than baseboard in the same room.
How much waste should I add?
Ten percent is a common allowance for straight trim to cover miter cuts and mistakes. Bump it to 15 percent for crown or any patterned profile, since matching a pattern across joints and cutting compound miters wastes more material.
How do I pick a stock length?
Longer boards mean fewer joints on long walls but more offcut waste and harder handling. The tool divides your total footage by the chosen 8, 12, or 16 ft stock length and rounds up so you buy enough full pieces.

More tools