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.
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.
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.
Large Entertainment Deck (20ร20 Feet, with Built-in Seating)
A spacious deck suitable for groups: 20 ร 20 feet with built-in benches.
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.