What Is a Deck Calculator?
A deck calculator turns the size of your deck into a full material list — decking boards, joists, beams, posts, footings, concrete bags, screws and railings — with cost. You enter the deck size and preferences, and the calculator works out every quantity.
Getting the quantities right the first time saves multiple trips to the lumber yard, avoids a mid-build shortfall and keeps your budget under control. The calculator uses standard framing rules (16 in / 400 mm joist spacing, posts every 6–8 ft, footings below frost line) that match most local building codes.
Deck Formulas Used
Board rows = ceil(perpendicular length ÷ pitch)
Total boards = rows × sections × (1 + waste)
Joists = ceil(deck length ÷ joist spacing) + 1 per section
Posts = ceil(deck length ÷ post spacing) + 1 per section
Footing volume = π × r² × depth
Bags = total concrete volume ÷ bag volume
Worked example: 4 m × 3 m wood deck
- Area = 12 m²
- Boards 140 mm wide, 5 mm gap → pitch 145 mm
- Rows across 3 m = ceil(3 ÷ 0.145) = 21 rows of 4 m boards
- Total board length = 21 × 4 × 1.10 = 92.4 m
- Joists at 400 mm centres, 3 m long = ceil(4 ÷ 0.4) + 1 = 11 joists × 3 m = 33 m of joist
- Posts every 2 m = 3 posts along the outer edge per section
- Footings 30 cm Ø × 90 cm deep = 0.064 m³ each
Tip: Always add 10% waste to deck boards — end cuts and staggered joints always need extra. Composite decking often needs 12–15% because damaged boards cannot be sanded or patched.
How to Use the Calculator
- 1Enter deck sizeMeasure the length and width of the deck, or enter the shape that best matches your plan. You can add several deck sections if your design has more than one area.
- 2Choose board sizeNominal 2×6 (actual 140 mm / 5.5 in) is the most common deck board. 2×4 and 5/4 boards are also popular. Enter the width and gap you want between boards.
- 3Set board directionBoards can run parallel to the house (long side) or perpendicular (short side). The calculator divides the perpendicular length by the board width plus gap.
- 4Choose joist spacing16 in (400 mm) centre-to-centre is standard. Use 12 in for heavy loads or composite decking, and 24 in only for light loads with thick boards.
- 5Set post spacingPosts every 6 to 8 ft (1.8 to 2.4 m) along each beam. Corners always need a post. The calculator rounds up and adds corner posts.
- 6Add stairs and railingsIf your deck has stairs, add 1 stringer per 16 in of stair width. Railing length is perimeter minus the stairs side.
- 7Read, copy or downloadThe results update live. Copy the summary, download it as text or CSV, or print the page for a PDF.
Standard Deck Spacing
| Element | Typical spacing | Notes |
|---|---|---|
| Joists | 16 in / 400 mm | Standard; 12 in for heavy loads |
| Posts | 6–8 ft / 1.8–2.4 m | Corners always need a post |
| Board gap | 4–6 mm / 3/16–1/4 in | For drainage and expansion |
| Balusters | max 100 mm / 4 in | Building code, for safety |
| Stair risers | max 180–190 mm / 7 in | Building code |
| Footing diameter | min 30 cm / 12 in | For a 4×4 post |
Footings and Frost Line
Every post sits on a concrete footing that must extend below the frost line so winter freezing cannot lift the deck. Frost depth varies from 12 inches in mild climates to 48+ inches in cold ones — always check local code.
| Region | Frost depth | Min. footing depth |
|---|---|---|
| Southern US | 0–6 in | 12 in |
| Mid-Atlantic | 18–30 in | 24–36 in |
| Northern US | 36–48 in | 42–54 in |
| Canada | 48–72 in | 54–84 in |
Ledger board: the connection between the deck and the house is the most common failure point. It must be flashed, bolted with the correct hardware and installed to the local code.
Common Mistakes
- Spacing joists too wide. 24 in spacing is only safe for thick boards on light-use decks.
- Forgetting wastage on boards. End cuts alone waste 5–10 percent even on a square deck.
- Not checking frost depth. Shallow footings heave and crack after the first winter.
- Skipping the ledger flashing. Water behind the ledger rots the house rim joist.
- Too small a footing. Undersized footings sink under load and put the whole deck out of level.
- No gap between boards. Boards buckle in summer without a gap.
- Wrong baluster spacing. Most codes require no gap larger than 4 in (100 mm) — check before installing.
- No permit. Most areas require a permit for decks over 30 in above grade.
Frequently Asked Questions
How many deck boards do I need?▾
Divide the width of the deck by the board width plus the gap, then add 10 percent for waste. For a 4 m wide deck with 140 mm boards and 5 mm gaps, you need 4 ÷ 0.145 = 27.6, so 28 rows. Multiply by the deck length to get total linear metres.
What is the standard joist spacing for a deck?▾
16 inches (400 mm) centre-to-centre is standard for 2×8 or larger joists with 2×6 deck boards. Use 12 inches (300 mm) for heavy loads, composite decking or diagonal layouts. Use 24 inches (600 mm) only for light loads with thick boards.
How far apart should deck posts be?▾
Posts every 6 to 8 ft (1.8 to 2.4 m) along a beam is standard for a residential deck. The exact spacing depends on the beam size and the load. Always follow your local building code and the beam span tables.
How deep should deck footings be?▾
Footings must extend below the frost line — usually 30 to 48 inches in cold climates, or 12 inches in mild climates. Footings should be at least 12 inches diameter for a residential deck.
How many bags of concrete per deck post?▾
A 12 inch diameter footing, 3 ft deep, needs about 0.08 m³ (2.8 ft³) of concrete — roughly 6 bags of 50 lb mix. Deeper footings in cold climates may need twice that. Our calculator works out the volume per footing and the total bags.
How much gap between deck boards?▾
A gap of 4 to 6 mm (3/16 to 1/4 in) is standard between deck boards. This allows water to drain and lets the boards expand and contract with the seasons without buckling.
Should deck boards run parallel or perpendicular to the house?▾
Boards usually run perpendicular to the house (so the joists can span from the ledger board on the house to the outer beam). This is the standard layout and gives the stiffest floor. Boards running parallel to the house need joists running perpendicular, which is less common.
What size should deck joists be?▾
For a 16 in (400 mm) spacing and a residential deck, 2×8 joists are common for spans up to 12 ft, 2×10 for up to 15 ft, and 2×12 for up to 18 ft. Always check your local span tables.
How many stairs do I need?▾
Divide the total height (from ground to deck surface) by the maximum rise per step (usually 7 inches or 180 mm). Round up. For a 3 ft high deck with 7 inch risers: 36 ÷ 7 = 5.14, so 6 risers and 5 treads.
What wood is best for a deck?▾
Pressure-treated pine is the cheapest and most common. Cedar and redwood are naturally rot-resistant and beautiful but cost more. Composite decking (Trex, TimberTech) lasts longest and needs no staining but costs 2 to 3 times more than wood.
Do I need a permit to build a deck?▾
In most areas, yes — especially for decks over 30 inches above grade, or attached to a house. Check with your local building authority before starting.
Can I use this calculator for a composite deck?▾
Yes. Choose the closest board width, set the joist spacing to the manufacturer’s recommended value (usually 12 to 16 in for composite), and the calculator gives you boards, joists, posts and footings the same way.
Related Calculators
Explore more free calculators on TopCalculators.top:
External resources
- American Wood Council — Span Tables
- This Old House — Deck Building Guides
- Deck (building) on Wikipedia
- OSHA — Construction safety
Estimates are for planning only and do not replace advice from a licensed contractor or your local building code.