Worked example · Decks and fences

A 16 × 12 ft (4.9 × 3.7 m) pressure-treated deck, 3 ft (0.9 m) off grade and ledgered to the house, with one stair and a railing on three sides

An attached 16 × 12 ft deck taken off in the order its load travels — joist check and joist count, ledger screws, footing count and size, concrete, boards, screws, stair, balusters and stain — with every figure computed by the calculator at its step or by the arithmetic shown beside it, the gaps this site cannot fill named where they fall, and the places the estimate is most likely to be wrong.
  • 11Steps, in order
  • 10Figures computed
  • US, imperial firstModelled for

The job

Modelled, not recorded. Every figure on this page is re-run through the calculator it names whenever the site is built; the estimate is worked, but no job was carried out, so the last section gives the mechanism of each likely error rather than a measured overrun.

An attached deck is two structures sharing one load. The joists run out from a ledger bolted to the house and land on a beam near the outer edge, so every square foot of the deck is divided between the house's rim board and a few holes in the yard. This walkthrough follows that division: the joist check first, because its clear span decides how much each side carries, and the joist count it sets; then the ledger fastening, then the footings under the beam and the concrete in them, and only then the surface — boards, screws, stair, guards and stain — which is the part everyone sees and the part the frame underneath has already decided.

The job: a 16 × 12 ft (4.9 × 3.7 m) deck in pressure-treated lumber, ledgered along its 16 ft side to the house rim, with the finished surface 36 in (914 mm) above grade. The joists run 12 ft out from the house onto a dropped beam set in from the outer edge, the beam stands on posts, one stair leaves the middle of the outer edge, and the three open sides carry a railing — a guard, in the code's word. At this height it is not a choice: IRC R312.1.1 calls for one wherever a walking surface sits more than 30 in (762 mm) above the grade below.

THE JOIST SPAN DECIDES WHO CARRIES WHAT. With a 10 ft (3.05 m) clear span from the ledger to the beam and 18 in (457 mm) of cantilever beyond it, the ledger takes half the span and the beam takes the rest. Move the beam out a foot and the ledger's share, the beam's share, the footing size and the concrete order all move together — which is why the joist check opens this page rather than sitting between the boards and the footings as a formality.

WHAT THIS PAGE CANNOT DO. Every quantity here comes from the calculator at its step or from the arithmetic shown beside it, and the page is modelled rather than a record of a deck that was built. Several things the deck needs are named where they fall instead of being filled with a figure. The beam's size: the beam bending check on this site tests a section it is given and does not choose one. The rest of the frame lumber: step 2 counts the joists, but the rim joist, the ledger board, the beam plies, the three structural posts, the eight guard posts, the guard rails and the stair stringers are not taken off, so this is the surface, the foundation and the joists rather than a full lumber order. The joist hangers and structural hardware. The frost depth, which is a local number. And the post lengths, which are cut once the footings are poured and the levels shot.

What was measured, and how

  • Deck outline, from the sheathing face at the ledger to the outer face of the rim joist

    16 ft (4.88 m) along the house × 12 ft (3.66 m) out, diagonals equal

    Taken from the sheathing face the ledger will bear on, not from the face of the siding, which is cut back along the ledger line; then squared by equal diagonals before a hole is marked. Laid out from the siding instead, the beam line and every footing on it land farther from the house than the frame will put them, by the siding's thickness.

  • Finished deck height above grade, at the foot of the stair

    36 in (914 mm) at the stair foot

    Measured from the finished board surface, not the top of the joists, down to the grade where the stair will land rather than at the house wall, where the ground usually stands higher. It sets the riser count and whether a guard is required, so a figure taken to the framing or at the wrong end of a sloping yard is wrong twice.

  • Joist layout: clear span, cantilever and centres

    10 ft (3.05 m) clear span, 18 in (457 mm) cantilever, 2x8 joists at 16 in (406 mm) centres

    Clear span runs from the face of the ledger to the face of the beam, not centre to centre of the supports, and the cantilever from the beam's outer face to the joist ends. Centre-to-centre figures overstate the span and push a marginal joist a size deeper than it needs; a cantilever taken from the beam's inner face is overstated by the beam's width, which can fail the quarter-span check on a layout that passes it.

  • Design load, soil and frost depth

    50 psf (2.39 kPa) total; 1,500 psf (72 kPa) soil; 36 in (914 mm) frost depth, taken for this run only

    The load is the residential deck figure the ledger calculator names, 40 psf (1.9 kPa) live over 10 psf (0.5 kPa) dead. Soil that no test has identified is given the lowest presumptive bearing value IRC Table R401.4.1 lists. Frost depth comes from the building department under IRC R403.1.4. Guessing any of the three sizes a footing for somebody else's site.

  • Guard layout and the stair opening

    Six bays at 6 ft (1.83 m) centres, 68½ in (1.74 m) clear between 4x4 posts; eight posts; a 4 ft (1.22 m) stair opening centred on the outer edge

    Posts laid out along the three open sides before any spindle is counted, and each bay measured as the CLEAR opening between post faces. Taking post centres instead adds a post's width to every bay, and the count then includes spindles there is no room to fit.

