Σ CALCULATOR Wizard
Construction

Deck Calculator

Calculate deck boards, full structural framing, footings, and a 10-year cost comparison for every material.

Quick load
Small Deck Medium Deck Large Deck Composite Build Diagonal Pattern
Decking material
Board run direction
Live Layout Preview
16 ft × 12 ft
Board & options
Overrides dropdown if filled
Standard: 10% for straight runs
Leave 0 to skip cost
Deck Boards Needed
Deck Area
Linear Feet
Materials Cost
Base Boards
Waste Boards
Fasteners
Board Coverage
Calculation Breakdown
Deck Area
Board Face Width + Gap
Runs Across Width
Board Length
Boards per Run
Base Boards (no waste)
Waste Boards (%)
Total Boards
Linear Feet of Lumber
Quick load
Standard Attached Large Attached Small Freestanding Elevated Deck
Includes footing depth (min. below frost line)
Deck type
Framing Members
Beams
Posts
Concrete Bags
Joists
Joist Hangers
Post Anchors
Concrete (80lb)
Quick load
16x12 Deck (192 sqft) 12x20 Deck (240 sqft) 16x20 Deck (320 sqft) 20x24 Deck (480 sqft)
Cheapest Upfront
Best 10-Yr Value
Highest Upfront
Labor Cost (est.)

How to Calculate Deck Boards — The Complete Method

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.

Step 1 — Calculate the Effective Board Width

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.

Step 2 — Board Length and Seam Planning

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.

Step 3 — Waste Factor by Run Direction

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 SizeFace Width1/4" GapBoards / 100 sq ftLinear ft / 100 sq ft
2x43.5"3.75" eff.38304
2x65.5"5.75" eff.25200
5/4x6 (composite)5.5"5.625" eff.24194
5/4x43.5"3.625" eff.39315

Fasteners — Screws vs. Hidden Clips

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.

💡 Pro Tip — Board Length Optimization: Before buying, calculate your deck boards in two lengths and compare total cost. For a 20-foot deck: (A) 20-foot boards = no seams, one board per run. (B) 10-foot boards = two boards per run, seam over a doubled joist. Option A has zero seams and uses fewer boards total. But 20-foot boards may cost more per board and are harder to transport. Our Board Length Optimizer in the calculator above shows you this comparison automatically so you buy the most economical option.

Deck Framing: Joists, Beams, Posts, and Footings

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 Sizing and Span Tables

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 SizeMax Span @ 12" OCMax Span @ 16" OCMax Span @ 24" OCCommon Use
2x611'4"9'9"7'11"Small decks, close beam spacing
2x814'6"12'6"10'2"Most residential decks
2x1018'0"15'6"12'8"Large decks, wider beam spans
2x1221'9"18'9"15'3"Commercial, heavy loads

Beams: Sizing and Placement

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: The Most Important Part Nobody Talks About

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 10-Year True Cost of Ownership

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.

MaterialUpfront Cost/sqftAnnual Maint.Lifespan10-yr TCO/sqft
Pressure-Treated Pine$1.50–$3.00$0.30–$0.60/sqft15–20 yr$4.50–$9.00
Cedar$3.00–$5.00$0.25–$0.50/sqft20–25 yr$5.50–$10.00
Composite (Trex, etc.)$5.00–$8.00$0.03–$0.08/sqft25–30 yr$5.30–$8.80
Hardwood (Ipe, Mahogany)$5.00–$9.00$0.15–$0.35/sqft30–40 yr$6.50–$12.50
PVC / Cellular Vinyl$6.00–$9.00$0.02–$0.05/sqft30+ yr$6.20–$9.50
💡 Pro Tip — Apply Joist Tape Before Decking: The single most effective deck life-extension measure costs under $40 for most decks: joist tape. Applied to the top face of every joist before decking boards go down, joist tape creates a waterproof barrier that prevents the critical wood-to-wood contact point from trapping moisture. This contact zone — where deck boards sit directly on joists — is where rot almost always starts first. It's invisible after installation, costs pennies per foot, and can extend joist life by 10–15 years.

