Calculate board feet

Lumber Cost Calculator

Work out how many pieces of dimensional lumber to buy with extra for defects, what they cost and the price per board foot.

By WorkbenchMath Editorial Updated

Your measurements

Fill in the fields: the result appears under the form, with the formula below it.

Clear

How it works

Pieces to buy = pieces needed × (1 + extra), rounded up; cost = pieces to buy × price per piece

Dimensional lumber at home centers is priced per piece, while hardwood dealers price by the board foot. The calculator does both sums: it adds your allowance for warped or knotty boards and cutting mistakes, multiplies by the shelf price and converts the result to board feet on the nominal size — the way the lumber trade tallies softwood. Twenty 2x4s 8 ft long with 10 % extra means 22 pieces and 117.33 board feet.

The price per board foot is the useful comparison figure. Dividing the piece price by the board feet in one piece shows whether a wider board, a longer one or a different species is better value, and lets you compare a home-center board with a quote from a hardwood dealer.

Worked example

The calculator’s own test case; enter the price from your store
Input or resultValue
Size and length 2x4, 8 ft
Pieces needed 20
Extra for defects and mistakes 10%
Example shelf price $4.00 per piece
Pieces to buy 22 (20 × 1.10, rounded up)
Total cost $88.00
Board feet bought 22 × 5.33 = 117.33 bf
Price per board foot $4.00 ÷ 5.33 = $0.75

The rounding is always up, because you cannot buy part of a board: 20 pieces with 10% extra is 22, but 21 pieces with 10% extra is 23.1, which becomes 24. The board feet use the nominal 2 × 4 in section, as softwood lumber is tallied, so a 2x4 that is 8 ft long counts as 5.33 bf although its actual 1-1/2 × 3-1/2 in section contains less wood.

Assumptions and limits

One size, one length and one price per run: for a project that mixes sizes, run the calculator once per line and add the totals. The extra percentage is your judgement, not a published waste factor. The result excludes sales tax, delivery and cutting charges. It also assumes every board you buy is usable after the extra pieces are set aside; for rough hardwood, where yield after defects and milling matters more, use the usable lumber cost calculator, which divides the price by the share of wood that ends up in finished parts.

Frequently asked questions

Why are board feet based on the nominal size?

Softwood lumber is traded on nominal dimensions, so a 2x4 is tallied as 2 × 4 in even though it measures 1-1/2 × 3-1/2 in. Use the actual size only for fitting parts.

How much extra should I add?

There is no single rule. Add more for long parts that must be straight, for rough or knotty stock and for projects where grain has to match; add little for straight framing stock you can pick by hand.

Can I use it for hardwood priced per board foot?

Use the board foot calculator instead: it takes the rough thickness in quarters and your price per board foot.

Does the result include tax or delivery?

No. Add them separately, or use the usable lumber cost calculator, which has a field for fees and spreads them over the usable board feet.

Compare and convert

3 pages

Usable-yield cost, board foot chart and per-foot pricing.

NIST PS 20-25, American Softwood Lumber Standard — Table 3 minimum dressed dimensions; dry moisture definitions depend on product class. Accessed 2026-10-22.

Continue this workshop task