HomeConstructionRafter Length Calculator

Last updated: May 11, 2026

Rafter Length Calculator

The rafter length is one of the most critical measurements in residential and commercial roof framing. It determines how much lumber to cut, how the roof slope is expressed structurally, and how load travels from the ridge board down to the wall plate. A building with a horizontal run of 12 feet and a 6/12 roof pitch has a common rafter length of approximately 13.42 feet — meaning each rafter must be cut precisely to that dimension for the framing to close correctly at the ridge.

In the Pythagorean triangle of roof framing, the horizontal run forms the base, the vertical rise forms the height, and the rafter length forms the hypotenuse. Every measurement downstream — from sheathing area to lumber count to material cost — depends on this single number being correct. A framer working with a 4/12 pitch on a 14-foot run and a framer handling a 10/12 pitch on the same run will cut rafters of completely different lengths, and both will be exactly right for their project.

Use this free Rafter Length Calculator to compute common rafter length, ridge board height, roof area, lumber requirements, and project cost — instantly and without registration.

 

What Is a Rafter?

Rafter Definition

A rafter is a structural framing member that runs from the ridge board at the peak of a roof down to the wall plate at the top of the exterior wall. It forms the sloped surface of the roof and provides the structural skeleton onto which roof sheathing, underlayment, and finish roofing materials are attached.

A rafter is a sloped structural member that spans from the roof ridge to the wall plate, forming the inclined surface of a pitched roof. Its length is determined by the horizontal run and the roof pitch, calculated using the Pythagorean theorem.

Types of Rafters in Roof Framing

Roof framing uses several types of rafters, each serving a distinct structural role:

Rafter Type Description Where Used
Common Rafter Runs perpendicular from ridge to wall plate at uniform spacing All gable, hip, and shed roofs
Hip Rafter Runs diagonally from the corner of the wall plate to the ridge end Hip roofs at each corner
Valley Rafter Runs diagonally along the intersection of two roof slopes Where two roof planes meet
Jack Rafter Shorter rafter that connects to a hip or valley rafter, not the ridge Hip and valley framing
Ridge Rafter Horizontal beam at the peak to which common rafters attach All pitched roofs
Barge Rafter Outer rafter at the gable end, often decorative and non-load-bearing Gable overhangs

 

Use our roof pitch calculator to calculate roof slope, rise, angle, and pitch ratio with accurate results. It’s ideal for roof framing, construction planning, and roofing projects.

What Does a Rafter Length of 13.42 Feet Actually Mean?

A rafter length of 13.42 feet means the framing member must be cut to that dimension measured along the slope — from the plumb cut at the ridge to the seat cut (bird’s mouth) at the wall plate, before adding any tail for the overhang. In practical terms:

  • A carpenter measures 13.42 feet along the rafter stock from the ridge cut mark
  • The bird’s mouth notch is cut at that point to seat the rafter on the wall plate
  • Any additional tail length for soffit overhang is added beyond the bird’s mouth
  • Both sides of a symmetric gable roof require identical rafter cuts

 

Why Rafter Length Is Important

For Framers — Precision Cuts Prevent Rework

Every rafter on a residential roof must be cut to the same length within a very tight tolerance. If rafters vary by even half an inch, the ridge will not sit level, the wall plates will be stressed unevenly, and the sheathing will not lie flat. Professional framers calculate rafter length before touching a saw, and they verify the number against field measurements before cutting an entire bundle.

  • Controls ridge board height and horizontal alignment
  • Ensures uniform rafter tail length for consistent fascia and soffit lines
  • Prevents waste from over-cut lumber that cannot be reused
  • Enables pre-cutting all rafters on the ground before raising the frame

For Estimators — Accurate Material Takeoffs

Rafter length drives the entire materials estimate for a roofing project. Lumber count, sheathing square footage, underlayment rolls, and roofing material quantities all depend on knowing the actual rafter length — not the horizontal run. A 12-foot run does not mean 12-foot rafters; the actual sloped length is always longer, and every pitch produces a different multiplier.

  • Determines how many board feet of lumber to order
  • Drives sheathing area calculations for OSB or plywood
  • Informs roofing material takeoffs for shingles, metal panels, or tiles
  • Enables accurate labor hour estimates per rafter installed

 

For Homeowners — Understanding Your Roof Framing Quote

A homeowner reviewing a contractor’s bid for a new roof or addition needs to understand how rafter length affects cost. A steeper pitch means longer rafters, more lumber, more sheathing, and more labor per square foot of floor area. Understanding the relationship between run, pitch, and rafter length helps homeowners evaluate bids and ask informed questions.

