CalcCards

Deck Calculator: Calculate Lumber Needed for Your Deck

Updated Apr 10, 2026

Deck Calculator

ft
ft
inches
$

Results

Deck Area192
Deck Boards (with 10% waste)483
Joists (16" OC)14
Perimeter (ft)56
Estimated Cost$2,880.00
View saved โ†’

Embed

Add this to your site

<iframe
  src="https://calc.cards/embed/construction/deck-calculator"
  width="600"
  height="700"
  frameborder="0"
  loading="lazy"
  title="Calc.Cards calculator"
  style="border:1px solid #e0e0e0;border-radius:8px;max-width:100%;"
></iframe>

Free with attribution. The Deck Calculator runs entirely inside the iframe.

Branded

Customize & brand for your site

Get the Deck Calculator as a self-contained widget styled with your colors and logo. No iframe, no Calc.Cards branding.

  • Brand color palette (auto-extract from your URL)
  • Your logo, your typography
  • Clean HTML/CSS/JS you can drop on any page
  • Lifetime updates if the formula changes
Brand this calculator โ€” $199

Need something different? Build a fully custom calc

You've got the perfect spot for a deck, but you need to know: how many boards, joists, and posts does this actually require?

Deck building requires lumber in multiple categories-decking boards (what you walk on), joists (the frame), posts (support structure), and railings. Calculating each separately prevents over-buying one material while under-buying another. Our deck calculator breaks this down, giving you precise board-foot quantities and linear-foot requirements for each structural component.

What This Calculator Does

This tool calculates total lumber needed for a deck based on size, framing method, and post spacing. You input the deck dimensions (length and width), joist spacing (typically 16 inches on center), post spacing (usually 4โ€“6 feet), and decking board width. The calculator estimates linear feet of decking boards, joists, and beam lumber, then converts these to board feet (a standard lumber measurement). It includes 10% waste for cuts and breakage.

How to Use This Calculator

Step 1: Decide your deck size (length and width in feet). A standard deck is 12 feet ร— 16 feet; a large entertainment deck might be 16 feet ร— 20 feet or more. Measure your intended space.

Step 2: Plan your joist spacing. Joists are the beams running perpendicular to your decking boards. Spacing them 16 inches apart (on center) is standard for residential decks. Some ambitious DIYers space them 24 inches apart (less material, less cost, slightly more bounce). 12-inch spacing is extra robust but overkill.

Step 3: Determine post spacing. Posts support the entire deck. Spacing them 4โ€“6 feet apart in each direction is typical. Closer spacing means more posts but a more stable structure. Farther spacing (especially over longer spans) requires thicker, more expensive beams.

Step 4: Select your decking board width and thickness. Common options are 5.5-inch-wide (nominal 2ร—6) or 3.5-inch-wide (nominal 2ร—4) boards. Narrower boards are easier to handle and lighter; wider boards cover more area per board.

Step 5: The calculator shows total linear feet needed for decking, joists, beams, and posts, converted to board feet. Use this to order from a lumberyard.

The Formula Behind the Math

Deck lumber calculation has multiple components. Here's the breakdown:

Decking boards (linear feet) = Deck Length รท Board Width ร— Deck Width

Joists (linear feet) = (Deck Width รท Joist Spacing) ร— Deck Length ร— Number of Rim Joists

Beams and posts (board feet) = Based on span length and post spacing

Let's walk through a typical example: a 12-foot ร— 16-foot deck with 16-inch joist spacing, 4-foot post spacing, using 2ร—6 decking boards.

Decking boards needed: (16 ft รท 0.458 ft per 5.5" board) ร— 12 ft = ~35 boards ร— 16 ft = 560 linear feet of decking
Joists (16" on center, perpendicular to the 16-foot dimension): (12 ft รท 1.333 ft) ร— 16 ft โ‰ˆ 9 joists ร— 16 ft = 144 linear feet of joists
Beams: typically 2โ€“3 beams running the length, each 16 ft long = 32โ€“48 linear feet
Posts: (12 รท 4) ร— (16 รท 4) = 3 ร— 4 = 12 posts, each 4โ€“5 ft tall = 50โ€“60 linear feet
Board feet: Convert linear feet to board feet (thickness ร— width ร— length รท 12)

Our calculator does all this conversion instantly, accounting for standard lumber sizes and waste.

Small Backyard Deck (Single-Level, 10ร—12 Feet)

A compact deck for a small yard: 10 ร— 12 feet with standard 16-inch joist spacing and 2ร—6 decking.

Decking: Roughly 210 linear feet (27 boards ร— 12 ft), converted to board feet
Joists: Roughly 100 linear feet of 2ร—8 or 2ร—10 joists
Beams: Two 12-foot beams of 2ร—8 or 2ร—10 = 24 linear feet
Posts: Eight 4ร—4 posts, 4โ€“5 feet tall each = 40 linear feet (or 53 board feet for 4ร—4)
Total: Roughly 300โ€“350 board feet plus hardware

Medium Deck (Stepped, Multi-Level, 16ร—16 Feet)

A larger deck with multiple levels or stairs: 16 ร— 16 feet with 16-inch spacing and 2ร—6 decking.

Decking: Roughly 340 linear feet
Joists: Roughly 190 linear feet of 2ร—10
Beams: Three 16-foot beams = 48 linear feet of 2ร—12
Posts: Sixteen 4ร—4 posts (double the small deck) = 80 linear feet
Stairs/landing: Extra lumber for stairs (stringers, treads, landings) = 100โ€“150 linear feet
Total: Roughly 600โ€“700 board feet

Large Entertainment Deck (20ร—20 Feet, with Built-in Seating)

A spacious deck suitable for groups: 20 ร— 20 feet with built-in benches.

Decking: Roughly 540 linear feet
Joists: Roughly 290 linear feet
Beams: Four 20-foot beams = 80 linear feet of 2ร—12
Posts: Twenty-five 4ร—4 posts (5ร—5 spacing) = 125 linear feet
Built-in seating: Bench frames and backrests = 150โ€“200 linear feet
Total: Roughly 1,000โ€“1,200 board feet

Tips and Things to Watch Out For

Use pressure-treated or naturally rot-resistant lumber for all ground-contact elements. Posts, joist ends that sit on concrete piers, and any wood touching soil or mulch must be treated. Untreated wood rots quickly. Deck boards can be untreated hardwood (more expensive, longer-lasting) or treated softwood (cheaper, heavier maintenance). Composite decking (plastic and wood) eliminates rot concerns but costs significantly more.

Account for frost lines in your climate when determining post depth. In cold climates, posts must go below the frost line (typically 36โ€“48 inches deep) to prevent frost heave from lifting the deck. Warmer climates allow shallower posts. This affects total post length and therefore lumber quantity. Ask your local building department for frost line depth.

Spacing affects both material cost and structural integrity. Closer spacing (12 inches on center instead of 16) uses 33% more joists but creates a stiffer, more stable deck. Farther spacing (24 inches) uses less lumber but increases bounce and flex. Standard 16-inch spacing is the sweet spot for cost and comfort.

Always order 10โ€“15% more material than your calculation to account for waste, cuts, breakage, and measurement errors. Deck boards are cut to fit around posts, stairs, and edges. Joists are cut to length. Some lumber arrives with knots, warping, or splits that make it unusable. Order the calculated amount plus 10โ€“15% waste to avoid mid-project shortage.

Plan for hardware, fasteners, and flashing in addition to lumber. Deck screws, bolts, flashing tape, and joist hangers add up. Budget roughly $1โ€“2 per square foot of deck area for hardware. This isn't lumber, but it's essential and often overlooked.

Stain or seal your deck within the first year and every 2โ€“3 years after. Pressure-treated wood weathers to gray if unfinished. Stain or semi-transparent finish protects the wood and keeps it looking good. Plan for annual maintenance-this matters because it affects the deck's lifespan.

Frequently Asked Questions

How much lumber do I need for a 12ร—12 deck?

A 12ร—12 deck with standard 16-inch joist spacing, 2ร—6 decking, and 2ร—10 joists needs roughly 250โ€“300 board feet of lumber plus posts, beams, and hardware. Exact numbers depend on height, post spacing, and whether you're building stairs.

What's the standard joist spacing for a residential deck?

16 inches on center is standard and code-approved for residential decks using 2ร—10 joists. Some codes allow 24 inches if you use thicker joists (2ร—12) or composite material. Closer spacing (12 inches) is overkill for most residential use but offers a stiffer, more luxurious feel.

Do I need a permit to build a deck?

Most jurisdictions require a permit for decks 24 inches or higher above grade. Permits ensure the deck is built to code (proper post depth, joist sizing, railing height, fastening). Costs vary ($50โ€“500 depending on location and deck size). Always check with your local building department first.

Can I use composite decking for my deck?

Yes. Composite decking (plastic and wood fiber) is durable, low-maintenance, and resistant to rot and insects. It costs more upfront (roughly double the price of treated wood) but lasts longer and requires less maintenance. Framing (joists, posts, beams) is still lumber-only the decking boards can be composite.

How much does it cost to build a deck?

Material costs range from $6โ€“12 per square foot for pressure-treated wood decks, to $15โ€“25 for composite. A 12ร—16 deck (192 sq ft) might cost $1,200โ€“$4,800 in materials alone. Labor typically adds $30โ€“50 per square foot, making the total $6,000โ€“$14,000 for a mid-sized deck.

What's the difference between 2ร—6 and 2ร—8 decking boards?

2ร—6 boards are narrower (actual width 5.5 inches) and lighter-easier to handle and install, though they require more boards for full coverage. 2ร—8 boards are wider (actual width 7.25 inches) and heavier-cover area faster but are tougher to cut and maneuver. Both are standard; 2ร—6 is more common for residential decks.

Do I need a foundation or concrete piers for my deck?

Yes. Posts must sit on concrete piers that go below the frost line, or on concrete footings at least 12 inches above grade. Never set posts directly on soil-they'll rot and sink. This is non-negotiable and a common DIY mistake. Calculate concrete footing quantities separately using the concrete calculator.

Related Calculators

Use the square footage calculator to measure your intended deck location precisely. The board foot calculator helps convert lumber estimates to board feet for ordering. The concrete calculator estimates footing material, and the material cost estimator can budget the full project including labor and stain.

Related Calculators