Rafter Dimensions Calculator
Input Parameters
Computed Results
The rafter dimensions calculator determines the total theoretical length of a roof rafter, including the line length and overhang. It also calculates the required plumb cut and seat cut angles, total roof rise, and recommends the standard lumber stock length needed based on your building span and roof pitch.
Practical Use Cases
Accurate rafter measurements are essential for structural integrity and material planning in construction. This calculator is commonly used for:
- Residential Framing: Determining the exact cut lengths and angles for standard home or garage roof trusses.
- Shed and Outbuilding Construction: Calculating the necessary lumber dimensions for smaller structures with varying roof pitches.
- Material Estimating: Identifying the recommended standard lumber stock length (e.g., 12-foot or 16-foot boards) to minimize waste when ordering materials.
Rafter Calculation Formula
The calculator uses right-triangle geometry to determine the rafter dimensions. The horizontal distance the rafter covers (the run) is calculated by taking half of the building span and subtracting half of the ridge board thickness.
Next, a pitch multiplier is calculated using the roof pitch (rise per 12 inches of run) to find the hypotenuse of the triangle.
The line length (from the ridge to the exterior wall) and the overhang length are then calculated by multiplying their respective horizontal distances by the pitch multiplier.
The cut angles are determined using basic trigonometry. The plumb cut angle (where the rafter meets the ridge) is the arctangent of the pitch rise divided by 12, converted to degrees. The seat cut angle (where the rafter rests on the wall plate) is 90 degrees minus the plumb cut angle.
Verified Scenario Walkthroughs
Here are examples of how different building dimensions affect the rafter length and cut angles.
Small Shed with Minimal Overhang
For a small shed with an 8-foot building span, a 4/12 roof pitch, a 6-inch overhang, and a standard 1.5-inch ridge board, the line length is 4.15 feet. Adding the 0.53-foot overhang results in a total theoretical length of 4.68 feet. The calculator recommends purchasing 8-foot lumber stock. The plumb cut angle is 18.43 degrees, and the seat cut angle is 71.57 degrees.
Standard Residential Garage Build
Consider a garage with a 20-foot span, an 8/12 roof pitch, an 18-inch overhang, and a 1.5-inch ridge board. The line length is 11.94 feet, and the overhang adds 1.80 feet, bringing the total rafter length to 13.75 feet. This requires a recommended lumber stock length of 14 feet. The total roof rise is 6.63 feet, with a plumb cut angle of 33.69 degrees.
Large Barn Structure with Steep Pitch
A large barn with a 40-foot span, a steep 12/12 pitch, a 24-inch overhang, and a thicker 3.5-inch ridge board requires significantly longer materials. The line length is 28.08 feet, and the overhang is 2.83 feet, resulting in a total length of 30.91 feet. The recommended lumber stock is 32 feet. Because the pitch is 12/12, both the plumb and seat cut angles are exactly 45 degrees.
How to Use the Calculator
Follow these steps to determine your rafter dimensions:
- Enter the Building Span: Input the total width of the building from the outside of one exterior wall to the outside of the opposite exterior wall, in feet.
- Select the Roof Pitch: Choose the vertical rise in inches for every 12 inches of horizontal run.
- Input the Horizontal Overhang: Enter the distance the roof extends past the exterior wall horizontally, in inches.
- Specify Ridge Board Thickness: Enter the actual thickness of the central ridge board (typically 1.5 inches for standard framing lumber).
Inputs and Outputs Reference
| Field | Type | Description |
|---|---|---|
| Building Span | Input | Total building width from exterior wall to exterior wall (feet). |
| Roof Pitch (Rise / 12 Run) | Input | Inches of vertical rise per 12 inches of horizontal run. |
| Horizontal Overhang | Input | Horizontal distance the rafter extends past the exterior wall (inches). |
| Ridge Board Thickness | Input | Actual thickness of the central ridge board (typically 1.5 inches). |
| Total Theoretical Length | Output | The combined length of the line length and the overhang rafter length. |
| Recommended Lumber Stock Length | Output | The standard even-foot lumber size required to cut the rafter. |
| Total Roof Rise | Output | The total vertical height from the top plate to the top of the ridge. |
| Plumb Cut Angle | Output | The angle of the cut where the rafter meets the ridge board (in degrees). |
| Seat (Level) Cut Angle | Output | The angle of the horizontal cut where the rafter rests on the wall plate (in degrees). |
Frequently Asked Questions
How is the recommended lumber stock length determined?
The calculator determines the total theoretical rafter length and rounds it up to the next standard even-foot lumber size (e.g., 8, 10, 12, up to 32 feet) to ensure you purchase a board long enough to make the necessary cuts.
Why is the ridge board thickness subtracted from the run?
Because the rafters attach to the sides of the central ridge board rather than meeting perfectly in the center of the building, half of the ridge board's actual thickness must be subtracted from the total horizontal run to calculate the true line length of the rafter.