Back to blog

Decking

Deck Boards and Joist Spacing: How to Plan and Count Materials

How many deck boards, joists and screws you need, what joist spacing to use for wood and composite, and how to reduce waste with the right board lengths.

October 12, 2026 24 min readBy the BuildCova team

A deck is a repeating pattern: joists across the frame, boards across the joists and fasteners at every crossing. If you know the pattern, you can count every part. This guide explains how to plan joist spacing and how to turn a deck size into a shopping list.

Joist spacing

Joists are normally spaced 16 inches on center for wood and most composite decking. Use 12 inches for diagonal board patterns, for some composites that need extra support and for decks with heavy loads such as hot tubs. 24 inch spacing is acceptable only for thicker boards that the manufacturer approves. The allowable span of a joist depends on size, species, grade and spacing, and the span tables in your local code govern the design. For example, a 2x8 southern pine joist at 16 inches on center might span about 11 feet, while a 2x6 spans around 8 to 9 feet.

How many deck boards

Divide the deck width by the board width plus the gap. A 5/4 x 6 deck board is actually 5.5 inches wide, and the gap is typically 1/8 inch for dry boards and up to 1/4 inch for green lumber. For a 12 foot wide deck: 144 / 5.625 = 25.6 rows, so 26. If the deck is 16 feet long, you need 26 boards of 16 feet, which avoids joints along the length. If you must splice, make the joints land on a joist and stagger them.

Waste

Add 10 percent for a standard layout and 15 percent for diagonal or herringbone patterns, since cut-offs cannot always be reused. Choose board lengths that divide evenly into the deck length, for example 12 foot boards for a 12 foot deck. Buy a few extra boards of the same production batch, because colour and grain vary between lots and you may need a replacement.

Fasteners

With 16 inch joist spacing and 5.5 inch boards, you need about 3 screws per square foot of decking. Use exterior-rated, corrosion-resistant screws such as stainless steel or coated deck screws, and follow the board manufacturer's instructions for hidden fasteners. Order hangers, ledger fasteners, carriage bolts and post bases as well, using hot-dip galvanized or stainless hardware that is compatible with treated lumber.

Framing parts to count

The number of joists is the deck length divided by the spacing, plus one. A 16 foot long deck at 16 inch spacing needs 13 joists, plus the rim joists around the edges. Beams carry the joists and rest on posts. Post spacing is set by beam size and load, often 6 to 8 feet. Footings must reach below frost depth and be sized for the load, typically 12 to 18 inches in diameter.

Permits and safety

Most decks require a permit, and inspectors usually check footings and framing before they are covered. A deck attached to a house must use a ledger board with proper flashing, and guards are normally required where the deck is 30 inches or more above the ground. Stair risers and treads follow the same rules as interior stairs. The deck calculator lists the boards, joists and screws for your design.

How to count deck boards: the step-by-step method

Counting deck boards is a five-step job, and every step uses one simple division. Work through the steps in order and you will arrive at a shopping list that matches the deck you actually build, instead of a rough guess based on square footage alone. Area-based guessing is the most common source of error, because it ignores board width, the gap between boards and the length of the stock you can buy.

  • Measure the deck in both directions and decide which way the boards will run. Boards normally run along the longer dimension, so the longest stock length matches the deck length and you avoid butt joints.
  • Find the actual width of your board. A nominal 5/4 x 6 board is 5.5 inches wide, a nominal 5/4 x 4 board is 3.5 inches wide, and composite boards are usually sold at their true width, often 5.5 inches for a 1 x 6 profile.
  • Add the gap to the board width. That sum is the board pitch, the distance the deck advances with each board. With a 1/4 inch gap, a 5.5 inch board has a pitch of 5.75 inches.
  • Divide the deck width in inches by the pitch and round up. That gives the number of board rows across the deck.
  • Multiply the rows by the number of board lengths needed per row. If the stock length covers the deck length, that is one board per row. If not, divide the deck length by the stock length and round up.
  • Add the waste allowance, 10 percent for a straight layout and 15 percent for a diagonal or patterned layout, and round up to a whole board.

Measure twice, and measure the frame, not the drawing. A deck framed at 12 feet often measures 12 feet 1 inch once the rim joists and ledger are in place, and that extra inch can push the row count up by one. Measure the width at both ends and in the middle, and use the largest measurement. If the two ends differ, the frame is out of square, and you should fix the framing before ordering boards, because a tapered deck wastes boards at every row.