The takeoff, in order

Each step needs something from the one before it, which is why the order is part of the answer.

Working along0 of 11 run
  1. Check the joist size against the span

    Needs
    The clear span and cantilever from the measured layout, the 16 in (406 mm) centres and the 50 psf (2.39 kPa) load. Nothing earlier — every later step inherits the split of the load this one fixes.
    Produces
    The depth the span needs, with deflection governing, so a 2x8 passes using about three-quarters of its bending capacity and two-thirds of its deflection allowance. The 18 in cantilever is inside the quarter-span limit the IRC sets in R507, 30 in (762 mm) here. The run keeps the calculator's default design values, about 1,000 psi (6.9 MPa) in bending and 1.4 million psi (9.65 GPa) stiffness, which stand in for the adjusted NDS values of the grade stamped on the lumber that arrives.

    Result6.36 in (161.5 mm) of depth required; a 2x8 at 7¼ in (184 mm) passes

    Deck Joist Span and Size Calculator
  2. Count the joists

    Needs
    Step 1's 2x8 at 16 in (406 mm) centres, spaced along the 16 ft (4.88 m) ledger, and the 12 ft (3.66 m) the joists run out from the house to the rim, which is the length each one is cut from.
    Produces
    The joist count and the lineal footage it comes to. The calculator is written for ceiling joists, but its count is plain spacing arithmetic that holds for any joist run: twelve 16 in bays along the ledger and a joist at each end, so the two joists that close the short sides are among the thirteen. Each is cut from a 12 ft length, which the ledger and the rim joist shorten by 3 in (76 mm) in place. It tests no span — step 1 did that — and it counts no rim joist, ledger board, blocking or hangers.

    Result156 ft (47.55 m) of joist: 13 joists of 12 ft (3.66 m)

    Ceiling Joist Spanning Lineal Lumber Aggregator
  3. Count the ledger lag screws

    Needs
    Half the clear span from step 1 — 5 ft (1.52 m) of deck along the 16 ft (4.88 m) ledger that step 2's thirteen joists hang from, at 50 psf, which is 4,000 lb (17.8 kN) — and a rated capacity for one screw in this rim.
    Produces
    The screw count for the shear the ledger carries, at the calculator's default of about 405 lb (1.8 kN) a screw — a stand-in until the screw maker's published figure for this rim, sheathing and any drainage spacer replaces it, and the count moves in proportion. Shear only: the two lateral load devices, the joist hangers and the flashing — longer than the ledger so it returns past both ends, in a metal chosen for contact with copper-based treatment — are not in it.

    Result10 lag screws at the stand-in capacity of 405 lb (1.8 kN) each

    Ledger Lag Screw Shear Count Calculator
  4. Count the footings on the beam line

    Needs
    The beam line that step 1 fixed — 16 ft (4.88 m) long, set back from the outer edge by the 18 in (457 mm) cantilever — and the ledger from step 3, which carries the house side so nothing along it stands on a footing.
    Produces
    Three footings: a post at each end of the beam and one in the middle, 8 ft (2.44 m) apart, the typical residential spacing the calculator offers. That is the breakdown's count along one long side, not the headline, which totals a deck beamed on all four sides and so is not this deck's figure. Freestanding, the same outline would take a second beam line under the house side, and three more footings with it.
  5. Size the footing under the middle post

    Needs
    Step 4's 8 ft (2.44 m) post spacing, with the beam made up as two spans butted over the middle post, and the 7 ft (2.13 m) of deck the beam carries once step 3's ledger has taken 5 ft: 2,800 lb (12.5 kN) on the middle post, over 1,500 psf (72 kPa) soil.
    Produces
    The bearing area the middle post's deck share needs, as a square. An 18 in (457 mm) round hole falls just short of it; a 20 in (508 mm) one clears it with about 470 lb (2.1 kN) to spare, and a bit that size means a tow-behind or skid-steer auger rather than a hand-held one. The 2,800 lb leaves two loads out. The stair from step 9 leaves the middle of the outer edge, so its top reaction lands over this post's strip — about 370 lb (1.6 kN), half of 15 sq ft (1.4 m²) of stair plan at the same 50 psf, which the joists' cantilever increases on its way to the beam. The pier's own weight, which this calculator's limitations say it does not add, comes on top. Together they use up the spare, so the middle hole is the one to widen or flare, and this check is re-run with both loads added before it is dug. The corner posts carry half the middle one's deck share and none of the stair, which leaves a 20 in hole room for its own weight. The butted beam is what holds the middle post to its tributary share: run continuous over it, the standard two-span coefficient hands the centre support 1.25 times what two simple spans give it, more than a 20 in hole bears.

    Result1.37 ft (16.4 in, 0.416 m) square side, 1.87 sq ft (0.173 m²) of bearing

    Isolated Spread Footing Sizing Calculator
  6. Quantify the footing concrete

    Needs
    Step 4's three holes and step 5's 20 in (508 mm) diameter, poured full depth: 36 in (914 mm) of frost depth plus a 2 in (51 mm) collar above grade, so 38 in (965 mm) of concrete in each hole.
    Produces
    The bagged-concrete count for three straight 20 in cylinders, with nothing deducted, because these posts stand on bases on top of the concrete rather than in it — which is why the post-hole calculator, which deducts a buried post, is not the one used. A wider or flared middle hole from step 5 changes that hole's share of the count. At this volume a flared footing form under a narrower tube, or a short ready-mix load, deserves pricing against the bags.

    Result35 bags of 80 lb (42 bags of 30 kg), 20.7 ft³ (0.59 m³)

    Concrete Bag Calculator
  7. Count the deck boards

    Needs
    The outline and the joists step 2 counted: they run out from the house, so the boards run along it, 16 ft (4.88 m) rows stacked across the 12 ft (3.66 m), on the 16 in centres that standard 5/4 decking is laid on.
    Produces
    The board count at one 16 ft board to a row, on a 5½ in (140 mm) board and a ⅛ in (3 mm) gap. It holds no cull, no ripped last row and no stair treads, and a 16 ft board on a 16 ft frame has no length to spare for squaring the ends.

    Result26 boards of 16 ft (4.9 m), one to a row

    Deck Board Calculator
  8. Count the deck screws

    Needs
    The 192 sq ft (17.8 m²) surface from step 7 and step 1's 16 in (406 mm) joist centres, which is the one pattern — two screws a board at every joist — the calculator's rate assumes.
    Produces
    The face-screw count and the boxes it fills. Face screws only: the stair treads, the fascia, the guard posts and every structural connection take other fasteners, and none of them is in the figure.

    Result3 boxes of 300 (672 screws)

    Deck Screws Calculator
  9. Lay out the stair

    Needs
    The 36 in (914 mm) rise from step 7's finished board surface down to grade, the 4 ft (1.22 m) opening in the outer guard, and two of step 7's boards to a tread, which sets an 11 in (279 mm) tread depth.
    Produces
    The riser count and the height of each, inside the IRC R311.7.5 limits the calculator checks. The top tread sits one riser below the deck, which puts the flight's open sides under the 30 in (762 mm) height at which IRC R312.1.1 asks for a guard. A five-riser flight still takes a handrail under IRC R311.7.8; its sloped length, from this 36 in rise and 44 in (1.12 m) of run, is the site's handrail-length calculator's job and is not counted here, and neither are the stringers or the pad at the foot.

    Result5 risers of 7.2 in (183 mm), 4 treads 11 in (279 mm) deep

    Stair Rise & Run Calculator
  10. Count the balusters

    Needs
    The 68½ in (1.74 m) clear bay from the guard layout, with step 9's stair opening taken out of the outer run, and 1½ in (38 mm) square balusters.
    Produces
    The spindles a bay, with even gaps inside the four-inch sphere of IRC R312.1.3 — twelve a bay, so seventy-two across the six bays, with no spares. The rails, the post blocking and the 200 lb (890 N) concentrated load IRC Table R301.5 applies at the top of the guard sit outside the count.

    Result12 balusters a bay at 3.88 in (99 mm) gaps

    Deck Baluster Calculator
  11. Quantify the stain

    Needs
    The 192 sq ft (17.8 m²) surface from step 7 at two coats on bare lumber, and every board from the steps before it dry enough to take a finish — which is why this comes last, and weeks later.
    Produces
    The gallons for 384 sq ft (35.7 m²) of coverage at the calculator's fixed rate of 200 sq ft a gallon (about 4.9 m² a litre) a coat, rounded up. The guard from step 10, the stair and the fascia are not in the area, and on a three-sided guard their surface is large.

    Result2 gallons (7.6 L) for two coats

    Deck Stain Calculator

