Free material calculators for home projects. No sign-up.Prices last checked 2026-10-31

Deck Material Calculator: Boards, Joists, Beams and Screws

Enter your deck’s size and framing to get a cut list of deck boards, joists, beams, posts, hangers and screws. The calculator checks your joist span, overhang and post spacing against the 2024 building code tables and draws the framing plan.

8 sources citedSources last checked 2026-10-30How we calculate thisChange log

Your numbersResults update as you type
Deck size
ft

ft

The direction the joists run, including any overhang past the beam.

in

Framing

Printed on the lumber grade stamp. Most treated lumber in the South and East is southern pine.

Ask your building department for your ground snow load.

ft

ft

Deck boards

%

Allowance for bad boards and mistakes. Offcuts from cutting boards to length are already counted, and framing is counted exactly, so this can be smaller than a rule-of-thumb 10%.

Deck area
192 sq ft
Joist span
11 ft
Code max joist span
11 ft 10 in
Joists
13
Rows of deck boards
26
Posts
3
Deck boards & framing diagramTop view of a 16 ft by 12 ft deck: 13 joists at 16 in on center, 1 beam on 3 posts, and 26 rows of deck boards.House wall16 ft12 ft1 ftJoists 2x8 at 16 in on centerBeam: 2-ply 2x103 posts (black squares), 26 rows of deck boards
  • Passes: Joist span 11 ft is within the 11 ft 10 in allowed for 2x8 southern pine at 16 in on center, 40 psf live load. 2024 IRC
  • Passes: Joist overhang 1 ft is within the 2 ft 4 1/2 in allowed for this span. 2024 IRC
  • Passes: Posts 8 ft apart is within the 8 ft a 2-ply 2x10 beam can span here. 2024 IRC
  • Note: Expect to need a permit: the model code only exempts decks of 200 sq ft or less, 30 in or lower, and not attached to the house. 2024 IRC
  • Note: Not sized here: the ledger bolts and flashing that attach the deck to the house (R507.9), the footings (R507.3), guards and stairs. 2024 IRC

Shopping list

Shopping list
ItemBuy
5/4x6 deck boards, 16 ft26 rows, 16 ft each. Includes 5% waste.28 boards
Joists, 2x8 × 12 ft16 in on center, including the two outside joists.13 boards
Rim joist, 2x8 × 16 ftAcross the outer ends of the joists.1 board
Ledger, 2x8 × 16 ftBolted to the house. At least 2x8 (DCA 6).1 board
Joist hangers for 2x8One per joist at the ledger. Use the nails the hanger maker specifies.13 hangers
Beam, 2-ply 2x10 × 16 ft1 beam of 2 boards nailed together. Joints in a ply must fall over a post.2 boards
Posts, 6x6 × 8 ftCut to about 1 ft 6 1/2 in. 3 per beam, 8 ft apart.3 posts
Post basesAnchor each post to its footing.3 bases
Post caps / beam connectorsRequired for 3-ply beams (DCA 6).3 caps
Deck screws710 screws: 2 per board at every joist (R507.7). Includes 5% waste.3 boxes

Cost estimate