The direction the boards run changes the count. Boards that run parallel to the house are usually the shortest run, but they also put the butt joints and the board ends where they are most visible. Boards that run perpendicular to the house, out from the door, tend to look better and drain better, but they may need longer stock. Run a tape along both directions, price both options at the lumberyard, and pick the direction that gives the fewest joints for the least money. The deck calculator runs the same arithmetic for any deck size, board width, gap and stock length, so you can compare directions in seconds.

Worked examples: three real deck sizes

Deck boards and joists being counted for a new deck build
A 12 by 16 foot deck needs 26 boards of 16 feet, 13 joists and about 676 screws with standard 5/4 by 6 boards.

Worked examples are worth more than formulas, because they show where the rounding happens and how the waste allowance changes the order. These three examples use the most common board in residential decks, the 5/4 x 6, with a true width of 5.5 inches and a 1/4 inch gap, giving a pitch of 5.75 inches.

Example 1: a 12 by 16 foot deck with 16 foot boards

The deck is 12 feet wide and 16 feet long, and the boards run along the 16 foot length. Convert the width to inches: 12 x 12 = 144 inches. Divide by the pitch: 144 / 5.75 = 25.04, which rounds up to 26 rows. Each row is one 16 foot board, so the deck needs 26 boards, or 26 x 16 = 416 linear feet of decking. Add 10 percent waste: 26 x 1.1 = 28.6, so order 29 boards. The joists run across the 12 foot width and are spaced along the 16 foot length, so the joist count is 192 / 16 + 1 = 13 joists. Each board is fixed at every joist it crosses, with two screws per crossing, so the screw count is 26 rows x 13 joists x 2 = 676 screws. That is roughly 3.5 screws per square foot, a little above the rough rule of 3 per square foot, because the exact crossing count always beats the rule of thumb. Add two rim joists of 16 feet and two of 12 feet around the edge, and you have the complete decking and framing list for a 192 square foot deck.

Example 2: a 10 by 12 foot deck with 8 foot boards

The deck is 10 feet long and 12 feet wide, and the boards run along the 10 foot length. The rows are counted across the 12 foot width: 144 / 5.75 = 25.04, so 26 rows again. Each row is 10 feet long, but the stock is only 8 feet, so every row needs two boards, one full 8 foot board and one 2 foot piece, giving 52 boards by the simple method, or 416 linear feet. That is the safe number to order if you do not plan your cuts. A careful cut plan does better: the 6 foot offcut left after cutting a 2 foot piece can serve as the short piece in another row, so the true minimum is 26 rows x 10 feet = 260 linear feet, divided by 8 feet per board, which is 32.5, or 33 boards with zero waste. In practice, joints must land on joists and be staggered, so aim for about 40 boards and order 44 with the waste allowance. The joists are spaced along the 10 foot length: 120 / 16 + 1 = 8.5, which rounds up to 9 joists. Screws are 26 rows x 9 joists x 2 = 468. This example shows why stock length matters as much as deck size: the same deck needs 26 boards in 12 foot stock, 44 boards in 8 foot stock with good planning, or 52 boards if you cut without a plan.

Example 3: a 16 by 20 foot diagonal deck in composite

The deck is 16 feet by 20 feet, the boards run diagonally at 45 degrees, and the decking is capped composite. Diagonal boards need 12 inch joist spacing, and the waste allowance rises to 15 percent because every board is cut at an angle and the offcuts are shorter. Count the rows across the 20 foot width: 240 / 5.75 = 41.7, so 42 rows. Each row is 16 feet long, so the deck needs 42 boards of 16 feet, or 672 linear feet. Add 15 percent: 42 x 1.15 = 48.3, so order 49 boards. The joists are spaced along the 20 foot length at 12 inches: 240 / 12 + 1 = 21 joists. Fasteners are 42 rows x 21 joists x 2 = 1,764 screws, or 882 hidden clips if the composite system uses one clip per crossing. At this scale, a hidden fastener system saves a full day of screwing and gives a cleaner surface, but it costs more per fastener, so price both options before you commit.

Joist spacing by board type

Wooden deck joists spaced evenly across a deck frame
Joist spacing follows the board type: 16 inches on center for most wood and composite boards, 12 inches for diagonal layouts.

Joist spacing is not a matter of taste. It is set by the board: how thick it is, how stiff it is, and which way it runs. A board that spans too far between joists will flex underfoot, cup over time and, with composite, may void the manufacturer warranty. The table below covers the combinations you will actually meet. When a manufacturer gives a spacing figure, that figure wins over any general rule, and your building inspector will ask for it.

Board typePerpendicular to joistsDiagonal at 45 degrees
5/4 wood decking16 in on center12 in on center
2x wood decking24 in on center16 in on center
Capped composite16 in on center12 in on center
PVC decking16 in on center12 in on center
Tropical hardwood24 in on center16 in on center

