Deck Calculator

Enter the size and height of your deck and pick your decking. You get the boards, joists, beam, posts, footings, concrete, screws, stairs and railing to buy, with the joist and beam sizes checked against the American Wood Council’s deck tables, a shopping list with a cost, and drawings to scale.

Your deck

Deck

Length runs along the house. Width is how far the deck sticks out from it.

The usual wood decking. IRC Table R507.7 allows joists up to 16 in apart under it, or 12 in when the boards run at an angle.

Joists span 11 ft between supports with 12 in of overhang. 2×8 joists at 16 in allow 11 ft 10 in. The beam allows 8 ft 4 in between posts.

Enter your pricesUsing example prices

The defaults are example prices for November 2026. The framing and fasteners at the bottom of the list are rounded estimates. Enter what your lumber yard charges.

You need about

29
deck boards, 16 ft long
13
joists
Deck area
192 sq ft
Joists
2×8 joists, 16 in apart
Beam
1 beam of two 2×12s, posts 8 ft apart
Posts
3 posts, 6×6, 1.2 ft long
Footings
3 footings: 1 × 22 in round, 2 × 14 in round, 36 in deep
Concrete
16 bags of 80 lb concrete
Screws and hangers
3 boxes of screws, 13 joist hangers
Materials, per sq ft
$11 per sq ft

At 3 ft above the ground, the IRC calls for a guard 36 in high on every open side.

Materials list
  • 5/4×6 pressure-treated pine29 boards$399

    26 rows across 12 ft, each board 5.5 in wide with a 1/8 in gap, cut from 16 ft boards, plus 10% extra for cuts and culls.

  • Joists, rim and ledger, 2×815 pieces$314

    13 joists at 12 ft, plus a rim board and the ledger of 16 ft. 2×8 southern pine spans 11 ft 10 in at 16 in; yours span 11 ft.

  • Beams, two 2×12s2 pieces$94

    1 beam of 2 plies of 2×12, 16 ft long. This beam spans up to 8 ft 4 in between posts for 11 ft joists, so 2 spans of 8 ft.

  • 6×6 posts1 post$33

    3 posts at 1.2 ft, cut from 8 ft timbers (6 to a timber).

  • Post bases and caps6 pieces$72

    A base under each post and a cap or beam connector on top.

  • Concrete form tubes3 tubes$48

    One tube for each footing, cut to length, sold in 4 ft lengths. Estimated price.

  • 80 lb concrete mix16 bags$95

    9.1 cu ft of concrete in 3 footings dug 36 in deep to the frost line; wide ones are a pad with a 12 in tube on top. About 0.6 cu ft a bag.

  • Joist hangers13 hangers$34

    One at the ledger end of every joist.

  • Deck screws3 boxes$107

    724 screws, two where each board crosses a joist, in boxes of 280.

  • Stair stringers, 2×123 pieces$71

    5 risers of 7 in, 4 treads of 10 in, 3 stringers cut from 8 ft boards.

  • Stair treads4 boards$28

    Two boards a tread, each 3 ft, so one 8 ft board per tread.

  • Railing sections, 6 ft7 sections$720

    37 ft of railing, 36 in high, with a 3 ft opening for the stairs.

  • Railing posts, 4×45 posts$53

    10 posts, two cut from each 8 ft timber.

Total, materials$2,068
Per sq ft$11

Using example prices. Open “Enter your prices” to use your own.

Find lumber yards near you to compare prices.

Your deck

The deck from above

Deck from above: 16 ft by 12 ft, 13 joists, 1 beam and 3 postsHouse wall and ledger16 ft along the house, 12 ft out13 joists, 3 posts, 1 beam

Seen from above, to scale. Light lines are joists, the dark line is the beam, squares are posts and dashed circles are the footings under them.

The deck from the side

Deck from the side: 2x8 joists on a beam, posts on footings 36 in deepfrost line, 36 in downHouse3 ft above the ground2×8 joists, 16 in apart · 12 ft out

