Math July 13, 2026 · 8 Min Read

Deck Calculator – Guide & Formulas

Calculate the total deck boards, joists, hangers, screws, and railing balusters required for a standard rectangular deck.

Plan your dream deck with a comprehensive material breakdown. Calculate the number of 5/4" or 2x6 decking boards, framing joists, support fasteners, and railing balusters with customizable spacing.

Key Takeaway

Use the free Deck Calculator to calculate the total deck boards, joists, hangers, screws, and railing balusters required for a standard rectangular deck. Get instant results with step-by-step explanations.

How to Use the Deck Calculator

  1. Enter the length (along house) and width (projection outward) of the deck in feet.
  2. Select your desired board size (e.g., 5.5" wide 5/4x6 or 2x6) and spacing.
  3. Specify joist spacing (typically 12" or 16" on center) and baluster safety guidelines.

The Formula

Boards = (Width / (BoardWidth + Gap)) * (Length / BoardLength) | Joists = (Length / Spacing) + 1

Variable Definitions

  • B: Total deck boards needed
  • J: Total joists required
  • Gap: The expansion spacing between boards (typically 1/8" to 1/4")

Building a 16x12 Foot Deck

Find materials for a 16 ft long by 12 ft wide deck using 6-inch wide boards (5.5" actual width) and 16" joist spacing.

  1. Step 1: Convert width to inches for boards: 12 ft = 144 in.
  2. Step 2: Board coverage: 144 / (5.5" + 0.25" gap) = 25.04 rows. Order 25 boards of 16-foot length.
  3. Step 3: Joists required along 16 ft length at 16" spacing: (16 × 12 / 16) + 1 = 13 joists.
  4. Step 4: Check requirements: 25 deck boards (16ft), 13 joists (12ft), and structural fasteners.

Frequently Asked Questions

What is the standard spacing for deck joists?

For residential decks, joists are spaced 16 inches on center. If you are laying composite decking diagonally at a 45-degree angle, joists must be spaced 12 inches on center.

How many screws are needed per deck board?

On average, you need 3.5 screws per square foot of deck surface. This accounts for fastening every board to every joist with two screws.

What are local building codes for balusters?

Standard safety codes require that balusters be spaced close enough so that a 4-inch sphere cannot pass between them at any point.