Use our floor joist calculator to estimate joist span, spacing, load capacity, and framing requirements with accurate results. It’s ideal for floor framing, structural engineering, and residential construction projects.

 

The Rafter Length Formula

The Standard Rafter Length Formula

Rafter Length = √(Run² + Rise²)

 

This is the Pythagorean theorem applied to the right triangle formed by a pitched roof. The horizontal run is the base of the triangle, the vertical rise is the height, and the rafter length is the hypotenuse.

How to Calculate Rise from Pitch

Roof pitch is expressed as a ratio of rise to run, always measured over 12 inches. A 6/12 pitch rises 6 inches for every 12 inches of horizontal run.

Formula Example
Rise = Run × (Pitch ÷ 12) Run = 12 ft, Pitch = 6/12 → Rise = 12 × (6 ÷ 12) = 6 ft
Rafter = √(Run² + Rise²) √(12² + 6²) = √(144 + 36) = √180 = 13.42 ft
Pitch Multiplier = √(1 + (Pitch/12)²) 6/12 pitch → √(1 + 0.25) = √1.25 = 1.118

 

The Pitch Multiplier Shortcut

Experienced framers use a pitch multiplier — a single number that converts horizontal run to rafter length with one multiplication. This multiplier is derived from the Pythagorean formula and is constant for any given pitch:

Roof Pitch Rise Angle Pitch Multiplier Rafter for 12 ft Run
2/12 9.5° ×1.0138 12.17 ft
3/12 14.0° ×1.0308 12.37 ft
4/12 18.4° ×1.0541 12.65 ft
5/12 22.6° ×1.0833 13.00 ft
6/12 26.6° ×1.1180 13.42 ft
7/12 30.3° ×1.1577 13.89 ft
8/12 33.7° ×1.2019 14.42 ft
9/12 36.9° ×1.2500 15.00 ft
10/12 39.8° ×1.3017 15.62 ft
12/12 45.0° ×1.4142 16.97 ft

 

Step-by-Step Rafter Length Calculation

  1. Measure or calculate the horizontal run (half the building span for a symmetric gable roof)
  2. Determine the roof pitch in X/12 notation (e.g., 6/12 means 6-inch rise per 12-inch run)
  3. Calculate the vertical rise: Rise = Run × (Pitch ÷ 12)
  4. Apply the Pythagorean formula: Rafter = √(Run² + Rise²)
  5. Add any overhang tail length beyond the bird’s mouth if needed
  6. Add a cutting allowance (typically 1–2 inches) for the plumb cut at the ridge

 

Rafter Length Example Calculation

Example Project — Gable Addition

Consider a residential addition with the following parameters:

Parameter Value
Building span (total width) 24 feet
Horizontal run (half span) 12 feet
Roof pitch 6/12
Ridge board width 1.5 inches (2x lumber)

 

Step-by-Step Calculation

Step Formula Result
Calculate run Span ÷ 2 = 24 ÷ 2 12.00 ft
Calculate rise Run × (Pitch ÷ 12) = 12 × 0.5 6.00 ft
Calculate rafter length √(12² + 6²) = √180 13.42 ft
Ridge board adjustment Subtract ½ ridge width: − (0.75 ÷ 12) × multiplier ≈ −0.07 ft
Final rafter length (to ridge) 13.42 − 0.07 13.35 ft
Add overhang tail (12 in) 12 in × 1.118 = 13.4 in along slope +1.12 ft
Total cut length per rafter 13.35 + 1.12 ≈ 14.47 ft

 

Roof Area and Lumber Count

For a building 40 feet long with the above parameters:

Metric Calculation Result
Roof area (one side) Rafter length × building length = 13.42 × 40 536.8 sq ft
Total roof area (both sides) 536.8 × 2 1,073.6 sq ft
Rafters at 16″ o.c. (Building length ÷ 1.333) + 1 = (40 ÷ 1.333) + 1 31 rafters/side
Total rafters (both sides) 31 × 2 62 rafters
Lumber required (14 ft stock) 62 rafters ÷ 1 per board + 10% waste ≈ 69 boards

 

How to Use the Rafter Length Calculator

Basic Rafter Length — Step by Step

  1. Enter the horizontal run in feet. For a symmetric gable roof, this is half the total building span. For a shed roof, this is the full horizontal distance from wall to wall.
  2. Select the roof pitch from the dropdown. Common residential pitches range from 4/12 (standard) to 8/12 (steep). The calculator displays the corresponding angle.
  3. Click Calculate to receive the rafter length expressed in decimal feet and in feet-inches format for direct field measurement.
  4. Review the pitch multiplier and vertical rise displayed alongside the primary result.

 

