Rafter Spacing and Span: 16 vs 24 Inches and Sizing

Two numbers decide a rafter: how far apart the rafters are, and how far each one spans. Get them from the plan, then size the lumber from a table or a calculator, not from a rule of thumb.

  • Guide
  • 8 min read
  • Reviewed 20 October 2026
  • Same code as the calculator

Quick answer Rafters are usually spaced 16 or 24 inches on center, and span is measured as the horizontal distance between supports, not the length along the slope. A 40 ft building needs 31 rafters per side at 16 in and 21 at 24 in. Pick the lumber from the span tables in IRC R802.4 or the American Wood Council's span calculator, which use the span, spacing, species, grade and loads.

Spacing and span, defined

Rafter spacing is the distance from the center of one rafter to the center of the next, written as "16 in on center" or "16 o.c.". Rafter span is the horizontal distance between the supports a rafter bridges, usually the outside wall plate and the ridge line or a purlin brace. It is measured along the level, as if you looked straight down on the roof.

The distinction matters because the length of a rafter along the slope is longer than its span. A rafter on a 6:12 roof that spans 14 ft horizontally is 15.65 ft long. Span tables use the span. Lumber lengths and cuts use the length. Mixing them up leads to either a rafter that is too small or a board that is too short, and they are different numbers.

Span against lengthA 14 ft span at 6:12 is a 15.65 ft rafter
wall platecenter of the buildingspan 14 ft, measured levelrise 7 ftrafter length 15.65 ft6:12
Rafter length along the slope for a given horizontal span
Span4:126:128:1212:12
8 ft8.43 ft8.94 ft9.61 ft11.31 ft
10 ft10.54 ft11.18 ft12.02 ft14.14 ft
12 ft12.65 ft13.42 ft14.42 ft16.97 ft
14 ft14.76 ft15.65 ft16.83 ft19.8 ft
16 ft16.87 ft17.89 ft19.23 ft22.63 ft

The numbers in the table are the span times the pitch multiplier, and exclude the overhang. The rafter calculator adds the overhang and the ridge deduction.

Why 16 and 24 inches?

Spacing exists because the sheathing, the lumber and the loads all work together. Structural panels come 48 inches wide, and both 16 and 24 divide 48 evenly, so every panel edge lands on a rafter. Roof sheathing carries a span rating, written as two numbers such as 24/16, where the first is the maximum rafter spacing in inches for roofs. A rating of 24/16 sheathing therefore works on rafters at 24 in or closer.

The second reason is cost. Doubling the spacing from 12 to 24 inches halves the rafters but each one carries twice the load, so it needs a deeper or stronger board or a shorter span. The common choices are:

  • 12 in on center. Rare in new work, used for short spans or heavy roof coverings such as tile.
  • 16 in on center. The traditional spacing for stick-framed roofs, with the most common lumber sizes.
  • 19.2 in on center. Five spaces in 8 ft, used by some builders to save material.
  • 24 in on center. Standard for trusses and for advanced framing; it uses the least lumber but needs the most careful sizing.

In the UK and Europe rafters are normally spaced at 400 mm or 600 mm centers, which are close to 16 and 24 in. Sizes come from span tables published for the national codes.

How many rafters you need

The count comes from the length of the building and the spacing. One rafter sits at the start of the run, and one more is needed for each spacing after it, rounded up:

rafters per side = the whole number above (length ÷ spacing) + 1
total commons = rafters per side × 2  (a gable roof, two sides)

For a 40 ft building, 480 in ÷ 16 = 30, so 31 rafters per side and 62 in all. At 24 in the figure is 480 ÷ 24 = 20, so 21 per side and 42 in all. The extra rafter at the end is the one that sits on the gable end wall.

Rafters in a 40 ft roofPer side; a gable has two sides, so double each figure
12 in on center41 per side16 in on center31 per side19.2 in on center26 per side24 in on center21 per side
Common rafters by building length and spacing
Length12 in16 in19.2 in24 inBoth sides: 16 in / 24 in
20 ft2116141132 / 22
24 ft2519161338 / 26
30 ft3124201648 / 32
36 ft3728241956 / 38
40 ft4131262162 / 42
48 ft4937312574 / 50

The table counts commons only. Hip roofs add hip and jack rafters, and openings for skylights or chimneys add headers and doubled rafters. Add 5% to 10% for crown and defect, since you will cull bad boards. For trusses the count is the same, but trusses are engineered and set by the maker.

Measuring the span from the plan

Rafter span is not the building width. For a gable roof with a ridge board and rafters that rest on the exterior walls, the span is half the building width, measured from the outside of the wall plate (or the inside of the wall, depending on the table) to the center of the ridge. If a purlin or brace supports the middle, the span is the distance between supports.

building width 28 ft, rafters meet at a ridge:  horizontal span = 28 ÷ 2 = 14 ft
rafter length at 6:12 = 14 × 1.118 = 15.65 ft
with a 1 ft overhang and a 1½ in ridge board: a 2×10 rafter needs a 18 ft board

The rafter calculator takes the run, the pitch, the overhang and the ridge thickness, and returns the length, the cuts and the stock size of board you need. Use how to cut rafters for the layout of the cuts.

Rafter ties, collar ties and what keeps the walls in

A pitched roof pushes outward at the bottom of each rafter. Rafter ties, usually ceiling joists nailed to the rafters near the plate, hold the walls together. Under the IRC, rafter ties are installed in the lower third of the attic height. Collar ties near the top of the rafters stop them from lifting in wind, and the code asks for them in the upper third. A ridge board does not carry load; if you want an open vaulted ceiling you need a structural ridge beam, or the walls will spread.

