Rafter Length & Roof Pitch Calculator
Calculate common rafter length, roof pitch, plumb cuts, and birdsmouth seat cuts with ridge board deduction and overhang. Free framing carpenter diagram.
Hint roof span
Disclaimer text
Calculate common rafter length, roof pitch, plumb cuts, and birdsmouth seat cuts with ridge board deduction and overhang. Free framing carpenter diagram.
Hint roof span
Disclaimer text
Calculate common rafter length, roof pitch, plumb cuts, and birdsmouth seat cuts with ridge board deduction and overhang. Free framing carpenter diagram.
Vertical rise in inches per 12 inches of horizontal run (e.g. 4:12 = 18.43°, 6:12 = 26.57°, 8:12 = 33.69°, 12:12 = 45.00°). Determines water runoff rate, snow shedding capacity, and dead/live load vectoring.
Span is the full exterior building width between wall plates. Theoretical half-span is Span / 2. True Run subtracts half the thickness of the ridge board: Run = (Span / 2) - (Ridge Thickness / 2).
Horizontal deduction perpendicular to the plumb line. For standard 2x lumber (actual 1.5" thick), 0.75" (19 mm) is deducted from the apex of each common rafter. For structural engineered beams (LVL/GLB), deduct half the actual beam thickness (e.g. 1.75").
The triangular notch bearing on the top plate. Seat cut is the horizontal bearing surface (minimum 1.5 inches / 38 mm under IRC R802.7). Heel cut is the vertical plumb surface. Under IRC R802.7.1.1, heel notch depth must never exceed 25% (D/4) of the rafter depth.
The vertical distance from the top corner of the wall plate (heel of the birdsmouth) straight up to the top edge of the rafter. Crucial for keeping rafter lines planar across unequal walls and overhangs.
The horizontal distance the rafter tail projects beyond the exterior wall sheathing. Tail cut length follows the same pitch hypotenuse factor minus fascia sub-board thickness.
The #1 rookie framing error is deducting the full 1.5-inch ridge board thickness from each rafter cut. Because the ridge board sits centered between two opposing rafters, each rafter only gives up HALF the ridge thickness (0.75 inches for standard 2x lumber), measured square to the plumb cut line.
According to IRC Section R802.7.1.1, notches on the ends of rafters shall not exceed 1/4 the rafter depth (D/4). For a 2x6 (5.5" actual depth), the maximum allowable vertical heel cut is 1.375". Cutting a deeper birdsmouth severely weakens horizontal shear resistance at the bearing point and will cause code inspection failure.
Theoretical rafter length is calculated along the center work line from the ridge plumb cut to the birdsmouth heel. Never pull your tape measure along the bottom edge of the board, as the notch geometry will distort your true length by several inches.
When laying out multiple rafters from lumber with slight mill variances (e.g. 5-3/8" vs 5-1/2"), always mark from the top edge down to set a uniform Height Above Plate (HAP). If HAP varies, your sheathing surface will form humps and dips across the roof plane.
Reduce the seat cut bearing width (e.g. from 5.5" down to 3.5" with plate blocking), increase rafter lumber size (e.g. step up from 2x6 to 2x8), or increase the roof pitch angle.
Verify whether the ridge deduction was measured perpendicular to the plumb cut or horizontally. The deduction must be applied perpendicular to the plumb line by half the ridge thickness, or along the rafter line by (Half Ridge Thickness * secant(angle)).
Do not step off rafters one by one with a framing square. Use the mathematical line length from this calculator to cut one master pattern rafter. Test fit the pattern on both ends of the building before scribing production rafters.
Check your HAP and tail cut angle. A plumb-cut tail drops lower than a square-cut tail. Switch to a double-cut tail (plumb face + level soffit return) or reduce the overhang horizontal run.
Rafter line length equals the run multiplied by the roof pitch factor: Length = True Run * sqrt(1 + (Pitch/12)^2). For example, on a 12-foot run with a 4:12 pitch, the pitch factor is sqrt(1 + (4/12)^2) = 1.0541. Line length = 12 ft * 1.0541 = 12.649 ft (12 feet 7-13/16 inches). Then add the overhang length and subtract half the ridge board thickness.
Deduct exactly half the actual thickness of the ridge board. For a standard 2x nominal ridge board (which measures 1.5 inches thick), deduct 3/4 inch (0.75 in / 19 mm). Measure 3/4 inch horizontally back from the theoretical apex plumb line, or 3/4 inch perpendicular to the plumb cut face.
Under International Residential Code (IRC) Section R802.7.1.1, an end notch on a rafter cannot exceed one-fourth (1/4 or 25%) of the actual timber depth. For a 2x4 (3.5" deep), max notch is 0.875". For a 2x6 (5.5" deep), max notch is 1.375". For a 2x8 (7.25" deep), max notch is 1.813". The seat cut must also provide at least 1.5 inches of continuous bearing on wood plates.
Roof span is the total exterior width of the building from outside wall plate to outside wall plate. Roof run is half the span (for a symmetrical gable roof) minus half the ridge board thickness. Rafter length is the hypotenuse of the triangle formed by the run and the roof rise, extending from the ridge board to the wall plate birdsmouth.
The plumb cut angle (ridge and tail plumb face) is calculated as 90° - arctan(Rise / Run). For a 6:12 pitch, plumb cut = 90° - arctan(6/12) = 90° - 26.57° = 63.43° off the timber edge (or 26.57° off vertical). The seat cut angle (horizontal level cut) is exactly equal to arctan(Rise / Run) = 26.57°.
Interactive Kubernetes Resource Calculator (Pod CPU & Memory Sizing) with real-time client-side analysis and visualization.
Calculate the nth term, finite partial sum, and infinite sum of any geometric sequence. Features convergence diagnostics, reverse solver, and term tables.
Calculate economic order quantity (EOQ), optimal batch size, and annual holding costs. Minimize ordering expenses with reorder point and discount tier analysis.
Biomechanical dunk calculator that computes the exact vertical jump needed to dunk on a 10-foot rim based on standing reach, grip palming penalty, bilateral shoulder drop, and dunk style clearance, complete with flight hang time, takeoff velocity, and Sayers peak power output.
Calculate exact strike water temperature for bread baking with 3-factor and 4-factor DDT formulas, crushed ice split ratios, and mixer friction calibration.
Conic section calculator and grapher. Solve general and standard equations for ellipse, parabola, and hyperbola with foci, directrix, vertices, and step derivations.