Rafter Spacing Calculator — Calculate Roof Rafter Spacing & Layout

Rafter Spacing Calculator

Calculate rafter spacing for roof construction based on building codes, rafter size, roof span, and load requirements. Get accurate rafter layout for your roofing project.

Step 1: Roof Dimensions

6/12

Understanding Rafter Spacing

Standard rafter spacing is typically 16″ or 24″ on center. Closer spacing (12″) provides more support for heavy loads, while wider spacing (24″) reduces materials but requires larger rafters.

Step 2: Load & Options

1.5x

Building Code Compliance

Most building codes require rafter spacing of 16″ or 24″ on center for residential construction. Always check local building codes for specific requirements in your area.

Rafter Spacing Results

Summary
Spacing Comparison
Layout Analysis

Recommended Rafter Spacing

16″ OC
Number of Rafters: 23
Number of Rafters
23
Actual Spacing
16.4″
Total Rafter Length
345 ft
Code Compliance
Meets Code

Rafter Spacing Comparison

Spacing (OC) Number of Rafters Total Length Load Capacity Material Cost

Rafter Layout Analysis

Rafter Spacing Formula

Number of Rafters = (Span × 12) / Spacing + 1

The number of rafters is calculated by converting the span to inches, dividing by the spacing, and adding one for the end rafter. Actual spacing may be adjusted slightly to ensure even distribution across the span.

Need Professional Roofing Help?

Connect with our certified roofing contractors for professional rafter installation, roof framing, and structural assessments for your construction project.

Get Professional Installation