Home · Guides

Guide · 6 min read

Rafter vs joist: what's the difference?

The short answer is orientation: a rafter is a sloped roof member and a joist is a horizontal one, carrying a floor or a ceiling. That answer is true and not very useful, because it does not tell you what actually separates the members when you go to size one. The useful answer is that rafters, ceiling joists and floor joists are governed by different span tables, written for different loads, checked against different deflection limits, and - in the rafter's case - measuring something different from the length of lumber you cut.

This guide sets the tables this site holds side by side and follows a single size, species and grade through all of them, so the difference shows up in published numbers rather than adjectives. The figures are transcribed from the IRC 2018 span tables. Allowable spans depend on species, grade, spacing, live and dead load, and the deflection limit, and the code edition in force is set by your jurisdiction - confirm any member with your local building official before you build.

The one-line difference, and the real one

Floor joists are the horizontal members that carry a floor's live and dead load between supports. Ceiling joists are horizontal members that carry a ceiling and, in the table published here, limited attic storage above it. Rafters are the sloped members that carry the roof surface and its snow load down to the walls. So far, so obvious.

The real difference is what each member is asked to do. A floor carries people and furniture, and a floor that bounces or cracks its finishes is a failure even when it is nowhere near breaking, so the floor tables pair a high live load with the strictest deflection limit. A ceiling with limited storage carries far less and nobody walks on it, so its table allows a lighter load and more flex. A roof carries snow rather than people, and a rafter with no ceiling attached can deflect further still before anything visible suffers. Each combination of load and stiffness gets its own table, and that is why the same piece of lumber is published at a different span in each one.

The three members, side by side

Here is one piece of lumber - a Douglas Fir-Larch No. 2 2x8 at 16 in on center - read out of each table this site holds. Only the member changes; the stick does not.

The spread is close to four feet, and the ordering follows the loads and limits exactly. The living-area floor, with the heaviest live load and the tightest deflection limit, publishes the shortest span at 12 ft 9 in. Ease the live load to 30 psf for a sleeping area and the same 2x8 reaches 14 ft 2 in. Move it into the roof as a rafter under a 30 psf ground snow load with no ceiling attached, checked at L/180, and it reaches 15 ft 4 in. As a ceiling joist over limited attic storage at 20 psf and L/240 it reaches 16 ft 6 in, the longest of the four.

None of those numbers is the strength of the 2x8. Each is the answer to a different question, which is why reusing a span across member types - a joist span for a rafter, or the other way around - is wrong in one direction and wasteful in the other, depending on which way the loads and limits fall.

Member and tableLive loadDeflection limitPublished span
Floor joist, living area - R502.3.1(2)40 psfL/36012 ft 9 in
Floor joist, sleeping area - R502.3.1(1)30 psfL/36014 ft 2 in
Rafter, 30 psf ground snow, no ceiling attached - R802.4.1(3)30 psf snowL/18015 ft 4 in
Ceiling joist, limited attic storage - R802.5.1(2)20 psfL/24016 ft 6 in
One Douglas Fir-Larch No. 2 2x8 at 16 in on center, read out of each member's table. Transcribed from IRC Tables R502.3.1(2), R502.3.1(1), R802.5.1(2) and R802.4.1(3), 2018 edition.

A rafter span is a horizontal projection

Rafter tables measure something joist tables do not. The published rafter span is the horizontal projection - the distance the rafter covers when you look straight down on the roof plan - not the sloped length of the member you actually cut. On any pitched roof the piece of lumber is longer than its projection, and the steeper the pitch, the bigger the gap.

This is the single most common way rafter tables get misread. Someone measures the rafter itself, or the distance along the slope from wall plate to ridge, compares that to the published span, and concludes the rafter is undersized when it is not. When the 15 ft 4 in rafter cell above applies to your roof, it applies to the plan-view distance, and the stick you cut will be longer than that.

Two scope notes on the rafter dataset published here, both of which matter before you lean on it. First, it is one specific case: 30 psf ground snow load, ceiling not attached to the rafters, checked at L/180 - other snow loads and attached-ceiling cases are separate tables that this site does not hold. Second, some Select Structural, No. 1 and No. 2 cells at the largest sizes are blank because the source table prints a note there instead of a span, and No. 3 rafter spans are not reproduced here at all - look those up in the cited table itself.

Ceiling joists are not floor joists