Advanced Features in This Calculator

The Professional Edition includes eleven calculation modules:

Module What It Calculates
Basic Rafter Length Common rafter from run and pitch using Pythagorean formula
Rise from Pitch Vertical rise and roof angle for any run and pitch combination
Roof Area Calculator Total sloped roof area for sheathing and material estimates
Hip/Valley Rafter Length Diagonal rafter length for hip and valley roof geometries
Jack Rafter Set Full set of jack rafter lengths spaced at 16″ or 24″ o.c.
Ridge Board Length Ridge board length adjusted for overhang and building dimensions
Bird’s Mouth Calculator Seat cut depth and width for proper wall plate bearing
Overhang Calculator Horizontal and sloped overhang dimensions with fascia height
Rafter Span Tables Maximum allowable spans by lumber size, spacing, and load
Pitch Comparison Side-by-side comparison of rafter lengths across four pitches
Lumber Cost Estimator Board count, board feet, and total material cost with waste factor

 

Roof Pitch Guide — What Is a Good Pitch?

Pitch Classification by Slope

Roof pitch selection affects structural performance, aesthetics, drainage, and construction cost. The industry classifies pitches into four categories:

Category Pitch Range Angle Range Typical Application
Flat / Low Slope 1/12 – 3/12 4.8° – 14.0° Commercial roofs, additions, covered patios
Standard 4/12 – 6/12 18.4° – 26.6° Most residential homes, cost-effective framing
Steep 7/12 – 9/12 30.3° – 36.9° Traditional residential, good attic space
Very Steep 10/12 – 12/12+ 39.8° – 45°+ Steep colonial, Victorian, decorative dormers

 

How Pitch Affects Rafter Length

As pitch increases, the pitch multiplier increases, which means longer rafters for the same horizontal run. This table shows how dramatically pitch affects material requirements for a 12-foot run:

  • A 2/12 pitch produces a 12.17 ft rafter — only 1.4% longer than the run
  • A 6/12 pitch produces a 13.42 ft rafter — 11.8% longer than the run
  • A 12/12 pitch produces a 16.97 ft rafter — 41.4% longer than the run

Every inch of run lost to a steeper pitch means longer rafters, more lumber, more sheathing, and more roofing material. A steep roof on a large building can require 40% more structural lumber than the same building framed at a standard pitch.

 

Drainage and Climate Considerations

Roof pitch selection is also driven by climate and drainage requirements. Regions with heavy snow loads typically require steeper pitches to shed snow before it accumulates. Tropical regions with intense rainfall benefit from steeper slopes that drain quickly. Arid regions often use flatter pitches for aesthetic and cost reasons, relying on roofing materials rated for low-slope applications.

Climate Factor Recommended Minimum Pitch Reason
Heavy snow regions 6/12 or steeper Snow load shedding; prevents ice dam formation
High rainfall regions 4/12 or steeper Rapid water runoff; reduces leak risk
High wind regions 4/12 – 6/12 Lower profile reduces wind uplift forces
Arid/desert regions 2/12 – 4/12 acceptable Minimal drainage demand; material savings

 

Hip Rafter and Valley Rafter Length

What Is a Hip Rafter?

A hip rafter runs diagonally from each corner of the building to the end of the ridge board. Because it travels diagonally in plan, it must span a greater horizontal distance than a common rafter — the diagonal of the run square rather than the run itself. This requires a different length calculation.

Hip Rafter Length Formula
Hip Rafter = √((Run × √2)² + Rise²)  —  or equivalently  —  Hip Rafter = √(2 × Run² + Rise²)

 

Hip Rafter Example

For the same 12-foot run and 6/12 pitch used in the common rafter example:

Component Calculation Result
Diagonal run 12 × √2 16.97 ft
Rise 12 × (6 ÷ 12) 6.00 ft
Hip rafter length √(16.97² + 6²) = √(287.98 + 36) √323.98 = 18.00 ft

 

Valley Rafter Length

A valley rafter runs along the internal angle where two roof planes intersect, forming a V-shaped valley. Its geometry is identical to the hip rafter because both travel the same diagonal distance in plan. The valley rafter formula is therefore the same as the hip rafter formula:

Valley Rafter Length Formula
Valley Rafter = √(2 × Run² + Rise²)

 

Jack Rafter Length

