Joist and Rafter Count Calculator
Enter the length of the wall the members run along and the on-center spacing from your drawings. This calculator returns the number of joists or rafters, the blocking and rim board footage, and the board feet to order. It is a counting tool: it will never tell you how far a member can span or what size to use.
Results are estimates for planning purposes. Verify with your supplier, engineer, or a qualified professional before ordering material or performing work.
This calculator does not do spans — and that is deliberate
How far a joist or rafter can carry is decided by species, grade, size, spacing, load and the deflection limit, all together. No calculator that asks you four questions can answer it, and a wrong answer here is a floor that bounces or a roof that sags. Look the span up where it is published, and have it confirmed by whoever approves your drawings:
- Decks — AWC DCA 6, Prescriptive Residential Wood Deck Construction Guide, free from the American Wood Council, with joist, beam and post tables.
- Floors, ceilings and roofs — the American Wood Council span publications and the Wood Frame Construction Manual.
- Engineered members — I-joists, LVL and open-web trusses are sized from the manufacturer's own tables, never from lumber tables.
- Anything carrying a point load, a hot tub, a wall above or a long overhang — that is an engineer's call, not a table lookup.
Members on layout, and blocking length
| Run length | 12 in o.c. | 16 in o.c. | 19.2 in o.c. | 24 in o.c. |
|---|---|---|---|---|
| 12 ft | 13 | 10 | 8 | 7 |
| 16 ft | 17 | 13 | 11 | 9 |
| 20 ft | 21 | 16 | 13 | 11 |
| 24 ft | 25 | 19 | 16 | 13 |
| 28 ft | 29 | 22 | 18 | 15 |
| 32 ft | 33 | 25 | 21 | 17 |
| 40 ft | 41 | 31 | 26 | 21 |
| Blocking cut length | 10 1/2 in | 14 1/2 in | 17 7/10 in | 22 1/2 in |
Counts are for one slope or one floor: floor(run in inches / spacing) + 1. Blocking length is the spacing less the 1 1/2 in dressed thickness of a 2x member (NIST PS 20-20 Table 3). On a gable roof, double every count in this table.
How it's calculated
- Members on layout
members per slope = floor( run length (in) / spacing (in) ) + 1One member on every layout mark, plus the one that closes the end. A 24 ft wall at 16 in on center carries 19.- Total members
total = members per slope × slopes + doubled members, then × (1 + waste %)A gable roof is laid out twice, once per slope, so the rafter count doubles. A shed roof is one slope.- Blocking pieces
blocks = (members per slope − 1) × rows × slopesBlocking fills the bays, and there is always one fewer bay than there are members.- Blocking length
block length (in) = spacing (in) − member thickness (1.5 in dressed)A block between joists laid out 16 in on center is cut 14 1/2 in long. Dressed thickness from NIST PS 20-20 Table 3.- Rim or end board
rim lineal ft = run length × 2 (both ends of the joist run)Floor and ceiling framing only. On a gable roof the equivalent members are the fascia and the ridge, which are laid out differently and are not counted here.- Lineal and board feet
lineal ft = total members × member length ; BF = nominal thickness × nominal width × lineal ft / 12Board measure on the nominal size, per NIST PS 20-20 section 2.2.
Frequently asked questions
Sources & references
- NIST Voluntary Product Standard PS 20-20 (Revision 1, October 2021), American Softwood Lumber Standard — Table 3 minimum dressed dry sizes (a 2x10 is 1 1/2 by 9 1/4 in) and section 2.2 board measure
- American Wood Council — DCA 6, Prescriptive Residential Wood Deck Construction Guide (2015 IRC edition): where deck joist and beam spans are actually determined — Free from AWC. Its span tables are the answer to “how far can this joist go” — a question this calculator does not answer.
- American Wood Council — Wood Frame Construction Manual and span publications for floor, ceiling and roof framing — Span, size, species and grade come from here and from your building department. This page counts pieces.
Content checked against these sources — last reviewed September 19, 2026.