Roof cross-sectionLower-third ties, upper-third ties and the ridge
ABCATies in the lower third of the attic heightBTies in the upper third, near the ridgeCRidge board holds the tops in line, carries no loadArrows: without ties the walls are pushed outward

Ties, ridge beams and rafter size are structural. The table and calculator can size a simple gable, but get an engineer's review for vaulted ceilings, wide spans or heavy snow.

Sizing the lumber

Rafter size depends on the span, spacing, species and grade of the lumber, and the loads on the roof. The IRC provides span tables for common conditions in Chapter 8 (R802.4), and the American Wood Council's span calculator gives the same answers for other cases. Both use the horizontal span. To read them you need four inputs:

  1. The horizontal span of the rafter, in feet and inches.
  2. The spacing, 12, 16, 19.2 or 24 in.
  3. The species and grade of the lumber, as stamped on the board.
  4. The roof loads: live load or snow load, the dead load of the covering, and whether the ceiling is attached to the rafters.

Closer spacing allows a longer span from the same board. If a table does not give a long enough span at 24 in, try 16 in before you move to a deeper board. Both options add cost: one needs more boards, the other a deeper section. A birdsmouth cut takes depth from the rafter, and R802.7.1 limits a notch to one quarter of the depth of the board, so a 2×6 rafter cannot take a deep seat cut. The cutting guide covers that check.

Laying out the spacing on the plates

  1. Mark the first rafter at the gable end, then mark every spacing along the top plate with a tape and a square.
  2. Start from the end that must line up with a sheathing edge. If the building length is not a multiple of the spacing, the last spacing is shorter, and that is fine.
  3. Mark both sides of each rafter position, with an X on the side the rafter sits on, so the board does not end up on the wrong side of the line.
  4. Transfer the marks to the opposite plate by measuring from the same end. A tape that starts on the same end avoids the build-up of small errors.
  5. Check the first rafter pair with a level, and check the ridge height before setting the rest.

Mistakes to avoid

  • Using the slope length as the span. Tables use the horizontal projection.
  • Ignoring the ceiling attachment. Rafters with no ties behave differently, and the table reflects that.
  • Picking a size from a rule of thumb. Loads, grade and species change the answer.
  • Notching deeper than a quarter. The birdsmouth must leave enough depth.
  • Forgetting snow. Snow load can be higher than the live load the table assumes.

A worked count: a 28 ft building

Rafters run the length of the building along each side of the ridge. A 28 ft wall at 16 in on center needs 22 rafters per side: 28 × 12 ÷ 16 = 21 spaces, plus one to close the last space. That makes 44 rafters for both sides. At 24 in it is 15 per side, or 30 in total, which is 14 fewer pieces to buy, cut and nail. Add rafters at gable ends or where the plan calls for doubled members.

Wider spacing saves lumber but moves load onto each rafter and onto the roof sheathing between them. Only use 24 in where the span table for your lumber, species and load allows it.

Spacing and roof sheathing

The sheathing spans between the rafters, so its rating limits the spacing. Structural panels carry a span rating stamp such as 32/16 or 24/0. The first number is the maximum rafter spacing in inches when the panel is used for roofs, and the second is the maximum joist spacing when used for floors. Check the stamp on the panel against the spacing you plan. Thin sheathing on wide rafters sags between supports, and the shingles show it as waves over a few years.

Edge support matters too. Panels meeting between rafters often need clips or blocking, which is another reason to keep the spacing tight on a roof with heavy snow.

Rafters or trusses?

A stick-framed roof uses rafters cut on site. A truss is an engineered frame built in a plant, with webs that carry the load, so it can span farther with smaller lumber. Trusses are usually placed at 24 in on center or as the designer specifies. They are not cut or altered on site, and a truss cannot be notched or have a web removed to make attic space without the engineer's approval. If the plan shows trusses, the spacing and the bearing points are on the truss drawings and not in a rafter table.

Sources and further reading

This guide does not print span tables, because they depend on species, grade and loads. Use IRC R802.4 or the AWC calculator. Rafter tie and collar tie locations are from IRC R802.3; check the edition your authority enforces.

FAQ

What is the standard rafter spacing?

16 inches or 24 inches on center, depending on the lumber size, the span and the loads. Trusses are usually at 24 inches.

Is 24 inch rafter spacing OK?

Yes, if the lumber is sized for it. A 24 in spacing needs a deeper or stronger board than 16 in for the same span, and the sheathing must be rated for it.

How do I calculate the number of rafters?

Divide the building length by the spacing, round up and add one. A 40 ft building at 16 in has 31 rafters per side.

What is rafter span?

The horizontal distance between the supports of a rafter, measured as if looking down from above, not along the slope.

Is the span the same as the rafter length?

No. The rafter length is longer, by the pitch multiplier. A 14 ft span at 6:12 is a 15.65 ft rafter.

Do I need rafter ties?

Yes, for a conventional gable roof with a ridge board, to keep the walls from spreading. The IRC puts them in the lower third of the attic height.

Where do I find a rafter span table?

In IRC Chapter 8, Table R802.4, or use the American Wood Council's span calculator for your species, grade, spacing and loads.

Where do I find rafter span tables?

In the roof framing chapter of the IRC, and in span calculators published by the American Wood Council. Match your species, grade, spacing and load.

What is the usual spacing of rafters?

Most rafters sit 16 or 24 inches on center. Closer spacing carries more load, and the span table for your lumber sets the limit.