Deck Material Calculator
This deck material calculator lists every board, joist, post, bag of concrete, screw, railing part and stair stringer your deck needs, with a cut plan and code checks.
Work out everything your deck needs
Enter the deck size and how you want to build it. The calculator plans every board cut with joints on joists, sizes joists, beams, posts and footings from the 2021 IRC tables, and lists railing, stairs, hardware and concrete. Results update as you type.
More framing options
Your deck
Code checks
Guidance from the 2021 IRC deck tables (40 psf live load) and AWC DCA 6, not an engineered design. Check your local building code and get a permit; jurisdictions amend these tables and snow loads change them.
Shopping list
Type unit prices from your store to get a total and a cost per square foot or square metre. Prices stay in this browser.
| Item and size | Quantity | Unit | Unit price | Subtotal |
|---|---|---|---|---|
| Estimated total | — | |||
Cut plan
Rows run from the house outward, each from left to right. Every joint is centred on a joist, joints in neighbouring rows sit on different joists, and pieces come from the board numbers shown. Waste is the share of the board length you buy that is cut off: offcuts, end trims and saw kerfs.
| Row | Pieces, start to end (board number) | Joints |
|---|
Boards
| Board | Length | Cut into | Offcut |
|---|
A cut plan with every joint on a joist
Each row of boards is split only at joist centres, neighbouring rows never share a joint joist, and the pieces are packed into the board lengths your store sells. You see how many boards of each length to buy, the waste percentage and which board every piece comes from.
Framing checked against the 2021 IRC
Joist spans and cantilevers, beams with the effective joist span factor, post heights, footing sizes, ledger fasteners, decking spacing, stairs and guards are checked against the IRC deck tables for five lumber species, and each result names the table it comes from.
Shopping list, plan and cost
Boards, framing, concrete bags, screws or hidden clips, hangers, ties, railing and stairs in one grouped list, with a top-view plan of joists, beams, posts and joints. Add your prices for a total and a cost per square foot, then copy it, download a CSV or print it.
How to calculate deck materials
- 1
Enter the deck's length along the house, its width out from the house and its height above the ground, or switch to an L-shape or several sections.
- 2
Choose the deck boards, gap, direction and the board lengths your store sells, then the lumber species, joist spacing and beam type.
- 3
Read the summary, the top-view plan and the code checks, and change anything marked Fix, such as a joist span the table does not allow.
- 4
Add unit prices if you want a cost, then copy the summary, download the shopping list or cut plan as a CSV file, or print it.
What people use this tool for
- Price a new 12×16 or 16×20 deck before a trip to the lumber yard.
- Re-deck an old frame: count boards and screws and get a cut plan for the board lengths in stock.
- Compare pressure-treated, cedar and composite decking, straight or diagonal, by boards, waste and cost.
- Check a planned joist size, beam and footing layout against the IRC deck tables before applying for a permit.
Frequently Asked Questions
How many deck boards do I need for a 12×16 deck?
For a deck 16 ft along the house and 12 ft out, with 5.5 in boards and 1/8 in gaps, each row covers 5 5/8 in, so 144 ÷ 5.625 = 25.6 rows round up to 26: twenty-six 16 ft boards, the last one ripped to 3 3/8 in. If the boards run the other way, a deck 12 ft along the house and 16 ft out takes 34 rows of 12 ft boards, with the gaps opened to about 5/32 in so the last board is full width. Stair treads are cut from the same boards, and the calculator adds 5% spare boards for defects unless you change it.
How many deck screws do I need per square foot?
Two screws go into every joist a board crosses; IRC R507.7 asks for two 8d threaded nails or two No. 8 screws at each support. With 5.5 in boards, 1/8 in gaps and joists 16 in apart that is about 3.2 screws per square foot, 4.3 at 12 in and 2.1 at 24 in, so a 5 lb box of about 365 screws covers roughly 114 sq ft at 16 in. The calculator counts the actual crossings, end joists and stair treads included: the 16 × 12 ft example with stairs needs 740 screws, or 3 boxes. Hidden clips take one per crossing, and a box of 90 covers about 50 sq ft.
What joist spacing does composite decking need?
Most composite and PVC boards need joists no more than 16 in apart when the boards run across the joists, and 12 in apart when they are laid at 45°. Trex gives those figures for residential decks, and some boards need closer spacing, so check the installation guide for yours. Wood decking follows IRC Table R507.7: 5/4 boards allow 16 in (12 in diagonal) and 2x boards 24 in, when each board crosses at least three joists. Under composite stair treads the calculator puts the stringers no more than 12 in apart, and under wood treads no more than 16 in.
How far can deck joists span?
IRC Table R507.6 (40 psf live load) allows, for joists 16 in apart: southern pine 2×8 11 ft 10 in, 2×10 14 ft and 2×12 16 ft 6 in; Douglas fir-larch, hem-fir and SPF 2×8 11 ft 1 in, 2×10 13 ft 7 in and 2×12 15 ft 9 in; redwood and western cedar 2×10 13 ft. Joists may cantilever past the beam by the table's limit for their back span and never more than a quarter of the span, so a southern pine 2×8 spanning 10 ft can overhang 2 ft 6 in. On Automatic, the calculator picks the smallest joist that passes, 2×8 at least when guard posts bolt to it, and adds a beam line when no size can make the span.
How much concrete does each deck footing need?
The footing size comes from IRC Table R507.3.1 and depends on the deck area each post carries and on your soil: 52 sq ft on 1,500 psf soil needs an 18 in round footing 6 in thick. An 18 in pad with a 10 in tube, 36 in deep and 2 in above grade, holds about 2.34 cu ft, which is 4 bags of 80 lb concrete at QUIKRETE's printed yield of 0.60 cu ft per bag; an 18 in hole filled all the way takes about 5.6 cu ft, or 10 bags. One cell of the table, a round footing for 20 sq ft on 2,000 psf soil, is printed as 9 in; the calculator uses 10 in, because 1,000 lb on 2,000 psf soil needs 72 sq in and a 9 in circle has only 63.6. It adds 10% concrete for uneven holes by default, and the ready-mix option gives the total in cubic yards.
How do I work out what a deck will cost?
Type the unit price of each item into the shopping list, such as the price of one 16 ft board, one box of screws or one bag of concrete. Each line is the quantity times its unit price, the total is the sum of the lines, and the cost per square foot is the total divided by the deck area. Lines without a price are left out, and the page says how many items are priced. Delivery, tax, tools, permits and labour are not included, and your prices are kept only in your browser.
When does a deck need a railing, and when do stairs need a handrail?
IRC R312.1 requires guards on open sides more than 30 in above the ground: at least 36 in high, with no opening a 4 in sphere can pass. The calculator turns the railing on above 30 in, puts 4×4 posts no more than 6 ft apart and spaces balusters so no gap is wider than your limit, 3 1/2 in by default. Stairs need equal risers no taller than 7 3/4 in and a run of at least 10 in from nosing to nosing (R311.7.5); a tread under 11 in deep also needs a 3/4 in nosing, so it must be at least 10 3/4 in. They need a handrail on at least one side once there are four or more risers, and guards when they rise more than 30 in. A 36 in rise gives 5 risers of about 7 3/16 in.
Is the result a permit plan, and is anything uploaded?
It is a materials estimate with code guidance, not an engineered design. The checks use the 2021 IRC deck tables for a 40 psf live load and AWC's DCA 6 guide, checked in November 2026. Your jurisdiction may amend them, snow loads over 40 psf use other tables and hot tubs need a designer, so check your local building code and get a permit. Everything is worked out in your browser and nothing is uploaded; your settings, dimensions and prices are kept in this browser's local storage under zutilium:deck-material-calculator.