📚

Carpentry Guides

Hands-on rafter math, cut layout, and span-sizing references for carpenters, contractors, and DIY builders.

Rafter Length & CutsSpan & Size ChartsImperial & MetricStep-by-Step

Rafter Carpentry: The Skill Behind Every Pitched Roof

Every pitched roof—from a simple shed to a complex hip—starts with a single structural component: the rafter. Rafters are the diagonal framing members that transfer the weight of the roof decking, shingles, and live loads down to the wall plates and ultimately to the foundation. Getting rafter geometry wrong creates problems that are expensive to fix after the roof is assembled: gaps at the ridge, roof lines that don't meet the wall, rafters that don't sit properly on the wall plate, or worse, structural weakness that can lead to sagging or failure under snow load.

These guides exist to demystify the math behind rafter layout. We don't just give you numbers—we explain why the Pythagorean theorem works for every roof, how to convert between X/12 pitch and degrees, what the HAP rule protects against, and how span charts are derived from lumber species, spacing, and load calculations. Whether you're a homeowner tackling your first garage roof, a framer looking to level up your precision, or an apprentice carpenter learning the trade, these guides are designed to be your reliable reference on the job site.

Each guide includes interactive calculators you can use right on the page, along with illustrated SVG diagrams, cut lists, and tables. If you just need a quick answer, jump to the Rafter Cut Layout diagram below or skip to the glossary at the end. If you want a complete walkthrough, start with the Featured Guides section below.

Rafter Cut LayoutEvery cut marked on the blank before sawingPlumb CutRidge CutSeat CutBird's MouthTotal Rafter Length

Featured Rafter Guides

Each guide focuses on a specific roofing scenario or calculation method — from hip and valley rafters to shed roofs, A-frames, and construction calculator workflows. Every guide embeds interactive calculators, SVG diagrams, and links back to the main rafter calculator on the homepage.

📐

How to Calculate Rafter Length and Cuts

Hands-on how-to manual for calculating rafter length and marking cuts on lumber.

Read guide →
📏

Rafter Span and Size Guide

Building code reference for rafter span limits and size selection.

Read guide →
🏠

Hip, Valley & Jack Rafter Guide

Complete guide to hip rafter, valley rafter, and jack rafter calculations for hip roofs and intersecting roof geometries.

Read guide →
🛖

Shed Roof Rafter Calculator

Step-by-step guide to calculating rafter length, angles, and cuts for shed roofs and lean-to roofs.

Read guide →
🧮

Rafter Length with Construction Calculator

Pro guide to using construction calculators for rafter length, angles, and cut calculations on the job site.

Read guide →
🏡

A-Frame Rafter Calculator

Complete guide to A-frame rafter calculation, floor framing, and structural geometry for A-frame house construction.

Read guide →
📐

Rafter Square & Framing Square Guide

Complete guide to using rafter squares and framing squares for manual rafter layout, including step-off methods and angle tables.

Read guide →
🪚

Rafter Birdsmouth & Seat Cut Guide

Step-by-step guide to calculating the rafter birdsmouth notch: seat cut length, HAP, heel and plumb cut angles, and notch layout.

Read guide →
🌍

Metric Rafter Calculator Guide

Complete guide to calculating rafter length, angles, and sizes in metric units for UK, Australia, and European builders.

Read guide →
🪓

What Is a Rafter? Definition, Anatomy & Types

Definition and anatomy of a roof rafter — plumb cut, seat cut, birdsmouth, ridge cut, and tail — plus Common, Hip, Valley, Jack, and Lean-to rafter types and sizing notation.

Read guide →
🛰️

How to Measure a Roof

Complete roof measurement methodology: tape and pitch multiplier, ground estimates, satellite and app tools, metal and shingle specifics, and common errors.

Read guide →

What You'll Master in These Guides

These guides break rafter carpentry into six core skill areas. Each skill builds on the one before it, creating a logical learning path that takes you from raw lumber to a precisely-cut rafter ready for installation.

📐

The Pythagorean Theorem in Roofing

