BuildMetricLab

Timber & Framing

Deck Framing Calculator

Calculates deck joists, beams, and posts

Updated May 13, 2026 · Live

What this tool does

Counts the joist lengths and posts for a rectangular deck from its length, width, joist spacing, post spacing and the stock length you buy, with a materials cost.

Estimates the number of deck joists, beams, and posts from your deck dimensions and member spacing.

Inputs
ft
ft
in
ft
ft
$
$
Result

Joist Lengths Required

13

Posts
12
Joist Count
13
Linear Joist Length
130.0 ft
Material Cost
$622.00
Sizing Note
Joist, beam and post sizes depend on span, load and timber grade: size them from span tables or an engineer's design

Diagram

16 ft10 ft
Price it on PlainEstimate

Opens these materials as a new estimate on PlainEstimate, our free estimate and invoice app.

Plain Estimate
From BrightScale Labs
Invoice maker
Quote at the door. Signed on the spot.
Estimates and invoices for trades, built while you are still in the room.
Scan to get
Get it onGoogle Play

People also use

Formula Used
N=⌈J⌊ℓ/W⌋⌉,J=⌈Ls⌉+1N = \left\lceil \frac{J}{\lfloor \ell / W \rfloor} \right\rceil, \quad J = \left\lceil \frac{L}{s} \right\rceil + 1
NN
Joist lengths to buy (when the deck width W is no longer than the stock length)
JJ
Number of joists
LL
Deck length
ss
Joist spacing
WW
Deck width
ℓ\ell
Joist stock length

How the deck framing calculator works

The calculator counts the timber for a plain rectangular deck. Joists run across the width of the deck and are spaced evenly along its length, with one more to close the end. It then works out how many stock lengths you need to buy to cut those joists, and how many posts a regular grid needs. Every figure is an estimate.

The joist count is J = ⌈L ÷ s⌉ + 1, where L is the deck length and s is the joist spacing. Each joist is as long as the deck is wide. Worked example, US units: a deck 16 ft long and 10 ft wide with joists at 16 in centres has ⌈192 ÷ 16⌉ + 1 = 13 joists. Worked example, metric: 5 m long and 3 m wide at 400 mm centres has ⌈5,000 ÷ 400⌉ + 1 = 14 joists.

Typical timber and framing allowances

Joists are cut from stock lengths, and an offcut is only useful if a whole joist fits in it. A 10 ft (3 m) joist cut from a 12 ft (3.6 m) board leaves a 2 ft (0.6 m) offcut that cannot be a joist, so the 13 joists need 13 boards. Pooling the lengths would give 130 ft ÷ 12 ft = 10.8, or 11 boards, which is too few. If the joists are short enough, they share a board: 6 ft joists from 12 ft stock fit two to a board, so 13 joists need 7 boards.

The tool adds no wastage. A planning allowance of 5 to 10% for a simple rectangle is common, so the 13 default boards become about 14 or 15. Add more for angled cuts and for boards you reject for bows or splits.

What this tool does not do

It does not size joists, beams, posts or footings, and it does not check that the deck can carry its load or is fixed safely to a house. It does not count beams, rim joists, blocking, hangers, bolts or the decking boards. Those need span tables or an engineer's design, and the decking surface has its own calculator.

On-site considerations for deck framing

Joist spacing sets both the count and the stiffness of the floor. Going from 16 in to 12 in centres changes the default from 13 joists to ⌈192 ÷ 12⌉ + 1 = 17, which is 31% more timber in the joists. Closer spacing is common under heavier loads or thinner decking boards, and the maximum joist span depends on the size and grade of the timber, so check that from a table.

The post count assumes a post at every grid point. At a 6 ft (1.8 m) spacing the 16 ft by 10 ft deck has (⌈16 ÷ 6⌉ + 1) × (⌈10 ÷ 6⌉ + 1) = 4 × 3 = 12 posts. Many real decks use two or three lines of posts under beams, so the grid is a cautious upper figure. Use timber treated for ground contact wherever it touches soil or concrete.

