Audited 27 Jul 2026·Last updated 28 Oct 2026·5 citations·Tier 1·0 uses

Baseboard Trim Calculator

Work out baseboard linear feet from room sizes, door openings and a waste allowance, then the whole boards to buy, spare footage and material cost.

Baseboard Trim Calculator

Enter each rectangular room as lengthFt x widthFt, separated by commas.
Optional extra linear feet of trim not captured by rectangular rooms.
Total width of doors and openings where baseboard will not run.
Extra material to cover cuts, corners, splices, and mistakes.
Stock board length
Optional supplier price per stock board for the material subtotal.
Waste-adjusted trim length
135.52
The linear feet of trim to buy for: net wall length plus your waste allowance, before rounding to whole boards.
Gross room perimeter
142
Opening deduction length
21
Net baseboard length
121
Board count
9
Ordered linear feet
144
Spare linear feet
8.48
Material cost
168.75

Background.

Baseboard is installed by the foot and bought by the board, and most ordering mistakes happen in the gap between the two. A 16 by 12 foot bedroom has 192 square feet of floor but only 56 feet of wall to trim. That 56 feet shrinks once the doorway is taken out, grows again once you allow for corner cuts and offcuts too short to use, and then has to become a whole number of boards, because no lumber yard sells 0.47 of a 16-footer.

The arithmetic follows that sequence. Each room's perimeter is 2 × (length + width); the perimeters are added along with any extra wall runs; the widths of doorways and other gaps where no trim will run are subtracted; a waste percentage goes on top of the net; and the result is divided by the stock length and rounded up. For two rooms and a hallway with 142 feet of perimeter, 21 feet of openings and a 12% allowance, the target is 135.52 linear feet, which takes 9 boards of 16 feet, 144 feet in all, with 8.48 feet to spare.

That spare is not an error or an upsell. Rounding up to whole boards always leaves something over, and here 144 feet of stock against 121 feet of wall amounts to a 19% allowance rather than the 12% asked for. Whether that is generous or tight depends on the job. A few long, square rooms in paint-grade MDF waste very little. A hallway full of short returns, an older house whose corners are nowhere near 90 degrees, or stain-grade oak where you may reject boards for grain and colour will use it up quickly.

What the arithmetic does not do is lay out the cuts. It treats all the footage as a single pool, as though an offcut from the bedroom could always fill a gap in the hall. Real boards come in fixed lengths, long walls need a splice or a board long enough to span them, and some offcuts are too short to go anywhere. Use the board count as your order, then walk the rooms with a tape measure and a rough cut plan before the saw comes out.

What is baseboard trim calculator?

Baseboard, called skirting board in Britain, is the moulding along the bottom of a wall where it meets the floor. It covers the joint and protects the wall from knocks, vacuum cleaners and mops. Shoe moulding and quarter round are smaller profiles nailed along its foot, usually to hide the expansion gap a floating or solid-wood floor needs at the walls. All three are linear materials, measured in linear feet along the wall and sold in stock lengths, commonly 8 to 16 feet.

A baseboard estimate turns room dimensions into a purchase: gross perimeter, minus openings, plus waste, divided into whole stock lengths. Perimeter is the distance around the walls. The opening deduction is the width of every doorway, cased opening or cabinet run where no trim runs. Waste covers saw cuts, corner joints, splices, damaged pieces and mistakes. Ordered length is boards × stock length, and spare is what remains beyond the waste-adjusted target.

Corner joints belong to the craft rather than the quantity. Inside corners are commonly coped, one piece cut to the profile of the other so the joint stays tight even when the corner is out of square, while outside corners are mitered at 45 degrees. Long walls take a scarf joint: two boards cut at matching angles and overlapped, ideally over a stud. None of these changes the perimeter, but each one consumes material, which is why more corners and splices call for a higher waste percentage.

How to use this calculator.

  1. Type each room as length x width in feet, separating rooms with commas, for example 16x12, 10x11, 18x4. Convert inches to decimal feet (12 ft 6 in is 12.5). For an L-shaped room, enter its overall length and width; the perimeter comes out the same.
  2. Add any wall that is not part of a full rectangle, such as a single wall, a landing or the back of an alcove, as one total in feet under Custom wall runs.
  3. Add up the widths of every doorway, cased opening and archway where the trim stops, plus kitchen or vanity cabinet runs and any open hallway end counted in its rectangle, and enter that total under Opening deductions. Measure to the outside edge of the door casing, since the baseboard butts against it.
  4. Set the waste allowance. The default 12% suits straightforward rooms with long walls; raise it for many short returns, out-of-square corners or stain-grade boards you may need to sort for colour.
  5. Choose the stock length your supplier sells and its price per board. Corners and splices are not entered separately; the waste percentage is the one allowance that covers them.
  6. Read the waste-adjusted length, the board count and the spare. If the spare is only a few inches, one more board is cheap insurance against a miscut.

The formula.

Boards = ⌈ (P − O) × (1 + w) ⁄ Lₛ ⌉

Boards = ⌈(P − O) × (1 + w) ÷ Lₛ⌉. P is the gross perimeter: 2 × (length + width) for each room, added together, plus any custom wall runs. O is the total opening deduction, and the net length P − O never goes below zero. w is the waste percentage written as a fraction, so the waste-adjusted target is net × (1 + w). Lₛ is the stock board length, and the brackets ⌈ ⌉ mean round up to the next whole board. Ordered length is boards × Lₛ, spare is ordered length minus the target, and material cost is boards × price per board.

