Methodology
Formula & assumptions
Gross perimeter
2 × (room length + room width)
Total wall-floor boundary of a rectangular room.
Net baseboard length
gross perimeter − door count × door width
Removes openings where baseboard will not be installed.
Purchase target
net length × (1 + waste %)
Allows for cuts, miters and defects.
Stock pieces
purchase target ÷ piece length, rounded up
Does not optimize a detailed cut list.