What Is a Jack Rafter?

Jack rafters are shortened common rafters that connect either to a hip rafter (hip jacks) or to a valley rafter (valley jacks) instead of running to the ridge. Each jack in a set is shorter than the previous by a constant difference called the common difference.

Common Difference Formula for Jack Rafters

Formula
Common Difference = Rafter Spacing × Pitch Multiplier
For 16″ o.c. spacing and 6/12 pitch: CD = (16/12) × 1.118 = 1.49 ft = 1’−5⅞”
For 24″ o.c. spacing and 6/12 pitch: CD = (24/12) × 1.118 = 2.24 ft = 2’−2⅞”

 

Jack Rafter Set for 6/12 Pitch at 16″ o.c.

Starting from the full-length hip jack (equal to the common rafter length) and subtracting the common difference:

Jack Number Length (decimal ft) Length (ft-in) Location
1 (longest) 13.42 ft 13’−5″ Adjacent to corner
2 11.93 ft 11’−11″ Second from corner
3 10.44 ft 10’−5¼” Third from corner
4 8.95 ft 8’−11⅜” Fourth from corner
5 7.46 ft 7’−5½” Fifth from corner
6 (shortest) 5.97 ft 5’−11⅝” Nearest ridge end

 

Bird’s Mouth Cut

What Is a Bird’s Mouth?

The bird’s mouth is a notch cut into the underside of each common rafter at the point where it bears on the top of the wall plate. It consists of two cuts: a plumb cut (vertical, parallel to the building walls) and a seat cut (horizontal, resting on the wall plate). A proper bird’s mouth transfers roof loads from the rafter into the wall framing.

Bird’s Mouth Dimensions

Dimension Rule of Thumb Notes
Seat cut depth Maximum 1/3 of rafter depth Deeper cuts weaken the rafter at its bearing point
Seat cut width Equal to top plate width (3.5″ for 2×4; 5.5″ for 2×6) Must bear fully on plate for load transfer
Plumb cut height Determined by seat cut depth and pitch angle Must be plumb (vertical) to match wall
HAP (Height at Plate) Distance from seat cut to top of rafter Controls ceiling height and ridge board elevation

 

Rafter Span Tables — Maximum Allowable Spans

How Rafter Span Tables Work

Building codes establish maximum allowable rafter spans based on lumber species, grade, size, spacing, and roof load. The span is measured horizontally from the outside face of the supporting wall to the center of the ridge board. Exceeding the allowable span requires a larger lumber size, closer spacing, or a structural ridge beam.

Use our beam deflection calculator to calculate beam bending, slope, and deflection under different loads with accurate results. It’s ideal for structural engineering, construction, and framing design projects.

Allowable Spans for Southern Pine — 30 PSF Live Load, 10 PSF Dead Load

Lumber Size Spacing 12″ o.c. Spacing 16″ o.c. Spacing 24″ o.c.
2×6 14’−6″ 13’−2″ 11’−6″
2×8 19’−1″ 17’−4″ 15’−2″
2×10 24’−5″ 22’−2″ 19’−4″
2×12 29’−8″ 26’−11″ 23’−7″

Note: These values are representative for select structural-grade Southern Pine. Always verify with your local building code and a licensed structural engineer for permit-required projects.

 

Roof Area Calculation

Sloped vs. Horizontal Roof Area

The horizontal projection of a roof (footprint) is not the same as the actual sloped surface area. Because rafters travel along the slope, the surface they cover is always larger than the floor area below. The ratio between sloped area and horizontal area is the pitch multiplier.

Area Type Formula When to Use
Horizontal (plan) area Building length × Building width Attic floor area, drainage basin calculations
Sloped roof area Horizontal area × Pitch multiplier Sheathing, underlayment, roofing materials
Sloped area — single slope Rafter length × Building length Shed roofs, single-plane calculations
Sloped area — gable roof (Rafter length × Building length) × 2 Full gable roofs, both sides

 

Roof Area Example — 40 × 24 Building at 6/12 Pitch

Step Calculation Result
Horizontal plan area 40 ft × 24 ft 960 sq ft
Pitch multiplier for 6/12 √(1 + 0.25) = √1.25 1.118
Total sloped area 960 × 1.118 1,073 sq ft
Add 10% waste/overlap 1,073 × 1.10 1,180 sq ft ordered
Convert to squares 1,180 ÷ 100 11.8 squares

 

Use our square footage calculator to measure room area, roof area, flooring dimensions, and building size with accurate results. It’s ideal for construction, renovation, and material estimation projects.

