Updated August 2026 · Written by Hussnain Mustafa
Measuring a deck by eye gets you in trouble fast. Order too few boards and you’re back at the lumberyard mid-project, hoping the dye lot still matches. Order too many and you’ve got offcuts sitting in the garage for the next five years.
The deck calculator below fixes that. Enter your deck’s length and width, then pick a board size and layout angle. It returns your board count and fastener count, plus a material cost estimate, instantly. No signup, no email gate. Unlike most deck calculators online, this one factors in your actual joist spacing when it counts screws instead of relying on a flat “screws per square foot” guess. That difference is bigger than it sounds, and the worked example below shows exactly why.
If you’re still deciding on board type, spacing, or whether your project needs a permit before you get to ordering, the sections after the calculator cover that too.
How to Use the Deck Calculator
- Measure your deck. Length and width in feet, or total square footage if the shape isn’t a simple rectangle.
- Pick your board size. Most residential decks use 5/4×6 boards (1″ × 5.5″ actual) or 2×6 boards (1.5″ × 5.5″ actual). See the sizing breakdown below if you’re not sure which fits your framing.
- Set your layout angle. Standard boards run at 90° to the joists. Diagonal (45°) and pattern layouts need more material, and the calculator accounts for that automatically.
- Enter your joist spacing. Usually 12″, 16″, or 24″ on-center. This is the input most calculators skip, and it’s the one that actually drives your fastener count.
- Add your cost inputs. Price per board and per box of fasteners. The calculator totals your material budget.
Worked Example: How Many Boards Do I Need for a 12×12 Deck?
Quick answer: A 12×12 deck (144 sq ft) with standard 5/4×6 boards at 90° needs about 26 boards to cover the surface, plus a 10% cut allowance, so plan on 29. At 16″ joist spacing with two screws per joist crossing, that works out to roughly 520 screws for the field of the deck.
Here’s how that number gets built, because “trust the calculator” isn’t a satisfying answer when you’re the one paying for lumber.
Start with coverage. A 5/4×6 board measures 5.5″ wide, actual size, not the 6″ the name implies. Add a 3/16″ gap between boards for drainage and seasonal movement, and each board effectively covers 5.6875″ of deck width. Divide your 144″ span by that number and you get 25.3. Round up, since you can’t buy a third of a board, and you land at 26 boards to cover a 12-foot run.
That’s before waste. Add a standard 10% for square cuts and the inevitable mis-measure, and you’re ordering 29 boards. (Diagonal layouts need more than that; see the waste section below.)
Now the joists. This is where a lot of online tools fall short: they apply a flat screws-per-square-foot number that ignores your actual framing. If your joists sit 16″ on-center and each board runs the full 12-foot length of the deck, that board crosses a joist every 16 inches. That’s 10 joists per board, counting both rim joists.
Standard practice, consistent with fastener manufacturer guidance and the American Wood Council’s prescriptive deck framing standards, is two screws at every joist crossing. Run the math: 26 installed boards × 10 joists × 2 screws comes to 520 screws for the field of the deck. Add a handful for stair nosing or dropped screws, and 550–575 is a safe number to buy.
Change the joist spacing to 12″ on-center on that same deck and each board now crosses 13 joists instead of 10, pushing your fastener count to roughly 676. That’s the kind of gap a flat estimate misses entirely.
What Materials Do You Need to Build a Deck?
Decking Board Comparison
| Material | Material Cost (per sq ft) {{VERIFY}} | Maintenance | Typical Lifespan |
|---|---|---|---|
| Pressure-treated pine | $3–$6 | Sealing/staining every 1–2 years | 15–20 years |
| Cedar or redwood | $4–$12 | Staining every 2–3 years | 15–25 years |
| Composite | $5–$14 | Occasional cleaning only | 25–30 years |
| PVC | $10–$15 | Occasional cleaning only | 25–30+ years |
| Exotic hardwood (ipe, tigerwood) | $10–$20 | Optional annual oiling | 25–50+ years |
Pressure-treated pine is still the default, and it earns that spot on price alone. But it’s also the material that has you out there with a pressure washer and a can of stain every spring. Composite closes that gap fast if low maintenance matters more to you than the sticker price: you’ll pay more per board today and next to nothing in upkeep for the next two decades.
Fasteners: Screws vs. Hidden Clips
Face-screwing is the default install method. Screw heads stay visible, and the process is straightforward. It works with any board material. Hidden fastener clips cost more per linear foot and add install time. In exchange, you lose the visible screw pattern entirely, and most composite manufacturers actually require clips to preserve the board warranty. Check your manufacturer’s fastener spec before you buy if you’re using composite or PVC. Mixing wood screws with composite decking is a common, and avoidable, mistake.
Common Deck Board Sizes: Nominal vs. Actual
Lumber sizing lies to you, a little. A “5/4×6″ board isn’t 1.25″ × 6”. It’s milled down to about 1″ × 5.5″ after drying and surfacing. A “2×6″ isn’t 2″ × 6″ either; it finishes at 1.5″ × 5.5”. Calculate your board coverage using the nominal size instead of the actual one and you’ll come up short by 5–8% on a standard deck. That’s enough to leave you a board short on the last row.
5/4×6 is the standard choice for joists spaced 12″ or 16″ on-center. 2×6 steps in when your joists are spaced wider, up to 24″ on-center, or when you want a stiffer, less springy feel underfoot.
How Much Does Decking Material Cost in 2026?
Run the numbers from the comparison table above against your square footage and you get a rough material budget, not counting joists, footings, fasteners, or railing. For a 144-sq-ft deck (the 12×12 example above), that lands around $430–$860 in pressure-treated boards, or $720–$2,000+ in composite {{VERIFY}}, before fasteners.
Footings and framing are a separate line item. If you’re pouring concrete for deck footings, the Concrete Price Calculator will get you a materials estimate for that piece before you call a contractor.
Deck Spacing, Patterns & Waste Factor Explained
Everything above assumes a straight 90° layout, boards running parallel to the deck’s edge. Change the angle and the material math changes with it.
Diagonal (45°) decking needs 10–15% more material than a straight layout. Every board gets angle-cut at both ends, and you lose material with every cut. Herringbone and picture-frame border patterns push that higher still. Budget 15–20% over a straight layout, plus extra cut time.
Diagonal layouts also tighten your effective joist spacing. A board running at 45° crosses joists more often per linear foot than one running straight. That’s part of why some builders drop to 12″ on-center framing under a diagonal pattern even when 16″ would hold up fine on a straight layout. Planning a pattern deck? Run the joist-spacing math from the worked example above using your actual angle, not the straight-layout numbers.
Do You Need a Permit to Build a Deck?
Usually, yes. The exact threshold varies enough by city and county that there’s no single national answer. {{VERIFY: local permit requirement}}
One number holds fairly steady nationally. Under the International Residential Code, a deck surface more than 30 inches above grade needs a guardrail, typically at least 36 inches tall, with openings small enough that a 4-inch sphere can’t pass through. Decks below that 30-inch threshold are commonly permit-exempt in many jurisdictions, but “commonly” isn’t “always.” Attached decks and anything supporting a hot tub tend to trigger a permit regardless of height. Call your local building department before you dig footings. It’s a five-minute phone call, and it’s a lot cheaper than a stop-work order.
FAQ
How many deck boards do I need for a 12×12 deck?
About 26 boards using standard 5/4×6 decking at 90°, or 29 boards once you add a 10% cut allowance. That number climbs if you’re running a diagonal or pattern layout; see the waste factor section above.
How many screws do I need for decking?
Two screws at every joist crossing is standard for face-fastened boards. For a 12×12 deck at 16″ joist spacing, that’s roughly 520 screws for the field, plus extras for stairs or borders. Tighter joist spacing means more screws: 12″ on-center on that same deck pushes the count to around 676.
What’s the cheapest decking material?
Pressure-treated pine, at roughly $3–$6 per square foot for materials. {{VERIFY}} It’s also the material that needs the most upkeep, so factor in annual sealing costs before assuming it’s the cheaper option over a 10-year span.
How much does it cost to build a 10×10 or 12×12 deck?
Materials alone for a 12×12 (144 sq ft) run roughly $430–$860 in pressure-treated lumber or $720–$2,000+ in composite, before framing, footings, and fasteners. {{VERIFY}} A 10×10 deck (100 sq ft) scales down proportionally; run your dimensions through the calculator above for an exact figure.
What size deck do I need for a dining table?
A standard 6-person outdoor dining set needs roughly 12×12 feet of clear space to seat comfortably and pull chairs out without anyone backing into a railing. Add 3–4 more feet in any direction if you’re also fitting a grill or lounge area on the same deck.
How do I calculate deck square footage?
Multiply length by width in feet for a rectangular deck. For an L-shaped or multi-level deck, split it into rectangles and add each one’s square footage together. The deck calculator above handles this automatically if you enter each section’s dimensions.
Once your board count and budget are locked in, the Soffit Calculator is worth a look if this deck build is part of a bigger exterior project. Same measure-twice approach, different part of the house.