Seen from the side, to scale: decking over joists, the beam on posts, and footings poured below the frost line.

29 deck boards, 16 ft long13 joists

See details

Deck materials for common sizes

At the height, decking, joist and beam choices above. Boards and joists are whole pieces including extra; the cost is materials at your prices.

DeckBoardsJoistsPostsMaterials
10 × 10 ft2593$1,501
12 × 12 ft29103$1,712
12 × 16 ft39103$2,417
14 × 20 ft48126$3,273
16 × 20 ft48136$3,502

Key numbers

Design load
40 psf live plus 10 psf dead
Joists under 5/4 boards
16 in apart, or 12 in on the diagonal
Guard needed above
30 in, built 36 in high
Screws
2 at every joist a board crosses
Footings
below your local frost line
A 16 × 12 ft deck, 3 ft high
29 boards, 13 joists, 3 posts

How the calculator works

  1. Boards: the width of the deck ÷ (board width + gap) gives the rows, and each row is as long as the deck, cut from the board length that wastes the least. Diagonal boards use the deck’s area ÷ the width of one board, plus your extra.
  2. Joists: they run from the house out to the beam. The calculator tries the smallest joist that can span the distance between supports at your spacing, with your overhang, using the American Wood Council’s table. If none fits it adds a middle beam.
  3. Beam: sized from the joist span it carries (DCA 6 Table 3A). The wider the span the joists cover, the less the beam can span between posts, so the post spacing follows.
  4. Posts: 6×6, one at each end of every beam and enough between to keep each beam span in the table. Each post’s length is the deck height less the boards, joists, beam and the footing top.
  5. Footings: each post carries the load of the deck within reach of it, its tributary area. Interior posts on a continuous beam get 1.25 times that, and end posts half. The area gives a footing diameter and thickness from DCA 6 Table B3, dug to your frost depth.
  6. Concrete: a pad of the table’s thickness with a 12 in tube above it, or the tube alone where the footing is 12 in wide or less. Volume ÷ 0.6 cu ft per 80 lb bag, rounded up.
  7. Fasteners: two screws wherever a board crosses a joist, in boxes of 280, plus a joist hanger on every joist where it meets the house ledger.
  8. Stairs and railing: risers no taller than 7¾ in, 10 in treads, three stringers. Railing runs along every open side once the deck is more than 30 in above the ground, in 6 ft sections, less the width of the stairs.

How far joists can span

Joist12 in apart16 in apart24 in apart
2×69 ft 11 in, overhang 1 ft9 ft, overhang 1 ft 1 in7 ft 7 in, overhang 1 ft 3 in
2×813 ft 1 in, overhang 1 ft 10 in11 ft 10 in, overhang 2 ft9 ft 8 in, overhang 2 ft 4 in
2×1016 ft 2 in, overhang 3 ft 1 in14 ft, overhang 3 ft 5 in11 ft 5 in, overhang 2 ft 10 in
2×1218 ft, overhang 4 ft 6 in16 ft 6 in, overhang 4 ft 2 in13 ft 6 in, overhang 3 ft 4 in

Southern pine No. 2, wet service, 40 psf live load plus 10 psf dead load. Source: American Wood Council DCA 6 (2018 edition), Table 2. The overhang is how far the joist can reach past the beam, and no more than a quarter of the span. Other woods span less or more: check your lumber’s species and grade.

Worked example: a 16 × 12 ft deck, 3 ft off the ground