Ridge Board Length

Ridge Board Length Formula

The ridge board runs horizontally at the peak of the roof and must be long enough to span the full building length plus any overhang extensions. For a simple gable roof, the ridge board length equals the building length. For hip roofs, the ridge length is shorter — it is reduced by the run dimension on each end where the hip rafters begin.

Roof Type Ridge Board Length Formula
Gable roof Building length + (2 × overhang extension)
Hip roof Building length − (2 × run) + (2 × overhang extension)
Shed roof No ridge board — single slope bears on front and back walls

 

Lumber Estimation and Cost

Calculating Rafter Lumber Requirements

Accurate lumber estimation prevents both costly material shortages and wasteful overbuying. The key variables are rafter length, rafter count, stock lumber length, and a waste factor to account for defects, cutting waste, and layout errors.

Step Formula Example (28 rafters, 14.5 ft each)
Rafters per 16-ft board Floor(16 ÷ rafter length) Floor(16 ÷ 14.5) = 1 rafter/board
Boards needed (net) Ceiling(rafter count ÷ rafters per board) Ceiling(28 ÷ 1) = 28 boards
Add 10% waste factor Net boards × 1.10 28 × 1.10 = 31 boards
Board feet per 2×8×16 (1.5 × 7.25 × 16) ÷ 12 14.5 BF per board
Total board feet 31 × 14.5 449.5 BF
Cost at $2.80/BF 449.5 × $2.80 $1,259 material cost

 

Common Lumber Sizes for Rafters

Nominal Size Actual Size Board Feet per 12 ft Typical Use
2×6 1.5″ × 5.5″ 5.5 BF Short spans, low-slope roofs up to 14 ft
2×8 1.5″ × 7.25″ 7.25 BF Standard residential spans 14–18 ft
2×10 1.5″ × 9.25″ 9.25 BF Longer spans, steeper loads, snow country
2×12 1.5″ × 11.25″ 11.25 BF Maximum span residential, heavy loads

 

Common Mistakes to Avoid

Mistake 1 — Using the Span Instead of the Run

The most common error in rafter calculation is using the full building span instead of the run. For a symmetric gable roof, the run is always half the span. Using the full 24-foot span when the run is 12 feet will produce a rafter length nearly twice as long as needed, resulting in severely over-ordered lumber and mis-cut rafters.

Mistake 2 — Ignoring the Ridge Board Thickness

Each rafter’s plumb cut at the ridge must account for half the ridge board thickness. A standard 2× ridge board is 1.5 inches thick, so each rafter must be shortened by 0.75 inches measured horizontally (or the equivalent sloped distance). Ignoring this produces rafters that are too long and cannot meet at the ridge.

Mistake 3 — Calculating Area Before Knowing the True Slope Length

Contractors ordering sheathing or roofing material based on the floor footprint alone consistently under-order because they have not applied the pitch multiplier. A 6/12 pitch roof requires 11.8% more material than the footprint suggests; a 12/12 pitch roof requires 41.4% more. Always multiply horizontal area by the pitch multiplier to get true sloped area.

Mistake 4 — Forgetting the Tail Length

The calculated rafter length — run to ridge — does not include the overhang tail. If the design calls for a 12-inch horizontal overhang, the tail adds 1.118 feet (for a 6/12 pitch) of sloped length beyond the wall plate. Always add the tail to the calculated rafter length before ordering or cutting lumber.

Mistake 5 — Not Adding a Waste Factor to Lumber Orders

Even a perfectly calculated rafter count should include a 10–15% waste factor for cutting waste, defects in lumber, and layout errors at corners and hips. Ordering exactly the calculated quantity almost always results in a short call to the lumber yard mid-project.

 

Real-World Applications

New Residential Construction

General contractors use rafter length calculations at the estimating stage to develop preliminary material budgets, and framers verify the number in the field before cutting. On a standard 2,000-square-foot home with a 6/12 gable roof, precise rafter length calculations can mean the difference between an accurate lumber order and a $1,500 surplus or shortage.

Room Additions

Room additions require matching the existing roof pitch and determining rafter length for the new framing without compromising the existing structure. The rafter length calculator helps addition framers verify that new rafters will tie in at the correct height and that the ridge of the addition will align with the existing ridge or eave line.

Shed and Garage Roofs

Outbuildings often use simple shed or gable roofs where the homeowner or contractor handles framing directly. Shed roofs require calculating rafter length across the full horizontal span from front wall to back wall. The calculator handles this use case explicitly, and the resulting rafter length directly determines the lumber size required.

