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.

By ConstructlyTools · Published: March 23, 2026 · Updated: April 3, 2026
Lumber Cost Calculator
Quick Project Presets
📐 Formula Used
Board Feet = (Thickness" × Width" × Length') ÷ 12
Total Boards = Quantity × Waste Factor (rounded up)
Total Cost = Total Board Feet × Price per Board Foot
Estimated Lumber Cost
$0
Enter your lumber details above
Total Boards
0
Total Board Feet
0 BF
Cost per Board
Cost per BF

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.

💡 Nominal vs Actual — The Calculation That Trips Everyone Up

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.

ComponentSizeQtyUnit CostTotal
Ledger boardPT 2×10 × 12 ft1$28–$40$28–$40
Beam (doubled)PT 2×10 × 12 ft2$28–$40$56–$80
Joists (16" OC)PT 2×8 × 12 ft10$20–$30$200–$300
Rim joistsPT 2×8 × 12 ft2$20–$30$40–$60
Rim joist (short sides)PT 2×8 × 10 ft2$17–$25$34–$50
Posts (4×4 × 8 ft)PT 4×4 × 8 ft4$18–$28$72–$112
BlockingPT 2×8 × 8 ft4$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.

ComponentSizeQtyUnit CostTotal
Studs (16" OC, 16 studs)2×4 × 10 ft19 (10% waste)$5–$8$95–$152
Top plates (doubled)2×4 × 10 ft4 pieces$5–$8$20–$32
Bottom plate (PT — on slab)PT 2×4 × 10 ft2 pieces$9–$14$18–$28
Door header (doubled 2×6, 38" opening)2×6 × 4 ft2 pieces (cut from 8 ft)$9–$14$18–$28
King studs + trimmers (door)2×4 × 10 ft4 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.

ComponentSizeQtyUnit CostTotal
Posts (8 ft, 6 ft exposed + 2 ft buried)PT 4×4 × 8 ft10 posts$18–$28$180–$280
Rails (3 per bay)Cedar 2×4 × 8 ft22 pieces$9–$16$198–$352
Pickets (1×6, 6 ft tall)Cedar 1×6 × 6 ft105 pickets (10% waste)$4–$8$420–$840
Concrete (2 bags per post)80 lb fast-set20 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 SizeActual SizeBF per 12 ft boardMost Common Use
2×41½" × 3½"8 BFWall studs, most common framing board
2×61½" × 5½"12 BFExterior walls (cold climate), floor joists, deck boards
2×81½" × 7¼"16 BFFloor joists, rafters, deck beams, headers
2×101½" × 9¼"20 BFFloor joists, deck ledgers, long-span headers
2×121½" × 11¼"24 BFStair stringers, large beams, long-span headers
4×43½" × 3½"16 BFFence posts, deck posts, pergola columns
4×63½" × 5½"24 BFBeams, pergola rafters, moderate-load headers
6×65½" × 5½"36 BFHeavy deck posts, carport columns, tall pergolas
1×4¾" × 3½"4 BFTrim, nailers, light shelving
1×6¾" × 5½"6 BFFence pickets, siding, shelving
1×8¾" × 7¼"8 BFWide 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 / Type2×4 × 8 ft2×6 × 12 ft4×4 × 8 ftBest ForNotes
SPF Framing$3–$6$8–$14$10–$16Interior framing onlyNever use outdoors — rots fast
Pressure Treated$6–$10$14–$22$16–$28Decks, fences, ground contactWet when purchased; shrinks as it dries
Douglas Fir$5–$9$12–$20$14–$22Structural beams, posts, high-load framingStronger than SPF; slightly more expensive
Western Red Cedar$8–$16$20–$38$22–$42Decks, fences, siding, visible outdoor workNaturally rot-resistant; beautiful grain
Redwood$12–$22$28–$55$30–$60Premium outdoor structures, decksMost rot-resistant; primarily West Coast
Select Pine$6–$12$14–$26$16–$28Interior finish carpentry, shelving, trimClearer grain than framing grade
Red Oak (hardwood)$20–$40$50–$90Flooring, stair treads, furniturePriced per BF at hardwood dealers
Composite Decking$3–$8/LFLow-maintenance deck boards onlyNot structural; deck boards only

Cost Per Board Foot by Species (2026)

Species$/Board FootRelative Cost
SPF Framing$0.50–$0.90Cheapest
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.503–5× SPF
Redwood$2.50–$5.004–8× SPF
Red Oak (hardwood)$4.00–$10.007–15× SPF
⚠️ Lumber Price Volatility — Always Verify Before Budgeting

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.

ProjectKey LumberApprox QtyMaterial Cost Est.Full Project Tool
10×12 ft DeckPT 2×6, 2×8, 4×4~45 boards$600–$1,400Deck Cost Calculator
8×10 ft Garden ShedSPF 2×4, 2×6, OSB~80 boards$400–$900Shed Cost Calculator
6 ft Privacy Fence (50 ft)PT 4×4, 1×6 cedar pickets~130 boards$900–$1,700Fence Cost Calculator
20 ft Interior Wall (9 ft)SPF 2×4, PT 2×4 plate~30 boards$170–$280Framing Calculator
12×20 ft Garage (framing)SPF 2×4, 2×6~200 boards$800–$1,800Shed Cost Calculator
4×8 ft Raised Garden BedCedar 2×10 or PT 2×10~8 boards$80–$200
12×12 ft PergolaCedar 4×4, 4×6, 2×6~30 boards$600–$1,500Pergola Cost Calculator
Standard Stair Stringers (3)PT 2×12 × 16 ft3 boards$130–$200Stair 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 CategoryCodeUse ForDo NOT use for
Above GroundUC3BDeck boards, railings, above-grade sidingGround contact, concrete contact
Ground ContactUC4BPosts in soil, sleepers, sill plates on concreteBelow-grade permanent applications
Below GroundUC4CBuried posts, permanent wood foundationsAbove-grade applications (overkill but OK)
Marine / Salt WaterUC5Docks, piers, direct saltwater contactStandard 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.
✅ When to Use Cedar vs Pressure Treated

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
💡 For Precise Budgeting: Call Your Lumber 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

How much does lumber cost per board foot in 2026?+
SPF framing lumber costs approximately $0.50–$0.90 per board foot in 2026. Pressure treated runs $0.90–$1.60/BF. Douglas Fir $0.70–$1.20/BF. Western Red Cedar $1.50–$3.50/BF. Redwood $2.50–$5.00/BF. Hardwoods like oak run $4–$10+/BF at hardwood dealers. These are 2026 national averages — prices vary significantly by region and market conditions. Always get current quotes from your local supplier before finalizing any project budget.
How much does a 2×4×8 ft board cost in 2026?+
A standard SPF 2×4×8 ft board costs $3–$6 at national average 2026 pricing. Pressure treated 2×4×8 ft runs $6–$10. Western Red Cedar 2×4×8 ft runs $8–$16. Douglas Fir 2×4×8 ft runs $5–$9. Prices at your local store may differ — lumber pricing changes weekly and varies significantly by region. In the Northeast and Pacific Coast, add 15–25% to these figures.
How do I calculate board feet of lumber?+
Board Feet = (Nominal Thickness in inches × Nominal Width in inches × Length in feet) ÷ 12. Examples: a 2×6×12 ft board = (2 × 6 × 12) ÷ 12 = 12 board feet. A 2×4×8 ft board = (2 × 4 × 8) ÷ 12 = 5.33 board feet. For multiple boards, multiply by quantity. Use our board feet calculator for instant calculations on any combination of sizes.
What is the actual size of a 2×4?+
A 2×4 actually measures 1½ inches × 3½ inches. All dimensional lumber is smaller than its nominal name because it's planed smooth after initial cutting. Key actual dimensions: 2×6 = 1½" × 5½", 2×8 = 1½" × 7¼", 2×10 = 1½" × 9¼", 2×12 = 1½" × 11¼", 4×4 = 3½" × 3½". Use actual dimensions when calculating how many boards you need to span or cover a surface — nominal dimensions are for pricing only.
How much lumber do I need for a deck?+
A 10×12 ft deck typically needs: 1 ledger board (PT 2×10 × 12 ft), 2 beam boards (PT 2×10 × 12 ft), 10 joists (PT 2×8 × 12 ft), 4 rim joists (PT 2×8), 4 posts (PT 4×4 × 8 ft), plus deck boards (about 26 boards of 2×6 for 120 sq ft). Total framing lumber runs $450–$750; add $200–$400 for deck boards. Use our deck cost calculator for a complete materials and installed cost estimate.
What lumber should I use for outdoor projects?+
For structural outdoor framing (posts, beams, joists, ledger boards): always use pressure treated lumber rated for ground contact (UC4B) for posts and UC3B or UC4B for above-grade framing. For visible surfaces (deck boards, fence pickets, railings): PT, cedar, redwood, or composite decking all work — cedar and composite are most popular for appearance. Never use untreated SPF lumber outdoors — it rots within 2–5 years depending on climate and is not code-compliant for exterior structural applications.
Is it cheaper to buy lumber at Home Depot or a local lumber yard?+
For small quantities (under 20 boards), big box stores are convenient and competitive. For larger projects, local lumber yards typically run 10–20% lower on dimensional lumber and often have better quality — straighter boards, fewer defects, and more consistent dimensions. Local yards also stock species and grades that big box stores don't carry (Douglas Fir, Hem-Fir, better PT grades), and will usually deliver to your site for free or low cost on orders over a certain dollar amount. For any project over $600 in lumber, call a local yard for a quote before defaulting to big box.
Scroll to Top