Every rafter is the hypotenuse of a right triangle. The horizontal leg is the run, the vertical leg is the rise, and the rafter itself is the diagonal connecting them. The formula A² + B² = C² gives you the raw rafter line length without surveying tools or laser levels. This is the single most important equation in residential carpentry and appears in every cut list, span chart, and building code appendix across North America.

✂️

Plumb Cuts and Seat Cuts

The top of every rafter meets the ridge at a plumb cut—a vertical saw kerf that follows the rafter's pitch angle. The bottom of every rafter seats on the wall plate at a seat cut—a horizontal notch parallel to the ground. Both cuts are complementary: the plumb cut angle equals 90° minus the pitch, and the seat cut angle equals the pitch itself. Mastering these two angles lets you cut any rafter on a circular saw or table saw without a protractor.

🐦

The Birdsmouth Joint

Where the rafter meets the wall plate, a birdsmouth notch creates the critical seating surface that keeps the rafter from sliding off the wall. The notch is defined by two measurements: the seat cut (horizontal) and the plumb heel cut (vertical). Building codes enforce the Height Above Plate (HAP) rule, which limits the notch depth to one-third of the rafter's nominal depth to prevent shear failure. Skipping this detail or over-cutting the notch is one of the most dangerous framing mistakes on site.

📏

Ridge Reduction

When two rafter pairs meet at the ridge, the interior faces need a small deduction so the peak aligns perfectly without gapping. This ridge reduction equals half the ridge board thickness divided by the cosine of the pitch angle. For a typical 1.5-inch ridge board at 6/12 pitch, the reduction works out to about 0.85 inches per rafter. Carpenters who forget this step end up with rafter pairs that don't meet at the peak, requiring costly field trimming after the whole roof is raised.

🌡️

Pitch Conversion: X/12 to Degrees

Pitch can be expressed two ways: as X-in-12 (rise in inches per foot of horizontal run) or in degrees. The conversion is straightforward: degrees = arctangent(X/12). A 4/12 pitch is 18.43°, 6/12 is 26.57°, and 12/12 (a 45° roof) is exactly 45.00°. Most carpenters memorize the common pitches (4/12, 6/12, 8/12, 10/12, 12/12) and keep a conversion table in their tool belt for less common pitches like 5/12 or 7/12.

🌲

Nominal vs. Actual Lumber Sizes

A "2x4" is not actually 2 inches by 4 inches. Nominal dimensions describe the rough size before planing; the actual finished dimensions are smaller by about ¼ inch per side. A 2x4 is actually 1.5" × 3.5", a 2x6 is 1.5" × 5.5", a 2x8 is 1.5" × 7.25", a 2x10 is 1.5" × 9.25", and a 2x12 is 1.5" × 11.25". These real dimensions are critical for calculating HAP limits, notch depths, and span capacities. Using nominal dimensions in your calculations will produce rafters that don't fit.

Actual Lumber DimensionsNominal vs. actual cross-sections (inches)Depth →2x41.5 × 3.52x61.5 × 5.52x81.5 × 7.252x101.5 × 9.252x121.5 × 11.25

Learning Pathways

Rafter work compounds: cut geometry only makes sense once the length math is solid, and span sizing only matters once you know which loads the roof will carry. Follow the path that matches where you are in the build.

🌱

Beginner

Start with the geometry behind every rafter cut

  • Rafter terminology (run, rise, span)
  • The Pythagorean length formula
  • Pitch in X/12 and degrees
🔨

Intermediate

Lay out cuts, handle non-standard roofs, and master construction calculators

  • Plumb & seat cut angles
  • Hip, valley, and shed rafter geometry
  • Construction calculator rafter key
📐

Advanced

Size rafters by code, handle A-frames, and troubleshoot failures

  • Span charts by species & spacing
  • A-frame floor and rafter sizing
  • Construction calculator error diagnosis

Pro Tips From the Field

These tips come from master carpenters with decades of experience on residential framing jobs. They're the details that separate a professional cut list from an amateur one—the tricks that save you material, time, and frustration on site.

🎯