CFA and Construction Certification Prep

Rafter length calculation is a core competency tested in construction trade examinations and contractor licensing exams. Understanding the Pythagorean relationship between run, rise, and rafter length, applying pitch multipliers, and calculating hip and valley rafter lengths are all standard exam topics. This calculator supports both practical project use and conceptual review.

 

Frequently Asked Questions

What is the formula for rafter length?

Rafter Length = √(Run² + Rise²). This is the Pythagorean theorem. Calculate Rise first: Rise = Run × (Pitch ÷ 12). Then apply the formula. Example: Run = 12 ft, Pitch = 6/12 → Rise = 6 ft → Rafter = √(144 + 36) = √180 = 13.42 ft.

What is the difference between run and span?

Span is the full horizontal width of the building from outside wall to outside wall. Run is the horizontal distance the rafter covers — typically half the span for a symmetric gable roof. Always use the run, not the span, in rafter length calculations.

How do I calculate rafter length for a hip roof?

Hip rafters travel diagonally in plan, so their horizontal distance is Run × √2 (the diagonal of a square with sides equal to the run). Hip Rafter = √((Run × √2)² + Rise²) = √(2 × Run² + Rise²). For a 12-ft run and 6/12 pitch: Hip = √(288 + 36) = √324 = 18.00 ft.

What is a pitch multiplier?

A pitch multiplier converts horizontal run to sloped rafter length in one step. Multiplier = √(1 + (Pitch/12)²). For 6/12: √(1 + 0.25) = 1.118. Multiply any run by this number to get the common rafter length: 12 × 1.118 = 13.42 ft.

How much does roof pitch affect rafter length?

Significantly. A 2/12 pitch adds only 1.4% to the run. A 6/12 pitch adds 11.8%. A 12/12 pitch adds 41.4%. On a 40-foot building with a 12-foot run, switching from 4/12 to 12/12 pitch means rafters go from 12.65 ft to 16.97 ft — a 34% increase in lumber per rafter.

Do I need to subtract for the ridge board thickness?

Yes. Each rafter plumb cut must account for half the ridge board thickness. A standard 2× ridge board is 1.5 inches thick, so subtract 0.75 inches (measured horizontally) from each rafter’s ridge end. The calculator handles this adjustment automatically.

What is a bird’s mouth cut and why does it matter?

A bird’s mouth is a notch cut near the lower end of each rafter where it seats on the wall plate. It consists of a plumb cut (vertical) and a seat cut (horizontal). The seat cut must be no deeper than one-third of the rafter depth. A proper bird’s mouth ensures full bearing on the plate and transfers roof loads correctly into the wall framing.

How do I calculate the number of rafters I need?

Count = (Building length ÷ Rafter spacing) + 1. For 16″ o.c. spacing: Count = (Building length in feet ÷ 1.333) + 1. For 24″ o.c.: Count = (Building length ÷ 2) + 1. Add one rafter for each gable end. Double the count for both sides of a gable roof.

Key Takeaway

The rafter length is the hypotenuse of the right triangle formed by horizontal run and vertical rise. Every other measurement in roof framing — from hip and valley rafters to jack rafter sets, bird’s mouth dimensions, lumber count, sheathing area, and material cost — follows from this single calculation. Master the Pythagorean formula and the pitch multiplier, and every roofing project becomes a straightforward exercise in arithmetic. Use the calculator above to compute your rafter length instantly, explore all eleven framing modules, and generate a complete material estimate for your project.
 
Use our free Construction Calculator to compute all your key framing measurements in one place — rafter length, hip/valley rafters, roof area, lumber requirements, and project cost instantly.
 
 
 
About This Calculator — This rafter length calculator is part of Intelligent Calculator’s Construction suite, built on Pythagorean geometry, IRC roof framing standards, and WWPA/SPIB lumber span table methodology. Free. No sign-up required.
Basic Rafter Length

Calculate common rafter length from run and pitch — the foundational roof framing measurement.

Half the span for gable roofs; full span for sheds

Standard 2x lumber = 1.5", LVL ridge = 3.5"

Horizontal projection beyond the wall plate

0.00 ft
Common Rafter Length (incl. overhang)
Slope Length (no overhang)
Structural span from ridge to plate; used for sheathing layout and load calculations.
Roof Angle (degrees)
Plumb-cut angle at ridge; also equals the bevel angle on bird's-mouth seat cut.
Unit Rise per 12"
Rise in inches for every 12" of horizontal run; stamped on rafter squares for layout.
Pitch Multiplier
Multiply horizontal run by this factor to get slope length; quick mental-math shortcut.
Formula Used Rafter = sqrt(Run² + Rise²) + Overhang Slope Length
Rise = Run × (Pitch ÷ 12). Ridge deduction = (Ridge Thickness ÷ 2) × Pitch Multiplier.
Advertisement Why this ad?
Ads by Google
Hip & Valley Rafter Length