The figures

Each step’s computed figure for this job
StepCalculatorFigure
Check the joist size against the spanDeck Joist Span and Size Calculator6.36 in (161.5 mm) of depth required; a 2x8 at 7¼ in (184 mm) passes
Count the joistsCeiling Joist Spanning Lineal Lumber Aggregator156 ft (47.55 m) of joist: 13 joists of 12 ft (3.66 m)
Count the ledger lag screwsLedger Lag Screw Shear Count Calculator10 lag screws at the stand-in capacity of 405 lb (1.8 kN) each
Size the footing under the middle postIsolated Spread Footing Sizing Calculator1.37 ft (16.4 in, 0.416 m) square side, 1.87 sq ft (0.173 m²) of bearing
Quantify the footing concreteConcrete Bag Calculator35 bags of 80 lb (42 bags of 30 kg), 20.7 ft³ (0.59 m³)
Count the deck boardsDeck Board Calculator26 boards of 16 ft (4.9 m), one to a row
Count the deck screwsDeck Screws Calculator3 boxes of 300 (672 screws)
Lay out the stairStair Rise & Run Calculator5 risers of 7.2 in (183 mm), 4 treads 11 in (279 mm) deep
Count the balustersDeck Baluster Calculator12 balusters a bay at 3.88 in (99 mm) gaps
Quantify the stainDeck Stain Calculator2 gallons (7.6 L) for two coats