Measure Twice, Cut Once (Actually: Measure Three Times)

Professional carpenters measure the span twice (left wall to right wall), verify the ridge board thickness, and check the pitch before making a single cut. On a typical 24-foot gable roof, a ⅛-inch measurement error translates to a ¼-inch gap at the ridge when both rafter pairs are cut from the same incorrect length.

🔍

Dry-Fit Before Nailing

After cutting a rafter, always dry-fit it in place before nailing. Check that the plumb cut seats tightly against the ridge board and that the birdsmouth notch sits fully on the wall plate with no gaps. If a rafter doesn't fit, it's cheaper to recut one rafter than to pry apart a nailed connection and patch the gap.

📐

Mark All Rafters Before Cutting Any

Lay out all rafters on sawhorses, mark each one with a pencil, and verify the marks form a consistent pattern before making the first cut. This catches mistakes early: if you marked a rafter with the wrong pitch or length, you'll see it immediately when the cut list doesn't match the pattern instead of discovering it after the cut.

🧱

Account for Wall Plate Height

The wall plate sits on top of the top plate and header. The rafter's total rise must account for this: rise = total roof height minus wall plate height. Forgetting this means the finished ridge ends up lower than your plans call for, forcing you to add blocking or shims at the ridge.

🌬️

Factor in Overhang for Protection

Eave overhangs (typically 12–24 inches) shed water away from the foundation and walls, protecting siding and preventing water infiltration. The overhang must be converted to rafter length by dividing by cos(pitch): a 12-inch overhang at 6/12 pitch adds about 13.4 inches to the rafter line length. Skip this calculation and your rafter list will be too short.

🔢

Always Add ¼ Inch to Every Cut

Circular saw blades have a kerf of about ⅛ inch. If you set up a cut and the blade wobbles slightly (which all blades do), you lose material. Adding ¼ inch to every rafter length gives you material to trim if needed, eliminating the scenario where a rafter ends up 1/16 inch too short after your final pass through the saw.

📦

Cut All Rafters on One Side First

Cut and test one complete side of the roof (one rafter pair plus the ridge connection) before cutting the other side. This lets you discover systematic errors (wrong pitch, wrong length) early, when you only need to fix a few rafters instead of half the roof.

Common Rafter Mistakes to Avoid

Even experienced carpenters make these errors from time to time. The difference between a successful project and a frustrating one is knowing what to watch for. Avoiding these five mistakes will save you from rework, material waste, and potential structural issues.

1

Confusing Span with Run

The span is the total horizontal distance across the building, measured outside face to outside face of the two wall plates. The run is the horizontal distance from one wall's outside face to the center of the ridge. Run equals (span minus ridge board thickness) divided by two. Plugging the span directly into the rafter formula instead of the run produces rafters that are ½ inch to 1 inch too long per side, causing them to gap at the ridge or bow under compression.

2

Over-Cutting the Birdsmouth Notch

The birdsmouth notch should only be deep enough to form a solid seat on the wall plate—no more. The HAP (Height Above Plate) rule, enforced by most building codes, limits the notch depth to one-third of the rafter's nominal depth. A 2x6 rafter should have a maximum birdsmouth depth of 1⅞ inches. Cutting deeper than this weakens the rafter at its most critical shear point and has caused roof failures under snow load.

3

Ignoring Ridge Board Thickness

Ridge boards are typically 1x6 or 1x8, which are ¾ inch thick (not 1 inch). The true ridge board thickness matters because it halves to determine the ridge reduction per rafter. A common mistake is assuming a 1-inch ridge board when it's actually ¾ inch, adding ⅜ inch of unnecessary material to every rafter pair and creating a visible ridge gap when the rafters meet.

4

Using Nominal Dimensions for Span Calculations

Span charts in building codes use actual lumber dimensions, not nominal ones. A 2x6 in the code is 1.5 × 5.5 inches, not 2 × 6 inches. If you size rafters using nominal dimensions, you'll pick rafters that are undersized for the actual bending loads they need to resist. Always verify you're looking up the correct actual dimension when selecting rafters by span.