A deck 16 ft long and 12 ft out from the house, 3 ft high, bolted to the house on a ledger, with 5/4×6 pressure-treated boards across 16 in joists, 10% extra, one flight of stairs and railing. This is the same math the calculator runs.

  1. Boards: 12 ft = 144 in ÷ (5.5 in + 1/8 in gap) = 25.6, rounded up to 26 rows. With 10% extra that is 29 boards of 16 ft, since the deck is 16 ft long.
  2. Joists: 16 ft = 192 in ÷ 16 in = 12 spaces, plus one = 13 joists. The deck is 12 ft out, less 12 in of overhang past the beam = 11 ft between the ledger and the beam. 2×8 joists 16 in apart span 11 ft 10 in, so they fit. Joists, rim board and ledger come to 15 pieces of 2×8.
  3. Beam: it carries joists of 11 ft, so the table’s 12 ft column applies. Two 2×12s span 8 ft 4 in there, so the 16 ft beam takes 2 spans of 8 ft and 3 posts.
  4. Posts: 3 ft = 36 in, less 1 in of board, 7.25 in of joist, 11.25 in of beam and 2 in at the footing = 14.5 in, 1.2 ft of 6×6.
  5. Footings: each interior post carries 65.5 sq ft and each end post 26.2 sq ft. Table B3 gives 22 in and 14 in footings, dug 36 in down. They hold 9.1 cu ft of concrete: 16 bags of 80 lb.
  6. Screws and hangers: 307 board-and-joist crossings × 2 × 1.1 = 724 screws, 3 boxes of 280. 13 joist hangers for the ledger.
  7. Stairs: 36 in ÷ 7¾ in = 4.65, rounded up to 5 risers of 7.2 in, so 4 treads. Three 2×12 stringers and 4 boards for the treads.
  8. Railing: 3 ft is over the 30 in line, so rail goes on the two sides and the front, less 3 ft for the stairs: 7 sections of 6 ft and 10 posts.
  9. Cost at this page’s example prices: $2,066 in materials, which is $11 per sq ft of deck.

Answer: Buy 29 boards, 15 pieces of 2×8 for the joists, rim and ledger, 2 of 2×12 for the beam, 3 6×6 posts, 16 bags of concrete and 7 railing sections: about $2,066 in materials.

How big do deck joists and beams need to be?

The American Wood Council’s DCA 6 is the guide most building departments accept for a plain deck. Its joist table, shown above, gives the longest span for each size and spacing in southern pine No. 2. It also limits the overhang, so a joist can only reach past the beam by the table’s figure or a quarter of its span, whichever is less. Closer spacing and a deeper joist both buy span.

A joist that is too long for one beam gets a second, in the middle. This calculator does that for you: for a deck 12 ft out with 1 ft of overhang, 2×8 joists at 16 in cover the 11 ft between ledger and beam, but a 20 × 14 ft free-standing deck needs 2×10 joists, 2 beams and 8 posts.

Beams are sized from the joist span they carry. A beam holding up joists on both sides carries twice the load, which the calculator allows for. Pick a beam yourself with the Beam menu to see what it does to the post count: a bigger beam spans farther and needs fewer posts.

Beam6 ft joists8 ft10 ft12 ft14 ft16 ft18 ft
Two 2×8s8 ft 6 in7 ft 4 in6 ft 6 in5 ft 11 in5 ft 6 in5 ft 1 in4 ft 9 in
Two 2×10s10 ft 1 in8 ft 9 in7 ft 9 in7 ft 1 in6 ft 6 in6 ft 1 in5 ft 9 in
Two 2×12s11 ft 11 in10 ft 4 in9 ft 2 in8 ft 4 in7 ft 9 in7 ft 3 in6 ft 9 in
Three 2×10s12 ft 9 in11 ft9 ft 9 in8 ft 9 in8 ft 3 in7 ft 8 in7 ft 3 in
Three 2×12s15 ft13 ft11 ft 7 in10 ft 6 in9 ft 9 in9 ft 1 in8 ft 7 in

The longest span between posts for a beam, by the length of the joists it carries. Source: American Wood Council DCA 6 (2018 edition), Table 3A, southern pine No. 2. Beams are built from plies nailed or bolted together as DCA 6 shows.

How big should deck footings be?

A footing spreads a post’s load over the soil. DCA 6 Appendix B sizes it from the post’s tributary area, the part of the deck that rests on that post, for soil that holds 1,500 psf. This calculator uses that column, which is the most cautious of the table’s soil types; if your soil is stronger and your building department accepts it, your footings may be smaller. Fine Homebuilding walks through the same table, and the rule of thumb of 1.25 times the area for an interior post on a continuous beam.