Diagonal boards need tighter spacing because the board crosses each joist at an angle, which makes the real span between supports longer than the joist spacing. At 45 degrees the effective span is about 40 percent longer, which is why 16 inch spacing becomes 12 inch spacing. The same logic applies to herringbone and other angled patterns. Stairs need even tighter support: stair treads are normally supported every 12 inches or less, and many builders use 9 to 10 inch spacing on stair stringers, because a tread carries a concentrated load at its edge.

On center means measured from the center of one joist to the center of the next, not from edge to edge. Mark the spacing on the rim joist or ledger with a tape and a pencil before you start, and check it with a square as you go, because a joist that drifts by half an inch will throw off the last board in the row. A simple trick is to cut a spacer block to the exact gap between joists, 14.5 inches for 16 inch spacing with 1.5 inch joists, and use it to set each joist as you nail it.

Boards by deck size: quick reference table

The table below gives board counts for common deck sizes using 5/4 x 6 boards with a 1/4 inch gap, boards running along the longer dimension and rows counted across the shorter dimension. These are the no-waste counts; the last column adds the standard 10 percent. Use it to sanity-check your own calculation or your lumberyard quote, and use the deck calculator for any size that is not listed.

Deck sizeAreaBoard rowsBoards, no wasteOrder with 10% waste
8 x 10 ft80 sq ft1717 x 10 ft19
10 x 12 ft120 sq ft2121 x 12 ft24
12 x 16 ft192 sq ft2626 x 16 ft29
14 x 20 ft280 sq ft3030 x 20 ft33
16 x 20 ft320 sq ft3434 x 20 ft38
16 x 24 ft384 sq ft3434 x 24 ft38

Notice that the 16 by 20 foot deck and the 16 by 24 foot deck need the same number of rows, 34, because the rows are counted across the 16 foot width in both cases. The longer deck needs longer boards, not more rows. That is why square footage alone cannot give you a board count: two decks with very different areas can need the same number of boards, and two decks with the same area can need very different numbers. Always work from the two dimensions separately.

Joist size and span: how far can joists reach

Spacing decides how many joists you need; size decides how far they can span without a beam underneath. A joist that spans too far will bounce, and a deck that bounces will loosen fasteners and crack boards. Span is governed by the joist size, the species and grade of the lumber, the spacing and the load, and the span tables in the American Wood Council DCA-6 guide and your local code are the authority. The figures below are typical maximum spans for southern pine, No. 2 grade, at 16 inches on center under a normal residential deck load, and you should always confirm them against the table your inspector uses.

  • 2x6 joists span about 8 to 9 feet. Suitable only for small decks, or for short spans between closely spaced beams.
  • 2x8 joists span about 11 to 12 feet. The standard choice for most residential decks up to about 12 feet deep.
  • 2x10 joists span about 13 to 14 feet. Use these when the deck is deep and you want to keep the beam count low.
  • 2x12 joists span about 15 to 16 feet. The choice for large decks and for cantilevers, where the joists extend past the beam.
  • Closer spacing stretches the span. Moving from 16 inches to 12 inches on center typically adds about 1 foot to the allowable span, which can be the difference between needing a second beam or not.

A cantilever, where the joists extend past the beam toward the outer edge, can simplify the framing and keep footings away from the house, but it is limited: the cantilever is normally no more than one quarter of the joist span, and never more than about 3 feet for a 2x8. Cantilevers also change the board layout, because the outer rim joist sits past the beam and the board ends need full support. If your deck is more than about 14 feet deep, consider two beams instead of one long span, because the second beam shortens every joist and lets you use smaller, cheaper lumber. The lumber calculator helps you convert the joist count into board feet and linear feet for ordering.

Framing lumber: joists, beams and posts

Stacked framing lumber for deck joists and beams
Framing lumber is ordered by the piece: joists, rim joists, beams, posts and blocking, each counted separately.

The decking gets the attention, but the framing is most of the lumber order. Count each part separately, because each has its own size and length. Joists are the count from the spacing formula: deck length divided by spacing, plus one. Rim joists run around the perimeter: two at the deck length and two at the deck width. Beams are usually doubled or tripled 2x8 or 2x10 members, so one beam position needs two or three boards of the beam length. Posts are normally 4x4 or 6x6, spaced 6 to 8 feet apart under each beam, and each post needs a footing below frost depth, typically 12 to 18 inches in diameter.