5

Forgetting to Account for Dead and Live Loads

Roofs carry dead load (weight of the rafter, sheathing, shingles, insulation) and live load (snow, ice, rain, foot traffic on the roof). In cold climates, snow load alone can reach 30–50 pounds per square foot. Span charts assume a specific load combination—typically 20 psf live / 10 psf dead. If your roof will carry higher loads (e.g., heavy snow regions), you need to reduce the allowable span or upgrade to a larger rafter size.

SpanRunRisePitchBird's MouthRidgeOverhang

Diagram: Span = total horizontal distance. Run = Span minus Ridge Board thickness, divided by 2. Rise = Run × (Pitch ÷ 12).

Glossary of Rafter Terms

Rafter carpentry has its own vocabulary. Use this glossary as a quick reference when you encounter an unfamiliar term on the job or in a plan set. Understanding these terms is essential for communicating clearly with other trades and interpreting building code tables correctly.

Span

Total horizontal distance across the building, measured from outside face to outside face of the two wall plates. Span is the raw input dimension that the run is derived from.

Run

Horizontal distance from the outside face of one wall plate to the centerline of the ridge. Run = (Span − Ridge Board Thickness) ÷ 2. This is the value actually used in the rafter length formula.

Rise

Vertical distance from the top of the wall plate to the underside of the ridge. Rise = Run × (Pitch ÷ 12). It's the second leg of the right triangle that defines rafter geometry.

Pitch

Slope of the roof, expressed as X-in-12 (inches of rise per foot of run) or in degrees. A 6/12 pitch (26.57°) is the most common residential roof pitch in North America.

Plumb Cut

The vertical saw cut at the top of the rafter that meets the ridge board. Its angle equals 90° minus the pitch angle (complementary angle).

Seat Cut

The horizontal notch at the bottom of the rafter that seats on the wall plate. Its angle equals the pitch angle. Combined with the plumb heel cut, it forms the birdsmouth joint.

Birdsmouth

The notch at the bottom of the rafter formed by the seat cut and plumb heel cut. The HAP rule limits its depth to one-third of the rafter's nominal depth to prevent shear failure.

HAP

Height Above Plate. The vertical distance from the top of the wall plate to the bottom of the rafter stock. Building codes limit the birdsmouth notch depth to one-third of the rafter depth, measured from HAP upward.

Ridge Board

A horizontal board (typically 1x6 or 1x8, actual ¾ inch thick) that runs along the ridge line, connecting the tops of all rafter pairs and stiffening the peak of the roof.

Ridge Reduction

The amount each rafter's plumb setback must be reduced to account for the ridge board's thickness. Equals half the ridge board thickness divided by cos(pitch).

Overhang

The horizontal projection of the rafter beyond the outside wall, forming the eave. Must be converted to rafter length by dividing by cos(pitch) before adding to the rafter line length.

Rafter Line Length

The raw diagonal distance from the wall plate's outside face to the centerline of the ridge, derived from the Pythagorean theorem: √(Run² + Rise²).

Plumb Setback

The horizontal distance that must be added to the rafter length to account for the plumb cut at the ridge. Equals rafter depth × tan(pitch).

Total Rafter Length

Rafter line length plus plumb setback, minus ridge reduction. The final cut-to length marked on the lumber before sawing.

Nominal Size

The rough, pre-planed dimension of lumber (e.g., 2x4). After planing, the actual size is smaller: 1.5×3.5 inches for a 2x4.

Actual Size

The finished, planed dimension of lumber used in span calculations and notch depth limits. Always verify actual dimensions before cutting.

Where Rafter Math Gets Used

The same length formula and cut angles appear across every common-roof shape. Recognizing the pattern lets you reuse a single calculator and cut list across many project types.

🏠

Gable Roof

Common-rafter pairs spanning wall plate to ridge

🛖

Shed & Lean-to

Single-slope rafters with a birdsmouth at the wall

🔺

Hip & Valley

Diagonal rafters for hip roofs and intersecting roofs

🏡

A-Frame

Rafters that double as floor joists and wall structure

