Every roof starts as a layout problem. Before a single board is cut, the framer decides how far apart the rafters will sit, because that one decision ripples through the whole job: how many boards to buy, how much weight the roof can carry, where the plywood sheathing lands, and how many hours the framing takes.
Most residential roofs in North America use 16-inch or 24-inch on-center spacing, with 19.2-inch spacing on engineered jobs. Picking the right spacing is a trade-off between strength, cost, and code. Too wide and the roof sags or fails inspection; too tight and you waste lumber and labor.
What “On-Center” Spacing Means
On-center, written O.C., is the framing industry’s way of measuring spacing: from the center of one member to the center of the next, not edge to edge. That matters because lumber is never a perfect nominal size — a 2×6 is actually 1.5 by 5.5 inches — and edge-to-edge measuring would let tiny variations stack up until the last rafter misses its mark.
On a 16-inch on-center layout, you mark 16, 32, 48, 64 inches from the starting end, each mark the centerline of a rafter. Plywood sheathing comes in 4-by-8-foot sheets precisely so its edges land on framing at these intervals: 48 inches is three bays at 16 inches and two bays at 24 inches.
Why Framers Mark an X, Not Just a Line
A bare line shows where the center is but not which side the rafter sits on. Framers mark the centerline, then draw an X on the side where the rafter goes, so anyone on the crew can set rafters without asking. It sounds fussy until you have twenty rafters to stand and two people working opposite ends of the ridge.
Standard Rafter Spacings: 12, 16, 19.2, and 24 Inches
Four spacings cover nearly every residential roof. Each one changes your rafter count, your lumber bill, and the loads your roof can carry. Here is how to think about each before you run the calculator.
12 Inches On-Center
The tightest common spacing, used where loads are heavy or spans push the limits of the lumber: tile and slate roofs, high-snow regions, short rafters carrying extra weight. You use roughly twice as many rafters as 24-inch spacing, so costs jump — but the deck becomes extremely stiff and span tables allow their longest spans here.
16 Inches On-Center
The default residential spacing and the safest choice when you are unsure. Wall studs are usually 16 inches on-center too, so rafters can stack directly over studs for a clean load path. Standard batts come 15 inches wide to fit these bays. Most span tables print 16-inch spacing as the headline case, and every inspector knows it.
19.2 Inches On-Center
The engineer’s spacing. A 96-inch sheet of plywood divides into exactly five 19.2-inch bays, so sheathing edges always land on a rafter with zero waste. It uses 20 percent less framing than 16-inch spacing. You will see it on production housing and engineered roof jobs with a professional’s sign-off.
24 Inches On-Center
The economical spacing: fewer rafters, less labor, lower material cost. Span tables permit it for most common lumber, but the sheathing must be thicker — usually 5/8 inch minimum for shingles — because it spans a wider gap. In heavy snow country, 24-inch spacing often forces you up a lumber size, erasing the savings.
Why 19.2-Inch Spacing Exists
The number looks like a mistake until you do the division: 96 divided by 5 is 19.2, so five equal bays fill a standard 8-foot sheet of plywood exactly. On a 16-inch layout every third sheet edge lands on a rafter; on 19.2, every single sheet edge does.
Your tape helps: most quality tapes print a small black diamond at 19.2-inch intervals for this layout. It only works on engineered designs, because prescriptive code span tables list only the standard spacings. If an engineer specs 19.2, follow the drawings; if you are building prescriptively, stick with 12, 16, or 24.
Rafter Spacing vs. Load Capacity and Span
Spacing and span trade against each other. Every rafter carries the strip of roof directly above it — the tributary area — equal to its spacing times its span. Widen spacing from 16 to 24 inches and each rafter carries 50 percent more load, so the span must shrink or the lumber must grow. This is the relationship behind every span table.
How Snow, Dead Load, and Live Load Enter the Math
Span tables sort loads into three buckets. Dead load is the roof itself — framing, sheathing, shingles or tile — typically 10 to 20 pounds per square foot. Live load is temporary weight like workers and wind, usually 20 psf. Snow load is the regional variable, from 20 psf in mild climates to 70 psf or more in the mountains. Heavier loads mean tighter spacing, deeper lumber, or both.
Reading a Span Table in Plain English
Find your lumber species and grade, rafter size, spacing, and snow load, then read the maximum clear span. If the table says a 2×8 at 16 inches on-center spans 15 feet 10 inches under your loads, a 16-foot span fails there — drop to 12 inches on-center or step up to a 2×10.
Marking the Layout With a Tape and Chalk Line
Good layout separates a roof that goes together smoothly from one where the sheathing never fits. Work from one end of the building and measure every mark from that same end — never mark rafter to rafter, because small errors compound. Here is the field procedure:
- Hook your tape on the outside face of the gable-end framing and pull it along the ridge board or wall plate.
- Mark each on-center position from the calculator — 0, 16, 32, 48, and so on — with a sharp carpenter’s pencil.
- Draw an X on the side of each mark where the rafter will sit.
- Snap a chalk line down the ridge or plate through your marks so the layout stays visible.
- Double-check the last bay: it should equal your calculated actual spacing, not the nominal one.
The 16-Inch Marks Printed on Your Tape
A 25-foot tape prints the 16-inch multiples in red, with black diamonds every 19.2 inches — so you can lay out a roof without doing arithmetic on a ladder. They only work for nominal spacing, though: when the calculator gives a true spacing of 15.6 inches, mark the calculated positions, not the red numbers.
Handling Hips, Valleys, and Gable Ends
A simple gable roof is one straight layout from end to end. Hips, valleys, and gable overhangs break that rhythm, and each has a layout convention. Get these right and the roof planes meet cleanly.
Hip and Valley Rafters
Hip rafters run at 45 degrees from the building corners to the ridge; valley rafters run from inside corners up to the ridge. They are heavier members — often a size up from the commons — and they interrupt the regular layout. Lay out common rafters first with the calculator, then position hips and valleys at the corners and fill between with jacks.
Gable-End Rafters and Overhangs
At a gable end, the last common rafter often sits in from the end wall to form a ladder for the overhang, typically 12 to 24 inches. The calculator’s mark at the full length is your reference; lay the gable framing out from that point. Keep the overhang on the same spacing rhythm so sheathing and fascia stay consistent.
Jack Rafters
Jacks are the short rafters running from a hip or valley to the ridge or plate, spaced on-center like commons and measured along the hip or valley. Their lengths change with every bay, so cut the longest first and step down — and number each one, because a jack cut for the wrong bay is scrap.
Spacing for Different Roofing Materials
Roofing material does not change the on-center math, but it changes the loads and deck requirements the spacing must satisfy. A roof framed for shingles may need tighter spacing or thicker sheathing under tile.
Asphalt Shingles
The standard case. Shingles need solid sheathing — typically 7/16-inch OSB at 16 inches on-center or 5/8-inch at 24 inches on-center. These are the assumptions baked into most span tables, so either combination passes inspection anywhere.
Metal Roofing
Standing-seam metal on solid decking follows the same rules as shingles. Exposed-fastener panels on purlins differ: purlins can span 24 inches or more between supports, but the rafters beneath still follow span tables for the total load. Never widen rafter spacing just because the panel spans purlins.
Tile, Slate, and Other Heavy Roofs
Clay tile and slate weigh 10 to 15 pounds per square foot — roughly triple asphalt shingles. That dead load usually forces 12-inch or 16-inch spacing and deeper rafters. These roofs are almost always engineered, so the spacing on the drawings rules; the calculator checks counts and layout, it does not override the engineer.
Code Considerations Before You Cut
The International Residential Code includes prescriptive span tables that let you frame a roof without an engineer — as long as you stay inside their limits: standard lumber sizes, standard spacings, documented loads. Step outside any of those and you need an engineer’s stamp.
What the IRC Span Tables Cover
The tables cover common species and grades of dimension lumber at 12, 16, and 24 inches on-center across a range of snow loads, assuming rafters are laterally supported and tied at ridge and plate. Note what is missing: 19.2-inch spacing, because it is an engineered value, not a prescriptive one.
When to Call an Engineer
Call one when your span exceeds the tables, when you want non-standard spacing, when the roof carries unusual loads like solar arrays or rooftop decks, or when hips, valleys, and long ridges interact beyond what the tables address. An hour of engineering costs less than a sagging ridge — and inspectors accept stamped drawings without argument.
Worked Example: 24-Foot Roof at 16 Inches On-Center
Take a 24-foot gable roof at 16 inches on-center. Convert to inches: 24 times 12 is 288. Divide by the spacing: 288 divided by 16 is exactly 18 bays. Add one rafter: 19 total. The true spacing is 288 divided by 18 — exactly 16 inches, a clean layout where every mark lands on a whole inch.
Try 19.2-inch spacing on the same roof: 288 divided by 19.2 is exactly 15 bays, plus one is 16 rafters at a true 19.2 inches. Now a 26-foot roof at 16 inches on-center: 312 divided by 16 is 19.5, which rounds up to 20 bays and 21 rafters, with a true spacing of 15.6 inches.
Rafter Spacing FAQs
What does 16 inches on-center mean for rafters?
It means the distance from the center of one rafter to the center of the next is 16 inches. On-center is measured center to center, not edge to edge, so the layout stays consistent regardless of lumber width. Mark your first rafter center at the starting end, then mark every 16 inches after that.
How do I calculate how many rafters I need?
Convert your roof length to inches, divide by your on-center spacing, round up, and add one. For a 24-foot roof at 16 inches on-center: 288 divided by 16 is 18, plus one, for 19 rafters total. The calculator above runs the same formula and gives you the exact layout marks too.
Is 24-inch rafter spacing too wide for a house?
Not necessarily. Twenty-four-inch spacing is standard on many residential roofs and is explicitly allowed by span tables for common lumber sizes, especially under lighter loads. It works best with thicker sheathing, usually 5/8 inch or more, so the deck stays stiff between rafters. Span, lumber grade, and snow load decide.
What is the standard rafter spacing for residential roofs?
Sixteen inches on-center is the most common residential spacing, with 24 inches on-center a close second. Twelve-inch spacing suits heavy loads and tile roofs, and 19.2-inch spacing appears on engineered jobs. When in doubt, 16 inches on-center satisfies nearly every inspector and span table.
Why do some framers use 19.2-inch spacing?
Because 19.2 inches divides a 4-foot sheet of plywood into exactly five equal bays. Five bays at 19.2 inches equal 96 inches, so every sheet edge lands on a rafter with no ripping and no waste. It uses 20 percent fewer rafters than 16-inch spacing, saving real lumber on large engineered jobs.
Can I use 2×4 rafters instead of 2×6 rafters?
You can on small structures like sheds and porches with short spans, but most house roofs need 2×6 or larger. A 2×4 rafter at 16 inches on-center spans only about 7 to 9 feet depending on species, grade, and snow load, while a 2×6 of the same material spans roughly 11 to 14 feet. Check your span table before downsizing.
How far apart should rafters be for a metal roof?
Metal roofing uses the same 16-inch and 24-inch rafter spacings as shingles, because panels fasten to the sheathing or purlins rather than spanning rafter to rafter. Standing-seam systems on solid decking follow standard framing rules, and the rafters beneath purlin-mounted panels still follow the span tables.
Should rafters line up with the wall studs below?
Ideally yes. Aligning each rafter over a stud creates a direct load path from roof to foundation, which engineers and some codes prefer. In practice, many roofs use 24-inch rafter spacing over 16-inch stud spacing, and the doubled top plate spreads the load well enough to satisfy code. It is best practice, not always a requirement.
What is the maximum span for a 2×6 rafter at 16 inches on-center?
It depends on species, grade, and snow load, but a common benchmark is about 13 to 14 feet for No. 2 Douglas fir or southern pine under a 20-pound snow load. Under heavy 50-pound snow loads, the same rafter may be limited to roughly 10 feet. Confirm with the span table your local code adopts, not a rule of thumb.
How do you lay out rafter marks from the gable end?
Hook your tape on the outside of the gable-end framing, pull along the ridge board or top plate, and mark each on-center position the calculator gives you. Most tapes have black diamonds at 19.2 inches and red marks at 16-inch multiples to speed this up. Mark an X where each rafter sits so the crew reads the layout the same way.
Should the first rafter sit at 0 inches or 3/4 of an inch?
Either method works as long as you stay consistent. Starting at 0 inches puts the first rafter’s center exactly on the end, which keeps the math clean and matches this calculator’s output. Some framers start 3/4 inch in so the first bay matches the rest when sheathing overhangs the gable. Pick one method for the whole roof.
What rafter spacing should I use for a shed roof?
Most sheds use 16-inch or 24-inch on-center spacing with 2×4 or 2×6 rafters, depending on span and snow load. Small sheds under 8 feet of span are often fine at 24 inches on-center with 2x4s. If you plan to shingle it and see real snow, step up to 16 inches on-center or 2×6 rafters for stiffness you can feel.
Can rafter spacing change across the same roof?
It can, but it complicates layout and sheathing, so framers avoid it when possible. A common exception is tightening spacing over a wide opening or under a heavy concentrated load like a chimney chase. If you must change spacing mid-roof, re-run the layout from the transition point and verify sheathing edges still land on framing.
Do hip and valley rafters count in the spacing layout?
Yes, they are part of the rafter count, but they are laid out differently. Common rafters are marked on-center along the ridge, while hip and valley rafters run at 45 degrees and interrupt the regular pattern, with jack rafters filling between. Lay out the commons first with the calculator, then fit hips, valleys, and jacks to the intersections.
How does rafter spacing affect insulation?
Wider spacing leaves wider rafter bays, which hold more insulation per bay but also more thermal bridging through the wood itself. Sixteen-inch spacing fits standard 15-inch batts snugly, while 24-inch spacing fits 23-inch batts. Match your batt width to your spacing so nothing gets compressed or left gappy.