Lumber Cost Calculator
Use this free lumber cost calculator to instantly estimate the total cost of dimensional lumber for any construction or DIY project. Select your lumber size, length, quantity, and wood species — and get an instant total cost, board foot calculation, cost per board, and cost per board foot. Includes 6 one-click project presets for decks, sheds, fences, wall framing, raised garden beds, and custom projects. Covers 8 wood species including SPF framing, pressure treated, cedar, redwood, Douglas fir, select pine, oak, and composite decking.
Total Boards = Quantity × Waste Factor (rounded up)
Total Cost = Total Board Feet × Price per Board Foot
Board foot = 1" × 12" × 12" · Uses nominal dimensions for BF calculation · Prices are 2026 US averages — always confirm with your local supplier
Lumber prices fluctuate significantly. Always get current quotes from your local lumber yard before ordering for any project over $500.
Understanding the Calculator Inputs
This calculator estimates lumber cost from three inputs: board size, quantity, and wood species. The quick preset buttons auto-fill typical quantities for common projects — a useful starting point before adjusting to your specific plan. Here's what each input means and where the common mistakes happen.
Lumber Size
Select the nominal size — the name lumber is sold under (2×4, 2×6, etc.). The calculator uses nominal dimensions for board foot calculations, which is how lumber is universally priced. When planning how many boards you need to span or cover a surface, use actual dimensions instead (see the size chart below) — actual dimensions are always smaller than nominal.
Board Length
Standard lumber lengths are 8, 10, 12, 16, and 20 feet. Odd lengths (9, 11, 14 ft) are occasionally available but not universally stocked. When your needed length falls between standard sizes, buy the next size up and cut down — a 10 ft board cut to 9 ft costs less than two 8 ft boards in most cases and generates only 1 ft of waste vs 1 ft of unusable short end.
Wood Species / Type
Species affects price, strength, appearance, and outdoor suitability. The most important rule: never use standard SPF framing lumber outdoors in direct contact with soil, concrete, or persistent moisture — it rots within 2–3 years. Use pressure treated lumber for any ground-contact or exterior structural application. Cedar and redwood are naturally rot-resistant and beautiful for visible exterior work but cost 2–4× more than PT lumber for the same size.
Waste Factor
10% is standard for straightforward projects with minimal cuts. Use 15% for projects with multiple angles, notches, or complex joins. Use 20% for curved or irregular forms. Waste from cuts goes in the bin — you can't return cut lumber. Always round up on quantity rather than buying exactly what you calculate — a return trip for 3 boards in the middle of a project costs more in time than the extra boards cost in dollars.
A 2×4 is actually 1½" × 3½". A 2×6 is 1½" × 5½". Board foot pricing uses nominal dimensions — that's fine for cost calculation. But if you're calculating how many 2×6 deck boards cover a 12-foot-wide deck, you must use the actual 5.5" width: 12 ft × 12 in/ft = 144 inches ÷ 5.5 in per board = 26.2 boards → 27 boards plus waste. Using the nominal 6" width gives you 24 boards — 3 boards short before waste is even factored in.
3 Real-World Lumber Examples
Complete material lists for three common projects — not just the main lumber but every dimension you'll actually need to order.
Example 1 — 10×12 ft Pressure Treated Deck (Framing Only)
Structural framing lumber for a 10×12 ft attached deck, 3 ft above grade. Deck boards not included — this is structure only.
| Component | Size | Qty | Unit Cost | Total |
|---|---|---|---|---|
| Ledger board | PT 2×10 × 12 ft | 1 | $28–$40 | $28–$40 |
| Beam (doubled) | PT 2×10 × 12 ft | 2 | $28–$40 | $56–$80 |
| Joists (16" OC) | PT 2×8 × 12 ft | 10 | $20–$30 | $200–$300 |
| Rim joists | PT 2×8 × 12 ft | 2 | $20–$30 | $40–$60 |
| Rim joist (short sides) | PT 2×8 × 10 ft | 2 | $17–$25 | $34–$50 |
| Posts (4×4 × 8 ft) | PT 4×4 × 8 ft | 4 | $18–$28 | $72–$112 |
| Blocking | PT 2×8 × 8 ft | 4 | $16–$24 | $64–$96 |
| Total framing lumber (structure only) | $494–$738 | |||
Real-world note: This is framing only — add $300–$600 for PT or composite deck boards (120 sq ft), $80–$150 in joist hanger hardware, $40–$80 for post bases, and $60–$120 for fasteners. Total materials for this deck run $1,000–$1,600. Use our deck cost calculator for the full installed cost including labor.
Example 2 — Interior Wall Framing (20 ft × 9 ft)
A 20-foot interior partition wall for a basement finish or room addition. Standard SPF framing, one door opening, 16" OC studs.
| Component | Size | Qty | Unit Cost | Total |
|---|---|---|---|---|
| Studs (16" OC, 16 studs) | 2×4 × 10 ft | 19 (10% waste) | $5–$8 | $95–$152 |
| Top plates (doubled) | 2×4 × 10 ft | 4 pieces | $5–$8 | $20–$32 |
| Bottom plate (PT — on slab) | PT 2×4 × 10 ft | 2 pieces | $9–$14 | $18–$28 |
| Door header (doubled 2×6, 38" opening) | 2×6 × 4 ft | 2 pieces (cut from 8 ft) | $9–$14 | $18–$28 |
| King studs + trimmers (door) | 2×4 × 10 ft | 4 pieces | $5–$8 | $20–$32 |
| Total wall framing lumber | $171–$272 | |||
Real-world note: Interior wall framing is one of the most cost-effective DIY projects — $171–$272 in lumber for a 20 ft wall vs $900–$2,000 contractor-installed (labor included). The pressure treated bottom plate adds ~$10 vs standard SPF but is required by code on any plate touching concrete. Use our framing calculator to get the exact stud count for your wall dimensions.
Example 3 — 6 ft Cedar Privacy Fence (50 linear feet)
A 50-foot cedar privacy fence with 4×4 posts, horizontal 2×4 rails, and 1×6 picket boards. Cedar throughout for appearance and rot resistance.
| Component | Size | Qty | Unit Cost | Total |
|---|---|---|---|---|
| Posts (8 ft, 6 ft exposed + 2 ft buried) | PT 4×4 × 8 ft | 10 posts | $18–$28 | $180–$280 |
| Rails (3 per bay) | Cedar 2×4 × 8 ft | 22 pieces | $9–$16 | $198–$352 |
| Pickets (1×6, 6 ft tall) | Cedar 1×6 × 6 ft | 105 pickets (10% waste) | $4–$8 | $420–$840 |
| Concrete (2 bags per post) | 80 lb fast-set | 20 bags | $7–$10 | $140–$200 |
| Total materials (lumber + concrete) | $938–$1,672 | |||
Real-world note: Cedar pickets at $4–$8 each is the largest variable in fence cost — big box store cedar pickets run $4–$5; premium cedar from a lumber yard runs $6–$8 and is noticeably better quality (fewer knots, more consistent width). For a fence you'll look at every day, the $1–$2 per picket premium for quality cedar is worth it. PT posts are used even in an all-cedar fence — posts are in ground contact and require PT treatment regardless of what the above-grade wood is.
Lumber Sizes & Actual Dimensions
Every piece of dimensional lumber is sold by its nominal size but is smaller when you receive it — planed smooth after cutting. This matters when calculating coverage and clearances.
| Nominal Size | Actual Size | BF per 12 ft board | Most Common Use |
|---|---|---|---|
| 2×4 | 1½" × 3½" | 8 BF | Wall studs, most common framing board |
| 2×6 | 1½" × 5½" | 12 BF | Exterior walls (cold climate), floor joists, deck boards |
| 2×8 | 1½" × 7¼" | 16 BF | Floor joists, rafters, deck beams, headers |
| 2×10 | 1½" × 9¼" | 20 BF | Floor joists, deck ledgers, long-span headers |
| 2×12 | 1½" × 11¼" | 24 BF | Stair stringers, large beams, long-span headers |
| 4×4 | 3½" × 3½" | 16 BF | Fence posts, deck posts, pergola columns |
| 4×6 | 3½" × 5½" | 24 BF | Beams, pergola rafters, moderate-load headers |
| 6×6 | 5½" × 5½" | 36 BF | Heavy deck posts, carport columns, tall pergolas |
| 1×4 | ¾" × 3½" | 4 BF | Trim, nailers, light shelving |
| 1×6 | ¾" × 5½" | 6 BF | Fence pickets, siding, shelving |
| 1×8 | ¾" × 7¼" | 8 BF | Wide shelving, fascia boards, siding |
Lumber Types & 2026 Pricing
Lumber price varies dramatically by species and treatment. These are 2026 US national average ranges at retail (Home Depot, Lowe's) — local lumber yards may run 10–20% lower for larger quantities.
| Species / Type | 2×4 × 8 ft | 2×6 × 12 ft | 4×4 × 8 ft | Best For | Notes |
|---|---|---|---|---|---|
| SPF Framing | $3–$6 | $8–$14 | $10–$16 | Interior framing only | Never use outdoors — rots fast |
| Pressure Treated | $6–$10 | $14–$22 | $16–$28 | Decks, fences, ground contact | Wet when purchased; shrinks as it dries |
| Douglas Fir | $5–$9 | $12–$20 | $14–$22 | Structural beams, posts, high-load framing | Stronger than SPF; slightly more expensive |
| Western Red Cedar | $8–$16 | $20–$38 | $22–$42 | Decks, fences, siding, visible outdoor work | Naturally rot-resistant; beautiful grain |
| Redwood | $12–$22 | $28–$55 | $30–$60 | Premium outdoor structures, decks | Most rot-resistant; primarily West Coast |
| Select Pine | $6–$12 | $14–$26 | $16–$28 | Interior finish carpentry, shelving, trim | Clearer grain than framing grade |
| Red Oak (hardwood) | $20–$40 | $50–$90 | — | Flooring, stair treads, furniture | Priced per BF at hardwood dealers |
| Composite Decking | — | $3–$8/LF | — | Low-maintenance deck boards only | Not structural; deck boards only |
Cost Per Board Foot by Species (2026)
| Species | $/Board Foot | Relative Cost |
|---|---|---|
| SPF Framing | $0.50–$0.90 | Cheapest |
| Pressure Treated | $0.90–$1.60 | +60–100% vs SPF |
| Douglas Fir | $0.70–$1.20 | +25–40% vs SPF |
| Select Pine | $0.80–$1.50 | +50–70% vs SPF |
| Western Red Cedar | $1.50–$3.50 | 3–5× SPF |
| Redwood | $2.50–$5.00 | 4–8× SPF |
| Red Oak (hardwood) | $4.00–$10.00 | 7–15× SPF |
Lumber prices swung over 300% between 2020 and 2022 and continue to fluctuate 20–40% year over year based on housing starts, Canadian softwood tariffs, and mill capacity. The 2026 averages in this calculator reflect current conditions — but prices can shift 15–25% within a single month during volatile periods. For any project over $500 in lumber, call your local supplier for current pricing before finalizing your budget. Do not build a project budget on online estimates without a current quote.
Project Lumber Cost Reference (2026)
Typical lumber material costs for common DIY projects at 2026 average pricing. Materials only — does not include hardware, fasteners, concrete, or labor.
| Project | Key Lumber | Approx Qty | Material Cost Est. | Full Project Tool |
|---|---|---|---|---|
| 10×12 ft Deck | PT 2×6, 2×8, 4×4 | ~45 boards | $600–$1,400 | Deck Cost Calculator |
| 8×10 ft Garden Shed | SPF 2×4, 2×6, OSB | ~80 boards | $400–$900 | Shed Cost Calculator |
| 6 ft Privacy Fence (50 ft) | PT 4×4, 1×6 cedar pickets | ~130 boards | $900–$1,700 | Fence Cost Calculator |
| 20 ft Interior Wall (9 ft) | SPF 2×4, PT 2×4 plate | ~30 boards | $170–$280 | Framing Calculator |
| 12×20 ft Garage (framing) | SPF 2×4, 2×6 | ~200 boards | $800–$1,800 | Shed Cost Calculator |
| 4×8 ft Raised Garden Bed | Cedar 2×10 or PT 2×10 | ~8 boards | $80–$200 | — |
| 12×12 ft Pergola | Cedar 4×4, 4×6, 2×6 | ~30 boards | $600–$1,500 | Pergola Cost Calculator |
| Standard Stair Stringers (3) | PT 2×12 × 16 ft | 3 boards | $130–$200 | Stair Calculator |
Pressure Treated Lumber Guide
Pressure treated lumber comes in multiple treatment levels — using the wrong grade for your application is both a code violation and a structural failure risk. Here's what the tags actually mean.
| Use Category | Code | Use For | Do NOT use for |
|---|---|---|---|
| Above Ground | UC3B | Deck boards, railings, above-grade siding | Ground contact, concrete contact |
| Ground Contact | UC4B | Posts in soil, sleepers, sill plates on concrete | Below-grade permanent applications |
| Below Ground | UC4C | Buried posts, permanent wood foundations | Above-grade applications (overkill but OK) |
| Marine / Salt Water | UC5 | Docks, piers, direct saltwater contact | Standard residential use (unnecessary cost) |
Working with Pressure Treated Lumber
- PT lumber is always wet when purchased — it's injected with preservative under pressure and arrives at stores with high moisture content. Expect it to shrink by ¼–½ inch in width as it dries outdoors. Pre-drill all fastener holes to prevent splitting, and leave slight gaps between deck boards when installed — they'll tighten as the wood dries.
- Use corrosion-resistant fasteners — modern PT lumber uses copper-based preservatives that corrode standard zinc-coated nails and screws within 2–3 years. Use hot-dipped galvanized (HDG), stainless steel, or specifically rated structural screws. Using standard screws in PT lumber voids most material warranties and creates structural failures.
- Let PT lumber dry before painting or staining — wait at least 6 months before applying any finish coat. Applying paint or stain to wet PT lumber traps moisture and causes early finish failure. The "spray test": if water beads on the surface, it's still too wet to finish.
- Do not burn PT lumber scraps — the copper preservatives produce toxic smoke. Dispose of PT lumber scraps through municipal solid waste — do not burn.
Use PT lumber for structural members (posts, joists, beams, ledgers) where strength and rot resistance at the connection points matter most and appearance is secondary. Use cedar or redwood for visible surfaces (deck boards, railings, fence pickets) where appearance and the ability to accept stain matter. The combination — PT structure, cedar surface — gives you the strength of PT with the beauty of cedar at a lower cost than an all-cedar project.
Why Lumber Prices Swing So Much
Lumber prices are more volatile than virtually any other building material. Understanding why helps you time purchases and budget more accurately.
The Key Drivers
- Housing start volume — when home builders are active, framing lumber demand spikes. The 2020–2021 building boom drove lumber prices to 400% of historical averages. When housing slows, prices crash. Lumber prices are a leading indicator of construction activity.
- Canadian softwood tariffs — about 30% of US lumber comes from Canadian mills. US-Canada softwood lumber trade disputes have imposed tariffs of 8–27% on Canadian imports at various points since 2017. Tariff changes create immediate price movements at lumber yards.
- Mill capacity and wildfires — western sawmill capacity is significantly affected by Pacific Northwest and British Columbia wildfire seasons, which reduce harvestable timber. Mill closures and worker shortages also restrict supply independent of demand.
- Shipping and logistics — lumber is heavy and expensive to ship. Regional markets diverge significantly — the same 2×4 can cost $4 in the Southeast (close to production) and $7 in the Mountain West (far from mills with limited competition).
Practical Implications for Your Project
For projects over $1,000 in lumber, consider these strategies: buy early when prices are low rather than waiting until you're ready to build; get firm quotes from lumber yards (not just online estimates) because retail store prices update weekly; and for large projects, ask your supplier about locking in a price for future delivery — some yards offer this for commercial accounts and large residential orders.
Common Lumber Buying Mistakes
Using Nominal Dimensions for Coverage Calculations
Calculating how many 2×6 deck boards you need using 6" width (nominal) instead of 5.5" width (actual) produces a 9% short count before waste is even added. On 300 sq ft of decking, that's 5–6 boards short on pickup day. Always use actual dimensions when calculating linear coverage — nominal dimensions are only for board foot pricing.
Buying SPF for Outdoor Applications
Standard KD SPF framing lumber (the cheapest lumber in the store) is not treated for moisture or rot resistance. Used in any outdoor application — fence posts, deck joists, garden beds, or exterior sill plates — it will rot within 2–5 years. The cost difference between SPF and pressure treated for a typical project is $100–$300. The cost of replacing rotted structural lumber is $1,000–$5,000. Always use PT lumber for outdoor structural applications.
Buying Exactly Enough
Ordering exactly the theoretical minimum never works out in practice — one damaged board, one miscalculation, one design change, and you're making another trip to the store. The lumber is already cut and can't be returned. Always add 10% waste minimum — 15% for projects with cuts, angles, or any structural complexity. The cost of 3 extra 2×4s is $15. The cost of a return trip and project delay is much higher.
Not Comparing Local Lumber Yard vs Big Box
Home Depot and Lowe's are convenient but rarely the cheapest source for large lumber orders. Local lumber yards typically run 10–20% below big box pricing on bulk orders, have better-quality board selection (fewer warps and knots), stock species and grades that big box stores don't carry, and will often deliver to your site for free or low cost on large orders. For any project over $600 in lumber, call your local lumber yard for a quote before defaulting to big box.
Ignoring the Grade Stamp
Every piece of dimensional lumber has a stamp indicating species, grade, moisture content, and mill. For structural applications, use #2 grade or better. "Utility" and "Economy" grade lumber has more knots, checks, and warp — it's fine for blocking and hidden applications but not for visible work or long-span structural use. The grade stamp also shows treatment level for PT lumber — check that it shows UC4B or UC4C for ground-contact applications before purchasing.
How We Estimate Costs
The Board Foot Formula
BF per board = (Nominal Thickness × Nominal Width × Length in feet) ÷ 12
Board feet use nominal dimensions by industry convention — this is how lumber is universally priced and how suppliers quote it. Total cost = Total Board Feet × Price per Board Foot for the selected species. The waste factor multiplies the board count (not the board feet directly) and rounds up to the nearest whole board — you can't buy a fraction of a board.
Pricing Data Sources
Price per board foot ranges for each species are derived from retail pricing at Home Depot and Lowe's (sampled across 8 geographic markets) and wholesale pricing from regional lumber distributors. SPF framing and pressure treated pricing is reviewed quarterly due to high volatility. Cedar, redwood, and hardwood pricing is reviewed annually. The ranges represent current 2026 national average retail pricing — local lumber yard pricing is typically 10–20% below these figures for quantities over 50 boards.
What the Calculator Doesn't Include
- Hardware (joist hangers, post bases, screws, nails) — typically adds 10–20% to lumber cost on structural projects
- Concrete for post footings — $7–$10 per 80 lb bag; typically 2 bags per post
- Sheathing (plywood, OSB) — use our plywood calculator for sheathing quantities
- Labor — for full installed cost estimates, use the project-specific cost calculators linked in the project reference table above
- Delivery charges — typically $50–$150 for residential lumber delivery from a local yard
This calculator gives you an accurate estimate of quantity and a realistic cost range based on current national averages. For any project where the lumber budget exceeds $500, supplement this with a current quote from your local supplier. Give them your full cut list (sizes, lengths, quantities, and species) and they'll quote your actual project cost in 10 minutes. That's the number to budget from — not an online estimate.
Frequently Asked Questions
Plan your full lumber project with these free calculators.