➕

Room Addition

Tying new rafters into an existing ridge

🚗

Garage

Wide-span rafters needing deeper members

🪟

Dormer

Compound-cut rafters framing a roof opening

🧮

Construction Calculator

Using the rafter key on job-site calculators

Frequently Asked Questions

What do these rafter guides cover?▼

The guides cover two complementary angles: a hands-on how-to manual for calculating rafter length and marking every cut on the lumber, and a building-code reference for choosing rafter size by span, species, and spacing. Together they take you from measuring the building to a verified cut list.

Which guide should I start with?▼

If you already know your roof span and need to pick a lumber size, start with the Rafter Span and Size Guide. If you have the size and need to lay out and cut the rafters, start with How to Calculate Rafter Length and Cuts. Both link to each other and to the main calculator on the homepage.

Are the span values in these guides building code?▼

No. The span values are educational reference numbers in the style of IRC tables to illustrate how species, size, and spacing interact. They are not prescriptive engineering guidance and must be verified against your adopted local building code and a licensed structural engineer before construction.

Can I use the main calculator for both imperial and metric units?▼

Yes. The main rafter calculator on the homepage supports imperial (feet-inches-fraction) and metric (mm/cm/m) units with automatic conversion, nominal lumber presets, and PDF export of the cut list.

Why is there a difference between span and run?▼

Span is the total outside-to-outside distance across the building. Run is half that (plus or minus ridge board thickness), because each rafter only covers one side of the ridge. The ridge board itself takes up space at the peak, so run = (span − ridge thickness) ÷ 2. Using span instead of run in your calculations is the single most common rafter layout mistake.

How precise do my cuts need to be?▼

Within 1/16 of an inch for most residential roofs. A circular saw with a sharp blade can achieve this if you use a guide fence. For high-precision work (steep pitches, exposed rafter tails), many carpenters switch to a table saw with a crosscut sled or miter gauge for consistent cuts across all rafters.

Can I use these guides for hip roofs or valley rafters?▼

The core geometry (Pythagorean length, plumb/seat angles, ridge reduction) applies to hip and valley rafters as well, but the calculations involve compound angles that go beyond the scope of these guides. For hip roofs, you'll need to apply the same principles to angled plan view dimensions and add hip roof-specific offsets.

What lumber species should I use for rafters?▼

The most common species for rafters in North America are Douglas Fir-Larch (strong, widely available), Southern Pine (high strength for the price, common in southern regions), and Spruce-Pine-Fir (good value, commonly used for interior rafters). Your local lumberyard carries the species most appropriate for your region's climate and load requirements.

How does rafter spacing affect the required size?▼

Rafters spaced 24 inches on center need to span significantly more load per rafter than those spaced 16 inches on center. A 2x6 at 16 inches spacing spans about 12 feet, but drops to about 10 feet at 24 inches spacing. Spacing is a critical variable in span selection that many DIYers underestimate.

Putting It All Together

Rafter carpentry is equal parts geometry, craftsmanship, and attention to detail. The Pythagorean theorem gives you the length, the pitch gives you the angles, and the span charts tell you what size lumber to buy. But the real skill lies in combining these elements into a coherent system: measuring the span correctly, computing the run (not the span!), accounting for the ridge board, converting the overhang, and laying out each cut with precision.

The guides on this page walk you through each of these steps with worked examples, interactive calculators, and illustrated diagrams. Bookmark this page and keep it open on your next framing project. When you're on the roof with a circular saw and a pencil, these are the references you'll reach for to make sure every cut is right the first time.

If you want to skip the manual math entirely, head back to the homepage and use our free rafter calculator. It handles every step automatically—length, angles, birdsmouth depth, ridge reduction, and PDF cut list export—in both imperial and metric units. But even if you use the calculator, understanding the math behind it makes you a better carpenter who can spot errors and make informed decisions on the job site.

Main Rafter Calculator

🧮

Open Main Rafter Calculator

Length, plumb/seat angles, birdsmouth depth, ridge reduction, and PDF export — all in one tool on the homepage.