Deck Board Calculator
Work out how many deck boards to buy from your deck size, board width, gap, stock length and layout, plus deck screws or hidden clips and decking material cost.
Deck Board Calculator: How Many Deck Boards Do I Need?
The number of deck boards you need depends on the deck size, the actual face width of the board, the gap between boards and the stock length you buy. Nominal sizes are misleading: a "6-inch" deck board is really 5½" wide, and a 5/4×6 is about 1" thick. Each row covers the face width plus one gap, so a 5½" board with a 3/16" gap covers 5.6875" — that is the number you divide the deck width by to get the number of rows.
For a straight layout, boards run perpendicular to the joists. Rows = deck width in inches ÷ (board width + gap), rounded up; total linear feet = rows × deck length. Divide by the stock length and add waste for end trims, defects and the occasional split board. A diagonal layout uses the same surface area but every board ends in an angled cut, so add 15% waste instead of 5%–10%, and most composite brands require joists at 12" on center when boards run at 45°.
Gap size is not just a style choice. Kiln-dried hardwood and cedar can be gapped at about 1/8"; wet pressure-treated lumber is often installed tight or at 1/8" because it shrinks as it dries, opening to roughly 1/4". Composite and PVC boards expand and contract with temperature, so follow the manufacturer — typically 3/16" side-to-side and 1/8"–1/4" at butt joints depending on installation temperature. Too small a gap traps leaves and water and shortens the life of the framing underneath.
In 2026 US pricing, pressure-treated 5/4×6 decking runs about $0.90–$1.40 per linear foot, 2×6 treated about $1.20–$1.60, cedar $2.75–$4.00, mid-range composite $3.50–$5.00 and PVC $4.50–$6.50. Fasteners add $0.40–$1.50 per sq ft: coated deck screws are the cheapest, stainless screws are required near salt water, and hidden clip systems cost the most but leave a clean surface.
This calculator covers the walking surface only. Framing (joists, beams, posts), railings, stairs, fascia and labor are separate — use our joist span calculator to size the framing and the deck cost calculator for a full installed budget. When the deck is longer than your longest board, plan butt joints so they land on doubled joists and stagger them by at least two joist bays, or use a breaker board for a cleaner look.
Deck Board Installation Tools
Recommended tools & materials — as an Amazon Associate, we earn from qualifying purchases.
Collated Deck Screw Gun
Auto-feed screw gun that drives hundreds of deck screws fast and at a consistent depth
Deck Board Straightener Tool
Pulls bowed boards into line so gaps stay even
Hidden Deck Fastener Kit
Edge clips and screws for a clean, screw-free deck surface
How to Use This Calculator
Understanding Your Result
The results give the number of rows (for straight layouts), the net linear feet of decking, the amount to order including waste, and how many stock-length boards that equals. Fastener counts assume two screws or one hidden clip per joist crossing. The cost is decking material only.
Key Formulas
Rows of Boards
Use actual board width (5½" for a nominal 6" board).
Linear Feet
For diagonal layouts use Area × 12 ÷ (Board Width + Gap) and 15% waste.
Deck Screws
Two screws per joist crossing.
Worked Example
A 16 ft × 12 ft deck with pressure-treated 5/4×6 boards (5½" face) running the 16 ft direction, 3/16" gaps, joists 16" on center and 16 ft stock boards.
- 1Coverage per board = 5.5 + 0.1875 = 5.6875"
- 2Rows = ⌈144 ÷ 5.6875⌉ = ⌈25.3⌉ = 26 rows
- 3Net decking = 26 × 16 ft = 416 linear feet
- 4With 10% waste = 457.6 linear feet → ⌈457.6 ÷ 16⌉ = 29 boards
- 5Screws = 26 rows × (192 ÷ 16 + 1 = 13 joists) × 2 = 676 screws ≈ 10 lb
- 6Cost = 457.6 × $1.10 = $503
Order 29 sixteen-foot 5/4×6 boards and about 10 lb of deck screws. The decking material costs about $503 in pressure-treated lumber.
Assumptions Behind This Estimate
- Rectangular deck; boards run the full length direction in straight layouts
- Actual board face widths: 3½", 5½" and 7¼"
- Diagonal layout fastener count includes 10% for end screws
- Two screws or one hidden clip per joist crossing
- Waste covers end trims, defects and cut-off pieces; no allowance for picture-frame borders beyond the waste factor
- Default prices are 2026 US material averages per linear foot
Decking Material Comparison (2026 US Prices)
| Material | Cost per Lin Ft | Lifespan | Maintenance |
|---|---|---|---|
| Pressure-treated 5/4×6 | $0.90–$1.40 | 10–15 years | Seal every 1–2 years |
| Cedar 5/4×6 | $2.75–$4.00 | 15–20 years | Seal every 1–2 years |
| Composite | $3.50–$5.00 | 25–30 years | Wash yearly |
| PVC / cellular | $4.50–$6.50 | 30+ years | Wash yearly |
| Ipe hardwood | $6.00–$10.00 | 40+ years | Oil yearly or let gray |
Prices are material only for 5½" boards; local prices vary by region and brand.
Before You Buy: Practical Advice
- Buy boards long enough to span the whole deck where possible — fewer butt joints look better and last longer.
- Check the last row before you start: if it would be a thin sliver, rip the first board so both edges are even.
- Pre-drill board ends within 1" of the edge to prevent splitting, especially in cedar and hardwood.
- Use stainless steel screws within a mile of salt water and with some treated-lumber chemicals.
- Sort boards before installing and save the straightest, cleanest ones for the most visible rows near the house.
Frequently Asked Questions
How many deck boards do I need for a 12x16 deck?
With 5½" boards running the 16 ft direction and a 3/16" gap, a 12 ft wide deck needs 144 ÷ 5.6875 = 25.3, so 26 rows. That is 416 linear feet, or 26 boards at 16 ft. Adding 10% waste gives about 458 linear feet — 29 sixteen-foot boards. A diagonal layout would need roughly 15% more.
How do I calculate deck boards per square foot?
Divide 12 by the board coverage (face width plus gap) to get linear feet per square foot. A 5½" board with a 3/16" gap covers 5.6875", so you need 12 ÷ 5.6875 = 2.11 linear feet per square foot. For 3½" boards it is about 3.24 linear feet per square foot. Multiply by the deck area and add waste.
What gap should I leave between deck boards?
Use about 1/8" for dry cedar, hardwood and kiln-dried lumber, 3/16" for most composite boards, and install wet pressure-treated boards tight or at 1/8" because they shrink as they dry. Always follow the composite manufacturer's gapping chart, which changes with the installation temperature, especially at butt joints.
How many screws do I need for a deck?
Use two screws at every joist crossing. For a 12×16 deck at 16" on center, each 16 ft row crosses 13 joists, so 26 rows × 13 × 2 = 676 screws — about 10 lb of 2½" deck screws. A rough rule is 350 screws per 100 sq ft at 16" spacing, more at 12" spacing or for narrow boards.
Should deck boards run perpendicular to joists?
Yes, standard decking runs perpendicular (90°) to the joists, which gives the maximum span rating for the board. Diagonal boards span farther between joists, so most composite and PVC decking requires 12" joist spacing at 45°. Boards running parallel to joists are not allowed without blocking or sleepers.
Is composite decking cheaper than wood in the long run?
Composite costs about three to four times more upfront than pressure-treated lumber, but it does not need annual sealing or staining, which typically costs $0.75–$1.50 per sq ft every two to three years for wood. Over 15–20 years the total costs often come out close, and composite usually wins on resale appeal and lower maintenance time.
Helpful Guides
Dive deeper with these related guides to plan your project with confidence.