Codes and compliance

Deck rules differ by region. In the US, the American Wood Council's DCA 6 guide supports prescriptive deck design under the International Residential Code. In England, Approved Document A covers structure. Other countries have their own codes. Footing depth, frost, guard heights, stairs and the attachment to a building are all regulated, and a raised deck often needs a permit or approval before you build.

Before you order

Give the supplier the joist length, the joist size and grade, the post size and the treatment class, and check how the timber is graded in your market. Ask what lengths they stock. A 10 ft joist cut from a 12 ft board wastes 2 ft, so a 10 ft board may cost less per joist and leave no offcut. Order a few spare pieces, and check each board for bow, splits and moisture before you build.

Run the tool twice when you are choosing stock. Change the stock length from 12 ft to 10 ft and the default stays at 13 boards, while the offcuts disappear. Change the deck width to 12 ft and 12 ft stock fits one joist per board with no waste. Small changes in the stock length often matter more than the spacing.

Adjusting the defaults

Every input is editable. The defaults of 16 ft by 10 ft, 16 in joist spacing, 6 ft post spacing and 12 ft stock are planning values only. Replace them with your own deck and the stock your supplier carries. A blank price hides the cost line, and blank or zero dimensions are rejected.

Using this deck framing calculator alongside other BuildMetricLab tools

Use the same deck size with the decking board, deck stain and footing calculators to plan the whole build. All BuildMetricLab tools run in your browser, so nothing you type is sent anywhere, and every formula is shown on the page so you can check the maths.

Sources & methodology

The deck is a rectangle of length L and width W. Joists run across the width and are spaced s apart along the length, plus one to close the far end: J = ⌈L ÷ s⌉ + 1. Each joist is W long. If W fits inside the stock length ℓ, ⌊ℓ ÷ W⌋ joists are cut from each piece, so the pieces to buy are ⌈J ÷ ⌊ℓ ÷ W⌋⌉. If W is longer than ℓ, each joist needs ⌈W ÷ ℓ⌉ pieces. The tool does not pool offcuts, because an offcut shorter than a joist cannot be used. Posts are counted as a full grid at the post spacing p: (⌈L ÷ p⌉ + 1) × (⌈W ÷ p⌉ + 1). With the defaults, 16 ft × 10 ft at 16 in: J = 13 joists, 13 pieces of 12 ft stock and 4 × 3 = 12 posts. Beams, rim and band joists, blocking, decking boards, hangers and fixings are not counted, and many decks use fewer posts than a full grid because the posts sit under beams.

Frequently asked questions

Are deck framing calculator results accurate enough to order materials?

They give a sound count of joist lengths and posts for a plain rectangular deck, but treat them as a starting point. Offcuts, beams, rim joists, blocking and layout changes are not counted, so confirm the list with your supplier or contractor before ordering. With the defaults (16 ft × 10 ft, 16 in spacing, 12 ft stock) the tool gives 13 joist lengths and 12 posts.

What wastage percentage should I use?

This calculator adds no wastage, so add your own to the count. A common planning allowance is 5 to 10% for a plain rectangular deck and more for complex shapes. On the default 13 joist lengths, 10% is about 14 to 15 pieces. Joists are counted whole, so a joist cut from stock leaves an offcut that the tool does not reuse unless a whole joist fits in it.

Does this replace professional advice?

No. This tool gives a planning-stage material estimate only. It does not size joists, beams, posts or footings, or check load paths and the fixing to a house. Those must be set from span tables or by a qualified engineer or designer and checked against your local building rules before construction.

Can I change the unit prices?

Yes. The price per joist and the price per post are editable. Enter your supplier's quote and the material cost updates. If either price is blank, the cost line is hidden.

Spotted something off?

Calculations or display — let us know.

Calculators from other categories that planners often reach for next.