Perimeter rather than floor area drives the result because trim follows the walls. That makes room shape matter less than people expect. A room whose walls all meet at right angles and which has no inward notch, such as an L or a T, has exactly the same perimeter as the rectangle drawn around it, because each step in the wall adds back the length the missing corner takes away. A U-shaped room, or one with a chimney breast or column projecting from a wall, is different: each projection adds twice its depth.

Waste is set as a percentage of the net because cutting loss grows with the number of cuts, and the number of cuts grows with the job. After rounding, though, the board count sets the real allowance: (boards × Lₛ ÷ net) − 1. In the example that is 144 ÷ 121 − 1 = 19.0%, so any waste setting up to that level still gives 9 boards, while 20% raises the target to 145.2 feet and a tenth board appears.

The main simplification is the pooled footage. The count assumes any offcut can serve any wall, which stops being true when the leftovers are all shorter than the gaps that remain. It also assumes every wall of each rectangle is trimmed, so open sides have to come out through the opening deduction.

A worked example.

Example

The example project is two rooms and a hallway. The 16 by 12 foot room has a perimeter of 2 × (16 + 12) = 56 feet, the 10 by 11 foot room 2 × (10 + 11) = 42 feet, and the 18 by 4 foot hallway 2 × (18 + 4) = 44 feet, for 142 linear feet gross. Five 3-foot doorways and one 6-foot cased opening take out 21 feet, leaving 121 feet of wall to trim. A 12% allowance gives 121 × 1.12 = 135.52 linear feet. With 16-foot boards that is 135.52 ÷ 16 = 8.47, rounded up to 9 boards, or 144 feet of stock and 8.48 feet to spare. At 18.75 a board, the material comes to 9 × 18.75 = 168.75, about 1.17 per linear foot. Buy the same profile in 8-foot lengths and the target needs 135.52 ÷ 8 = 16.94, so 17 boards and 136 feet, leaving only 0.48 feet, under six inches, beyond the allowance. The shorter boards fit the footage more tightly but bring nearly twice as many pieces and roughly twice the joints to fit along the long walls.

opening Deduction Ft21
cost Per Board18.75
waste Percent12
stock Board Length Ft16

Frequently asked questions.

Is baseboard calculated by square feet?
No. Baseboard is measured in linear feet because it runs along the wall. Floor area is the right measure for flooring, not trim. A 16 by 12 foot room is 192 square feet of floor and 56 linear feet of perimeter before openings, and ordering by the larger number would buy more than three times the trim you need.
Should I subtract door openings?
Yes, wherever no baseboard runs across the gap. Interior doorways, closet openings and cased openings come out by their full width to the outside of the casing. Check before deducting, though: trim may wrap a return, stop at a plinth block or continue into a closet, and a large deduction entered in error will leave you short.
How much extra trim should I allow for cutting waste?
Start from the 12% default for simple rooms with long walls and raise it when the job is cut-heavy: many short returns, out-of-square corners, ornate or tall profiles, or stain-grade boards you may reject for grain. Remember rounding adds its own margin; in the example, 9 boards give an effective 19% allowance over the 121 feet of wall.
Why might I need more boards than the total footage suggests?
Because the count assumes every offcut can be reused somewhere. A long wall that has to be one continuous piece, or a set of leftovers all shorter than the remaining gaps, can call for another board even when the total footage looks sufficient. Installers also add boards to keep joints away from focal walls or to match grain on stained work.
Can I use this for quarter round or shoe molding?
Yes. Shoe and quarter round follow the same wall line, stop at the same door casings and are sold in stock lengths, so perimeter, deductions, waste and rounding all work the same way. Enter that profile's stock length and price. Small profiles are often fitted after the flooring and can run along cabinet bases too, so adjust the deduction to suit.
Do inside and outside corners change how much trim I need?
Not the length of wall: going round a corner does not add footage. Corners add cuts, though, and outside miters are the least forgiving cut in the job, so a room with many corners deserves more waste. The calculator has no corner field and does not add a fixed allowance per corner; raise the waste percentage instead.
Which stock length should I buy?
The longest your supplier sells and you can carry home and into the room. Longer boards mean fewer joints on long walls. For the example's 135.52-foot target, 16-foot boards need 9 and 12-foot boards need 12, both 144 feet of stock; 10-foot or 14-foot boards both total 140 feet; 8-foot boards need 17.
How do I measure an L-shaped room or one with a chimney breast?
For an L-shaped or T-shaped room, enter its overall length and width: the perimeter equals that of the surrounding rectangle. A chimney breast, column or alcove projecting from a wall adds twice its depth, so put that extra under Custom wall runs. For anything stranger, measure each wall and add them up.
Do closets and kitchens need their own entries?
Walk-in and reach-in closets usually get baseboard, so enter each as a small room and deduct its doorway. Kitchens are the opposite: no baseboard runs behind cabinets, so deduct every cabinet run from the room's perimeter. The cabinet toe-kicks get their own finish and are not part of this count.
Should I choose MDF, finger-jointed pine or solid wood?
For painted trim, MDF and finger-jointed pine are cheaper and straighter than solid boards, which keeps waste low; MDF swells if it gets wet, so avoid it where floors are mopped heavily or in bathrooms. Solid hardwood is the choice when the trim will be stained, and sorting it for colour and grain usually needs a higher waste allowance.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
Boards = ⌈ (P − O) × (1 + w) ⁄ Lₛ ⌉
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon