32 calculators

Flooring planning tool

Baseboard Trim Calculator

Estimate the number of baseboard or other floor trim pieces to buy for a rectangular room. Enter the room size, the total width of doorways and other openings that get no trim, and the length of one piece.

01

Room size and trim pieces

Enter the room, openings, and piece length

Measurement system

Add up the widths of doorways and other gaps along the walls that get no trim. Enter 0 if trim runs along every wall.

Enter the length of one trim piece as sold. Piece lengths differ between products, so the calculator does not assume one.

02

Purchase quantity

Baseboard pieces required

Enter the piece length to see your result

Use the length of one trim piece as sold to calculate the number of whole pieces to purchase.

How it works

From room perimeter to whole pieces

Quick answer

The calculator adds the four walls to find the room perimeter, subtracts the openings that get no trim, adds your waste allowance, divides by the length of one piece, and rounds the purchase quantity up to a whole piece.

Baseboard trim formula

Trim length = 2 × (Room length + Room width) − Openings

Pieces = Trim length × (1 + Waste ÷ 100) ÷ Piece length, rounded up

All measurements are converted to the same unit first. The openings must total less than the room perimeter. The leftover length is the length of the pieces you buy beyond the length with waste.

Worked example: 12 × 10 ft room, 8 ft pieces

  1. Add the four walls2 × (12 + 10) = 44 ft
  2. Subtract a 3 ft doorway44 − 3 = 41 ft
  3. Apply a 10% waste allowance41 × 1.1 = 45.1 ft
  4. Divide by the piece length45.1 ÷ 8 = 5.64 pieces
  5. Round up for purchase6 pieces

Piece length and waste allowance

Trim is sold in different lengths, so enter the length of the pieces you plan to buy, as listed on the product. Joints, corner cuts, and short offcuts that cannot be reused depend on the room and the trim, so no waste percentage is prescribed.

Estimate limitations

This calculator assumes a rectangular room with straight walls. Joints, scarf cuts, and corner pieces are covered only by the waste allowance, and it does not estimate corner blocks, fasteners, adhesive, or finish. It does not add a second trim, such as quarter round, on top of the baseboard; calculate that separately.

Frequently asked questions

What counts as an opening?
Any part of the wall where the trim stops, such as a doorway or an open archway. Add their widths together and enter the total. Enter 0 if trim runs along every wall.
Which piece length should I enter?
Enter the length of one piece as sold, from the product label or listing. In US Customary mode it is in feet, and in Metric mode it is in meters.
Why does the calculator round up?
Trim is purchased in whole pieces, so a fractional requirement is rounded upward to avoid buying less trim than the calculated length needs.
What is the leftover length?
It is the length of the pieces you buy beyond the length with waste. It is usually spread across offcuts from several pieces, so it may not be usable as one length.
Can I use Metric units?
Yes. Metric mode accepts every length in meters and keeps the same physical values when you switch.
What if my room is not a rectangle?
Add up the lengths along the walls that need trim, leaving out doorways and other gaps. Enter a quarter of that total as both the room length and the room width, and enter 0 for the openings.

Keep planning