Home › Lumber
Trim & Molding Calculator
Formula verified · Updated Nov 2026
Results update as you type. Estimates only — confirm final quantities before ordering.
Enter a room's length and width to get the trim it needs: baseboard runs around the walls minus the doorways, crown molding runs the full perimeter, and both together is just the sum. The calculator adds your waste allowance, divides by the piece length you buy, and counts the inside and outside corners you will have to cut.
The formula
Baseboard (net) = Perimeter − Doorways × Doorway width
Crown molding (net) = Perimeter (no deduction — it runs over the doors)
Both = Baseboard + Crown molding
To buy = Net × (1 + Waste)
Pieces = ceil(To buy ÷ Piece length)
Inside corners = 4 per molding type (8 for both)
Baseboard stops at every doorway — there is no trim across a door opening — but it runs under windows, so windows are not deducted. Crown molding runs the full perimeter because it sits at the ceiling, above every door. A plain rectangular room has four inside corners; count outside corners separately for bays, chimney breasts and boxed-in corners, because each one is a mitered joint that eats material.
Worked example
Example: a 12 ft × 10 ft bedroom, baseboard only, one 3 ft doorway, 8 ft pieces, 10% waste.
- Perimeter: 2 × (12 + 10) = 44 ft
- Net baseboard: 44 − 3 = 41 ft
- To buy: 41 × 1.1 = 45.1 ft
- Pieces: ceil(45.1 ÷ 8) = 6 pieces
- Inside corners: 4
Crown only for the same room: 44 ft net, 48.4 ft to buy, 7 pieces. Both (two 3 ft doorways, 12 ft pieces): baseboard 38 ft + crown 44 ft = 82 ft net, 90.2 ft to buy, 8 pieces, 8 inside corners.
Reference chart
| Room size | Net baseboard | To buy (+10%) | Pieces (8 ft) |
|---|---|---|---|
| 10 × 10 ft | 37 ft | 40.7 ft | 6 |
| 12 × 10 ft | 41 ft | 45.1 ft | 6 |
| 12 × 12 ft | 45 ft | 49.5 ft | 7 |
| 15 × 12 ft | 51 ft | 56.1 ft | 8 |
| 20 × 15 ft | 67 ft | 73.7 ft | 10 |
Frequently asked questions
Does baseboard run under windows?
Yes — the wall continues below a window, so the baseboard runs straight past it. Only doorways are deducted, because there is no wall — and no trim — across a door opening. That is why this calculator asks for doorways and not windows.
How much waste should I allow for trim?
Ten percent is the standard allowance for a plain rectangular room. Use 15% for rooms with many corners, bays or short wall runs, because every mitered joint consumes a piece end and short offcuts often cannot be reused. Long straight runs waste the least.
What is the difference between an inside and an outside corner?
An inside corner is where two walls meet at 90° pointing into the room — the usual four corners of a rectangular room. An outside corner points out into the room: a bay window, a chimney breast or a boxed-in column. Inside corners are usually coped on baseboard and crown so the joint stays tight as the wood moves; outside corners are mitered. Each outside corner needs a miter cut on every molding type you run.
Is crown molding the same linear footage as baseboard?
No — crown runs the full perimeter with no door deduction, because it sits at the ceiling above every door, while baseboard stops at each doorway. For a 12 × 10 ft room with one 3 ft door, baseboard is 41 ft net and crown is 44 ft net. Ordering both means baseboard plus crown: 85 ft net for that room.
What piece length should I buy — 8, 12 or 16 ft?
Eight-foot pieces are the easiest to carry and cut, but they leave the most joints. Twelve- and sixteen-foot pieces give longer unbroken runs with fewer joints, which look better on long walls, but they are harder to transport and to handle alone. The piece count on this page is rounded up to whole pieces at the length you choose — buy one spare piece for a big room, because a miscut on the last run is the classic way to run short.
Related calculators
- Paint Calculator — Gallons of paint for interior walls, exterior walls or ceilings — plus job cost.
- Flooring Calculator — Boxes, square yards and full installation cost for LVP, hardwood, laminate or carpet.
- Drywall Calculator — Sheets of 4×8 and 4×12 drywall for your wall and ceiling area.
How we verify this
Perimeter geometry; baseboard stops at door openings and runs under windows (standard finish-carpentry practice); crown molding runs the full perimeter at ceiling height; 10% waste is the standard trim allowance; inside corners 4 per rectangular room, outside corners counted separately.