Do not forget the small parts that stop a project: blocking between joists at mid-span on long runs, which keeps joists from twisting; joist hangers, one per joist end, with the correct hanger nails; ledger fasteners, usually lag screws or through-bolts every 16 inches along the ledger; post bases and caps; and flashing for the ledger, which is the single most important detail for preventing rot where the deck meets the house. A deck with a rotten ledger is a deck that can pull away from the house, so treat flashing as a structural item, not a finishing touch. For the concrete under the footings, see our guide to how to calculate cubic yards, and for the steel in thicker footings, the rebar spacing guide.

Screws and fasteners: how many do you really need

Fasteners are cheap per piece and expensive in total, because the count runs into the hundreds and often past a thousand. The exact method is simple: every board is fixed at every joist it crosses, normally with two screws per crossing. Multiply board rows by joists by two. For the 12 by 16 foot deck in Example 1, that is 26 x 13 x 2 = 676 screws. For the diagonal composite deck in Example 3, it is 42 x 21 x 2 = 1,764 screws, which is why hidden clip systems and bulk tubs exist. The rough rule of about 3 screws per square foot is a useful check at the lumberyard, but it understates the count on decks with tight joist spacing, so use the crossing method for the order.

Buy screws by the tub, not by the box, once the count passes about 500. A 1,000-count tub is usually cheaper per screw than two 500-count boxes, and you will use the spares on the railing, the stairs and the inevitable dropped screws. Use exterior-rated screws, stainless steel near the coast or with certain treated lumber, and coated deck screws elsewhere. Check that the screw is approved for the lumber treatment you are using, because some treatments corrode ordinary galvanized fasteners. Hidden fastener systems need one clip per board per joist, so the clip count is rows times joists, 338 clips for the 12 by 16 deck, plus starter clips at the first and last boards. Always order 5 percent extra fasteners: they are small, they get lost, and a short box stops the whole job.

Choosing board lengths to cut waste

The lumberyard sells decking in fixed lengths, usually 8, 10, 12, 16 and 20 feet, and your deck length decides which length is cheapest. The rule is simple: buy the shortest stock length that covers the deck length without a joint, or a length that divides evenly into it. A 12 foot deck wants 12 foot boards. A 16 foot deck wants 16 foot boards. A 20 foot deck wants 20 foot boards. A 24 foot deck can use two 12 foot boards per row with one joint, or 24 foot boards if the yard stocks them, which is rare and usually a special order.

When joints are unavoidable, plan them before you cut. Every butt joint must land on a joist, and joints in neighbouring rows must be staggered by at least two joists, so the deck does not develop a visible line of joints. Mark the joint positions on the joists with chalk before laying boards, and cut all the short pieces from the same few boards so the offcuts stay long enough to use. Random joints look careless and waste lumber; planned joints look deliberate and save it. If you are ordering, ask the yard whether longer lengths carry a price premium per linear foot: sometimes 16 foot boards cost more per foot than 12 foot boards, and two 12 foot boards with a planned joint can be cheaper than one 16 foot board.

Composite vs wood: what changes in the count

The counting method is the same for wood and composite, but four details change. First, composite boards are sold at true width, often 5.5 inches for a 1 x 6 profile, so there is no nominal-to-actual conversion to trip you up; use the nominal vs actual lumber size converter only for wood. Second, composite expands and contracts more with temperature, so the end-to-end gap is typically 1/8 inch and the side gap 1/4 inch, and the manufacturer spacing figure is part of the warranty, not a suggestion. Third, composite is usually installed with hidden clips rather than face screws, so the fastener count is one clip per crossing instead of two screws, and the cost per fastener is higher. Fourth, composite boards are heavier and more flexible than wood, so they need the same 16 inch spacing or tighter, and never 24 inch spacing unless the manufacturer explicitly approves it.

Wood has its own quirks. Pressure-treated boards are often installed wet, and they shrink as they dry, so a 1/8 inch gap at installation can open to 1/4 inch or more within a few months. That is why the gap guidance differs: 1/8 inch for dry boards, up to 1/4 inch for green lumber. Wood boards also vary in width by a few millimetres from board to board, so the row count is an estimate, and the last row often needs ripping to width. Keep two or three spare boards for that final row and for any board that cups or twists after delivery. For the total lumber volume of a wood deck, the board feet to linear feet converter converts your linear feet into board feet for pricing.

Common mistakes that cost boards and money