Frequently Asked Questions

How many deck boards do I need for a 16x12 deck?
A 16x12 deck (192 sq ft) using 2x6 boards (5.5-inch face width) with 1/4-inch gaps and boards running perpendicular to the house requires approximately 26 board runs across the 12-foot width (12 ft ÷ 5.75 inches effective = 25.04, round up to 26). With 16-foot boards running the 16-foot deck length, that's 1 board per run — 26 boards base. Add 10% waste = 29 boards total. Using 12-foot boards would require 2 boards per run (32-foot span ÷ 12 = 2.67, meaning 2 boards plus a short filler piece per run), totaling about 60+ boards. The 16-foot board is clearly the better choice for a 16-foot deck.
What size joists do I need for a 16-foot wide deck?
If the deck is attached to the house with a ledger and has a single beam at the outer edge, each joist spans the full 16-foot width. According to IRC span tables, 2x10 joists at 16-inch OC can span up to 15'6" — which means 16 feet is over the limit for 2x10s at 16-inch spacing. You would need 2x12 joists, or move the support beam inward to reduce the span. The most practical solution for a 16-foot wide deck is to place a beam at the 8-foot midpoint, reducing each joist to an 8-foot span — well within 2x8 capacity. This also allows you to use 2x8s throughout, saving significant material cost compared to 2x12s spanning the full width.
How deep do deck footings need to be in cold climates?
Footings must extend at least 6 inches below the local frost line depth. In Minnesota and Wisconsin, that means footings 48–60 inches deep. In Ohio and Pennsylvania, 36–42 inches. In Texas and the deep South, 12–18 inches. Your local building department publishes the required frost depth — always verify before digging. A footing that's even a few inches above the frost line will heave in severe winters, cracking the deck frame and potentially the ledger attachment. Frost heave is one of the most common causes of deck structural damage and it's entirely preventable with correct footing depth.
Is composite decking worth the extra cost?
For most homeowners building a deck they plan to keep for 10 or more years, composite decking has a compelling total cost of ownership argument. The upfront premium of $3–$5 per square foot over pressure-treated pine is largely offset over 10 years by eliminating annual staining, sealing, and occasional board replacement. On a 200 sq ft deck, annual maintenance for a pressure-treated deck costs $150–$300 in materials and 8–16 hours of labor. Over 10 years, that's $1,500–$3,000 in materials alone — often exceeding the original price premium of composite. Composite also holds its appearance better in sun and shade, doesn't splinter, and requires no special disposal concerns at end of life.
Do I need a permit to build a deck?
In most jurisdictions, yes — especially if the deck is attached to the house, more than 30 inches above grade, or larger than 200 square feet. The permit process typically requires a simple site plan, structural details for footings and framing, and two or three inspections: before footing concrete is poured, after framing is complete, and final completion. Permits typically cost $150–$500. The consequences of skipping permits are significant: fines, forced removal, inability to sell the home without remediation, and insurance denial if the deck causes injury. The permit inspection process also protects you — an inspector catching an undersized beam or poorly anchored ledger before completion is far preferable to discovering the problem after a collapse.
How long does it take to build a deck?
A standard 16x12 attached deck with a DIY builder who has basic carpentry experience typically takes 4–5 weekends (40–60 hours). Weekend 1 is layout and footings — mark the layout, dig or auger footing holes, set tube forms, and pour concrete. This is the hardest physical day. Weekend 2 is the ledger board, post setting, and beam installation. Weekend 3 is joist framing. Weekend 4 is decking boards. Weekend 5 is railing, stairs, and finishing. The critical path is concrete cure time — you must wait at least 3–7 days after pouring footings before loading posts. Plan around this. Professional crews building the same deck typically finish in 4–6 calendar days with 2–3 workers.