The other reuse this comparison invites is treating a ceiling joist as a floor in waiting. The tables say otherwise. The ceiling joist table here is written for 20 psf of live load - limited, occasional attic storage - with deflection checked at L/240. A floor for a sleeping area is designed for 30 psf at L/360, and a living area for 40 psf at L/360. The ceiling table asks less of the member in both strength and stiffness, and its published spans are longer for exactly that reason.

The gap is not subtle. A Douglas Fir-Larch No. 2 2x10 at 16 in on center is published at 20 ft 2 in as a ceiling joist over limited storage, 17 ft 5 in as a sleeping-area floor joist, and 15 ft 7 in as a living-area floor joist. A ceiling joist that is comfortably inside its own table can be well beyond the floor table's limit at the same time - which is precisely the situation in an attic someone is thinking about boarding over. If the question in front of you is attic storage or an attic floor, that comparison has its own guide, linked below.

Note also that the ceiling joist table published here covers Douglas Fir-Larch and Hem-Fir only, per the source table - it has no Spruce-Pine-Fir or Southern Pine rows to read.

Where they meet: the ceiling joist as a rafter tie

In a conventionally framed gable roof the two members work together. Rafters leaning against a ridge board push outward at the walls, and the ceiling joists running parallel to them are commonly what ties the two walls together and resists that thrust. In that role the ceiling joist is doing structural double duty: carrying its ceiling load down and holding the building's walls in tension at the same time.

That is as far as this site can honestly take the subject. Tie connections, fastening schedules, raised ties, collar ties and ridge beam alternatives are all governed by code provisions and connection details that are not part of the span data published here. If your roof depends on ceiling joists acting as ties - and many do - the sizing question and the connection question both belong with your local building department and, where anything is unusual, a licensed design professional.

Which table you are in, in practice

When you are standing in front of a real member and wondering which table applies, the question to ask is what the member carries and at what angle, not what it looks like. Keyed to the four datasets this site holds:

  • Horizontal, carrying a floor people live on - kitchens, living rooms, halls: the 40 psf floor joist table.
  • Horizontal, carrying a bedroom floor or an attic floor used as a sleeping area: the 30 psf floor joist table.
  • Horizontal, carrying a ceiling below and limited attic storage above, with nobody living up there: the 20 psf ceiling joist table.
  • Sloped, carrying the roof itself: a rafter table - and the one here is specifically the 30 psf ground snow, ceiling-not-attached, L/180 case.

Frequently asked questions

Can I use a floor joist span table for rafters?

No. Rafters are published in their own tables, for specific snow loads and deflection limits, and the spans are horizontal projections rather than member lengths. Depending on the load case, the rafter table may allow more than the floor table or less, so substituting one for the other is not conservative in a predictable direction. Read the rafter table for your snow load, and confirm the case with your local building official.

Is a ceiling joist just a small floor joist?

No. The ceiling joist table published here assumes 20 psf of live load and an L/240 deflection limit - limited attic storage, no occupancy. A floor is designed for 30 or 40 psf at L/360. The same Douglas Fir-Larch No. 2 2x10 at 16 in on center is published at 20 ft 2 in as a ceiling joist but only 15 ft 7 in as a living-area floor joist, so a ceiling that satisfies its own table can be far outside the floor table.

Why can a rafter of a given size span further than a floor joist of the same size?

Because the table asks less of it. The rafter case published here carries a 30 psf snow load rather than a 40 psf occupied floor, and it is checked at L/180 rather than L/360, so it is allowed to both carry less and bend more. Under a heavier snow load, or with a ceiling attached and a tighter limit applied, a rafter's published span shrinks accordingly - the comparison always depends on the specific load case.

Is the published rafter span the length of rafter I should buy?

No. Published rafter spans are horizontal projections, so the member you cut is always longer than the span in the table on any pitched roof, before ridge cuts, birdsmouths and overhangs are considered. Use the table to check whether the size works over the plan-view distance, and take the actual lumber length off your roof geometry.

Do these tables apply if my roof is framed with trusses?

No. An engineered truss is a designed assembly, and none of its members - including the bottom chord that looks like a ceiling joist - can be read out of a span table or modified as if it were sawn framing. Truss questions go to the truss manufacturer's documentation, a design professional and your building department, not to any table on this site.

Look up the numbers

The reference pages behind this guide.

More guides