Deck Calculator
Work out how many decking boards, joists and footings your deck needs. Enter the deck size and board type — the calculator adds a waste allowance and estimates the materials cost.
Calculate your deck
Your results
How the deck formula works
A deck is a flat area, so everything starts from its square footage. Decking is bought by the linear foot, joists by count, and footings by the beam lines that carry the joists.
Deck area = length × width
Decking linear feet = area ÷ board width in feet. A 5.5 in board is 5.5 ÷ 12 = 0.458 ft wide, so one square foot of deck needs about 2.18 linear feet of board.
Boards = linear feet (with waste) ÷ board length, rounded up
Joists = length ÷ joist spacing in feet + 1. At 16 in on centre the spacing is 16 ÷ 12 = 1.333 ft.
Footings = posts every 8 ft along each beam line. This calculator assumes two beam lines (a freestanding deck); a deck with a ledger board on the house needs only one.
Worked example
A deck 12 ft × 16 ft with standard 5.5 in boards, 16 ft long, joists at 16 in on centre:
Area: 12 × 16 = 192 sq ft
Decking: 192 ÷ 0.458 = 419 linear ft → with 10% waste = 461 linear ft
Boards: 461 ÷ 16 = 28.8 → 29 boards of 16 ft
Joists: 12 ÷ 1.333 + 1 = 9 + 1 = 10 joists
Footings: 16 ft ÷ 8 ft = 2 gaps → 3 posts per beam line × 2 lines = 6 footings
Cost: 192 sq ft × $20/sq ft pressure-treated materials ≈ $3,840 (materials only — labour is extra)
How much does a deck cost? (US, 2026)
Prices vary by region and by material. Labour roughly doubles the materials cost — get a local quote for installed prices.
| Option | Materials per sq ft | Installed per sq ft |
|---|---|---|
| Pressure-treated wood | $15–$25 | $30–$45 |
| Composite decking | $25–$40 | $45–$60 |
| Cedar / redwood | $20–$35 | $40–$55 |
| Railings (per linear ft) | $15–$40 | $30–$60 |
Waste allowance
Add 10% for a simple rectangular deck. For angled cuts, a picture-frame border or diagonal boards, use 15% — offcuts pile up fast. Buy a couple of spare boards: a warped board in the bundle is normal, and matching the same batch later is hard.
*Linear feet and footings include the waste allowance where noted. Footings assume two beam lines; halve the count if your deck is ledger-attached to the house.
Frequently asked questions
How much gap should I leave between deck boards?
1/8 to 1/4 inch. The gap lets water drain and allows boards to expand in heat and moisture.
How far apart should deck joists be?
16 inches on centre is standard for wood decking; use 12 inches for composite boards or diagonal layouts.
How deep should deck footings be?
Below the frost line — typically 24 to 36 inches in cold climates. Always check your local building code.
Pressure-treated wood or composite decking?
Pressure-treated is cheaper ($15–$25/sq ft materials) but needs sealing; composite costs more ($25–$40/sq ft) and is nearly maintenance-free.
Do I need a permit to build a deck?
Usually yes for decks over 30 inches high or attached to the house. Check with your local building department before you start.