HomeConstruction & Home › Baseboard Trim Calculator

Baseboard Trim Calculator

Computes the room perimeter, subtracts door and other openings, adds a cutting-waste allowance and converts the length of baseboard (skirting) into stock pieces to buy, with the inside and outside corner count for a rectangular room and an optional cost.

When to use

You need to know how many lengths of baseboard, skirting board, shoe molding or quarter round to buy for a room.

Do not use when: You need the compound angles for crown molding (use crown-molding-miter) or the room is L-shaped: split it into rectangles and add one inside and one outside corner per notch.

Formula

perimeter = 2 × (room_length + room_width); net = perimeter − doors × door_width − other_openings_length; trim_length_needed = net × (1 + waste_percent/100); pieces_to_buy = ceil(trim_length_needed / trim_piece_length); total_cost = pieces × price_per_piece.

Plain perimeter take-off; the waste allowance covers 45° mitres at outside corners, coped inside corners and scarf joints on long walls (pieces at least as long as the longest wall avoid joints). Shoe molding or quarter round needs the same length again.

Inputs

ParameterTypeUnitRequiredDescription
room_lengthnumberm or ftyesRoom length in metres or feet (see unit). Range: > 0, ≤ 1000
room_widthnumberm or ftyesRoom width in metres or feet. Range: > 0, ≤ 1000
unitenum: m | ftdefault mUnit of the length inputs (m or ft). Lengths are reported in both units.
doorsintegerdefault 1Number of door openings without baseboard. Range: ≥ 0, ≤ 50
door_widthnumberm or ftnoWidth of each door opening; default 0.9 m (metric) or 3 ft (imperial). Range: > 0, ≤ 10
other_openings_lengthnumberm or ftdefault 0Total length of other gaps with no baseboard (built-in cabinets, fireplace, archways). Range: ≥ 0, ≤ 1000
trim_piece_lengthnumberm or ftnoLength of the stock pieces you will buy; default 3.66 m (metric, a 12 ft length) or 12 ft (imperial). Common lengths: 2.4, 3, 3.66, 4.2 m; 8, 12, 16 ft. Range: > 0, ≤ 20
waste_percentnumber%default 10Extra material for cuts, breakage and offcuts, applied as a multiplier (1 + waste_percent/100). 10 % covers mitre cuts, scarf joints and damaged ends; use 15 % for rooms with many corners. Range: ≥ 0, ≤ 50
price_per_piecenumbernoOptional price of one stock piece; enables total_cost. Range: ≥ 0

Outputs

OutputTypeUnitDescription
perimeter_mnumberm2 × (room_length + room_width).
perimeter_ftnumberftPerimeter in feet.
trim_length_needed_mnumberm(perimeter − doors × door_width − other_openings_length) × (1 + waste_percent/100).
trim_length_needed_ftnumberftSame length in feet.
pieces_to_buyintegerceil(trim_length_needed / trim_piece_length).
inside_cornersinteger4 for a rectangular room (cope or 45° inside mitre each).
outside_cornersinteger0 for a rectangular room (add 1 inside + 1 outside per notch of an L-shape).
total_costnumberpieces_to_buy × price_per_piece; only when a price is given.

Example

5 m × 4 m room, one 0.9 m door, 3.66 m pieces, 10 % waste: {"room_length":5,"room_width":4,"unit":"m","doors":1,"door_width":0.9,"trim_piece_length":3.66,"waste_percent":10}{"perimeter_m":18,"perimeter_ft":59.06,"trim_length_needed_m":18.81,"trim_length_needed_ft":61.71,"pieces_to_buy":6,"inside_corners":4,"outside_corners":0}

14 ft × 12 ft room, two 3 ft doors, 12 ft pieces at $15, 10 % waste: {"room_length":14,"room_width":12,"unit":"ft","doors":2,"waste_percent":10,"price_per_piece":15}{"perimeter_ft":52,"perimeter_m":15.85,"trim_length_needed_ft":50.6,"trim_length_needed_m":15.42,"pieces_to_buy":5,"total_cost":75}

GET https://tttkmbb.com/api/v1/calculate/baseboard-trim?room_length=5&room_width=4&unit=m&doors=1&door_width=0.9&trim_piece_length=3.66&waste_percent=10

Machine access

Sources

FAQ

Should I subtract the door openings?

Yes, baseboard stops at the door casing; each door removes its width (0.9 m / 3 ft typical). Windows do not matter because they are above the baseboard.

Which piece length should I buy?

Pieces longer than the longest wall avoid scarf joints: 4.2 m or 16 ft for a 4 m / 13 ft wall. Shorter pieces are cheaper to transport but each joint costs extra waste.

Related calculators