The waste factors, and why these ends of the ranges

The waste factor applied to each material, and why
MaterialAppliedWhy
Deck boardsA few spare boards picked at the yard, with the stair treads added as their own lineThe calculator adds nothing for culls, splits or the ripped last row, and pressure-treated 5/4 stock arrives wet, with some of every bundle crowned or cupped. With 16 ft stock on a 16 ft frame there is no length to trim a split end away, so a damaged board is a replaced board rather than a shorter one.
Footing concreteWhole bags, with spares held back against holes augered oversizeThe count treats each hole as a perfect cylinder and rounds up once for the whole job. An auger in anything but stiff ground leaves a hole wider than its bit, and a batch mixed for one hole usually leaves a residue that is tipped out rather than carried to the next, which comes out of that single rounding. Widening or flaring the middle hole is a change to the order, not waste, and belongs in it once its size is settled.
Deck screwsThe published rate rounded to whole boxes, with stair and fascia fasteners bought separatelyRounding 672 screws up to three boxes of 300 already covers the stripped and snapped heads of a face-screwed deck. The screws this rate never counts — stair treads, fascia, guard posts — are a different length or a different fastener, so padding the deck figure does not supply them.
BalustersThe per-bay count, plus a spare or two in each run of guardThe calculator works one bay at a time and adds nothing, and a square pressure-treated spindle is likeliest to crack where a screw goes in close to its end. A spare in each run costs less than a gap in the guard while a replacement is fetched.
StainWhole gallons for the walking surface, with the guard and stair quantified as a second areaThe calculator covers the deck surface at the bottom of its published coverage range. A three-sided guard with seventy-two balusters, its rails and posts can add nearly as much surface again as the boards, and folding it into one generous allowance hides which half of the finish it belongs to.

