Deck Calculator

How many deck boards, joists, beams, posts, footings and screws to buy for a deck of a given size, with an optional cost.

ft

ft

in

A 5/4 by 6 or 2 by 6 board is 5.5 inches wide.

in

1/8 inch is 0.125. Wood decking needs a gap for drainage and movement.

%

Cuts, bad boards and mistakes. 10% suits a straight layout and 15% a diagonal one.

A deck fixed to the house on a ledger needs one beam at the outer edge. A freestanding deck needs a beam on each side.

The allowed spacing depends on the beam size and the load. Check your code tables or span chart.

in

in

Set by the frost depth and your local rules. 36 inches is only a starting figure.

Price per foot of beam. Leave empty to skip.

80 lb bags in feet and inches, 25 kg bags in metric.

Deck boards to buy

39

of 12 ft each, with 10% extra

Deck area
192 sq ft
Rows of boards
26
Joists
13 at 12 ft long
Screws, 2 per joist crossing
676
Beams
1 at 16 ft long
Posts and footings
3 (3 per beam)
Joist hangers at the ledger
13
Footing concrete
7.8 cu ft, or 13 bags of 80 lb

A deck 16 by 12 ft with 26 rows of boards needs 39 boards of 12 ft and 13 joists.

Add this calculator to your website

Free to use on any site or blog. Paste this code where you want the calculator to appear. It stays up to date, needs no account, and keeps your visitors' numbers in their own browser.

Preview

How it works

Deck boards lie side by side across the joists. The number of rows is the width of the deck divided by the width of one board plus its gap, rounded up. Each row is as long as the deck, so the total length of board you need is the rows times the deck length, plus your waste allowance. Dividing that by the length of the boards you buy gives the board count.

Joists run the other way, under the boards. They are placed at a fixed spacing, usually 16 inches on centre (400 mm in many countries), and you need one at each end as well. So the joist count is the deck length divided by the spacing, rounded down, plus one.

The screw count assumes two fasteners where each board crosses each joist. Hidden clip systems use different amounts, so use the number as a guide and check the pack.

The frame under the joists is a beam on posts. A deck bolted to the house on a ledger needs one beam along its outer edge, and a freestanding deck needs two. A beam has a post at each end and another at least every post spacing, so the posts on one beam are its length divided by the spacing, rounded up, plus one. Each post stands on a round footing, and the calculator works out the concrete from its diameter and depth, with 10% extra for holes dug wide. Footing depth is set by your frost line and local rules, so it is your input. Where joists meet the ledger, one hanger is counted for each joist.

Enter your own prices for boards, joists, beams, posts and footing concrete if you want a cost. Prices are not built in because they vary by place and supplier. For deck steps, use the stair calculator.

Choosing longer boards means fewer end joints, but boards must meet over a joist, and the offcuts may be too short to reuse. If you can, pick a length close to your deck length, for fewer cuts.

Check it by hand: a 16 × 12 ft deck is 192 sq ft. A 5.5 in board with a 1/8 in gap covers 5.625 in, so the 12 ft (144 in) width needs 144 ÷ 5.625 = 25.6, which rounds up to 26 rows. Each row is 16 ft long, so 26 × 16 = 416 ft of board. Add 10% to get 457.6 ft, and 457.6 ÷ 12 = 38.1, so you buy 39 boards of 12 ft. Joists at 16 in centres across 16 ft (192 in) need 192 ÷ 16 + 1 = 13.

Rows = deck width ÷ (board width + gap), rounded up
Boards = rows × deck length × (1 + extra ÷ 100) ÷ board length, rounded up
Joists = deck length ÷ joist spacing, rounded down, + 1
Screws = rows × joists × 2
Beams = 1 (ledger) or 2 (freestanding)
Posts per beam = beam length ÷ post spacing, rounded up, + 1
Footing concrete = π × (diameter ÷ 2)² × depth × posts × 1.10

Worked example

A deck 16 feet long and 12 feet wide, boards 5.5 inches wide with a 1/8 inch gap. The width is 144 inches, and each board takes 5.625 inches, so 144 ÷ 5.625 = 25.6, which rounds up to 26 rows.

The 26 rows of 16 feet is 416 feet of board. With 10% extra, using 16 foot boards, that is 28.6, so buy 29 boards. Joists at 16 inches need 192 ÷ 16 + 1 = 13 joists, each 12 feet long, and about 676 screws.

Good to know

  • Beam and joist sizes, spans, post spacing, footing size and depth depend on the load, the lumber and your local building rules. The post spacing and footing figures are inputs you choose, not a structural design. A deck is a structure, so have the plan checked and get the permit your area asks for.
  • Railings, stairs, ledger flashing, bolts, post bases and the deck surface fasteners other than the screw count are not included.
  • Joist spacing and span depend on the board type, the joist size and your local building rules. A 16 inch spacing is not right for every board, so check the product guide.
  • Boards rarely fit an exact length. If your deck is longer than your boards, plan the joints so they fall over a joist.

Questions people ask

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

With 5.5 inch boards, a 1/8 inch gap and 16 foot boards, you need about 29 boards, including 10% for waste. Joists at 16 inches on centre take 13 joists of 12 feet.

How far apart should deck joists be?

16 inches on centre is the usual spacing for wood decking. Some composite decking needs 12 inches, and some allows 24 inches. Check the maker's guide for your product.

How much gap should there be between deck boards?

About 1/8 inch (3 mm) for dry, kiln-dried boards, and a bit more for green wood, which shrinks as it dries. Composite boards need the gap given in the maker's instructions.

How many posts and footings does a deck need?

Each beam needs a post at each end and one at least every 6 to 10 feet, depending on the beam size. A 16 foot deck on a ledger with one beam and posts every 8 feet needs 3 posts. A freestanding deck needs two beams, so 6.

How much concrete do deck footings need?

A footing 12 inches across and 36 inches deep holds about 2.4 cubic feet, which is 4 bags of 80 lb mix. Depth depends on the frost line where you live and your local rules.

How do I work out deck steps?

Measure the total rise from the ground to the top of the deck, then use the stair calculator for the number of steps, the riser height and the stringer length.

Which way should the boards run?

Boards run across the joists, so choose the direction that gives the fewest joints, or the look you like. A diagonal layout needs more boards and more joists.

How many joists does a 16 foot long deck need at 16 inch spacing?

13. That is 192 inches ÷ 16 inches = 12 gaps, plus one for the last joist.

Part of the guide: Building material calculators: concrete, blocks, bricks, flooring and more, Roof, stair, deck and structure calculators

Formulas and text last checked on 6 October 2026. Everything is calculated in your browser, so nothing you enter is sent or stored. Spotted a mistake? Tell us and we will fix it.