How to work out deck boards
Deck boards usually run along the house, square to the joists. Count the rows across the width, then the boards each row takes: one when a board is as long as the deck, more when boards are joined over a joist. A 5/4×6 or 1×6 board is really 5½ in wide.
Worked example: a 16 × 12 ft deck
- Rows: 144 in ÷ (5.5 + 0.125) in = 25.62, rounded up to 26 rows.
- Boards: one 16 ft board per row = 26, + 10% extra = 29 boards.
- Joists 16 in apart across 16 ft: 192 ÷ 16 + 1 = 13 joists.
- Screws: 26 rows × 13 joists × 2 = 676 screws.
- Stairs for a deck 30 in high: 30 ÷ 7.75, rounded up = 4 risers of 7.5 in, 3 treads, 5 stringers 12 in apart, and 2 more boards for the treads.
Boards for common deck sizes
| Deck | Board length | Boards | Screws |
|---|---|---|---|
| 10 × 10 ft | 10 ft | 25 | 352 |
| 12 × 12 ft | 12 ft | 29 | 520 |
| 16 × 12 ft | 16 ft | 29 | 676 |
| 16 × 16 ft | 16 ft | 39 | 910 |
| 20 × 16 ft | 20 ft | 39 | 1,120 |
5½ in pressure-treated boards with a ⅛ in gap, running the length of the deck, 10% extra boards, joists 16 in apart. Stairs not included.
Deck stairs
The International Residential Code (R311.7.5) allows risers up to 7¾ in and treads at least 10 in deep, and every riser in a flight should be the same height. The calculator finds the fewest risers that stay under 7¾ in and splits the height evenly. Stringers are cut from 2×12s; for 5/4 tread boards, Fine Homebuilding puts them no more than 12 in apart and Decks.com no more than 16 in. Measure the height where the stairs will land, because the ground is rarely level.
How much does a deck cost in materials?
A 16 ft pressure-treated 5/4×6 deck board is about $7.36, or $0.46 a foot; a 16 ft Trex Enhance composite board about $41.60, or $2.60 a foot. A gallon of semi-transparent stain is about $38.98. For the example deck, the boards and stain come to $306.12; framing, posts, footings and screws are on top of that.
Prices last updated: December 2026. From the Home Depot listings under Sources; enter your own prices for a real total.
Pressure-treated or composite?
- Pressure-treated: the cheapest per foot. It is stained or sealed, and many builders lay wet boards tight because they shrink as they dry.
- Composite: costs more per foot, needs no stain, and needs the gap and joist spacing its maker gives (Trex: at least 3/16 in between boards).
The joists, beams, posts and footings carry the deck: size them from a span table (AWC DCA 6 or your local code), and check whether your town needs a permit.
Estimates only, not a contractor quote. Check local codes and your supplier’s figures before ordering.
Sources
- Lowe’s: Nominal vs actual lumber sizes (1×6 is ¾ × 5½ in, 4×4 is 3½ × 3½ in)
- Home Depot: WeatherShield 5/4 in × 6 in × 16 ft ground contact pressure-treated deck board
- Trex: How to space deck boards (3/16 in minimum width-to-width gap)
- Home Depot: Trex Enhance 1 in × 6 in × 16 ft composite deck board
- Hunker: How to calculate the number of screws for a deck (about 350 per 100 sq ft, 6 in boards on 16 in joists)
- City of Boise: Treads and risers handout (2018 IRC R311.7.5: 7¾ in maximum riser, 10 in minimum tread)
- Decks.com: How to lay out deck stair stringers (no more than 16 in apart)
- Fine Homebuilding: Install deck stair treads (stringers no more than 12 in apart for 5/4 treads)
- Do it Best: Cabot semi-transparent deck stain, 1 gal (250–350 sq ft smooth, 100–200 sq ft rough)
- Home Depot: Behr Premium semi-transparent waterproofing wood stain, 1 gal
Questions people ask
How many deck boards do I need?
Divide the deck’s width by one board plus its gap to get the rows, then multiply by the boards each row takes. A 16 × 12 ft deck in 5½ in boards with a ⅛ in gap has 144 ÷ 5.625 = 25.62, so 26 rows; with 16 ft boards that is 26 boards, or 29 with 10% extra for cuts and bad boards.
How many screws do I need for a deck?
Two screws per board at every joist. The 16 × 12 ft example has 26 rows crossing 13 joists: 26 × 13 × 2 = 676 screws, about 3.5 per square foot, close to the 350 per 100 sq ft Hunker gives for 6 in boards on 16 in joists. Hidden fasteners take one clip per board at each joist instead.
How many steps do I need for my deck?
Divide the height from the top of the deck to the ground by 7¾ in, the tallest riser the International Residential Code allows, and round up. A deck 30 in high needs 4 risers of 7.5 in. The deck is the top step, so there are 3 treads, each at least 10 in deep. Your local code may differ: check before you build.
How much stain do I need for a deck?
Divide the area by the coverage on the can, times the coats. Labels give 100–350 sq ft per gallon; rough or new wood takes more stain. The example deck and stair treads are 203.13 sq ft: one coat at 200 sq ft per gallon is 1.02 gallons, so buy 2. Add the railings and stair sides if you stain them too.
Should deck boards be gapped?
Composite boards need the gap their maker gives: Trex asks for at least 3/16 in between boards. Pressure-treated boards are often sold wet and shrink as they dry, so many builders lay them tight or nearly tight. Enter the gap you will use: it changes the number of rows.
How far apart are deck joists?
Often 16 in on center for wood boards running square to the joists. Composite boards and boards laid on a diagonal may need joists closer together: the board maker’s installation guide gives the spacing. Joist size depends on the span, the wood and the load, so size them from a span table such as AWC DCA 6 or your local code.