Prices from Home Depot South Loop (#1950), Chicago, IL, checked 2026-10-31. Pick your state to use a store in your region. Your store’s prices will differ, so type them into the price boxes; they’re saved in this browser only.

Cost estimate
ItemPriced qtyUnit priceCost
5/4x6 deck boards, 16 ftprice source, checked 2026-10-31. Home Depot South Loop (#1950), Chicago, IL: WeatherShield 5/4 in. x 6 in. x 16 ft. Standard Ground Contact Pressure-Treated Southern… at $13.78, which works out to $0.86 per ft.448 ft$0.86per ft$385.28
Joists, 2x8 × 12 ftprice source, checked 2026-10-31. Home Depot South Loop (#1950), Chicago, IL: 2 in. x 8 in. x 12 ft. #2 Prime Ground Contact Pressure-Treated Southern Yellow Pine Lumber at $19.58, which works out to $1.63 per ft.156 ft$1.63per ft$254.28
Rim joist, 2x8 × 16 ftprice source, checked 2026-10-31. Home Depot South Loop (#1950), Chicago, IL: 2 in. x 8 in. x 12 ft. #2 Prime Ground Contact Pressure-Treated Southern Yellow Pine Lumber at $19.58, which works out to $1.63 per ft.16 ft$1.63per ft$26.08
Ledger, 2x8 × 16 ftprice source, checked 2026-10-31. Home Depot South Loop (#1950), Chicago, IL: 2 in. x 8 in. x 12 ft. #2 Prime Ground Contact Pressure-Treated Southern Yellow Pine Lumber at $19.58, which works out to $1.63 per ft.16 ft$1.63per ft$26.08
Joist hangers for 2x8price source, checked 2026-10-31. Home Depot South Loop (#1950), Chicago, IL: Simpson Strong-Tie LUS ZMAX Galvanized Face-Mount Joist Hanger for 2x8 Nominal Lumber.13$2.77each$36.01
Beam, 2-ply 2x10 × 16 ftprice source, checked 2026-10-31. Home Depot South Loop (#1950), Chicago, IL: 2 in. x 10 in. x 12 ft. #2 Prime Pressure-Treated Ground Contact Southern Pine Lumber at $28.28, which works out to $2.36 per ft.32 ft$2.36per ft$75.52
Posts, 6x6 × 8 ftprice source, checked 2026-10-31. Home Depot South Loop (#1950), Chicago, IL: 6 in. x 6 in. x 8 ft. #2 Pressure-Treated Ground Contact Southern Pine Timber at $39.58, which works out to $4.95 per ft.24 ft$4.95per ft$118.80
Post basesprice source, checked 2026-10-31. Home Depot South Loop (#1950), Chicago, IL: Simpson Strong-Tie ABU ZMAX Galvanized Adjustable Standoff Post Base for 6x6 Nominal Lumber.3$62.98each$188.94
Post caps / beam connectorsprice source, checked 2026-10-31. Home Depot South Loop (#1950), Chicago, IL: Simpson Strong-Tie BC Galvanized Post Cap for 6x Nominal Lumber.3$21.98each$65.94
Deck screwsprice source, checked 2026-10-31. Home Depot South Loop (#1950), Chicago, IL: GRK Fasteners #9 x 3 in. Star Drive Bugle Head Deck Elite Decking Screws (350-Pack).3 boxes$40.45per box$121.35
Estimated total$1,298.28

How we calculate this

The deck is a rectangle: width runs along the house and depth runs out from it, the same direction as the joists. Deck boards run across the joists, parallel to the house.

rows of boards = ⌈(depth + gap) ÷ (board width + gap)⌉ joists = ⌈width ÷ spacing⌉ + 1 joist span = depth − overhang past the beam posts/beam = ⌈width ÷ max post spacing⌉ + 1 screws = rows × joists × 2 × (1 + waste)

⌈ ⌉ means round up to the next whole number.

Deck boards

A 5/4x6 or 2x6 board is actually 5 1/2 in wide (NIST PS 20), and wood boards get a 1/8 in gap (AWC DCA 6). When a row is longer than one board, the joint has to land on a joist, so each full board is trimmed to a whole number of joist spaces and the short pieces are cut from shared boards. That cut-off waste is counted exactly, so the waste factor only covers bad boards and mistakes.

Framing

Joists go every spacing inches across the width, including one at each end. A deck attached to the house gets a ledger and one beam near the outer end; a freestanding deck gets a second beam near the house. Posts are spaced evenly along each beam, no farther apart than your maximum.

Code checks

  • Joist span is compared with Table R507.6 for your species, joist size, spacing and load. We measure to the outside of the deck, which is slightly longer than the code’s face-to-face span, so the check errs on the safe side.
  • Overhang (cantilever) limits come from the same table. The code allows interpolating between its back-span columns, so we do; we never extrapolate past the table, and a “not permitted” cell is treated as not permitted.
  • Beam span comes from Tables R507.5(1) to (4). We round your joist span up to the next table row and your overhang up to the next listed value, so the column we read is never lighter than your deck. A few cells in the published tables break the tables’ own pattern (for example a smaller beam listed as spanning farther than a bigger one). We treat those as likely misprints and never call them a pass.

Not covered: the ledger bolts and flashing that attach the deck to the house (R507.9), footing sizes (R507.3), guards, stairs, bracing for freestanding decks, hot tubs and other heavy loads, and multi-level decks.

Worked example

A 16 ft wide deck that sticks out 12 ft from the house, 36 in off the ground, with 2x8 southern pine joists at 16 in and a 1 ft overhang past a 2-ply 2x10 beam:

  1. Boards: (144 + 1/8) ÷ (5 1/2 + 1/8) = 25.6, so 26 rows. Each row is one 16 ft board; plus 5% waste that’s 28 boards.
  2. Joists: 192 in ÷ 16 = 12 spaces, so 13 joists, plus a rim joist and a ledger.
  3. Joist span: 12 ft − 1 ft = 11 ft, within the 11 ft 10 in the code allows.
  4. Posts: 16 ft ÷ 8 ft = 2 spaces, so 3 posts 8 ft apart. Posts 8 ft apart is within the 8 ft a 2-ply 2x10 beam can span here. The code reads this from the column for 12 ft joists with a 1 ft overhang, so this layout is right at the limit.
  5. Screws: 26 × 13 × 2 = 676, plus 5% = 710, or 3 boxes of 350.

When to call a pro

A deck carries people high off the ground, and failures are sudden. Have a licensed contractor or engineer design or check your deck if:

  • the calculator shows any Problem, or a beam value it can’t confirm;
  • the deck attaches to the house: the ledger connection is structural and isn’t sized here;
  • it will hold a hot tub, big planters, an outdoor kitchen or heavy snow;
  • it’s more than one level, on a steep slope, or on soft or filled ground.

Either way, get the permit and inspections your town requires.

Numbers this calculator uses

Every value comes from the data files behind this page. Anything marked PLACEHOLDER hasn’t been checked against a source yet, and you can override it in the calculator where it matters.

Numbers this calculator uses and where each comes from
NumberValueSource
Maximum beam spans2024 IRC Tables R507.5(1) to (4)2024 IRCchecked 2026-10-30
Maximum joist spans and cantilevers2024 IRC Table R507.6 (No. 2 grade, wet service, 10 psf dead load)2024 IRCchecked 2026-10-30
Gap between wood deck boardsDCA 6: space decking boards approximately 1/8 in apart. Composite brands set their own gap.1/8 inAmerican Wood Councilchecked 2026-10-30
Composite board width (Trex Enhance)Trex Enhance boards are 0.94 x 5.5 in. Other brands differ slightly; check yours.5 1/2 inTrex Companychecked 2026-10-30
Fasteners per board at each joistR507.7: two 8d deformed-shank nails or two No. 8 wood screws per support.22024 IRCchecked 2026-10-30
Max joist spacing, 1-1/4 in wood decking (perpendicular, 3+ joists)Table R507.7.16 in2024 IRCchecked 2026-10-30
Max joist spacing, 2 in wood decking (perpendicular, 3+ joists)Table R507.7.24 in2024 IRCchecked 2026-10-30
Minimum ledger sizeDCA 6 Table 2, footnote 6.2x8American Wood Councilchecked 2026-10-30
Minimum post size (DCA 6 prescriptive method)6x6American Wood Councilchecked 2026-10-30
Largest deck exempt from a permitR105.2: only if also 30 in or less above grade, not attached to the house, and not serving the required exit door. Local rules can be stricter.200 sq ft2024 IRCchecked 2026-10-30
Highest deck exempt from a permit30 in2024 IRCchecked 2026-10-30
Deck screws per boxSimpson Strong-Tie Deck-Drive DSV #10 x 2-1/2 in (model DSVR212R350). Match this to the box you price.350Simpson Strong-Tiechecked 2026-10-30
Gap between composite boards (Trex minimum)Trex: at least 3/16 in side to side, 3/8 in in heavily wooded areas. Other brands set their own gap.3/16 inTrex Companychecked 2026-10-30
Composite board thickness (Trex Enhance)Used only to estimate post length.15/16 inTrex Companychecked 2026-10-30
Waste factor for deck boards and screws (default; you can change it)Allowance for bad boards and mistakes. Offcuts from cutting boards to length are already counted, and framing is counted exactly, so this can be smaller than a rule-of-thumb 10%.5%PLACEHOLDER
Actual lumber sizes5/4x6 = 1 × 5 1/2 in; 2x6 = 1 1/2 × 5 1/2 in; 2x8 = 1 1/2 × 7 1/4 in; 2x10 = 1 1/2 × 9 1/4 in; 2x12 = 1 1/2 × 11 1/4 in; 6x6 = 5 1/2 × 5 1/2 inNational Institute of Standards and Technologychecked 2026-10-30
Stock lumber lengthsStandard lengths for dimension lumber, 8 to 20 ft in 2 ft steps. Your store may not stock every length.8, 10, 12, 14, 16, 18, 20 ftSouthern Pine Councilchecked 2026-10-30

Sources

Sources and the date each was last checked
SourceWhat we use from itLast checked
2024 International Residential Code, Chapter 5 (Floors): R506 and R507International Code Council · building codeSlab thickness (R506.1), base course (R506.3.2), vapor retarder (R506.3.3), deck beam spans (Tables R507.5(1)-(4)), deck joist spans and cantilevers (Table R507.6), decking joist spacing and fastening (R507.7).2026-10-30
2024 International Residential Code, Section R105.2 (Work exempt from permit)International Code Council · building codePermit exemptions: fences up to 7 ft, retaining walls up to 4 ft (bottom of footing to top of wall, no surcharge), detached accessory buildings up to 200 sq ft, small low unattached decks.2026-10-30
DCA 6: Prescriptive Residential Wood Deck Construction Guide (2015 IRC edition)American Wood Council · industry guideDeck board spacing of about 1/8 in, minimum 6x6 posts for the prescriptive method, joist hanger capacities.2026-10-30
Voluntary Product Standard PS 20-10, American Softwood Lumber Standard, Table 3National Institute of Standards and Technology · standardActual (dressed, dry) sizes of nominal lumber: 1x6 is 3/4 x 5-1/2 in, 5/4 boards are 1 in thick, 2x lumber is 1-1/2 in thick, 4x4 is 3-1/2 in, 6x6 is 5-1/2 in.2026-10-30
Southern Pine specification guidelinesSouthern Pine Council · industry guideDimension lumber is specified in standard lengths from 8 to 20 ft in 2 ft steps.2026-10-30
2026 Trex Decking Installation Guide, gapping requirementsTrex Company · manufacturer guideMinimum width-to-width gap of 3/16 in between Trex boards (3/8 in recommended in heavily wooded areas).2026-10-30
Trex Enhance decking: board dimensionsTrex Company · manufacturer specEnhance boards are 0.94 in thick and 5.5 in wide (Trex's UK site; the US boards are sold in the same 1x6 nominal size).2026-10-30
Simpson Strong-Tie Deck-Drive DSV WOOD ScrewSimpson Strong-Tie · manufacturer specModel DSVR212R350: #10 x 2-1/2 in deck screws, 350 per package.2026-10-30

Spotted a number that’s out of date? Tell us and we’ll recheck it and note the fix in the change log.

Frequently asked questions

How far can a 2x8 deck joist span?

At 16 in on center under a 40 psf live load, the 2024 IRC allows 11 ft 10 in for southern pine, 11 ft 1 in for Douglas fir-larch, hem-fir or spruce-pine-fir, and 10 ft 7 in for redwood or western cedar (Table R507.6). Heavier snow loads shorten these. The calculator looks up your exact case.

Should deck joists be 12, 16 or 24 inches apart?

It depends on the decking. Wood boards 1 1/4 in thick (5/4) need joists 16 in on center or closer when each board crosses at least three joists; 2 in thick wood decking can go to 24 in (IRC Table R507.7). For composite, the code defers to the manufacturer’s span chart. Closer spacing also lets the same joist size span farther.

How many screws do I need per deck board?

Two at every joist: the code calls for two 8d deformed-shank nails or two No. 8 wood screws at each support (R507.7). The example 16 ft × 12 ft deck works out to 26 rows × 13 joists × 2 = 676 screws before waste.

Do I need a permit to build a deck?

Usually. The model code only exempts decks that are 200 sq ft or smaller, no more than 30 in above grade, not attached to the house, and not serving the required exit door (R105.2). Your town can be stricter, so call the building department first.

How much gap should I leave between deck boards?

The American Wood Council’s deck guide (DCA 6) says to space wood decking boards about 1/8 in apart. Composite brands set their own gaps: Trex’s 2026 installation guide calls for at least 3/16 in side to side (3/8 in in heavily wooded areas). Follow the instructions for your boards.

What size posts does a deck need?

The DCA 6 prescriptive guide uses 6x6 posts as its minimum, and this calculator prices 6x6. The 2024 IRC also allows 4x4 and 4x6 posts in some cases, depending on post height and the deck area each post carries (Table R507.4).

Save this plan

Summary card for the deck boards & framing example: diagram and key quantities.

This card shows the example on this page. Use Download summary image above to make one with your own numbers, or pin this one to come back to the calculator later.

Save to Pinterest