Compute hip and valley rafter lengths using the 17-inch method and full 3D diagonal formula.

Same as common rafter run — half the roof span

Number of inches of rise per 12 horizontal inches

Full width of the building perpendicular to ridge

Full length of the building parallel to ridge

Hip Rafter Length
Diagonal from ridge end to corner; calculated using the 3D Pythagorean diagonal = sqrt(run² + run² + rise²).
Valley Rafter Length
Same as hip for equal-pitch roofs; runs from ridge to inside corner where two roof planes meet.
Common Rafter (ref)
Reference common rafter for this pitch and run; compare to hip/valley to verify proportional accuracy.
Hip Backing Angle
Bevel cut angle along the top of the hip rafter so sheathing lies flush; critical for tight panel fit.
Hip Side Cut (Cheek)
Compound angle cut at the ridge end of the hip; sets the diagonal miter so the hip meets the ridge cleanly.
Unit Length (per ft run)
Hip rafter inches per foot of run using 17" method; multiply by run in feet to verify hand-framing math.
Formulas Hip = sqrt(Run² + Run² + Rise²)
Hip Unit = sqrt(17² + Pitch²) ÷ 12 ft/ft Valley equals hip for equal-pitch roofs. Backing angle = atan(sin(45°) × tan(Pitch Angle)).
Jack Rafter Schedule

Generate a full jack rafter schedule with lengths and shortening amounts at every on-center spacing.

Horizontal run of the adjacent common rafter

Roof pitch in rise per 12" run

Standard rafter spacing; 16" most common

Hip jacks decrease toward corner; valley jacks increase

Common Difference
Uniform shortening between consecutive jack rafters; each jack is exactly this amount shorter than the prior.
Total Jack Count
Number of jack rafters on one side of one hip or valley; double for full roof panel count.
Advertisement Why this ad?
Ads by Google
Roof Area & Material Estimator

Calculate actual slope area, shingles, underlayment, and ridge cap needed with waste factor adjustment.

Exterior wall-to-wall width of the building

Exterior wall-to-wall length of the building

Roof pitch determines slope multiplier for area

Horizontal eave overhang on both sides

Plan (Footprint) Area
Flat horizontal area including overhangs; used for load calculations and permit applications.
Actual Slope Area
True surface area of the roof planes accounting for pitch; the area shingles must actually cover.
Roofing Squares
1 square = 100 sq ft of roof surface; the standard unit used when ordering shingles and underlayment.
Squares + Waste
Order quantity including your selected waste percentage; prevents costly mid-job material shortages.
Shingle Bundles
3 bundles cover 1 square for standard 3-tab; 4 bundles for architectural shingles — verify with supplier.
Ridge Cap (lin ft)
Total linear feet of ridge and hip requiring ridge cap material; add 10% for cuts and overlaps.
Slope Area Formula Slope Area = Plan Area × Pitch Multiplier
Pitch Multiplier = sqrt(1 + (Rise/12)²). 1 Square = 100 sq ft. Bundles = Squares × 3 (3-tab) or × 4 (arch.).
Bird's Mouth & Seat Cut

Determine plumb-cut depth, seat-cut width, HAP, and bird's mouth notch dimensions for wall plate bearing.

Roof pitch controls all cut angles

Plumb Cut Depth
Vertical depth of the notch cut against the wall plate; must stay within the allowable 1/3 rafter depth rule.
Seat Cut Width
Horizontal bearing surface of the bird's mouth; should match or slightly exceed the top plate width for full bearing.
HAP (Height Above Plate)
Remaining rafter depth above the seat cut; this dimension controls ceiling height and fascia alignment on all rafters.
Plumb Cut Angle
Saw blade bevel for plumb cuts; set your circular saw to this angle for ridge, tail, and bird's mouth plumb cuts.
Level (Seat) Cut Angle
Saw angle for horizontal cuts; complement of the plumb angle — the two always add to exactly 90 degrees.
Code Compliance
IBC requires bird's mouth notch not exceed 1/3 of rafter depth; failure weakens the rafter at its highest stress point.
Advertisement Why this ad?
Ads by Google
Rafter Span & Load Analysis

