Quick checks
Check run, rise, and overhang before cutting lumber
Roof framing
Calculate rafter length, cut angles, birdsmouth dimensions, and material needs for common roof layouts.
Quick tools
Set units once. Reopen recent results anytime.
Scenario presets
Use a garage, shed, hip-roof, or barn-style preset.
Quick checks
Check run, rise, and overhang before cutting lumber
Quick checks
Separate geometry from final structural sizing
Quick checks
Use roof type and spacing to narrow the framing plan
Framing setup
Use the calculator to solve length and angles. Then verify member size with span tables.
A small span mistake compounds into wrong rafter length, birdsmouth placement, and sheathing layout.
The calculator can solve length and angles quickly, but final member size still depends on span tables, load, and code.
Gable, shed, hip, and ridge-beam layouts create different cut logic and different follow-up checks for ties or supports.
Moving from 16-inch to 24-inch spacing changes sheathing, load path, and the acceptable member range.
Snow country or heavy roofing systems can invalidate a member size that looks fine on a generic table.
Birdsmouth depth, bearing, and ridge thickness all need room in the board before the geometry is truly buildable.
Fast planning rules
Check rafter length, spacing, and rough member size before you order lumber.
24-ft span at 6/12 pitch
A common rafter is about 13.4 feet long before you add overhang or ridge adjustments.
Start with half the building span as the run. Then convert pitch into rise.
Most common spacing
16 inches on center is the standard residential starting point, while 24 inches on center is usually reserved for lighter loads or engineered layouts.
Snow load, sheathing, roofing weight, and code can change the final spacing.
Typical lumber size choice
Short spans may work with 2x6 or 2x8 rafters, but longer spans and heavier roof loads often push projects into 2x10, 2x12, or engineered lumber.
Use the calculator for planning. Confirm the final size with span tables or an engineer.
Use this calculator to estimate rafter length, cut angles, and framing quantity. It works best after you confirm span, pitch, and overhang.
Start with these key terms:
Different roof styles require different framing approaches:
Measure carefully - accurate dimensions are critical for proper fit:
Roof pitch is expressed as a ratio of rise to run. For example, a 6:12 pitch rises 6 inches for every 12 inches of horizontal run.
| Pitch | Angle | Description |
|---|---|---|
| 2:12 - 3:12 | 9° - 14° | Low slope - requires special roofing (membrane or built-up) |
| 4:12 - 6:12 | 18° - 26° | Standard residential - most common, works with shingles |
| 7:12 - 9:12 | 30° - 37° | Medium steep - good water runoff, harder to walk on |
| 10:12 - 12:12 | 40° - 45° | Steep - excellent for snow, requires safety equipment |
| 13:12+ | 47°+ | Very steep - specialty construction, dramatic appearance |
Every rafter requires three basic cuts to fit properly:
The plumb cut is made at the top of the rafter where it meets the ridge board. This cut is vertical (plumb) when the rafter is in position. The angle is determined by the roof pitch.
How to mark: Set your framing square with the pitch (e.g., 6 on the tongue, 12 on the blade) and mark along the tongue for the plumb cut.
The birdsmouth is a notch cut where the rafter sits on the wall's top plate. It consists of:
Rule of thumb: The seat cut depth should not exceed 1/3 of the rafter depth to maintain structural integrity. For a 2x6 rafter (5.5" actual), maximum seat cut is about 1.8".
The tail cut is made at the end of the overhang where the fascia board attaches. This is typically a plumb cut, but can be modified for different fascia styles.
Rafter size depends on span, spacing, species, grade, and loads. Here are general guidelines for Douglas Fir #2 with 16" spacing and normal residential loads:
| Rafter Size | Maximum Span | Best Use |
|---|---|---|
| 2x4 | 8-10 feet | Small sheds, porches |
| 2x6 | 12-14 feet | Most residential roofs |
| 2x8 | 16-18 feet | Wider spans, heavier loads |
| 2x10 | 20-22 feet | Large spans |
| 2x12 | 24+ feet | Maximum residential spans |
Important: Always verify with local building codes and span tables. Snow loads, wind loads, and lumber species significantly affect allowable spans.
Most asphalt shingles require a minimum 4:12 pitch. Lower pitches (2:12 to 4:12) may require ice and water shield underlayment. Below 2:12, you'll need low-slope roofing like modified bitumen, EPDM, or TPO.
For our review process, corrections policy, and monetization disclosure, see the Editorial Standards page.
Framing FAQ
These questions help visitors separate framing geometry from structural sizing so the calculator does not get mistaken for a generic span-table shortcut.
Rafter length is calculated using the Pythagorean theorem: Length = √(Run² + Rise²). For a 24-foot building with 6:12 pitch: Run = 12 feet, Rise = 6 feet, Length = √(144 + 36) = 13.4 feet. Add overhang for total length.
16 inches on center is most common and provides good strength with standard sheathing. 24 inches on center is acceptable for light loads with proper sheathing. 12 inches on center is used for heavy snow areas or tile roofs.
A ridge board is non-structural and just keeps rafters aligned - requires collar ties or ceiling joists. A ridge beam is structural and carries the roof load - required for cathedral ceilings without ceiling joists, needs posts at each end.
Hip rafters run at 45° from corners to the ridge. They're longer than common rafters and require compound cuts. Hip length = √(Run² + Rise² + Run²) × 1.414. Hip roofs also require jack rafters running from wall to hip rafter.
Most asphalt shingles require minimum 4:12 pitch. Lower pitches (2:12 to 4:12) may require ice and water shield underlayment. Below 2:12, you'll need low-slope roofing like modified bitumen, EPDM, or TPO.