Reviewed · Prices checked October 2026 · How we calculate

Deck Calculator: Boards, Screws and Stain

Enter the length and width of your deck. You get the deck boards, boxes of screws, joist count and gallons of stain to buy, and what they cost at your store's prices. We don't size joists, beams, spans or footings: pick those from your plan or local code. For footing concrete, use the sonotube calculator.

Deck size

Units
ft
ft
Deck board

Both are 5.5 in wide. Priced as 12 ft boards. Gap between boards: 3/16 in.

Joist spacing

Centre to centre. Use what your plan or the board maker calls for.

Waste

10% for boards laid straight, 15% for a diagonal pattern.

Stain
sq ft

Typical decks take 150 to 300 sq ft per gallon. The label on your can wins.

Shopping list

Updates as you type
38deck boards

12 × 16 ft deck, 34 rows of one board, 10 joists at 16 in

Joists longer than 12 ft: price your lumber. We show the count (10) but not a price.

  • 38 × 12 ft 5/4×6 deck boards$380–$617.50
    34 rows ((192 in + 0.1875 in) ÷ 5.69 in = 33.79, rounded up) × 1 board per row, plus 10% waste. Priced as 12 ft boards.

    Typical price (estimate, checked Oct 2026): $10.00–$16.25 per 12 ft 5/4×6 deck board

    38 boards × $10.00–$16.25 = $380–$617.50Estimate
  • 2 × 5 lb boxes of deck screws$44–$92
    714 screws needed (about 400 per box of #10 × 2-1/2 in). Count varies by brand.

    Typical price (estimate, checked Oct 2026): $22.00–$46.00 per 5 lb box of deck screws

    2 boxes × $22.00–$46.00 = $44–$92Estimate
  • 2 × gallons of deck stain$50–$120
    192 sq ft × 2 coats ÷ 200 sq ft per gallon. Railings and stairs not included.

    Typical price (estimate, checked Oct 2026): $25.00–$60.00 per gallon of deck stain

    2 gallons × $25.00–$60.00 = $50–$120Estimate
Project total (estimate where no price is entered)$474–$829.50
Checked Oct 2026
Show the math
Rows: (192 in + 0.1875) ÷ (5.5 + 0.1875 gap) = 33.79 → 34Boards: 34 rows × 1 (12 ft ÷ 12 ft, rounded up) × 1.10 waste = 37.40 → 38Joists: 12 ft × 12 ÷ 16 in, rounded up, + 1 = 10Screws: (34 rows × 10 joists) × 2 × 1.05 = 714.0 → 714; ÷ 400 per box = 1.78 → 2Stain: 192 sq ft × 2 ÷ 200 = 1.92 → 2 gallons

Your prices are saved on this device only.

How it works

The formula

rows = width (in) ÷ (5.5 in board + 0.1875 in gap), round up
boards = rows × boards per row × (1 + waste), round up
joists = length (in) ÷ spacing, round down, + 1
screws = rows × joists × 2 × 1.05, ÷ 400 per box, round up
stain gallons = area × coats ÷ coverage, round up

Assumptions

  • Boards run along the length. Joists run across the width, spaced along the length, so every row of boards crosses every joist.
  • Boards are 5.5 in wide (5/4×6 and 2×6 are the same width) with a 0.1875 in (3/16 in) gap. Each row is one 12 ft board, or more joined end to end and staggered when the deck is longer. Boards are priced as 12 ft boards; for other lengths, enter your price. 2×6 is priced with the 5/4×6 price, so enter yours.
  • Two screws where each board meets a joist, plus 5% extra. A 5 lb box of #10 × 2-1/2 in deck screws holds about 400: retailer listings show 370 to 455 depending on brand, so check the box.
  • Joists are counted for any deck. We price them only as 12 ft treated 2×8s, and only when the width is 12 ft or less. For anything wider, price your own lumber. We never suggest a joist size.
  • Stain covers 200 sq ft per gallon per coat by default. Olympic's listings say 250 to 350 sq ft on smooth wood and less on rough or weathered wood. Change it to match your can. Railings and stairs are not included.
  • We don't size joists, beams, spans, ledgers or footings. Those depend on your local code and loads.

Worked example

A 12 × 16 ft deck, boards along the 12 ft side, joists 16 in apart, 10% waste

  1. Rows: 192 in ÷ 5.6875 in = 33.76, round up to 34
  2. Boards: 34 rows × 1 board per row × 1.10 = 37.4, round up to 38
  3. Joists: 144 in ÷ 16 in = 9.0, + 1 = 10
  4. Screws: 34 × 10 × 2 × 1.05 = 714. ÷ 400 = 1.78, round up to 2 boxes
  5. Stain: 192 sq ft × 2 coats ÷ 200 = 1.92, round up to 2 gallons
  6. At the middle of our typical prices, boards, screws and stain come to about $651.75, before joists

Common deck sizes

Boards, screw boxes and stain for common deck sizes, joists 16 in apart, 10% waste, 2 coats of stain
DeckBoardsScrew boxesStain gallons
10×10 ft2521
12×12 ft2922
12×16 ft3822
16×20 ft9544

Boards run along the first number. 5/4×6 or 2×6 boards, 16 in joists, 10% waste, 2 coats at 200 sq ft per gallon.

Questions people ask

How many deck boards do I need?

For a 12 × 16 ft deck, 38 boards of 12 ft: 34 rows, plus 10% for cuts and mistakes. A diagonal pattern wastes more, so use 15%: that makes 40. A deck longer than 12 ft needs more than one board per row, as in a 20 × 12 ft deck with 2 per row.

How many screws per deck board?

Two screws at every joist the board crosses. A 12 ft board over joists 16 in apart crosses 10 joists, so about 20 screws per board. The whole deck takes about 714 screws, or 2 boxes of 5 lb with about 400 in each.

How much stain do I need for a deck?

A 192 sq ft deck with 2 coats at 200 sq ft per gallon takes 2 gallons. One coat takes 1. Rough or old wood soaks up more, and railings and stairs add area, so check the coverage on your can.

How big should the gap between deck boards be?

We use 0.1875 in (3/16 in). Wet treated lumber shrinks as it dries, so many builders lay it with little or no gap. Follow the board maker's instructions, especially for composite, which can need a different gap.

What joist spacing should I use?

16 in centre to centre is common for wood decking, and composite boards often call for 12 to 16 in depending on the maker, or closer for diagonal laying. Check your board's instructions and local code. At 12 in, your 12 ft deck has 13 joists instead of 10. We count joists but don't size them.