Most deck material mistakes are not arithmetic errors. They are planning errors, made once and paid for at every row. The list below covers the ones that show up on real jobs, with the fix for each.

  • Using the nominal width instead of the actual width. A 6 inch board is 5.5 inches wide, and that half inch, multiplied across 26 rows, is a whole board missing from the order.
  • Forgetting the gap. Boards are counted by pitch, width plus gap, not by width alone. Ignoring a 1/4 inch gap understates the count by about 4 percent.
  • Ordering by square footage. Area ignores board width, gap and stock length, and it is wrong in both directions: it over-orders short decks and under-orders wide ones.
  • Spacing joists at 24 inches for composite that specifies 16 inches. The deck feels springy, the boards sag between joists, and the warranty is void.
  • Forgetting the closing joist. The joist count is length divided by spacing, plus one. Forgetting the plus one leaves the last bay unsupported.
  • Putting butt joints in a straight line. Joints must land on joists and stagger by at least two joists, or the deck develops a visible seam and a weak line.
  • Skipping the waste allowance on a diagonal layout. Diagonal cuts produce short offcuts that cannot be reused, so 10 percent is not enough; use 15 percent.
  • Ordering screws by the box. A 12 by 16 foot deck needs 676 screws, and a 500-count box leaves you short by a third. Count crossings, then buy the tub.

The most expensive mistake is the one that stops the job: running out of boards from the same production batch. Composite and treated lumber vary in colour between batches, and a replacement board from a later batch can be visibly different. Order the waste allowance even when the arithmetic says you do not need it, keep the spares in the same batch, and store them flat and out of the sun until the deck is finished.

Your shopping list checklist

Turn the counts above into a single list before you call the lumberyard. Read it out loud, check each line against the deck, and keep a copy on site so deliveries can be checked off as they arrive.

  • Deck boards: rows times boards per row, plus 10 percent waste, or 15 percent for diagonal layouts.
  • Joists: deck length divided by spacing, plus one, in the joist size your span table requires.
  • Rim joists: two at the deck length and two at the deck width.
  • Beams: doubled or tripled members at each beam position, plus posts every 6 to 8 feet.
  • Posts, post bases, post caps and footings: one footing per post, below frost depth.
  • Joist hangers, hanger nails, ledger fasteners and flashing for the house connection.
  • Screws or hidden clips: rows times joists times two screws, or rows times joists clips, plus 5 percent.
  • Blocking at mid-span for long joists, and stair stringers and treads if the deck has steps.
  • Railing parts: posts, rails and balusters, counted with the deck railing calculator.

If the deck also needs a fence, a patio or a walkway, count those the same way: one pattern, repeated. The fence calculator and the fence post spacing guide cover fences, the square footage calculator covers any area measurement, and the full decking calculators collection covers every decking calculation on this site.

Frequently asked questions

How many deck boards do I need for a 12 by 16 foot deck?

With standard 5/4 by 6 boards, 5.5 inches wide with a 1/4 inch gap, you need 26 rows across the 12 foot width. If the boards run the 16 foot length, that is 26 boards of 16 feet, or 416 linear feet. Add 10 percent waste and order 29 boards. The deck calculator gives the same result for any deck size.

What joist spacing should I use for composite decking?

Use 16 inches on center for composite boards laid perpendicular to the joists, and 12 inches on center for diagonal layouts. Some composite brands specify 12 inches even for perpendicular boards, so always check the manufacturer installation guide, because the spacing is part of the warranty. Never use 24 inch spacing for composite unless the manufacturer approves it in writing.

How many screws do I need for a deck?

Count two screws at every board-to-joist crossing: board rows times joists times two. A 12 by 16 foot deck with 26 rows and 13 joists needs 676 screws. As a rough check, allow about 3 screws per square foot, but use the crossing method for the actual order, and buy screws by the tub once the count passes 500.

Can I space joists 24 inches apart?

Only for thicker boards that the manufacturer approves, such as 2x wood decking or tropical hardwood. Standard 5/4 wood boards and most composite boards need 16 inch spacing, and diagonal layouts need 12 inches. Joists at 24 inches under 5/4 boards will feel springy and can void a composite warranty.

How much waste should I add when ordering deck boards?

Add 10 percent for a straight layout with boards running in one direction, and 15 percent for diagonal, herringbone or picture-frame patterns, where the angled cuts produce short offcuts. If your deck length does not match the stock length and you will have many butt joints, use 15 percent as well.

What gap should I leave between deck boards?

Leave a 1/8 inch gap for dry boards and up to a 1/4 inch gap for green or wet pressure-treated lumber, which shrinks as it dries. For composite, follow the manufacturer specification, typically 1/4 inch side to side and 1/8 inch end to end, because composite expands with heat. The gap drains water, lets the boards move, and is part of the board count, since each board advances by its width plus the gap.