---
title: "Deck Calculator: Deck Boards, Joists and Screws – Simple House Planner"
description: "Free deck calculator: enter the deck and board sizes to get the deck boards with waste, the joists at 12, 16 or 24 in on center, and the screws or clips."
url: "https://simplehouseplanner.com/tools/deck-calculator/"
---

1.  [Simple House Planner](https://simplehouseplanner.com/)
2.  [Calculators](https://simplehouseplanner.com/tools/)
3.  Deck calculator

# Deck calculator

Enter the size of the deck and of the deck boards. The calculator counts the boards to buy with waste, the joists at their spacing, and the screws or hidden clips.

Your deck

Units

Feet and inches Metric

Deck lengthAcross the joists. At a house, the side along the wall. Deck widthAlong the joists, out from the house.

Decking Wood, 5/4 in thick (5/4 × 6) Wood, 2 in thick (2 × 6, 2 × 4) Composite, 1 in thick

Board layout

Straight Diagonal, 45°

Board widthThe actual width: 5 1/2 in (140 mm) for a 6 in board, 3 1/2 in (89 mm) for a 2 × 4. Board lengthAs sold, such as 12', 16' or 3.6 m.

Gap between boardsEmpty uses 1/8 in (3 mm) for wood and 3/16 in (5 mm) for composite. European guides ask for 6 to 10 mm (1/4 to 3/8 in) between solid wood boards. Waste, %Empty uses 10 % straight and 15 % diagonal.

Joist spacing, on center

12 in 16 in 24 in

Joist spacing, on center

300 mm 400 mm 500 mm 600 mm

Fasteners

Screws Hidden clips

Where boards meet end to end Both ends on one joist Each end on its own joist Trex asks for a double joist or a 2 × 4 nailer at butt joints, and GD Holz for a double joist under solid wood boards. The calculator lines up the board ends in rows across a straight deck. Fasteners per area

Fasteners per sq ftm²Empty counts the fasteners at each board and joist. Some makers give a number per area instead: Tarimatec and Ecodeck about 25 clips per m² (2.3 per sq ft).

Enter sizes the calculator can read, such as 16' or 4.8 m for the deck and 5 1/2" or 140 mm for the board, and a plain number for the waste.

Deck boards to buy

Deck area

Rows of boards

Board length with waste

Joists

Rim joist and ledger

Deck screws

-   Joist spacing for this decking and layout: at most on center

The deck from above. Thin lines are the gaps between the boards; dashed lines are the joists under them.

The calculator counts materials. It does not size the structure: beams, posts, footings and the ledger depend on the spans, the loads and your local code. See [what it does not size](https://simplehouseplanner.com/tools/deck-calculator/#structure).

## How the calculator works

1.  **Rows of boards.** The deck width plus one gap, divided by the board width plus the gap, rounded up. The last row is often cut narrower.
2.  **Board length.** The rows times the deck length. For diagonal boards, the deck area divided by the board width plus the gap.
3.  **Waste.** 10 % more for a straight layout and 15 % more for a diagonal one, for cuts, defects and errors.
4.  **Boards to buy.** The board length with waste, divided by the length of one board, rounded up.
5.  **Joists.** The deck length divided by the joist spacing, rounded up, plus one for the joist at the far end. Each joist is as long as the deck is wide. The rim joist across their ends and the ledger at the house are each as long as the deck.
6.  **Joists under board ends.** When you ask for them, the deck length divided by the board length, rounded up, less one: one line of board ends at each board length, each with a second joist. Only for straight boards.
7.  **Fasteners.** Two screws for each board at each joist, or one hidden clip. Diagonal boards cross a joist every 1.41 × (board width + gap). With a number per area, the deck area times that number, rounded up.

## Worked example

A 16 × 12 ft (4.88 × 3.66 m) deck gets 5/4 × 6 wood boards, 5 1/2 in (140 mm) wide and 16 ft long, with a 1/8 in (3 mm) gap, on joists 16 in (406 mm) on center.

| Step | Calculation | Result |
| --- | --- | --- |
| Rows | (144 in + 1/8 in) ÷ 5 5/8 in = 25.6 | 26 rows |
| Board length | 26 × 16 ft | 416 ft (126.8 m) |
| With waste | 416 ft × 1.10 | 457.6 ft (139.5 m) |
| Boards | 457.6 ft ÷ 16 ft = 28.6 | 29 boards of 16 ft |
| Joists | 192 in ÷ 16 in + 1 | 13 joists of 12 ft |
| Screws | 26 rows × 13 joists × 2 | 676 screws |

With 12 ft boards and a second joist under the board ends, the deck takes 457.6 ÷ 12 = 38.1, so 39 boards. The board ends meet in one line, 12 ft from one side (16 ÷ 12 = 1.33, rounded up to 2, less 1), so the deck gets 14 joists and 728 screws. Laid diagonally on joists 12 in on center, it takes 30 boards of 16 ft, 17 joists and 646 screws.

## Joist spacing for deck boards

The decking sets the widest joist spacing. Thin boards and diagonal boards need closer joists. The calculator marks a spacing that is wider than these limits.

| Decking | Boards square to the joists | Boards at 45° | Source |
| --- | --- | --- | --- |
| Wood, 5/4 in thick | 16 in (406 mm) | 12 in (305 mm) | 2021 IRC, Table R507.7 |
| Wood, 2 in thick | 24 in (610 mm) | 24 in (610 mm) | 2021 IRC, Table R507.7 |
| Trex composite, 1 in boards | 16 in (406 mm) | 12 in (305 mm) | Trex installation guide |

The IRC values are for boards that lie on three or more joists. A board on only two joists needs them closer: 12 in for 5/4 in wood square to the joists. The Trex values are for the deck of a home; for other composite boards, follow the maker's guide. Metric spacings of 400 mm and 300 mm stay within 16 in and 12 in; 500 mm is wider than 16 in and only for thicker boards.

European makers give other limits, by the thickness of the board. GD Holz, the German timber trade association, allows 400 mm for solid wood boards 20 or 21 mm thick, 500 mm for 26 mm and 700 mm for 40 mm. Composite makers ask for 300 to 400 mm, and Neowood for 100 mm less at 45°.

## Gaps, waste and fasteners

| Rule | Value | Source |
| --- | --- | --- |
| Gap between wood boards | About 1/8 in (3 mm) | American Wood Council, DCA 6 |
| Gap between Trex boards | At least 3/16 in (5 mm) side to side, never more than 1/2 in (13 mm) | Trex installation guide |
| Waste | 10 % straight, 15 % at 45°, up to 20 % for complex patterns | Decks.com decking calculator |
| Screws in wood decking | Two No. 8 wood screws or two 8d threaded nails in each board at each joist | 2021 IRC, R507.7 |
| Screws in Trex decking | Two screws in each board at each joist | Trex installation guide |
| Hidden clips | One at every joist; the clip sets the gap | Trex installation guide |
| Board ends | Each end on its own joist: a double joist or a 2 × 4 nailer at butt joints | Trex installation guide |
| Gap between solid wood boards, Europe | 6 to 10 mm when laid; double joists 80 to 100 mm apart under board ends | Habisreutinger laying guide, after GD Holz |
| Clips per area | About 25 per m² (2.3 per sq ft) | Tarimatec, Ecodeck |

A nominal 6 in board is 5 1/2 in (140 mm) wide and a nominal 4 in board 3 1/2 in (89 mm). Wood decking comes in lengths of 8 to 20 ft in steps of 2 ft; composite boards commonly in 8, 12, 16 and 20 ft. Choose a board as long as the deck when you can, so that no row needs a joint.

## What the calculator does not size

The sizes of the joists, beams and posts, the footings and the ledger connection depend on the spans, the loads, the wood species and your local code. This calculator does not size them. Use the tables of the code, and ask your building department which code applies and whether the deck needs a permit.

-   **2021 International Residential Code, section R507.** Footings (R507.3), posts (R507.4), beams (R507.5), joist spans (R507.6) and the ledger at the house (R507.9).
-   **American Wood Council, DCA 6.** A free guide for a wood deck on one level that is attached to the house, with span tables for joists and beams, post heights, footing sizes and ledger fasteners. It needs posts of at least 6 × 6 and footings at least 12 in (305 mm) below undisturbed ground, or below the frost line where that is deeper.

## Draw the deck on your plot

Draw the house and the plot to scale, add the deck, a patio, paths and a pool, and see them in 3D. Free, in your browser, with no account.

[Open editor](https://simplehouseplanner.com/app/) [Edit with ChatGPT](https://simplehouseplanner.com/chatgpt/)

## Questions

### How many deck boards do I need for a 12 × 16 deck?

With 5 1/2 in boards and a 1/8 in gap, the deck has 26 rows. With 16 ft boards and 10 % waste, buy 29 boards. With 12 ft boards, buy 39.

### How many deck boards do I need for a 10 × 10 deck?

22 rows of 5 1/2 in boards with a 1/8 in gap. With 10 ft boards and 10 % waste, buy 25 boards. The deck has 9 joists at 16 in on center and takes 396 screws.

### How far apart should deck joists be?

16 in on center for 5/4 in wood boards and for Trex composite boards, and 12 in when the boards run diagonally. Wood boards 2 in thick may span 24 in under the IRC.

### How many screws do I need for a deck?

Two for each board at each joist. A 12 × 16 ft deck with 26 rows and 13 joists takes 676 screws, about 3.5 for each square foot.

### How wide is the gap between deck boards?

About 1/8 in (3 mm) for wood, by the American Wood Council's deck guide. Trex asks for at least 3/16 in (5 mm) between its composite boards.

### Does the calculator size beams, posts and footings?

No. Their sizes depend on the spans, the loads and your local code. The span tables are in section R507 of the International Residential Code and in the American Wood Council's DCA 6.

## Sources

-   [International Code Council: 2021 International Residential Code, section R507, Exterior decks](https://codes.iccsafe.org/content/IRC2021P2/chapter-5-floors)
-   [American Wood Council: DCA 6, Prescriptive Residential Wood Deck Construction Guide](https://awc.org/publications/dca-6-prescriptive-residential-wood-deck-construction-guide/)
-   [Trex: Decking installation guide (PDF)](https://images.trex.com/is/content/trexcompany/decking-installation-guidepdf)
-   [Trex: How to space deck boards](https://www.trex.com/deck-ideas/how-to-space-deck-boards)
-   [Decks.com: Decking calculator](https://www.decks.com/calculators/decking-calculator/)
-   [Habisreutinger: Verlegeanweisung Holzterrassen 2024, joist spacing after GD Holz, gaps and double joists (PDF, in German)](https://habisreutinger.de/media/import/CSimages/2733/273388/verlegeanweisung-holzterrassen-2024.pdf)
-   [Neowood: Laying guide for composite decking on wood joists (PDF, in French)](https://info.neowood.fr/hubfs/DOCUMENTS%20NEOWOOD/NOTICES/notice-terrasse-neowood-pose-structure-pin.pdf)
-   [Tarimatec: Installation manual for composite decking, joist spacing and clips per m² (PDF, in Spanish)](https://documentacion.generadordeprecios.info/documentaciontecnica/tarimatec/tarimatec_tarima.pdf)
-   [Santa Luzia: Ecodeck manual, 2024, joist spacing and clips per m² (PDF, in Portuguese)](https://www.industriasantaluzia.com.br/wp-content/uploads/2024/08/Manual-ficha-e-termo-de-garantia-Ecodeck-09.2024.pdf)
-   [Patio size: how big a patio or deck should be](https://simplehouseplanner.com/guides/patio-size/)

## Embed this calculator

Add this calculator to your website. Copy the code and paste it into your page.

```
<iframe src="https://simplehouseplanner.com/tools/deck-calculator/?embed" title="Deck calculator" width="100%" height="760" style="border: 1px solid #d9d9d9; border-radius: 12px" loading="lazy"></iframe>
<p><a href="https://simplehouseplanner.com/tools/deck-calculator/">Deck calculator</a> · Simple House Planner</p>
```

Copy code

## Calculators

-   [Stair calculator](https://simplehouseplanner.com/tools/stair-calculator/)
    
    Free stair calculator with diagram: enter the floor-to-floor height and get risers, treads, run, stringer length and the stairwell opening, checked against code.
    
-   [Square footage calculator](https://simplehouseplanner.com/tools/square-footage-calculator/)
    
    Free square footage calculator: add rooms in feet and inches or meters as rectangles, triangles or circles, subtract closets, and get sq ft, m² and sq yd.
    
-   [Flooring and tile calculator](https://simplehouseplanner.com/tools/flooring-calculator/)
    
    Free flooring and tile calculator: enter the room and plank or tile size to get square feet with waste, pieces and boxes, and carpet in square yards.
    
-   [Paint calculator](https://simplehouseplanner.com/tools/paint-calculator/)
    
    Free paint calculator: enter the room size, doors, windows and coats to get the square feet to paint and how many gallons or liters of paint to buy.
    
-   [Wallpaper calculator](https://simplehouseplanner.com/tools/wallpaper-calculator/)
    
    Free wallpaper calculator: enter the wall or room, the roll size and the pattern repeat with straight or drop match to get the drops per roll, drops and rolls.
    
-   [Roof pitch calculator](https://simplehouseplanner.com/tools/roof-pitch-calculator/)
    
    Free roof pitch calculator with chart: convert x/12, degrees and percent, and get the rafter length with overhang and the roof area of a gable or shed roof.
    
-   [Ramp calculator](https://simplehouseplanner.com/tools/ramp-calculator/)
    
    Free ramp calculator: enter the rise and get the ramp length, slope, runs, landings and floor space under the ADA, UK Approved Document M or DIN 18040.
    
-   [Pool volume calculator](https://simplehouseplanner.com/tools/pool-volume-calculator/)
    
    Free pool volume calculator: enter a rectangle, round, oval or kidney pool, flat or with a deep end, and get US gallons, liters, cubic meters and water area.
    
-   [Floor plan scale calculator](https://simplehouseplanner.com/tools/floor-plan-scale-calculator/)
    
    Free floor plan scale calculator: convert lengths at 1:50, 1:100 or 1/4 in = 1 ft, find the scale of a drawing, and see the paper size the plan fits on.
    
-   [Bed size calculator](https://simplehouseplanner.com/tools/bed-size-calculator/)
    
    Free bed size calculator: enter your bedroom's size and see which US and European beds fit with walkways, and the smallest room for each bed, in feet or cm.
    
-   [Sofa size calculator](https://simplehouseplanner.com/tools/sofa-size-calculator/)
    
    Free sofa size calculator: enter your wall and room depth and get the longest sofa or L sectional that fits with walkways, the seats, coffee table and TV distance.
    
-   [Dining table size calculator](https://simplehouseplanner.com/tools/dining-table-size-calculator/)
    
    Free dining table size calculator: enter the number of people or your room size and get rectangular, square, round and oval tables with room for the chairs.
    
-   [Rug size calculator](https://simplehouseplanner.com/tools/rug-size-calculator/)
    
    Free rug size calculator for a sofa or sectional, a bed or a dining table, rounded to standard US rug sizes in feet and European sizes in cm, with a plan.
    
-   [Window size calculator](https://simplehouseplanner.com/tools/window-size-calculator/)
    
    Free window size calculator: enter the room size and get the glass, openable area and egress opening the room needs under the IRC and other codes, with a drawing.
    
-   [Concrete calculator](https://simplehouseplanner.com/tools/concrete-calculator/)
    
    Free concrete calculator: a slab, footing, post holes or steps in cubic yards with waste, 40, 60 and 80 lb bags or any bag size, and when to order ready-mix.
    
-   [Gravel and mulch calculator](https://simplehouseplanner.com/tools/gravel-calculator/)
    
    Free gravel, mulch and topsoil calculator: enter the area and depth to get cubic yards, tons and bags of gravel, crushed stone, sand, topsoil or mulch.
    
-   [Fence calculator](https://simplehouseplanner.com/tools/fence-calculator/)
    
    Free fence calculator: posts, rails and pickets, panels, boards, wire mesh or barbed wire, corners and gates, and the bags of concrete that set the posts.
    
-   [Drywall calculator](https://simplehouseplanner.com/tools/drywall-calculator/)
    
    Free drywall calculator: enter the room size to get the sheets of 4 × 8, 4 × 10 or 4 × 12 drywall with waste, and the joint compound, tape and screws.
    
-   [Roofing calculator](https://simplehouseplanner.com/tools/roofing-calculator/)
    
    Free roofing calculator: enter the house size and roof pitch to get the roof area in squares, bundles of shingles, underlayment, starter, ridge cap and drip edge.
    
-   [Insulation calculator](https://simplehouseplanner.com/tools/insulation-calculator/)
    
    Free insulation calculator for attics, walls and floors: the R-value for your climate zone, bags of batts or rolls, and the bags and depth of blown-in insulation.
    
-   [Paver calculator](https://simplehouseplanner.com/tools/paver-calculator/)
    
    Free paver calculator: enter a patio, walk or driveway to get the pavers with waste, the gravel base and bedding sand in cubic yards and tons, and edge restraint.
    
-   [Brick and block calculator](https://simplehouseplanner.com/tools/brick-calculator/)
    
    Free brick and block calculator: enter a wall to get the bricks or concrete blocks with waste, less doors and windows, the bags of mortar and grout for the cores.
    
-   [Wall framing calculator](https://simplehouseplanner.com/tools/framing-calculator/)
    
    Free wall framing calculator: enter the wall length, height and stud spacing to count studs, plates, headers, king, jack and cripple studs, with a drawing.
    
-   [BTU calculator](https://simplehouseplanner.com/tools/btu-calculator/)
    
    Free BTU calculator: enter the room size to get the air conditioner size from ENERGY STAR's table, with sun, people and kitchen, in BTU, tons and kW.
    

[Calculators](https://simplehouseplanner.com/tools/)

Checked on 16 November 2026. Local codes differ from the model code; ask your building department before you build.