A footing 12 in wide or less is a form tube poured full depth. A wider one is a round pad with the tube above it, which uses less concrete than a column as wide as the pad. The depth goes below the frost line, which is set locally: 36 in is this page’s starting number, and your building department gives yours.

Area a post carriesFooting diameterFooting thickness
20 sq ft12 in round6 in
50 sq ft18 in round7 in
100 sq ft26 in round11 in
150 sq ft33 in round14 in
200 sq ft38 in round17 in
250 sq ft43 in round19 in

Source: American Wood Council DCA 6 (2018 edition), Appendix B, Table B3, for soil that holds 1,500 psf. Areas between rows round up to the next row. A post that carries more than 250 sq ft is past the table and needs an engineer.

Decking: boards, spacing and screws

The decking sets the joist spacing. IRC Table R507.7, as the City of Olathe prints it, allows 1¼ in thick wood decking on joists up to 16 in apart when the boards run across them, and 12 in apart when they run at an angle of up to 45°. For 2 in thick wood it is 24 in across the joists and 16 in on the diagonal. Composite decking follows the maker’s instructions, usually 16 in across and 12 in on the diagonal.

Diagonal boards look good, but they need joists closer together and use more board: this page adds 15% for waste instead of 10%. A 16 × 12 ft deck laid at 45° with 12 in joists takes 30 boards of 16 ft, against 29 straight, and 17 joists against 13.

Each board is fastened at every joist with two No. 8 screws or two 8d threaded nails, a rule the International Code Council’s RB268 states. The calculator counts two screws at every crossing, with your extra, in boxes of 280. Composite boards usually go down with hidden clips instead, which are priced by the box and not counted here.

Do I need a railing and how many stairs?

The IRC asks for a guard along every open side more than 30 in above the ground, at any point within 36 in of the edge. The City of Lake Stevens’ handout for the 2021 code says so, and Trex gives the height: at least 36 in, with no opening a 4 in sphere can pass. Stairs have their own rule, a sphere of 4⅜ in. Below 30 in the code does not require a guard, but a deck on a slope can be taller on one side than the number you enter, so check the highest edge.

Stairs are sized from the deck’s height. The IRC limits each riser to 7¾ in, so a 3 ft deck needs 5 risers of about 7.2 in, with 10 in treads. The calculator prices three 2×12 stringers cut for the stairs and two boards for each tread. Landings, handrails and the footing for the bottom step depend on local code and are not counted.

How much does a deck cost?

For a 16 × 12 ft deck, 3 ft high, in pressure-treated pine at example prices, the materials come to $2,066, or $11 per sq ft. That leaves out labor, permits, ledger flashing and bolts, stain or sealer, stair landings and hidden clips. Here is the list the calculator builds, line by line:

ItemHow manyCost
5/4×6 pressure-treated pine29 boards$399
Joists, rim and ledger, 2×815 pieces$314
Beams, two 2×12s2 pieces$94
6×6 posts1 post$33
Post bases and caps6 pieces$72
Concrete form tubes3 tubes$48
80 lb concrete mix16 bags$95
Joist hangers13 hangers$34
Deck screws3 boxes$107
Stair stringers, 2×123 pieces$71
Stair treads4 boards$28
Railing sections, 6 ft7 sections$720
Railing posts, 4×45 posts$53

Source: The Home Depot listings seen November 2026 for 5/4×6 and 2×6 deck boards, 2×8 and 2×10 lumber, 6×6 posts, Quikrete 80 lb concrete mix, Simpson LUS28 joist hangers, Deckmate screws and a ProWood railing kit. The 2×12 lumber, form tubes, and post bases and caps are rounded estimates. Prices differ by store and week: enter yours in “Enter your prices.”

