Framing
Rafter Length and Cuts: The Complete Layout and Calculation Guide
Reviewed by the My Roof Pitch editorial team · Updated
Common rafter length equals run divided by the cosine of the roof angle (or run x the length-per-foot-of-run factor for the pitch), minus half the ridge thickness measured along the slope, plus the tail overhang measured along the slope. Cuts are then laid out at the roof angle: a plumb cut at the ridge, a birdsmouth (seat + heel) at the wall plate, and a plumb tail cut at the eave.
Key takeaways
- Rafter length = run / cos(angle), where angle = arctan(rise/run); this is the line length along the top edge of the rafter.
- Always subtract half the ridge board thickness (measured along the slope, not horizontally) before cutting the ridge plumb cut.
- A birdsmouth removes a triangular notch: the seat cut is horizontal and bears on the plate, the heel cut is plumb; combined depth may not exceed 1/3 the rafter's actual depth per IRC R802.7.
- Overhang length is also measured along the slope, using the same rise/run ratio applied to the horizontal overhang distance.
- The framing square step-off method reproduces the same triangle physically, once per foot of run, and is still the fastest way to mark a rafter without a calculator.
- Order stock 2 feet longer than your calculated true length whenever practical; short-cutting a ridge or tail almost always costs more than the extra lumber.
Line length vs. true length: the distinction that causes most mistakes
A common rafter spans from the ridge to the wall plate along the roof's slope. Its theoretical length — measured along the top edge of the rafter stock, from the center of the ridge to the outside edge of the wall plate — is called the line length. It comes straight from the pitch triangle: line length = run / cos(theta), where theta is the roof angle from horizontal and run is the horizontal distance from the building centerline (or ridge centerline) to the outside of the wall plate.
True length is the line length after every real-world deduction and addition has been applied: half the ridge board's thickness taken off the top end, and the tail overhang added at the bottom end, both measured along the slope rather than horizontally. Confusing the two is the single most common framing error on a jobsite — a carpenter who cuts every rafter at exactly the calculated line length ends up with a ridge that will not close up, because every rafter is too long by half the ridge thickness on each side.
Worked example: a gable roof with a 24-foot span (12-foot run per side) at 6:12 pitch, a 1.5-inch-thick ridge board, and a 12-inch horizontal overhang. theta = arctan(6/12) = 26.565 degrees. Line length = 12 / cos(26.565) = 12 / 0.8944 = 13.42 ft. Ridge deduction = (0.75 in) / cos(26.565) = 0.75 / 0.8944 = 0.839 in = 0.070 ft. Tail length = 1.0 / 0.8944 = 1.118 ft. True length = 13.42 - 0.07 + 1.118 = 14.47 ft, so you would order 15-foot stock (or 16-foot if the tail also needs a fascia cut and a bit of margin).
The pitch-multiplier shortcut
Framing squares and rafter tables use a length-per-foot-of-run factor instead of trigonometry: multiply the horizontal run in feet by the factor for the pitch, and you get the line length directly. The factor is simply 12 / cos(theta) divided by 12, or equivalently the hypotenuse of a right triangle with a 12-inch base and a rise equal to the pitch's rise-per-foot.
| Pitch | Angle | Length factor (per ft of run) | 12 ft run -> line length |
|---|---|---|---|
| 3:12 | 14.04° | 1.0308 | 12.37 ft |
| 4:12 | 18.43° | 1.0541 | 12.65 ft |
| 5:12 | 22.62° | 1.0833 | 13.00 ft |
| 6:12 | 26.57° | 1.1180 | 13.42 ft |
| 7:12 | 30.26° | 1.1577 | 13.89 ft |
| 8:12 | 33.69° | 1.2019 | 14.42 ft |
| 9:12 | 36.87° | 1.2500 | 15.00 ft |
| 10:12 | 39.81° | 1.3017 | 15.62 ft |
| 12:12 | 45.00° | 1.4142 | 16.97 ft |
This factor is exactly what is stamped on the face of a framing square in the rafter tables, and it is what most rafter length calculators use internally because it avoids repeated trig calls and matches the numbers carpenters already check by hand.
The birdsmouth: seat cut, heel cut and the 1/3 bearing rule
The birdsmouth is a notch cut into the underside of the rafter where it crosses the wall's top plate. It has two cuts: the seat cut, which is horizontal (level) and rests flat on the plate, and the heel cut (also called the plumb cut of the notch), which is vertical (plumb) and bears against the inside edge of the plate. Together they let the rafter sit low over the wall while keeping the top edge of the rafter running in a straight, unbroken plane from tail to ridge.
- Mark the plumb line where the rafter crosses the outside edge of the plate, using the same angle as the ridge cut (theta), and mark the level seat line where the rafter crosses the top of the plate.
- The seat depth (how far the notch cuts up into the rafter) is measured perpendicular to the top edge and is typically set to give a seat cut length equal to the plate width (3.5 in for a 2x4 plate, 5.5 in for a doubled 2x6, etc.).
- IRC R802.7 (and most model codes derived from it) limits the total depth of any birdsmouth, or of any single notch, to one-third of the rafter's actual depth. For a 2x8 rafter (7.25 in actual depth) that is a maximum 2.42-inch total cut depth from the top edge.
- Never notch beyond the plate's inside edge line; the heel cut should land right at the inner corner, leaving full uncut rafter depth beyond the notch toward the tail.
- On engineered or I-joist rafters, a birdsmouth is generally not permitted at all; use a rafter hanger or a manufacturer-approved bearing detail instead.
An alternative that avoids notching altogether is the tail-cut-only (or "heel-less") method used with engineered rafters and some raised-heel trusses: the rafter simply lands on top of the plate on a full-depth plumb cut, and a separate ripped tail or a rafter clip does the bearing. This preserves full rafter depth over the wall, which is one reason raised-heel and energy-truss assemblies use it instead of a birdsmouth.
Overhang, tail length and the fascia cut
The rafter tail is the portion that projects past the wall plate to form the eave overhang. Like the main rafter length, the overhang must be measured along the slope, not as a flat horizontal distance, because the tail is still following the roof plane.
If the design overhang is specified as a horizontal distance (common in plans, e.g. "12-inch overhang"), convert it the same way as the main run: tail length along slope = horizontal overhang / cos(theta). If it is specified as a measurement along the rafter itself (common in framer's shorthand), use it directly with no conversion.
- Plumb cut at the tail end: same angle as the ridge cut, used when the fascia board will be plumb (vertical) — the standard detail on most residential eaves.
- Level (seat-parallel) cut at the tail end: used on a soffit-return or boxed-eave detail where the underside of the tail is cut level to receive a horizontal soffit.
- Combination cut (plumb + level, forming a small square-cut end): used where a sub-fascia and fascia board sandwich the tail and a fascia return is needed.
- Add a small allowance, typically 1/2 to 3/4 inch, beyond the theoretical tail plumb-cut line if the design calls for a fascia board or gutter apron to be scribed in afterward; it is far easier to trim a hair off than to add material back.
The framing square step-off method
Before calculators and apps, carpenters laid out every rafter with a framing square by physically stepping off the pitch triangle once per foot of run. The method is still faster than measuring and marking a calculated decimal length when you are cutting rafters by hand on a sawhorse, and it self-corrects small errors because each step uses the same two numbers on the square.
- Select the rise-per-foot number (e.g., 6 for a 6:12 pitch) on the tongue of the square and 12 on the body; these represent the two legs of the pitch triangle.
- Lay the square on the rafter stock with the 12-inch mark on the body and the rise mark on the tongue both touching the top edge of the board; scribe along the tongue for the first plumb line (this becomes the ridge cut line at one end of the layout).
- Slide the square along the board, keeping the same two numbers on the edge, and mark the next plumb line; repeat once for every full foot of run in the rafter (e.g., 12 times for a 12-foot run).
- For a fractional foot of run (e.g., a run of 12 ft 6 in), step off 12 full times, then use the fractional inches on the square's scale to mark the partial step.
- At the ridge end, measure back half the ridge thickness (perpendicular to the plumb line) and mark the actual ridge plumb cut.
- At the wall end, use the same square settings to mark the seat cut (rotate the square 90 degrees so the body lies along the level seat line) and the heel plumb cut, keeping the notch depth within the 1/3 rule.
- Continue stepping off past the wall line by the number of steps needed to reach the tail length, then mark the tail plumb or level cut.
Cut one rafter, test-fit it against the ridge and plate (or a mock-up), and only then use it as the pattern for marking the rest. This single quality check catches an error in the ridge thickness assumption or plate height before it is repeated across every rafter on the roof.
Stock length and waste allowance
Lumber is sold in 2-foot increments (8, 10, 12, 14, 16, 18, 20, 24 ft, etc.). Always round the calculated true length up to the next available stock length, and add a margin for a test cut, a bad end, or a design change in overhang.
| Calculated true length | Stock to order | Waste allowance |
|---|---|---|
| Up to 9.5 ft | 10 ft | ~5-8% |
| 9.5-11.5 ft | 12 ft | ~5-8% |
| 11.5-13.5 ft | 14 ft | ~5-8% |
| 13.5-15.5 ft | 16 ft | ~5-10% |
| 15.5-17.5 ft | 18 ft | ~8-10% |
| 17.5-19.5 ft | 20 ft | ~8-10% |
| Over 19.5 ft | consider engineered lumber or a spliced/scarfed rafter | ~10-12% |
Rafters longer than about 20 feet in dimensional lumber start hitting availability, straightness and dead-load-deflection problems; at that span, an engineered I-joist rafter, LVL, or a manufactured truss is usually a better solution than a very long solid-sawn 2x. Always cross-check the species/grade span table (or a rafter span calculator) against the actual snow and dead load for the site — length capability and load capacity are two separate checks.
Common rafter layout errors and how to avoid them
- Forgetting the ridge deduction: every rafter ends up half the ridge thickness too long, and the ridge line will not close without forcing the walls out of plumb.
- Using horizontal overhang distance as if it were the slope-measured tail length, which makes the eave slightly short and the fascia line uneven at anything over about 6:12 pitch.
- Cutting the birdsmouth seat too deep, violating the 1/3 rule and creating a shear failure point that may not show up until the first heavy snow load.
- Mixing up run and span: run is half the building width (or the full width for a shed roof), and using full span in the length formula doubles the rafter length.
- Not accounting for actual vs. nominal lumber dimensions (a 2x8 is 1.5 x 7.25 in actual) when calculating birdsmouth depth limits or ridge thickness deductions.
- Cutting the pattern rafter correctly but failing to test-fit it before mass-producing the rest of the run.
- Ignoring differential settlement or out-of-level plates on remodels — always check actual field plate heights rather than trusting the plan dimension on older structures.
Run the numbers
- Rafter Length CalculatorCalculate common rafter length from span and pitch. Get the line length, overall length with overhang, plumb and seat cut angles, and a span reference table.
- Rafter Angle CalculatorCalculate rafter cut angles, birdsmouth size and speed square settings from span and pitch. Get plumb cut, seat cut, rafter length and a cut diagram.
- Roof Pitch CalculatorFree roof pitch calculator. Enter rise and run to get pitch as X:12, the angle in degrees, slope percentage and the pitch multiplier, with a live diagram.
- Roof Pitch to Angle ConverterConvert roof pitch to degrees and back. Enter any X:12 pitch or any angle to get the exact conversion, slope percentage, multiplier and a full reference table.
- Hip Rafter CalculatorCalculate hip rafter length, plumb and side cut angles, and the number of jack rafters for a hip roof from span, pitch and overhang.
- Roof Truss CalculatorCalculate how many roof trusses you need, plus peak height, top chord length and bottom chord length from your span, pitch and spacing.
Frequently asked questions
How do you calculate the length of a common rafter?
Divide the horizontal run (half the building width for a gable) by the cosine of the roof angle, or multiply the run in feet by the length-per-foot-of-run factor for the pitch (e.g., 1.118 for 6:12). Then subtract half the ridge thickness along the slope and add the tail overhang along the slope.
What angle do you cut a rafter plumb cut at?
The plumb cut is made at the roof's angle from horizontal, theta = arctan(rise/run). For a 6:12 pitch that is 26.57 degrees; a circular saw or miter saw is set to that angle (or the framing square is set to 6 and 12) for both the ridge cut and the tail plumb cut.
What is the maximum depth for a birdsmouth cut?
IRC R802.7 limits any notch in a sawn rafter, including a birdsmouth, to one-third of the member's actual depth. For a 2x8 (7.25 in actual), that caps the notch at about 2.42 inches measured perpendicular to the top edge.
What is the difference between a seat cut and a heel cut?
The seat cut is the horizontal (level) surface of the birdsmouth that rests flat on top of the wall plate. The heel cut is the vertical (plumb) surface that bears against the inside edge of the plate. Together they form the triangular notch called a birdsmouth.
Why do you subtract half the ridge thickness from a rafter?
Rafter length is normally calculated from the centerline of the ridge, but the rafter physically stops at the ridge board's face. Subtracting half the ridge thickness (converted to a slope measurement) accounts for that offset so opposing rafters meet correctly without pushing the ridge line off center.
How do you measure roof overhang length for a rafter tail?
If the overhang is given as a horizontal distance, divide it by the cosine of the roof angle to get the slope-measured tail length, exactly like the main rafter run. If it is already specified as a length along the rafter, use it as given with no conversion.
Can you use the framing square method instead of a calculator?
Yes. The step-off method uses the rise-per-foot and 12 marked on a framing square to physically reproduce the pitch triangle once per foot of run, which reliably reproduces the same rafter length a calculator would give and is often faster for one-off cuts on site.
What size rafter stock should I order for a 13.4-foot calculated length?
Round up to the next available stock length, which is 14 feet, and add a small margin for a test cut or trim; ordering exactly to the decimal length leaves no room for error and risks a short rafter if the first cut is off.
Do engineered rafters and I-joists use a birdsmouth?
Generally no. Manufacturers do not allow notching the flanges of an I-joist or LVL rafter because it removes the material doing most of the bending work. Use a rafter hanger, a bearing block, or the manufacturer's specified bearing detail instead.
What is the fastest way to calculate rafter length without trig?
Use the pitch's length-per-foot-of-run factor from a rafter table or framing square (for example 1.1180 for 6:12) and multiply it by the run in feet. This gives the same line length as run / cos(theta) without needing a calculator with trig functions.
Keep reading
- How to Calculate Roof Pitch: 6 Methods That Actually WorkSix field-tested ways to find the pitch of a roof — from the ladder, from the attic, from a photo — plus the arithmetic that turns any measurement into X:12, degrees and percent.
- Roof Pitch to Degrees: Full Conversion Chart and FormulaThe complete pitch-to-degree conversion table, the trigonometry behind it, and why 6:12 is 26.57° rather than the 30° people expect.
- Roof Pitch Multiplier: Chart, Formula and How to Use ItThe single number that turns a floor plan into a material order — where it comes from, when it fails, and the hip/valley factor that goes with it.
- Roof Truss Design Guide: Types, Spans, Spacing and BracingTrusses replace a room full of rafter geometry with a single engineered part, but only if you specify span, spacing, heel height and web layout correctly. Here is how the common truss types differ, what drives their cost, and when stick framing still wins.
- Common Roof Pitches Explained: 3:12 Through 12:12A pitch-by-pitch breakdown of every slope you will meet on a house — what each one costs, what it can be covered with, and which climates it suits.
Last updated 2026-08-09. Guidance is general information for planning and is not a substitute for a licensed engineer or local code review.