Deck Calculator
Divide the deck's width by one board's width and round up to get the number of boards, each running the full length. For joists, divide the length by the joist spacing, round up and add three (one end joist and two rim joists). Posts come from how far the joists and beams may span.
Last updated by Ultra Calculator
Deck
How to calculate it
Boards = W ÷ b (rounded up); Joists = L ÷ s (rounded up) + 3; Posts = rows × (L ÷ p, rounded up, + 1)
- W
- deck width, the side the boards are laid across
- b
- deck board width
- L
- deck length, the side the boards run along (along the house on an attached deck)
- s
- joist spacing, centre to centre
- p
- maximum post spacing along each beam
- rows
- beam rows: W ÷ maximum joist span, rounded up, plus 1 on a freestanding deck
All sizes are converted to one unit first. An attached deck hangs its joists from a ledger board on the house, so the house side needs no beam or posts. One footing per post. Railing = L + 2W on an attached deck and 2L + 2W on a freestanding one. Concrete = π × (d ÷ 2)² × depth for each footing, counting 2 more footings for the foot of any stairs, and 60 lb bags = concrete ÷ 0.45 cu ft (12.7 litres), rounded up.
Worked example
Attached deck, 16 × 12 ft
A 16 × 12 ft deck against the house with 5.5 in boards, joists at 16 in, 8 ft joist spans and posts up to 8 ft apart: 192 sq ft, 27 boards, 15 joists, 2 beam rows of 3 posts (6 posts and footings) and 40 ft of railing. Footings 12 in across and 36 in deep, plus 2 for the stairs, take 18.85 cu ft of concrete, or 42 bags of 60 lb.
| Units | Feet and Inches |
|---|---|
| Deck Length | 16 |
| Deck Width | 12 |
| Deck Type | Attached to the House |
| Joist Spacing (inches) | 16 |
| Deck Board Width (inches) | 5.5 |
| Maximum Joist Span (feet) | 8 |
| Maximum Post Spacing (feet) | 8 |
| Footing Diameter (inches) | 12 |
| Footing Depth (inches) | 36 |
| Railing | Yes |
| Stair Steps | 3 |
| Deck Area | 192 sq ft |
|---|---|
| Deck Boards (Full Length) | 27 |
| Joists (Including 2 Rim Joists) | 15 |
| Beam Rows | 2 |
| Support Posts | 6 |
| Concrete Footings | 6 |
| Railing Length | 40 linear feet |
| Concrete Volume | 18.85 cu ft |
| Concrete Bags (60 lb, 27 kg) | 42 |
How to use this calculator
- Choose the Units, then enter the Deck Length (the side the boards run along, against the house if attached) and the Deck Width.
- Choose whether the deck is attached to the house or freestanding.
- Set the Joist Spacing and Deck Board Width from your board maker's instructions.
- Set the Maximum Joist Span and Maximum Post Spacing from the span tables for your joists and beams.
- Enter the Footing Diameter and Footing Depth, choose Railing and enter any Stair Steps, then read the material counts.
Frequently asked questions
How many deck boards do I need?
Divide the deck width by the board width and round up. A 12 ft wide deck with 5.5 in boards needs 144 ÷ 5.5 = 26.2, so 27 boards, each as long as the deck. If your boards are shorter than the deck, multiply by the number of lengths each row takes.
How many joists does a deck need?
Divide the length by the joist spacing, round up, and add one for the end joist. The calculator then adds 2 rim joists, so a 16 ft deck at 16 in centres gets 12 + 1 + 2 = 15 joists.
What joist spacing should I use?
Many timber decking boards go on joists at 16 in (about 400 mm) centres, while composite and thinner boards often need closer spacing. Use the spacing in the board maker's instructions.
How many posts and footings does a deck need?
It depends on how far the joists and beams can span. The calculator puts a beam every maximum joist span across the width, with posts along each beam no further apart than your post spacing. An attached 16 × 12 ft deck with 8 ft spans gets 2 beam rows of 3 posts, 6 in all; the same deck freestanding needs 3 rows, 9 posts.
Do I need a railing on my deck?
Under the US International Residential Code (section R312.1.1), guards are required where a deck is more than 30 in (762 mm) above the floor or ground below. Other countries set their own heights, so check your local building rules. Choose Yes to add railing along every open side.
Can I use metres for decking?
Yes. Choose Metres and Millimetres: the deck size and spans go in metres, and joist spacing and board width in millimetres, so 400 mm centres and 144 mm boards can be entered as they are. The area is shown in m² and the railing in metres.
Learn more
Boards are counted as full-length rows
The board count is the number of rows needed to cover the width. Each row is assumed to be one board as long as the deck. With shorter boards, every row needs two or more lengths joined over a joist, so multiply the count by the lengths per row.
How the frame carries the deck
Joists carry the boards and run across the width. They rest on beams that run along the length, and each beam sits on posts. On an attached deck, a ledger board bolted to the house carries the joists at that end, so only the outer supports need beams and posts.
Posts, footings and concrete
Each post stands on its own footing, so the two counts are always equal. The concrete is worked out from the size of each round footing, with two more footings at the foot of the stairs when you enter any steps. A 60 lb (27 kg) bag makes about 0.45 cu ft, so a footing 12 in across and 36 in deep takes just over 5 bags. The post itself takes up a little of the hole, so the figure leaves some to spare.
- Pricing decking boards and joists before visiting a timber merchant or builders' yard
- Checking a contractor's material list for a garden deck
- Comparing 12 in and 16 in joist spacing for the same deck
- Counting post holes and concrete bags for the footings
- Working out how much railing to order for a raised deck
Swapping length and width
Boards and beams run along the length, and joists run across the width. Enter the side the boards run along (the house side on an attached deck) as the length, or the counts will be swapped.
Guessing the spans
Joist and beam spans depend on the timber size, species and grade. Take them from a span table for your materials rather than stretching them to save posts.
Forgetting board lengths
The count assumes each board spans the whole deck. If your deck is 5 m long and boards are 3.6 m, each row takes two boards, so double the count and plan the joins over joists.
Ordering without spare boards
The calculator adds no waste. Cutting, knots and the odd warped board mean you should buy a few more than the count shown.
- Leave the gap the board maker specifies between boards. The count assumes boards touch, so gapped boards cover a little more width.
- Stagger board joins across neighbouring rows so they don't all fall on the same joist.
- Take the width of any stair opening off the railing length, and remember the steps need their own stringers and treads.
- Check that a house wall can take a ledger before planning an attached deck; if not, build it freestanding.
Methodology and sources
Sizes are converted to one unit and the area is shown in the unit you chose. Boards = width ÷ board width, rounded up, with no gap between boards and no waste added; each board is assumed to run the full length. Joists = length ÷ spacing, rounded up, plus one end joist and two rim joists. Beam rows = width ÷ maximum joist span, rounded up, plus one on a freestanding deck; each row has posts no further apart than the maximum post spacing, each with one footing. Concrete is π × (diameter ÷ 2)² × depth for each footing, plus 2 footings at the foot of any stairs, and the bag count divides it by 0.45 cu ft (12.7 litres), the yield of a 60 lb bag on the QUIKRETE Concrete Mix data sheet, rounded up. Railing covers every open side when you choose Yes. It does not size the timber, so check spans and local rules before building.