The decking you pick changes the bill the most. The same deck in 2×6 boards is $2,199 ($11 per sq ft) with joists 24 in apart, and in composite it is $2,929 ($15 per sq ft), before the hidden clips composite usually takes.

A 12 × 12 ft deck with no stairs at 2½ ft high comes to $943 with no railing, since it is under the 30 in line. Height costs money: posts get longer, footings stay the same, and above 30 in you add railing and stairs.

Permits and your local code

Most places want a permit for a deck, and many ask for a drawing of the footings, framing and ledger connection. The sizes here come from DCA 6, which is the basis for many local deck handouts, but your building department can use a different table, a different species of wood or a different frost depth. Treat this page as a materials list to take to them, and ask what they accept.

Call 811 before you dig. A deck attached to the house also needs the ledger bolted through the wall with flashing above it, which this calculator does not count. A free-standing deck has its own bracing: DCA 6 shows how.

Mistakes to avoid

  • Setting footings above the frost line. They heave in winter and the deck moves. Dig to the depth your building department gives.
  • Nailing the ledger to the house instead of bolting through it, or leaving out the flashing above it. A ledger failure is the usual way a deck comes down.
  • Choosing joists by looks. A 2×6 spans 9 ft at 16 in; a 2×8 spans 11 ft 10 in. Stretch either and the deck bounces.
  • Reaching joists too far past the beam. The overhang is limited to a quarter of the span or the table, whichever is less.
  • Spacing joists 24 in apart under 5/4 boards. They bow. Use 16 in, or 12 in for diagonal boards, or 2×6 boards.
  • Using the wrong fasteners. Use deck screws or threaded nails that suit pressure-treated lumber and, near the coast, stainless steel.
  • Skipping the guard when the deck is above 30 in at any point, including the downhill side of a slope.
  • Forgetting the stairs’ footing and landing, and the little parts: bolts, flashing, post bases, stain. Add 10% for the extras.

Common questions

How many deck boards do I need?

Divide the deck’s width in inches by the board’s width plus its gap to get the rows, and cut each row from boards as long as the deck. A 16 × 12 ft deck in 5/4×6 boards takes 26 rows, which is 29 boards with 10% extra for cuts and bad boards.

How far apart should deck joists be?

Sixteen inches apart under 5/4 wood decking, or 12 in if the boards run at an angle. Joists can be 24 in apart under 2 in thick decking. Composite decking follows the maker’s spacing, often 16 in.

How far can a 2×8 or 2×10 deck joist span?

In DCA 6’s table for southern pine No. 2, a 2×8 spans 11 ft 10 in at 16 in apart and a 2×10 spans 14 ft. Other species span less or more, so check your lumber’s grade stamp.

How many posts does a deck need?

At least one at each end of every beam, and enough between that each beam span stays within the table. A 16 × 12 ft deck attached to the house usually takes 3 posts on one beam. A free-standing deck has a beam on each side and takes twice as many.

How big should deck footings be?

It depends on how much deck each post carries and your soil. For soil that holds 1,500 psf, DCA 6 gives a 12 in round footing for 20 sq ft, an 18 in one for 50 sq ft and a 26 in one for 100 sq ft. Footings must go below the frost line.

How deep should deck footings go?

Below your local frost line, which is set by your building department. It runs from a few inches in warm places to 4 ft or more in the north. This page starts at 36 in; change it in the Frost depth box.

How many bags of concrete for deck footings?

An 80 lb bag makes about 0.6 cu ft. A 12 in tube 38 in deep holds about 2.5 cu ft, which is 5 bags. A wide pad uses more, which is why the calculator works the volume out footing by footing. The example 16 × 12 ft deck takes 16 bags.

Does a deck 30 inches high need a railing?

The IRC asks for a guard when the deck is more than 30 in above the ground, measured to the lowest point within 36 in of the edge. The guard must be at least 36 in high and have no gaps a 4 in sphere can pass.

How many screws do I need for decking?

