Trim and Moulding Calculator

Estimate the linear feet and pieces of baseboard, crown moulding and door casing for a room, with waste for mitre cuts.

%

Result

Room perimeter—ft
Baseboard length (minus doors)—ft
Baseboard pieces—
Crown moulding length—ft
Crown pieces—
Door casing (both sides)—ft
Casing pieces—

Trim is the finishing layer: baseboard where the wall meets the floor, crown moulding where it meets the ceiling and casing around doors and windows. It is sold by the length, in stock pieces, and every corner and joint takes a little more than the room’s measurements. This trim and moulding calculator estimates the length and the number of pieces for each type from the room size and the number of doors.

How to use the trim and moulding calculator

  1. Enter the room length and width. For irregular rooms, add the lengths of the walls to get the perimeter and enter an equivalent rectangle.
  2. Enter the number of doors (and wide openings) and their average width and height.
  3. Choose the stock length and the waste allowance.
  4. Read the lengths and pieces of baseboard, crown and casing.

Trim formulas

Trim = room perimeter doorlength LWPerimeter =2 × (L + W)Baseboard =perimeter − doorsCrown = perimeter calcmaple.com
Trim runs along the room perimeter; baseboard skips the door openings, while crown follows the full perimeter.
Perimeter = 2 × (length + width)
Baseboard = perimeter − door widths
Crown = perimeter
Door casing = doors × 2 sides × (2 × height + width)
Pieces = ⌈ length × (1 + waste) ÷ stock length ⌉

Baseboard stops at each door opening, so doors are subtracted. Crown moulding runs continuously, so it keeps the full perimeter. Casing frames each side of a door with two legs and a head piece.

Worked example: a 12 × 10 ft room with two 3 ft doors

  1. Perimeter: 2 × (12 + 10) = 44 ft.
  2. Baseboard: 44 − 2 × 3 = 38 ft; with 10% waste, 41.8 ft ÷ 8 = 6 pieces of 8 ft.
  3. Crown moulding: 44 × 1.10 = 48.4 ft, or 7 pieces of 8 ft.
  4. Casing for two doors on both sides: 2 × 2 × (2 × 6.67 + 3) = 65.4 ft.

Baseboard for common rooms (one 3 ft door, 10% waste)

RoomPerimeter (ft)Baseboard (ft)8 ft pieces12 ft pieces
10 × 10 ft403764
12 × 12 ft484575
12 × 15 ft545185
14 × 18 ft646196
16 × 20 ft7269107
20 × 24 ft8885128

Cutting and fitting

  • Inside corners: cope one piece so that it fits the profile of the other, or cut mitres at 45° for a simpler look.
  • Outside corners: mitre both pieces at 45° and glue and nail them.
  • Long walls: join pieces with a scarf joint (two 22.5° cuts) over a stud.
  • Crown moulding: is cut upside down and backward against the saw fence at its spring angle, and needs a cutting guide or a test piece.
  • Finishing: fill nail holes, caulk the seams and paint the trim before or after installation as you prefer.

Buying tips

Choose finger-jointed primed boards for painted trim and solid wood for stained trim. Check lengths for warps and buy all the pieces together. For more precise totals, measure each wall and add up the pieces, using long pieces for long walls. Related tools: the Wainscoting Layout Calculator for panelled walls, the Drywall Calculator for wall boards, the Wall Framing Calculator for stud walls and the Linear Feet to Square Feet Calculator for coverage.

Frequently asked questions

How much baseboard do I need for a room?

Add the lengths of all walls (the perimeter), subtract the width of each door opening, and add 10% for waste. A 12 × 10 ft room has a 44 ft perimeter; with two 3 ft doors that is 38 ft of baseboard before waste.

How much waste should I allow for trim?

Ten percent is typical. Mitred corners, scarf joints and cut-offs use more lumber than the room’s length, and complex rooms or crown moulding need 15% or more.

How much casing is needed for a door?

Each door needs two vertical legs and a head piece on each side of the wall: 2 × height + width for one side, doubled for both sides. For a 3 × 6⅔ ft door that is 16.3 ft per side, or 32.7 ft for both sides.

Should I buy long pieces?

Long boards (12 or 16 ft) reduce the number of joints, which look better, but are harder to carry. Plan the layout so that joints fall on studs and corners.

Does crown moulding use the same length as baseboard?

Crown goes all around the room at the ceiling, so it uses the full perimeter with no door deductions. It is more expensive and wastes more at mitres, so allow a bit extra.

Related calculators

Last updated October 31, 2026. Found a problem with this calculator? Tell us.