Deck Calculator | Boards, Joists, Posts & Cost
Price your whole deck before you buy a single board. Enter your deck size for exact boards, joists, posts, footings, and cost, any material. Free, instant, no signup.
Quick answer
Divide the deck width (in inches) by (board width + gap) for boards. A 12 by 16 ft pressure treated deck with 5.5 inch boards needs 39 boards with waste, 13 joists at 16 inch spacing, 6 posts and 6 footings, and costs $4,800 to $9,600 installed.
A standard board sold as 6 inch is 5.5 inch wide. Boards run the length of the deck, so each board is deck length long.
Installed cost per sq ft, HomeGuide 2026: pine $25 to $50, cedar $30 to $47, composite $40 to $80. Those ranges include materials and labor.
Your deck estimate
Decking boards to buy
39
192 sq ft · 468 linear ft of decking
- Boards before waste
- 35
- Joists
- 13 · 156 linear ft
- Beams
- 2
- Posts and footings
- 6
- Concrete (50 lb bags, about)
- 6
- Estimated installed cost
- $4,800 to $9,600
Includes 10 percent waste on boards. Check local code for footing depth and frost line before you dig.
How the calculation works
- Boards: deck width in inches ÷ (board width + gap), rounded up, then add 10 percent waste. A 5.5 inch board with a 0.125 inch gap covers 5.625 inches. Each board is deck length long.
- Joists: deck width in inches ÷ joist spacing, rounded up, plus 1. 192 ÷ 16 = 12, plus 1 = 13 joists. Each joist is deck length long.
- Posts and footings: posts every 8 ft along both sides, minimum 4. A 12 ft deck has 3 post positions per side, so 6 posts, 6 footings, and about 6 bags of concrete at one 50 lb bag per footing.
- Cost: deck area × installed cost per sq ft for the material. Pressure treated pine $25 to $50, cedar $30 to $47, composite $40 to $80, per HomeGuide 2026. Those ranges include materials and labor.
Common deck materials
| Material | Installed cost per sq ft | Lifespan | Notes |
|---|---|---|---|
| Pressure treated pine | $25 to $50 | 10 to 25 years | Lowest upfront cost, needs regular stain and seal |
| Cedar | $30 to $47 | 10 to 25 years | Natural rot resistance, soft and dents easily |
| Composite | $40 to $80 | 25 to 50 years | No stain or seal needed, highest upfront cost |
Installed costs and lifespans are from HomeGuide 2026. Wood decks last 10 to 25 years and composite decks last 25 to 50 years in that guide.
Tips from the pros
- Call 811 before you dig. It's free, and hitting a gas line is not.
- Measure the real board width. A board sold as 6 inch is often 5.5 inch wide, and that half inch changes the board count on a wide deck.
- Use the spacing the board maker allows. Diagonal boards and many composite boards need 12 inch joist spacing, not 16 inch.
- Set footings below the frost line. Check local code for the depth in your area before you pour.
- Buy 10 percent extra boards. Warped and split boards are normal, and spares match later repairs.
Worked example: a 12 by 16 ft deck
Picture a 12 by 16 ft deck, 192 sq ft, pressure treated pine, 5.5 inch boards with a 0.125 inch gap, joists at 16 inch spacing:
- Area: 12 × 16 = 192 sq ft.
- Boards: 16 ft is 192 inches, and each board covers 5.625 inches: 192 ÷ 5.625 = 34.1, rounded up to 35 boards, plus 10 percent waste = 39 boards, each 12 ft long, 468 linear ft in total.
- Joists: 192 ÷ 16 = 12, plus 1 = 13 joists, each 12 ft long, 156 linear ft in total.
- Posts and footings: 12 ft at 8 ft spacing gives 3 post positions per side, times 2 sides = 6 posts, 6 footings, and 6 bags of concrete.
- Cost: 192 sq ft × $25 to $50 = $4,800 to $9,600 installed for pressure treated pine.
Swap in composite at $40 to $80 per sq ft and the same deck costs $7,680 to $15,360 installed. The material choice moves the total more than any other input on this page.
Mistakes that throw off the estimate
- Using the nominal board width. A board sold as 6 inch is 5.5 inch wide in real life. Use the real width or the board count comes out low.
- Ordering the exact board count. A few boards in every bundle are warped, split, or ugly. Order 10 percent extra, cull the worst ones, and keep the spares.
- Spacing joists too wide for the board. Composite boards and diagonal layouts often need 12 inch spacing. Boards that span too far sag and feel bouncy under foot.
- Counting post positions as posts. Post positions run along both sides, so a 12 ft deck needs 6 posts, not 3. Coming up short on posts and footings on build day stops the whole job.
- Building without checking the permit and the frost line. Footings set too shallow heave in winter and leave the deck uneven. Check local code first.
Common questions
How many decking boards do I need?
How far apart should deck joists be?
How many posts and footings does a deck need?
How much does a deck cost per square foot in 2026?
Do I need a permit to build a deck?
How long does a deck last?
Want the full walkthrough? Read deck and patio cost guide and deck stain cost guide on the HomeMeasure Pro blog.