Evaluate rafter adequacy under live load, dead load, and snow load using simplified IRC span table logic.

Horizontal distance from ridge to bearing wall

IRC minimum: 20 psf for living space above, 10 psf for attic storage

Sheathing + shingles typically 10–20 psf; slate/tile 15–25 psf

Ground snow load from ASCE 7 / local building code; enter 0 if not applicable

Total Design Load
Combined live + dead + snow load per square foot; the governing load used in bending and deflection checks.
Max Bending Moment
Peak bending stress at mid-span in ft-lbs; compared to the allowable Fb value for the selected species and grade.
Max Deflection (L/Ratio)
Actual deflection expressed as a fraction of span length; IRC requires L/240 for live load, L/180 for total load.
Bending Stress Ratio
Actual/allowable bending stress ratio; must be ≤ 1.0 for code compliance — lower is a larger safety margin.
Ridge Board Height Calculator

Find the exact ridge board height above the top plate given span, pitch, and rafter/plate dimensions.

Full width of building from outside wall to outside wall

Roof pitch in inches of rise per 12 inches of run

Floor-to-top-plate height of the supporting wall

Ridge Height (above plate)
Vertical distance from top plate to top of ridge board; used to set temporary ridge support posts during framing.
Ridge Height (above floor)
Total height from floor level to top of ridge; needed for architectural drawings and interior space planning.
Attic Clear Height
Usable height at centerline of attic space; IRC requires 7'-6" over 50% of attic floor area for habitable space.
Total Rise
Vertical height from top plate to underside of ridge; equal to Run × (Pitch ÷ 12) before ridge board adjustment.
Advertisement Why this ad?
Ads by Google
Rafter Tail & Fascia Calculator

Calculate rafter tail length, fascia drop, soffit width, and plumb/level cut positions for eave trim.

Roof pitch; controls all tail cut angles

Horizontal projection of rafter tail beyond wall face

Tail Slope Length
Actual sloped length of rafter from bird's mouth to tail cut; the dimension to mark on the rafter stock layout.
Fascia Drop
Vertical distance from top of rafter to bottom of fascia board; used to set fascia height and determine gutter clearance.
Soffit Width
Horizontal distance from wall face to inside of fascia; controls the soffit panel width and vent area for air circulation.
Tail Vertical Drop
Vertical height that the tail drops below the top plate level; used to determine fascia board height position on wall.
Compound Miter & Bevel Calculator

Compute miter and bevel saw settings for compound angle cuts on hip rafters, crown moulding, and angled fascia.

Pitch of the roof plane being cut

Plan angle between the two intersecting roof planes (90° for standard hip)

Miter Angle (saw table)
Rotate saw table to this angle; controls the in-plane direction of the cut when viewed from above the workpiece.
Bevel Angle (blade tilt)
Tilt the saw blade to this angle; controls the cross-section slope of the cut face when viewed from the end grain.
Backing / Plumb Angle
Angle to rip the top edge of hip rafter (backing bevel) so roof sheathing bears flush on both sides of the hip.
Dihedral Angle
True angle between the two roof planes at their intersection; equals the backing bevel opening and governs hip cap fit.
Miter
Bevel
Backing
Advertisement Why this ad?
Ads by Google
Multi-Pitch Scenario Comparison

Compare up to four roof pitches side-by-side — rafter lengths, areas, and framing metrics for design decisions.

Enter one run; all pitches will be compared using this run

Lumber Quantity & Cost Estimator

Calculate board feet, piece count, and total lumber cost for an entire rafter system with board sizing options.

Sloped rafter length from ridge to tail; from Card 1

Total rafter count for entire roof (both sides)

Current price per piece at your local supplier (2026 avg: $15–35 for 2×8×16)

Boards Required
Minimum boards needed from stock length; rounded up to whole pieces with waste factor already included.
Board Feet (BF)
Total volume in board feet (1 BF = 1"×12"×12"); used for bulk pricing and comparing lumber grades at suppliers.
Total Lumber Cost
Material cost for rafter lumber only; add 15–20% for fasteners, hangers, and ridge board to get full framing budget.
Cost per Board Foot
Effective cost per BF for comparison shopping; typical 2026 range is $1.20–$2.80/BF for dimensional lumber.
Pitch Reference & Quick Lookup

Full reference table for all standard pitches — multipliers, angles, and IRC classification with interactive chart.

This calculator is for informational purposes only and does not constitute professional structural or construction advice. Consult a licensed contractor, structural engineer, or building official before making decisions on your roofing project.