Estimate how many feet of baseboard and stock boards to buy. Subtract door openings, add a cut allowance, and enter the stock length.
Enter your measurements
Add the wall runs where the trim will go, then subtract doorways or other breaks if they were included in your total.

Worked example
A 12 × 14 ft. room has a 52 ft. perimeter. Subtract a 3 ft. doorway to get 49 ft. A 10% cut allowance brings the total to 53.9 ft. That is at least seven 8 ft. boards by length. Check your cut list before buying.
Measure wall by wall
Sketch the room and write down each run between corners, door casings, and permanent openings. If you measure only the separate lengths that will get trim, leave the doorways field at zero. Include closets and alcoves only when the same profile will be installed there.
Build a cut list before you order
An estimate based on total footage can miss how the cuts fit on stock boards. If you have three 5 ft. runs and are buying 8 ft. stock, you need three boards to avoid seams even though 15 ft. fits within the total length of two boards. List the longest runs first and match them to the lengths you can buy.
How the calculator works
Subtract the openings from the wall total, then multiply by one plus the cut allowance. Divide by stock length and round up to a whole board. Compare that result with your cut list and use the higher count.