Deck Estimator

A deck is five shopping lists wearing one project: decking boards, joists, support posts, fasteners, and the boxes those fasteners come in. Guess wrong on any one of them and you pay for it. Run short on boards mid-build and the second batch arrives a different shade of pressure-treated green. Overbuy and you've got $400 of 16-footers rotting behind the garage because nothing that long fits in the truck to take back. This deck estimator does the counting for you. It turns your deck's length and width into board courses (accounting for the standard 1/4-inch drainage gap), converts those courses into buyable lumber lengths, sizes the joist frame at your chosen spacing, and sets posts every 8 feet along the support beam. The screw math follows the trade pattern: two screws per board at every joist. Every unit selector is honored in the math, so feet, meters, inches, and centimeters all work.

Longest side of the deck.
From the house wall (or inner edge) outward.
5.5 in for standard 5/4×6 decking.
Lumber lengths you will buy, e.g. 8, 12 or 16 ft.
16 in on centre is standard; 12 in for diagonal decking.
A 5 lb box of deck screws holds roughly 350.

How to use this calculator

  1. Measure the deck's length — the longest side — corner to corner with a tape, not by pacing it off. Pacing is how 16-foot decks become 15-foot-4 decks, and that's a whole extra lumber run you'll wish you knew about at the store.
  2. Measure the width from the house wall (or the inner edge of a freestanding deck) outward. If the ground slopes, measure at the deck surface height you're planning, not at the dirt — widths read differently once you're standing on a framed platform.
  3. Enter the actual decking board width, not the nominal one. A '1x6' board is really 5.5 inches wide once it's dressed and dried. Typing 6 here is the single most common input error, and it undercounts your courses by a full row on anything over about 10 feet wide.
  4. Enter the lumber length you plan to buy — 8, 12, or 16 feet are what yards stock. Longer boards mean fewer butt joints, but every joint needs to land on a joist, so match this to your frame spacing.
  5. Set the joist spacing. 16 inches on center is standard for decking run straight across the joists. If you're running boards diagonally or using composite decking, switch to 12 inches — most composite manufacturers require it, and real wood sags on diagonals at 16.
  6. Check the screws-per-box number against what you're actually buying. A 5-pound box of #8 deck screws holds roughly 350, but 10-pound boxes and stainless lines differ. Count the box, not the guess.
  7. Press Calculate and read the breakdown: courses, boards to buy, joists, posts, total screws, and how many boxes. Then add roughly 10% to the board count before you head to the yard — culling warped and split boards is part of every deck build.

Formula

Board courses are the deck width divided by (board width plus a 1/4-inch gap), rounded up — that gap is what lets rain through and gives boards room to swell in summer. Multiply courses by deck length to get total linear feet of decking, then divide by the board length you're buying and round up for the buy list. Joists equal deck length divided by joist spacing, plus one to close the far end — that last one is the rim joist people forget. Posts are deck length divided by 8 feet, plus one, along a single support beam. Screws are courses times joists times two: two fasteners per board at every joist crossing, which is the standard fixing pattern inspectors expect to see.

Worked example

Say you're building a 20 x 16 foot deck — 320 square feet, a solid backyard size — with standard 5.5-inch pressure-treated decking bought in 16-foot lengths, joists at 16 inches on center, and 350-count boxes of screws. First, the courses across the 16-foot width. 16 feet is 192 inches. Each course takes up one board plus its gap: 5.5 + 0.25 = 5.75 inches. 192 / 5.75 = 33.39, which rounds up to 34 courses. That rounding matters — 33 courses would leave you about two inches short of full coverage. Total decking: 34 courses x 20 feet = 680 linear feet. Divide by the 16-foot boards you're buying: 680 / 16 = 42.5, rounds up to 43 boards. You can't buy half a board, so the fraction becomes a full one. Joists run along the 20-foot length: 20 feet is 240 inches, 240 / 16 = 15 exactly, plus the closing joist gives 16 joists. Posts along the beam: 20 / 8 = 2.5, round down to 2, plus one = 3 posts. (If your yard needs the deck wider than about 12 feet from the house, you'd want a second beam — then double the posts.) Screws: 34 courses x 16 joists x 2 = 1,088 screws. At 350 per box that's 3.11 boxes, so 4 boxes. Buy the fourth box; running out of screws with three boards left is a special kind of misery.