Where this estimate is most likely to be wrong

  • Ledger fastener count

    usually under

    The run divides the ledger's share of the load by the calculator's default capacity for one screw. The value that applies falls wherever a drainage spacer sits behind the ledger, sheathing is sandwiched behind it, or the rim is a softer species than the stand-in capacity assumes — and the count rises in proportion with nothing about the deck changing.

    Narrow it by: Reading the per-screw capacity from the screw maker's published table for this rim, sheathing and spacer, then re-running the count before any hole is bored.

  • Footing concrete

    usually under

    Augered holes in loose or wet ground come out wider than the bit, a hand-cleaned bottom is rarely flat, and the collar above grade tends to finish taller than planned. Each adds concrete the cylinder does not contain; a frost depth deeper than the one taken for this run deepens all three holes at once, and a middle hole widened or flared for the loads step 5 leaves out adds more again.

    Narrow it by: Confirming the frost depth with the building department before digging, settling the middle footing's size with the stair and pier loads added, forming the top of each hole with tube, and measuring the dug holes before the first bag is mixed.

  • Deck boards

    usually under

    The count is exact rows at exact stock length, so every cull, every split end and the ripped last row come out of it. A 16 ft board on a 16 ft frame leaves nothing for squaring the ends or overhanging the fascia, and the stair treads are not in the figure at all.

    Narrow it by: Measuring a few boards from the actual bundle for true length and width, and adding the treads as their own line before the order goes in.

  • Stain

    usually under

    The walking surface is only part of what gets stained. The balusters, rails, posts, stair and fascia add surface the boards do not, and pressure-treated lumber left to weather for a season before its first coat can drink more than even the low coverage figure the calculator fixes.

    Narrow it by: Measuring the guard and stair surfaces as a second area, and checking the coverage printed on the can against the condition of the lumber when it is coated.

  • Joist and beam sizes

    either way

    The joist check ran on the calculator's default design values rather than the adjusted values for the grade stamped on the lumber that arrives, and the beam was never sized, because no calculator here chooses one. Adjusted values below the defaults deepen the joist the span needs; values above them leave the 2x8 more margin.

    Narrow it by: Re-running the joist check with the NDS Supplement values for the stamped species and grade, and sizing the beam from AWC DCA 6 or an engineer before ordering lumber.

Tools this job needs

Frequently asked questions

How many deck boards do I need for a 12 × 16 deck?
Twenty-six 16 ft (4.9 m) boards, laid along the 16 ft side, one board to a row. That assumes standard 5/4x6 lumber, 5½ in (140 mm) wide with a ⅛ in (3 mm) gap, over joists at 16 in (406 mm) centres. The count holds no spares, no ripped last row and no stair treads, so culled boards and the treads for a stair are added on top.
How many footings does a 12 × 16 deck need?
Ledgered to the house, three: one at each end of the beam and one midway, 8 ft (2.44 m) apart. Freestanding, a second beam line under the house side adds three more. The middle post's deck share, 2,800 lb (12.5 kN), needs about 1.9 sq ft (0.17 m²) of bearing on 1,500 psf (72 kPa) soil: a 20 in (508 mm) round footing or a flared base under a narrower tube. The stair's top reaction and the pier's weight come on top, so that footing is the one to enlarge.
What size joists does a 12 × 16 deck need?
With the beam set 18 in (457 mm) in from the outer edge, the joists clear-span 10 ft (3.05 m). At 16 in (406 mm) centres and 50 psf (2.39 kPa), the joist check asks for 6.36 in (161.5 mm) of depth, so a 2x8 at 7¼ in (184 mm) passes — on the calculator's default design values. Thirteen of them cover the 16 ft (4.88 m) ledger. The check is worth re-running with the adjusted values for the grade stamped on the lumber before ordering.