Trim & Molding Calculator
How much trim do you actually need? This free trim and baseboards calculator gives DIYers and finish carpenters an instant material list — baseboard, crown, casing, chair rail, picture rail, and shoe — with linear feet, stick counts, fasteners, caulk, and crown compound-miter angles all in one screen.
Trim under-buys are the most common reason a finish carpenter has to come back a second day. Crown alone wastes 15% on cope cuts and compound miters, and casing math (with reveal and casing face width) trips up almost everyone the first time. The "17 LF per cased side" rule is fine for ordering — but the calculator shows the actual leg + head geometry so you can verify before you cut.
Built on the WMMPA/MMPA WM and LWM profile catalog, ANSI/AWI 0620 finish-carpentry tolerances, EPA TSCA Title VI / CARB Phase 2 emission limits for MDF, and RSMeans productivity baselines — runs in under a minute, no signup.
Trim & Molding Calculator
Estimate baseboard, crown, casing, chair rail, and shoe — with stick counts, fasteners, caulk, and crown compound-miter angles.
Rooms
Add every room you're trimming. Doors deduct from baseboard run; crown is continuous (no deduction).
Odd-shaped room? Work out the baseboard run in linear feet →
Milling trim from rough lumber? Get board feet →
How are doors deducted from the baseboard run? See the take-off diagram
Trim types to include
Pick every trim line you'll be installing
How should inside corners be joined? See why you cope, not miter
Profile selection
WM/LWM stock profiles per the MMPA catalog
Profile sizing rule of thumb: 3-1/4" base on 8 ft ceilings, 5-1/4" on 9 ft, 7-1/4"+ on 10 ft+. Casing reveal of 1/4" is the trade default.
Material and finish
Drives waste factor, fastener gauge, and per-LF cost
Where trim estimates and cuts go wrong
The linear-foot math is the easy part. These engineering-style diagrams cover the three things that trip up most trim jobs: how to join an inside corner so it stays tight, how the baseboard take-off subtracts door openings (while crown does not), and why crown moulding needs a compound miter instead of a single 45°.
The cope-versus-miter diagram is a joinery rule that does not change the linear feet but decides whether the corners close. Inside corners are coped — one piece butts in and the next is back-cut to its profile — because a mitered inside corner opens up when the wall is not truly square. The calculator sizes the run; the diagram is why the inside corners are coped.
The baseboard-takeoff diagram is why the calculator deducts doors from base but not crown. Both start from the room perimeter, but baseboard skips the door openings while crown runs over them, so the same room gives a shorter base run than crown run. That is why the trade you pick changes the linear feet from the same perimeter.
The crown-spring diagram is why crown corners are compound cuts, not flat miters. Crown springs off the wall at a fixed angle, so a corner takes a combined miter and bevel, and inside corners are coped while outside ones are mitered. The calculator sizes the run; the diagram is why crown cutting is not the same as base.
The small molding at the bottom of the baseboard has two common profiles. Quarter round is a symmetric quarter-circle — equal depth and height, about ¾ by ¾ inch — so it projects into the room as far as it rises. Base shoe is taller and thinner (about ½ inch deep by ¾ inch tall), so it hugs the baseboard and projects less, which is why finish carpenters reach for it on formal trim. Both cover the flooring expansion gap.
Calculation Formulas
Total continuous wall length for crown moulding and base run before deductions.
Example:
12 ft × 14 ft room → P = 2 × (12 + 14) = 52 LF
Subtract each door rough opening from the perimeter (typically 32" = 2.67 ft per door). Crown is NOT deducted — it runs continuously across door openings on the ceiling line.
Example:
52 LF − 1 × 2.67 = 49.33 LF of baseboard run
Two legs plus the head, where Dh = door height, Dw = door width, R = reveal, Cw = casing face width. Multiply by 2 for both sides cased.
Example:
32" × 80" door, 2-1/4" casing, 1/4" reveal: per side = 16.83 LF; both sides = 33.67 LF (matches the industry "17 LF per cased side" rule of thumb).
Four-sided mitered casing for windows without a stool. Use stool-and-apron variant when the bottom is finished with a horizontal sill.
Example:
36" × 36" window, 2-1/4" casing, 1/4" reveal ≈ 13.7 LF per window.
Per MMPA / Fine Homebuilding / JLC: 10% paint-grade base, casing, shoe; 15% paint-grade crown; +5 percentage points for stain-grade (color/grain selection).
Example:
49.33 LF baseboard × 1.10 = 54.27 LF to purchase
Trim is sold in 8, 10, 12, 14, and 16 ft sticks. Always round up to the nearest whole stick for purchase.
Example:
54.27 LF ÷ 16 ft = 3.39 → 4 sticks of 16 ft = 64 LF purchased
Cuts crown laid flat on the saw table — the JLC / Fine Homebuilding preferred method. For 38°/52° crown at a 90° corner: miter 31.62°, bevel 33.86°. For 45°/45° crown: miter 35.26°, bevel 30.00°.
Example:
38° spring × 90° corner → miter 31.62°, bevel 33.86° (matches the detents on Bosch / DeWalt / Makita compound saws).
At 16" o.c. studs: baseboard, crown, chair rail and wainscot cap use 1.5 nails/LF (two-nail pattern). Casing uses 2.0 nails/LF. Shoe / quarter round uses 1.0 brad/LF every 12".
Example:
54 LF baseboard × 1.5 = 81 finish nails (16 ga).
Design value of 50 LF per 10-oz tube of paintable acrylic latex caulk at a 1/4" × 1/4" bead. Joint length = 1× baseboard + 2× crown + 2× casing + 1× chair / picture rail + corner touch-up.
Example:
183 LF of joint ÷ 50 = 3.7 → 4 tubes.
Standard Constants
| Constant | Value | Description |
|---|---|---|
| Stock Lengths | 8 / 10 / 12 / 14 / 16 ft | MMPA-standard moulding stick lengths. MDF and finger-jointed pine are typically available in all five; hardwood and PVC are commonly limited to 8 and 12 ft. |
| Casing Reveal | 1/4" (default) | Hold casing 1/4" off the inside edge of the jamb on all three sides — the reveal makes the joint look intentional. Some shops use 3/16". |
| Baseboard-to-Floor Gap | 1/4" before flooring | Gap allows tile, hardwood, or LVP to slip under the base. After flooring goes in, gap is covered by shoe / quarter round. |
| Spring Angles | 38° / 52° (most common) and 45° / 45° | Crown spring is the angle between the back of the moulding and the wall when seated — NOT the face geometry. 38°/52° is stamped on most US compound saw detents; 45°/45° is symmetric. |
| Door Casing Rule of Thumb | 17 LF per cased side | Both legs + head for a standard 32" × 80" pre-hung door with 2-1/4" casing and 1/4" reveal. 34 LF for both sides cased. Bumps to ~19 LF/side with 3-1/2" casing. |
| Window Casing Rule of Thumb | 12 LF small / 15 LF large | 12 LF for windows ≤ 36" × 48" (picture frame). 15 LF for windows > 48" wide or > 60" tall, or stool-and-apron treatment. |
| Paint-Grade Waste Factor | 10% base / 15% crown | Higher for crown because of compound miters and cope practice cuts. Add 5 percentage points for stain-grade color/grain matching. |
| Nail Spacing | 16" o.c. (residential studs) | Trim is fastened at every stud and at top / bottom plates. Two-nail pattern on baseboard (one near top edge, one near bottom). Crown uses one into top plate + one into stud per 16". |
| Productivity Baseline | 200–250 LF per carpenter-day | RSMeans / JLC industry estimating for custom-grade base + casing trim-out. Premium / multi-piece / stain-grade work is 25–50% slower (130–190 LF/day). |
| Caulk Coverage | 50 LF per 10-oz tube | Design value at 1/4" × 1/4" bead. Thinner beads cover more (1/8" × 1/8" ≈ 230 LF), but trim joints settle at the larger size in practice. |
Note: All calculations include appropriate waste factors based on project complexity and material type. Results are estimates and should be verified by professionals before purchasing materials.
MMPA (formerly WMMPA) WM® / LWM® Profile Catalog(WM / LWM Combined Moulding Patterns)
View StandardThe de-facto North-American standard reference for stock interior moulding profiles. Numbers are mirrored by every major retailer (Home Depot, Lowe's, Menards), distributor (Woodgrain, Metrie, Kelleher, House of Fara), and millwork shop. "LWM" indicates the lightweight / thinner-stock version of the same profile family.
Key Requirements:
- •WM 623 / LWM 623 Colonial baseboard 9/16" × 3-1/4" — most common in US tract housing
- •WM 49 / LWM 49 Crown moulding 3-5/8" — most common stock crown profile
- •WM 356 Colonial casing 11/16" × 2-1/4" — standard interior door / window casing
- •WM 105 Quarter round 3/4" × 3/4" and WM 126 Base shoe 7/16" × 11/16"
- •Stock lengths 8 / 10 / 12 / 14 / 16 ft for softwood, MDF, and primed finger-jointed
ANSI A208.2 — Medium-Density Fiberboard for Interior Applications(ANSI A208.2)
View StandardComposite Panel Association (CPA) standard defining physical / mechanical properties, dimensional tolerances, and formaldehyde emission classes for MDF used in moulding cores. Test methods are ASTM D1037 (mechanical) and ASTM E1333 / D6007 (formaldehyde).
Key Requirements:
- •Density classification (HD, MD, LD) and modulus of rupture / elasticity minimums
- •Linear expansion ≤ 0.35% from 50% to 80% RH (typical interior MDF)
- •Internal bond strength minimum 90 psi (typical interior MDF)
- •Formaldehyde emissions per CARB Phase 2 / TSCA Title VI: MDF ≤ 0.11 ppm
- •Third-party certification and labeling required on all imported and domestic MDF
EPA TSCA Title VI / CARB Phase 2 ATCM — Composite Wood Formaldehyde(40 CFR 770 / CARB ATCM)
View StandardFederal formaldehyde-emission limits for composite wood products sold or used in the US. Identical to California's CARB Phase 2 since June 1, 2018. All MDF, finger-jointed core, and laminated trim must be third-party certified and labeled.
Key Requirements:
- •MDF: ≤ 0.11 ppm (thin MDF ≤ 8 mm: ≤ 0.13 ppm)
- •Particleboard: ≤ 0.09 ppm
- •Hardwood plywood: ≤ 0.05 ppm
- •NAF (No Added Formaldehyde) and ULEF (Ultra-Low Emitting Formaldehyde) exemption categories permitted
- •Compliance label on every package or bundle, with certifier ID
ANSI / AWI 0620 — Finish Carpentry / Installation(ANSI/AWI 0620)
View StandardArchitectural Woodwork Institute standard governing trim, casework, paneling, and integrated door system installation. Replaces the legacy AWS quality standards. Defines Economy, Custom, and Premium aesthetic grades.
Key Requirements:
- •Custom grade (residential default): joints / gaps to spec, defects "indistinguishable at 48 inches"
- •Premium grade (lobbies / executive): tightest tolerance, defects "indistinguishable at 24 inches"
- •Running joints on multi-component trim shall be staggered ≥ 24 inches from joints in adjacent components
- •Exposed-fastener staples may not exceed 0.188 inch (4.8 mm) crown
- •Scribing baseboard to floor is NOT required unless explicitly specified
ANSI / AWI 0622 + 0646 — Mouldings and Wood Trim(ANSI/AWI 0622 / 0646)
View StandardCompanion AWI standards covering shop-fabricated moulding assemblies and wood trim — material grades, machining tolerances, and finishing requirements. Used in conjunction with 0620 for installation.
Key Requirements:
- •Material grade selection by aesthetic grade (Economy / Custom / Premium)
- •Grain matching tolerances for stain-grade hardwood
- •Machining straightness, twist, and squareness limits
- •Finish system compatibility (paint, stain, conversion varnish)
- •Joinery tolerances on built-up profiles
ASTM E84 — Surface Burning Characteristics(ASTM E84)
View StandardTest method for the surface burning characteristics (flame spread index, smoke developed index) of building materials. The IRC does not regulate decorative interior trim, but Class I / II / III interior finish ratings apply when trim covers > 10% of wall surface in commercial Type I / II construction.
Key Requirements:
- •Class I (A): FSI 0–25, SDI 0–450 — required in exit corridors and high-rise commercial
- •Class II (B): FSI 26–75
- •Class III (C): FSI 76–200
- •Decorative trim < 10% of wall area is exempt from finish rating in most occupancies
- •Polystyrene foam and polyurethane foam mouldings require Class A intumescent coating in commercial application
EPA RRP Rule — Lead-Safe Renovation(40 CFR Part 745)
View StandardEPA Renovation, Repair, and Painting rule. Applies when disturbing painted surfaces in homes built before 1978. A calculator does not enforce this — but flagging pre-1978 homes is a best practice when removing or replacing painted trim.
Key Requirements:
- •Certified RRP firm and certified renovator required for any disturbance > 6 sq ft interior
- •Containment of work area with plastic sheeting and HEPA cleanup
- •Test kit or XRF confirmation of lead presence before disturbance
- •Records retained 3 years; Renovate Right pamphlet given to occupants
- •Applies to ALL pre-1978 housing unless tested lead-free
Standards Disclaimer: Standards and codes are subject to periodic updates. Always verify current requirements with local building authorities and professional engineers before beginning construction. Links provided are for reference only.
Climate, Material, and Wet-Area Selection
Humidity drives material choice — MDF warps where PVC and polyurethane do not
Primed MDF is the national paint-grade default but fails fast in bathrooms, near sinks, and in high-humidity climates with poor mechanical ventilation. PVC and high-density polyurethane handle moisture without warp or rot.
Regional Examples:
Trim Proportion to Ceiling Height
Industry rule of thumb — proportional sizing for visual balance
Baseboard, crown, and casing widths scale with ceiling height. Under-scaled trim on a tall room reads as cheap; over-scaled trim on an 8 ft ceiling reads as crowded.
Regional Examples:
Stain-Grade vs Paint-Grade Tradition by Region
Paint-grade dominates new construction; stain-grade survives in period and luxury
Paint-grade trim (MDF or finger-jointed primed) is now the national default for new builds and most remodels. Stain-grade hardwood remains common in pre-1940 housing stock and high-end work. Mixing the two in one house is a common — and tolerated — compromise.
Regional Examples:
Pre-1978 Homes and Lead-Safe Trim Replacement
EPA RRP rule applies — calculator flags but does not estimate disposal labor
Removing painted trim in homes built before 1978 falls under the EPA Renovation, Repair and Painting rule when disturbed area exceeds 6 sq ft inside or 20 sq ft outside. The rule applies to the labor and disposal phase, not the material take-off — but homeowners and contractors should plan for it before ordering replacement trim.
Regional Examples:
Sound Transmission and Acoustic Trim Treatments
Multi-family construction — IBC STC / IIC requirements
Trim itself does not affect sound ratings, but baseboard installation in multi-family construction is the most common path for flanking sound transmission. Floor-floating assemblies require an acoustic gasket or backer-rod-and-sealant detail at the wall-to-floor joint behind the baseboard.
Regional Examples:
Custom Profile Availability and Local Mill Lead Times
Stock is national; custom is regional
WM/LWM stock profiles ship from regional distributors in 2–5 days. Custom-knife profiles, historic reproductions, and species substitutions (poplar in oak profile, etc.) require a local millwork shop and add 1–4 week lead time.
Regional Examples:
Before You Build
- •Contact your local building department for specific requirements
- •Verify frost line depths, wind zones, and seismic requirements for your area
- •Check if permits are required and schedule required inspections
- •Consult with a local contractor familiar with local codes
Share this calculator with your customers
Run a contractor site, supply store, or blog? Drop this free trim & molding calculator straight onto your own page so your visitors can estimate materials without leaving. No signup, works on any website — just copy and paste.
Want to Learn More?
How to install baseboard and trim: cope inside corners, miter outside corners, cut, nail, scribe, caulk and finish like a pro. Casing and crown too.
Read the How to Install Baseboard & TrimSmall project — do you need a dumpster at all?
Projects this size often fit in a Bagster (up to 3 cubic yards). See how Bagster bags compare to a 10-yard dumpster on cost, access, and material limits.
Compare Bagster vs. Dumpster →
Related Calculators
Baseboard Calculator
How much baseboard do you need? Free calculator for linear feet, stock pieces, shoe, nails and caulk from a room, a wall perimeter, or house square footage.
Interior Doors Calculator
Per-door rough openings, hinge counts, locksets, pocket / barn / bifold / bypass / French / Dutch hardware, casing LF, and IRC code flags. Free, no signup.
Window Calculator
Per-window egress (IRC R310), safety glazing (R308), IECC U-factor & SHGC, flashing materials & 25C tax credit status. Free, no signup.
Board & Batten Calculator
Free board and batten calculator: exact even batten spacing with a batten in every corner, plus wainscoting box sizes and a full bill of materials.
Shiplap Calculator
Free shiplap calculator: exact board or pack count from the real exposed coverage width, not nominal size. Horizontal, vertical & ceiling runs.
Linear Feet Calculator
Free linear feet calculator: get running feet from a perimeter, a list of runs, or square feet. Subtract openings, see sticks to buy. No signup.
How to Use This Calculator
- Enter room dimensions: length, width, and ceiling height in feet.
- Add doors and windows: count, width, and height in inches. Doors deduct from baseboard run; crown is continuous (no deduction).
- Pick window casing style: picture frame (4-sided mitered) or stool & apron (3-sided + horizontal sill).
- Check the trim types to include: baseboard, base shoe / quarter round, crown, chair rail, picture rail, door casing (both sides), window casing.
- Pick profiles: baseboard (WM 623, WM 620, WM 618, ranch, craftsman), crown (WM 49, WM 47, WM 48, large, built-up), and casing (WM 356, WM 444, ranch, craftsman). Set the casing reveal — 1/4" is the default.
- Pick material and finish grade: MDF, finger-jointed pine, solid pine, poplar, oak, walnut/cherry/mahogany, PVC, or polyurethane — paint or stain grade. Stick length defaults to 16 ft.
- Click Calculate: see raw LF and waste-adjusted LF per trim line, stick count by stock length, fastener counts by gauge, caulk tubes, filler tubs, and a crown miter/bevel pair.
How the Crown Compound-Miter Math Works
When crown is laid flat on the saw table — the JLC / Fine Homebuilding preferred method — both miter and bevel are set to a compound pair determined by spring angle and corner angle. The math comes from spherical trigonometry: tan(miter) = cos(spring) × tan(corner/2), and sin(bevel) = sin(spring) × cos(corner/2). For 38°/52° crown at a 90° corner: miter 31.62°, bevel 33.86° — the values stamped at the "crown molding" detents on most US compound saws. The calculator computes these for any spring/corner pair and recommends coping inside corners on paint-grade work, which tolerates drywall variance and never opens up.
Frequently Asked Questions
How many linear feet of baseboard do I need?
Linear feet of baseboard = room perimeter minus door rough openings. For a 12 ft × 14 ft room with one 32-inch door: perimeter is 2 × (12 + 14) = 52 LF, minus 2.67 ft per door = 49.33 LF before waste. Industry calculators (Alexandria Moulding, DIYCalculate, The Moulding Company) consistently use 3 ft per door for the deduction, accounting for the 32-inch rough opening plus jamb width covered by casing. Add 10% paint-grade waste for cuts and corners (15% if many corners or stain-grade), then round up to whole sticks at your stock length. The baseboard take-off diagram shows perimeter minus door openings.
How do I calculate door and window casing in linear feet?
Per side of one pre-hung door: LF = 2 × (door height + reveal + casing width) + (door width + 2 × reveal + 2 × casing width), divided by 12 to get feet. For a 32 × 80-inch door with 2-1/4-inch casing and 1/4-inch reveal: each leg is 82.5 inches and the head is 37 inches, totaling 16.83 LF per side or 33.67 LF for both sides cased — the basis for the industry "17 LF per door" rule of thumb. Picture-frame window casing follows the same formula on all four sides: a 36 × 36-inch window needs about 13.7 LF; a 48 × 36-inch window needs about 15.7 LF.
What waste factor should I use for trim?
Per MMPA / Fine Homebuilding / JLC: 10% paint-grade waste for baseboard, casing, chair rail, picture rail, and shoe; 15% paint-grade waste for crown moulding (compound miters and cope practice cuts); +5 percentage points for stain-grade (color and grain selection from random board lots). Long open straight runs can run as low as 5–8% per WoodWeb consensus, but rooms with multiple inside corners and 2–3 doors hold at the 10–12% range. Built-up two-piece crown jumps to 15–20%.
What are the crown moulding miter and bevel angles?
When crown is laid flat on the saw table, set both miter and bevel to a compound pair determined by spring angle and corner angle. For a 90° corner: 38°/52° crown (most common stock) needs miter 31.62°, bevel 33.86° — the values stamped at the "crown molding" detents on most US compound saws. 45°/45° crown needs miter 35.26°, bevel 30°. The math is tan(miter) = cos(spring) × tan(corner/2), sin(bevel) = sin(spring) × cos(corner/2). For inside corners on paint-grade trim, cope rather than miter — coped joints compress over drywall variance and never open up. The crown miter diagram shows the spring angle and compound miter.
What’s the difference between WM and LWM profile numbers?
WM (Wood Moulding) profile numbers come from the MMPA/WMMPA Combined Moulding Patterns catalog — the de-facto US standard reference. LWM ("lightweight" or "thinner") indicates a thinner-stock version of the same profile family — for example, WM 623 colonial baseboard is 9/16" × 3-1/4" while LWM 623 is 1/2" × 3-1/4" with the same face profile. Every major retailer (Home Depot, Lowe's, Menards) and distributor (Woodgrain, Metrie, Kelleher) cross-references these numbers, so a WM 49 crown from one supplier matches a WM 49 from another in profile geometry — though species and material may differ.
Can I use MDF baseboard in a bathroom?
MDF will warp and swell in wet areas, including bathrooms with poor ventilation, near sinks, and on slab floors below grade. Use PVC or cellular vinyl (Royal, Veranda, Azek) for bathroom baseboard and shoe — paintable with latex, mechanically fastened, and non-rotting. High-density polyurethane is also acceptable for crown in bathrooms. Solid wood (poplar, pine) tolerates short-term humidity better than MDF but still suffers in chronic wet conditions. All composite-wood trim sold in the US must meet EPA TSCA Title VI / CARB Phase 2 formaldehyde limits regardless of where it is installed.
How is base shoe different from quarter round?
Base shoe is 7/16" × 11/16" with a slightly oval profile — lower silhouette, more flexible over uneven floors. Quarter round is a true 3/4" × 3/4" quarter-circle — heavier presence, covers larger expansion gaps from floating LVP or hardwood. Both go in front of the baseboard along the floor, are nailed into the BASEBOARD (never into the floor — the floor must be free to expand), and are caulked to the baseboard at the top. Never caulk the bottom of the shoe to the floor — that pins the floor down and causes buckling. The base shoe vs quarter round diagram compares the two profiles.
What size finish nail do I need for trim?
16-gauge finish nails (1-1/4" to 2-1/2" length) are the all-around residential trim standard — used for baseboard, casing, crown, and chair rail through drywall into studs. 15-gauge for heavier 3/4"+ baseboard and door jambs. 18-gauge brads (5/8" to 2-1/8") for shoe and quarter round, mitered returns, base cap, and light crown. 23-gauge pins for delicate stops and glue-clamping. A common pro kit is one 16-ga finish nailer, one 18-ga brad nailer, and a 23-ga pinner. Spacing: every 16 inches on center to hit the studs.