Skip to calculator
BuildTally

baseboard calculator

Baseboard & Trim Calculator

Linear feet, stock pieces, caulk and nails for any room.

Measurements
ft
ft

Each doorway removes 3 ft of baseboard run.

ft

Total width of cased openings, fireplaces or built-ins, in feet.

Reading the result

The number that matters is stock lengths, not linear feet. Trim is sold in fixed lengths, and a wall one inch longer than your stock forces a scarf joint or a second board. Always plan the longest walls first and cut the short pieces from what is left.

The formula

How this calculator works

Perimeter    = 2 × (length + width)
Run          = Perimeter − (doorways × 3 ft) − other openings
With waste   = Run × (1 + waste)
Pieces       = ceil( With waste ÷ stock length )
Corners      = 4 + (doorways × 2)
Caulk tubes  = ceil( total linear feet ÷ 100 )
Finish nails = total linear feet × 1.5

The waste factor on trim does something different from the waste factor on sheet goods. With drywall it covers breakage and bad cuts; with trim it covers the offcut left at the end of every board. If your room has four 14 ft walls and you buy 16 ft stock, you throw away 2 ft four times over — 12 percent of the material, before anyone makes a mistake.

That is why stock length is a real decision and not a detail. Match the stock to your longest wall wherever you can. A 14 ft wall wants 14 or 16 ft stock; buying 8 ft stock for it means a scarf joint in the middle of the most visible run in the room. Where a wall genuinely exceeds available stock, put the scarf joint away from the door you enter through.

Corner count drives your miter planning more than your material. Every inside corner on quality work is coped rather than mitered, because a coped joint stays closed when the house moves and a mitered one opens. Outside corners stay mitered. Count them before you start so you know how many of each you are committing to.

Worked example

Worked example: a 14 × 12 ft room with one doorway, 16 ft stock

  1. Perimeter2 × (14 + 12) = 52 ft
  2. Deduct doorway52 − 3 = 49 ft of run
  3. Waste at 10%49 × 1.10 = 53.9 ft
  4. Pieces at 16 ftceil(53.9 ÷ 16) = 4 pieces
  5. Corners4 inside + 2 at the door casing
  6. Caulkceil(54 ÷ 100) = 1 tube
  7. Nails54 × 1.5 ≈ 81 finish nails

Four 16 ft lengths gives 64 ft for a 49 ft run. That sounds generous until you lay it out: the 14 ft walls take one board each with 2 ft left, and those 2 ft offcuts are only useful if something in the room is shorter than 2 ft. Usually nothing is.

Reference

Common trim profiles and typical heights

ProfileTypical sizeWhere it fits
Colonial baseboard3¼ in tallStandard builder-grade rooms
Ranch / clamshell2¼–3¼ inMid-century and rental-grade
Flat stock baseboard5½–7¼ inModern and craftsman interiors
Shoe moulding¾ inCovers the floor gap; runs on top of base
Quarter round¾ inAlternative to shoe, heavier profile
Crown moulding3½–5¼ inWall-to-ceiling; measure the full perimeter

Taller baseboard suits taller ceilings. A common guide is roughly 1 in of baseboard height for every foot of ceiling, so 8 ft ceilings take 3 to 4 in and 10 ft ceilings carry 5 to 7 in comfortably.

Reference

Stock length efficiency by wall length

Wall lengthBest stockOffcutJoint needed
8 ft8 ft0 ftNo
10 ft12 ft2 ftNo
12 ft12 ft0 ftNo
14 ft14 ft0 ftNo
16 ft16 ft0 ftNo
18 ft16 ft + offcut—Yes, one scarf

Questions

Frequently asked

How do I calculate baseboard for a room?

Add up the perimeter, subtract about 3 ft for each doorway, add 10% for waste, then divide by the stock length you plan to buy and round up. Buying by linear foot without dividing by stock length will leave you short.

Do I subtract doorways?

Yes, about 3 ft for a standard 32 to 36 in door opening. Do not subtract windows unless they run to the floor. Cased openings and fireplaces come out at their actual width.

Should I cope or miter inside corners?

Cope. A coped joint tolerates walls that are not square and stays tight as the house moves through the seasons. Mitered inside corners look identical on day one and open into a visible gap within a year.

How much waste should I allow on trim?

10% for a simple rectangular room. Push to 15% if the room has many short walls, bay windows, or if your stock length is a poor match for your wall lengths, since every board leaves an offcut.

Do I need shoe moulding?

If you installed the floor after the baseboard, or if the floor is not perfectly flat, yes — shoe covers the expansion gap and the variation. On a new build where baseboard went in after flooring and both are dead flat, you can skip it for a cleaner modern look.

What nails should I use for baseboard?

16 gauge finish nails, 2 to 2½ in, driven into studs. 18 gauge brads are for shoe moulding and small profiles only — they do not have the holding power for a tall baseboard that is pulling against a slightly bowed wall.

Should I paint the trim before or after installing?

Prime and put on the first finish coat before installing, then fill nail holes, caulk the top edge and apply the last coat in place. Painting flat stock on sawhorses is far faster and produces a better film than working on your knees against the floor.

Related

Calculators for the same job

Results are estimates. Actual quantities vary with installation method, site conditions and material waste. Confirm quantities with your supplier or a licensed contractor before making a significant purchase.