Two at every joist a board crosses. A 16 × 12 ft deck takes about 724 with 10% extra, which is 3 boxes of 280. The calculator counts them for the deck, stairs included.

How much does it cost to build a deck?

In materials alone, at this page’s November 2026 prices, a pressure-treated 16 × 12 ft deck costs about $2,066, $11 per sq ft. Composite decking brings it to about $15 per sq ft. Hiring a builder costs more, because labor, permits and tools are on top.

Do I need a permit to build a deck?

Usually yes, and often for a ground-level deck too. Call your building department. They tell you the frost depth, the lumber they accept and whether they want a plan.

Should the deck be attached to the house?

Attaching it to a ledger is cheaper and saves a beam and posts, but the connection has to be done right with bolts and flashing. A free-standing deck costs more in beams and posts and needs its own bracing, but it does not open a hole in the wall. Pick either in the Attached menu.

Sources

We checked the figures on this page against these sources on . Prices are national ranges from the dates shown; your local yard may charge more or less.

  1. DCA 6: Prescriptive Residential Wood Deck Construction Guide, American Wood Council. The prescriptive deck guide: loads, joist, beam, post and footing tables and the free-standing and bracing rules.
  2. DCA 6 (2018 edition): Tables 2, 3A and B3, joist, beam and footing sizes, American Wood Council, as published by the City of Franklin, Tennessee (2018 edition). Table 2 joist spans and overhangs, Table 3A beam spans, Appendix B Table B3 footing sizes.
  3. Fast, Right-Sized Deck Footing Calculations Using the Updated DCA 6 Table, Fine Homebuilding (September 2015). How to read the footing table by tributary area, and the 1.25 factor for interior posts.
  4. Get Your Deck Joists Right, Fine Homebuilding. Overhang as the lesser of the table’s figure and a quarter of the span; decking sets joist spacing.
  5. Deck Construction Guidelines (IRC Table R507.7, maximum joist spacing for decking), City of Olathe, Kansas (2018 code). IRC Table R507.7: the joist spacing allowed under each kind of decking.
  6. RB268: Wood decking, joist spacing and fastening (2 No. 8 screws or 8d threaded nails at each joist), International Code Council. Decking spacing and fastening: two No. 8 screws or 8d threaded nails at each joist.
  7. 2021 International Residential Code, Section R312: Guards (Guardrails Handout), City of Lake Stevens, Washington (2021 code). IRC R312: guards on open sides more than 30 in above the ground.
  8. Deck Railing Height Requirements, Trex. Guard height of 36 in and the 4 in sphere rule.
  9. Guardrails vs. Handrails: Where Do You Need Them?, Fine Homebuilding. Guards where the ground drops more than 30 in within 36 in of the edge.
  10. 2018 Residential Stair Guide (IRC R311.7), Town of Timnath, Colorado. Stair risers and treads.
  11. Deck Boards: 5/4×6, 2×6 and composite decking, The Home Depot (November 2026). Prices of 5/4×6, 2×6 and composite deck boards.
  12. 2×8 pressure-treated lumber, The Home Depot (November 2026). Price of 2×8 lumber.
  13. 2×10 pressure-treated lumber, The Home Depot (November 2026). Price of 2×10 lumber.
  14. Quikrete 80 lb concrete mix, The Home Depot (November 2026). Price of an 80 lb bag of concrete mix.
  15. Simpson Strong-Tie LUS28 joist hanger, The Home Depot (November 2026). Price of a joist hanger.
  16. Deckmate #10 × 3-1/2 in. deck screws, 5 lb (280 pieces), The Home Depot (November 2026). Price of a 5 lb box of deck screws.
  17. ProWood 3 × 6 ft pressure-treated railing kit, The Home Depot (November 2026). Price of a 6 ft railing section.

See a figure that does not match your supplier? Tell us and we will check it. How we check our numbers.

Add this calculator to your website

Run a supply yard, a landscaping business or a blog? Put this calculator on your own page, free. It works the same as here, resizes to fit, and shows nothing but the calculator: no ads.