Calculate deck boards, full structural framing, footings, and a 10-year cost comparison for every material.
Calculating deck boards correctly requires understanding board geometry, gap spacing, board run direction, and waste — four independent variables that compound on each other. Getting any one of them wrong results in either a costly overage or, worse, a mid-project shortage where you're trying to match boards from a different lot that may have shrunk, dried, or been treated differently.
The effective board width is the face width of the board plus the gap between boards. A standard 2x6 deck board has a face width of 5.5 inches (the nominal "6 inch" includes the thickness of the lumber, not the face). With a 1/4-inch gap — the standard for pressure-treated wood to allow for swelling — the effective unit width is 5.75 inches. Divide the total run width (the dimension perpendicular to the board direction, in inches) by the effective board width to get the number of board runs. Always round up.
Composite and PVC decking uses tighter gaps — typically 1/8 inch — because these materials are dimensionally stable and don't swell the way wet pressure-treated lumber does. However, composite boards expand and contract with temperature, so your installer may tell you to space boards slightly differently in summer versus winter installation. Many composite manufacturers provide specific gap guidance based on the temperature at installation time.
Once you know the number of runs, calculate how many boards you need per run. Divide the deck length (parallel to the boards) by your board length. If the deck is 16 feet and you're using 16-foot boards, that's one board per run with no seams. If the deck is 20 feet and you're using 16-foot boards, you need a 4-foot piece spliced in, and the splice must land over a joist. This forces double joist placement at every splice location — an important structural consideration that many calculators miss entirely.
The board length decision has a significant cost implication. Longer boards mean fewer seams, a cleaner appearance, and less waste — but longer boards are harder to transport and handle. The optimal board length for most decks is one that either exactly spans the full deck length in one piece, or spans it in two roughly equal pieces. Avoid boards where one piece is under 2 feet — short end pieces look poor and can work loose over time.
Straight runs (perpendicular or parallel to the house) require a 10% waste factor under normal conditions. This accounts for boards rejected for defects at the lumberyard, boards cracked during installation, and inevitable cut waste at the ends of runs. Diagonal runs require a 15% waste factor because each board must be cut at 45 degrees at both ends, producing triangular off-cuts at every perimeter board that cannot be used elsewhere on the same run. Picture-frame borders and herringbone patterns require 20% because of the number of mitered cuts involved.
| Board Size | Face Width | 1/4" Gap | Boards / 100 sq ft | Linear ft / 100 sq ft |
|---|---|---|---|---|
| 2x4 | 3.5" | 3.75" eff. | 38 | 304 |
| 2x6 | 5.5" | 5.75" eff. | 25 | 200 |
| 5/4x6 (composite) | 5.5" | 5.625" eff. | 24 | 194 |
| 5/4x4 | 3.5" | 3.625" eff. | 39 | 315 |
Face screws are the traditional approach: two screws per board at every joist crossing, driven at a slight angle toward the center of the board to resist lifting. For a standard deck with joists at 16 inches on center, a 16-foot run of boards hits 13 joists — 26 screws per board. A 200-square-foot deck with approximately 50 boards needs roughly 1,300 screws. Buy screws in 5-pound boxes (approximately 800–1,200 screws per box for standard 3-inch deck screws) and buy 20% more than calculated, since screws get dropped, strip, or are pre-drilled incorrectly and discarded.
Hidden fastener clips are installed from the side of each board at each joist, invisible from the deck surface. They require approximately half the quantity of face screws but cost significantly more — a bag of 100 clips can cost $40–$80 versus $15–$25 for a 5-pound box of screws. Hidden fasteners produce a cleaner surface that won't collect debris in screw holes, won't rust-stain the deck surface, and allow boards to be removed individually for replacement. For composite decking, most manufacturers require hidden fasteners to maintain the warranty.
The structural frame of a deck is what carries all the load — deck boards, furniture, people, snow — and transfers it safely to the ground. Undersizing any component creates a dangerous structure that may not fail immediately but will degrade faster than expected. Decks attached to houses are particularly critical: a ledger board that fails can pull away from the house wall, collapsing the entire structure. Ledger attachment failures account for a disproportionate number of deck collapses.
Joist size depends on two things: the span (distance between supports — either beams or the ledger) and the spacing. The standard spacing for most residential decks is 16 inches on center. Composite decking manufacturers typically require joists at 12 inches on center because composite boards are less rigid than solid wood and will show noticeable flex at 16-inch spacing. Always check the decking manufacturer's installation guide for minimum joist spacing requirements.
| Joist Size | Max Span @ 12" OC | Max Span @ 16" OC | Max Span @ 24" OC | Common Use |
|---|---|---|---|---|
| 2x6 | 11'4" | 9'9" | 7'11" | Small decks, close beam spacing |
| 2x8 | 14'6" | 12'6" | 10'2" | Most residential decks |
| 2x10 | 18'0" | 15'6" | 12'8" | Large decks, wider beam spans |
| 2x12 | 21'9" | 18'9" | 15'3" | Commercial, heavy loads |
Beams carry the load from joists and transfer it to posts. Beam sizing depends on the beam span (distance between posts) and the tributary load — the width of deck area each beam supports. The most common residential deck beam is a built-up 2-ply or 3-ply 2x10 or 2x12, assembled from pressure-treated lumber and through-bolted. A single-span 2-ply 2x10 beam can span up to 9 feet between posts for typical residential loads. A 3-ply 2x12 can span up to 14 feet. Consult the IRC span tables or a structural engineer for your specific jurisdiction and load conditions.
Post spacing drives beam sizing — closer posts mean smaller beams. The tradeoff is that more posts require more footings, which are the most labor-intensive part of the project. For most decks in the 12–20-foot width range, 8-foot post spacing with 2-ply 2x10 beams is the efficient balance of beam cost and footing labor.
Footings must extend below the frost line — the depth at which soil freezes in winter. Frozen soil expands and can push a footing (and the post on top of it) vertically, distorting the deck frame. In the northern tier of states (Minnesota, Wisconsin, Maine), the frost line is 42–60 inches deep. In the mid-Atlantic and Midwest, it's 24–36 inches. In the deep South, 12 inches is typically sufficient. Your local building department will give you the required footing depth for your area — this is non-negotiable and inspected before concrete is poured.
Standard footing diameter is 12 inches for 4x4 posts and 16 inches for 6x6 posts. A standard 12-inch diameter footing 36 inches deep requires approximately 2–3 bags of 80-pound concrete mix. For tube forms (Sonotubes), calculate the volume as pi × radius² × depth and convert to cubic yards: one 80-pound bag yields approximately 0.6 cubic feet of concrete. A 12-inch diameter, 36-inch deep footing requires about 2.35 cubic feet of concrete — roughly 4 bags. For large footing installations, ordering ready-mix is more economical above approximately 0.5 cubic yards total.
The initial material cost of a deck is only part of the story. Pressure-treated pine — the cheapest upfront option at $1.50–$3.00 per square foot — requires annual or biennial cleaning, staining, and sealing to maintain its appearance and structural integrity. Cedar requires similar maintenance but holds up somewhat better to neglect. Composite decking has essentially zero maintenance beyond occasional washing with soapy water. Over a 10-year period, the total cost of ownership often reverses the initial cost ranking: a composite deck that costs twice as much upfront may be cheaper than a pressure-treated deck after accounting for 10 years of stain, sealer, and labor.
| Material | Upfront Cost/sqft | Annual Maint. | Lifespan | 10-yr TCO/sqft |
|---|---|---|---|---|
| Pressure-Treated Pine | $1.50–$3.00 | $0.30–$0.60/sqft | 15–20 yr | $4.50–$9.00 |
| Cedar | $3.00–$5.00 | $0.25–$0.50/sqft | 20–25 yr | $5.50–$10.00 |
| Composite (Trex, etc.) | $5.00–$8.00 | $0.03–$0.08/sqft | 25–30 yr | $5.30–$8.80 |
| Hardwood (Ipe, Mahogany) | $5.00–$9.00 | $0.15–$0.35/sqft | 30–40 yr | $6.50–$12.50 |
| PVC / Cellular Vinyl | $6.00–$9.00 | $0.02–$0.05/sqft | 30+ yr | $6.20–$9.50 |