A deck looks like a pile of boards, but the boards are the easy part to count. The framing, the hardware and the concrete under the posts are where a material list usually comes up short, and those are the items that stop the job while someone drives back to the lumberyard. This guide counts a complete deck from the top down: deck boards, joists, rim, beam, posts, footings, hangers, screws and railing.
The example is a 12 by 16 foot deck, attached to the house. The free Deck Calculator uses the same steps and the same starting numbers, so you can check each result against it.
Before you count: which way is which?
Two measurements drive everything, and it matters which is which. Length runs along the house. Depth runs out from the house into the yard. In the layout used here, deck boards run parallel to the house, joists run from the house out to the far edge, and the beam runs the length of the deck under the joists.
Our example has 16 feet along the house and 12 feet of depth. Keep that picture in mind, because the same 192 square feet turned the other way gives a different list, as the comparison near the end shows.
One warning before the math. This is a material takeoff, not a structural design. It tells you how many pieces to buy, not what size they have to be. Joist and beam sizes, spans, post size and footing size come from your local code, the span tables in the residential building code, or a set of plans. Many building departments publish a deck guide with those tables, and most require a permit.
Step 1: Deck boards
Start with rows. Each row takes up the width of one board plus one gap. A 5/4 by 6 or a 2 by 6 deck board is actually about 5.5 inches wide, and a 1/8 inch gap is the usual starting point for dry wood. Divide the depth in inches by that total and round up.
Rows = Depth in inches ÷ (Board width + Gap), rounded up
Boards = Rows ÷ Rows each board covers, then × (1 + Waste), rounded up
Worked example: 16 ft × 12 ft deck, 16 ft boards, 10% waste
- Area: 16 × 12 = 192 square feet
- Depth: 12 × 12 = 144 inches
- Each row: 5.5 + 0.125 = 5.625 inches
- Rows: 144 ÷ 5.625 = 25.6, so 26 rows
- One 16 ft board covers one row, so 26 boards before waste
- With waste: 26 × 1.10 = 28.6, so 29 boards, or 29 × 16 = 464 linear feet
Three things are worth noticing here.
- The gap can change the count. Wet treated boards are often laid tight because they shrink as they dry. With no gap, 144 ÷ 5.5 = 26.2, which rounds up to 27 rows and 30 boards. A 3/16 inch gap, common for composite, gives 144 ÷ 5.6875 = 25.3, which stays at 26 rows. Check what your board's instructions call for.
- The last row is rarely a full board. That 25.6 means the final row needs only part of a board's width. You either rip one to fit or adjust the gap a little across the deck.
- Board length is a real choice. A 16 ft board on a 16 ft deck leaves nothing to trim. If you want the ends to overhang the rim, or the boards to be cut clean after they are fastened, go up a length. At 20 ft you still buy 29 boards, but that is 580 linear feet instead of 464. Ask your yard what it stocks in between.
Step 2: Joists
Joists are spaced along the length of the deck. Divide the length in inches by the spacing, round up, and add one, because a row of spaces needs one more joist than it has spaces. That count includes both end joists.
Joists = Length in inches ÷ Spacing, rounded up, + 1
Worked example, continued: joists 16 inches on center
- Length: 16 × 12 = 192 inches
- 192 ÷ 16 = 12 spaces, plus 1 = 13 joists, each 12 feet long
Sixteen inches on center is the most common spacing. Move to 12 inches and the same deck takes 17 joists. Whether you need that depends on the board you pick and on how it is laid, so read the maker's instructions.
Step 3: Ledger, rim and beam
An attached deck gets two runs the length of the deck: a ledger against the house and an outer rim across the joist ends. It also gets one beam to carry the outer end of the joists. A beam built from two boards takes two runs of lumber.
Worked example, continued
- Ledger and rim: 16 + 16 = 32 linear feet
- Beam: 1 beam × 2 boards × 16 feet = 32 linear feet
Framing doesn't get a waste percentage, because it is counted piece by piece. In this example each run comes out to a single 16 ft board, so the list is two boards for the ledger and rim and two for the beam. The ledger deserves the most care on the whole job. It has to be fastened to the house framing the way your code spells out, never just nailed, and flashed so water can't get behind it.
Step 4: Posts and footings
Posts follow the same rule as joists: divide, round up, add one. The 6 foot spacing used here is only a cautious starting point. The span table for your beam sets the real number.
Posts per beam = Length ÷ Post spacing, rounded up, + 1
Concrete per footing = 3.1416 × (Diameter in inches ÷ 24)² × (Depth in inches ÷ 12)
Worked example, continued: footings 12 in wide and 36 in deep
- Posts: 16 ÷ 6 = 2.67, rounded up to 3, plus 1 = 4 posts and 4 footings
- Each footing: 3.1416 × 0.5² × 3 = 2.36 cubic feet
- All four: 2.36 × 4 = 9.42 cubic feet
- Bags: 9.42 ÷ 0.60 = 15.7, so 16 bags of 80 lb mix
The 36 inch depth is a placeholder, not a recommendation. Footings have to reach below the frost line where frost applies, and your building department knows the number for your address. The size of the hole matters more than people expect, because the diameter is squared. Go from 12 to 16 inches wide at the same depth and the job climbs from 16 bags to 28. Go deeper instead, to 48 inches at 12 inches wide, and it takes 21 bags. Check the yield printed on the bag you actually buy.
Post length isn't in this count because it depends on how high the deck sits above the ground. Measure that at each post location, especially on a sloped yard, where the posts may not all be the same length.
Step 5: Hangers, screws and railing
On an attached deck, each joist gets one hanger at the ledger. Screws are counted where each row of boards crosses each joist, at two screws per crossing.
Worked example, continued
- Hangers: 13, one per joist
- Screws: 26 rows × 13 joists × 2 = 676, and 676 × 1.10 = 743.6, so 744 screws
- Boxes: 744 ÷ 350 = 2.13, so 3 boxes of 350
- Railing on the three open sides: 16 + 12 + 12 = 40 linear feet
A 5 lb box of 2-1/2 inch deck screws is usually labeled at about 325 to 380 pieces, so read your box and change the 350 if it differs. Deck screws don't go in hangers. Hangers need the nails or connector screws their maker lists, and those are a separate purchase.
The shopping list for the example deck
| Item | Quantity |
|---|---|
| Deck boards, 16 ft | 29 |
| Joists, 12 ft | 13 |
| Ledger and rim | 32 linear ft |
| Beam lumber | 32 linear ft |
| Posts | 4 |
| Footing concrete, 80 lb bags | 16 |
| Joist hangers | 13 |
| Deck screws, boxes of 350 | 3 |
| Railing, if needed | 40 linear ft |
Stairs, ledger bolts, flashing, ties and hanger fasteners aren't counted here, so add them from your plans. Compare what two stores charge for the boards:
Check today's price:Home DepotLowe's
What changes the list
The same 192 square feet can be built more than one way. Here is the example next to two changes, with everything else left the same.
| Item | Attached, 16 ft along the house | Freestanding, 16 ft long | Attached, 12 ft along the house |
|---|---|---|---|
| Deck boards | 29 | 29 | 39 |
| Joists | 13 at 12 ft | 13 at 12 ft | 10 at 16 ft |
| Beam lumber | 32 ft | 64 ft | 24 ft |
| Posts and footings | 4 | 8 | 3 |
| 80 lb bags | 16 | 32 | 12 |
| Joist hangers | 13 | 0 | 10 |
| Railing | 40 ft | 56 ft | 44 ft |
A freestanding deck adds a second beam near the house in place of the ledger, which doubles the beam lumber, posts, footings and concrete. The joists sit on top of the beams, so there are no ledger hangers, though they still need ties to the beam. Some walls, such as brick veneer, can't carry a ledger at all, and freestanding is the answer there. The railing figure assumes all four sides are open, so subtract any side you leave off.
Turning the deck so it is deeper than it is long means shorter beams and fewer posts, but it needs more rows of boards, and the joists have to span 16 feet instead of 12. A longer span can call for bigger joists, so check the span table before you decide based on this list alone.
Common mistakes
- Treating the takeoff as a design. A count doesn't tell you a 2 by 8 will span the distance. Size the framing from code or plans first, then count.
- Forgetting to round up at each step. You can't buy 0.6 of a board or 0.7 of a bag. Round each purchased item up on its own.
- Leaving off the plus one. Joists and posts both need one more than the number of spaces between them.
- Guessing at frost depth. Footings that sit too shallow can heave, and a bigger hole changes the concrete quickly.
- Driving deck screws into hangers. Use the fasteners the hanger's maker lists.
- Forgetting the stairs. They need their own stringers, treads and footing or pad, and they aren't in this list.
Questions people ask
How many deck boards do I need for a 12 by 16 deck?
With 16 feet along the house, 5.5 inch boards and a 1/8 inch gap, the 12 foot depth takes 26 rows. With 10% waste that is 29 boards at 16 feet each. Turned the other way, with a 16 foot depth, it takes 39.
How many joists does a 12 by 16 deck need?
At 16 inches on center across the 16 foot length, 13 joists, counting both end joists. Your span table decides whether the size you picked can carry the 12 foot run.
How many bags of concrete for deck footings?
For 4 footings, 12 inches wide and 36 inches deep, 16 bags of 80 lb mix at 0.60 cubic foot per bag. Your code sets the real footing size and depth, so run your own numbers.
Does the calculator include cost?
Yes. The Deck Calculator totals the list with the prices you type in, for wood or composite, and it never fills a price in for you.
Estimates only. This is a material count, not a structural design, so confirm sizes, spans, footings and permits with your building department, your plans or a licensed professional. Found a mistake in this guide? Tell us and it will be fixed first.