Measurement tips

  • Buy your decking from a real lumber yard if you can, not just the big box. Yards let you hand-pick boards, and their pressure-treated stock is usually fresher — Home Depot and Lowe's are fine for screws and hardware, but culling boards matters more than saving a dollar a stick.
  • Check the crown on every joist before you fasten it. Sight down the edge like a rifle barrel and set the crown (the slight arch) facing up. A joist installed crown-down becomes a permanent dip in your deck floor.
  • Stagger your butt joints across the deck and never let two land on the same joist in a row. A straight line of joints looks amateur and weakens the surface where traffic hits it.
  • Use a 16d nail as a spacer for the 1/4-inch board gap instead of eyeballing it. Consistent gaps drain water evenly; wandering gaps make the whole deck look homemade.
  • If your deck is more than 30 inches off the ground, most US jurisdictions require a permit and railings — check with your city before you buy lumber, not after the inspector shows up.
  • For composite decking, drop to 12-inch joist spacing and budget for hidden fasteners instead of face screws. Composite expands and contracts more than wood, and face-screwed composite shows every seasonal move.
  • Order one extra box of screws beyond what the math says. Screws get dropped in grass, driven into knots that eat the heads, and used on the fascia boards you forgot to count.

Common mistakes

  • Typing 6 inches for a '1x6' board instead of its actual 5.5-inch width. It happens because the nominal name feels like the truth. The result: your course count comes up one row short on wide decks, and you're 40 feet of decking short at the store.
  • Forgetting the 1/4-inch gap between boards. It looks negligible per board, but across 34 courses it adds up to 8.5 inches — a full extra course of lumber you didn't budget for.
  • Counting joists without the +1. The math gives you the number of gaps; the frame needs a joist at both ends. Forget it and your order is one joist short, which is exactly one too few to finish the rim.
  • Specifying posts for a single beam on a deck that's too wide for one. Anything much past 12 feet of span from the house wants a second support beam with its own posts and footings. One beam on a wide deck sags, and sagging decks bounce.
  • Ordering the exact calculated board count with nothing for waste. Between split ends, knots you don't want on a walking surface, and cuts that eat length, plan on culling 5 to 10 percent. The yard is not coming to you.
  • Mixing board lengths randomly to 'save money.' Different lengths mean butt joints landing in different places, which means more joists to catch them and a patchwork look. Pick one length and commit.

Factors that affect accuracy

  • Board width. A 2x6 (5.5 inches actual) and a 2x4 (3.5 inches actual) produce very different course counts and screw counts on the same deck. Narrower boards mean more courses, more screws, and more labor per square foot.
  • Decking pattern. Boards run straight across need the fewest cuts. Diagonal patterns look sharp but waste roughly 15 to 20 percent more lumber and demand tighter 12-inch joist spacing.
  • Deck height and beam layout. Low decks can sit on a single beam near the house; high decks need bigger beams, cross-bracing, and footings below the frost line. Tall posts also mean more concrete and more money per post.
  • Board direction relative to the house. Boards usually run perpendicular to the house, which decides which dimension is 'length' in this calculator. Flip the direction and every number changes — measure and enter accordingly.
  • Stairs, railings, and fascia. This estimator covers the deck platform only. Stairs, railing posts and balusters, and the fascia boards that hide the rim joists are separate shopping lists.
  • Lumber availability. Yards stock 8, 12, and 16-foot boards reliably; odd lengths like 10 and 14 exist but vary by region and species. If your plan depends on a length the yard doesn't carry, the whole board count shifts.
Please note: material estimates are approximate. Always confirm product coverage with the manufacturer and buy a little extra for cuts, waste and future repairs.

Frequently asked questions

How many deck boards do I need for a 20x16 deck?

With standard 5.5-inch decking bought in 16-foot lengths: 34 courses across the width, 43 boards total, plus 16 joists, 3 posts, and about 1,088 screws (4 boxes of 350). The example above walks the full arithmetic.

Should I use 16-inch or 12-inch joist spacing?

16 inches on center is standard for wood decking run perpendicular to the joists. Go 12 inches for diagonal patterns, for composite decking (most manufacturers require it), or if your local code demands it for the span you're covering.

How many screws do I need per deck board?

Two screws per board at every joist the board crosses. On a 20-foot deck with joists at 16 inches on center, that's 16 joist crossings per course — 32 screws per course, times 34 courses.

How far apart should deck support posts be?

No more than 8 feet apart along the support beam, and the beam sits on footings that go below your local frost line. Decks wider than about 12 feet from the house usually need a second beam with its own posts.

Can I use this estimator for composite decking?

The board and joist math works, but change two inputs: use 12-inch joist spacing (composite sags at 16), and treat the screw count as a rough guide — most composite installs use hidden clip fasteners, whose count follows the clips' own spacing rules, not the two-screws-per-joist pattern.

Do I need to count the ledger board or rim joists separately?

Yes. This calculator sizes the field of decking and the joists, including the closing rim joist. The ledger board that bolts to the house, the second rim joist on the house side, and flashing are separate line items to add at the store.

What size joists should I buy for my deck?

2x8 joists cover most residential spans at 16 inches on center up to about 11 to 12 feet. Longer spans need 2x10s or an intermediate beam. Check your local span table — 'it feels strong enough' is not a structural standard.