Skip to main content
New: Bathroom Remodel Cost Estimator is live. Try it ›
Outdoor Carpentry & Roofing Live Calculation Verified Formula

Roof Pitch Calculator: Rafter Length & Angle

Use this roof pitch calculator to calculate true common rafter lengths, roof pitch angles, and timber requirements from building span and vertical rise. Features an interactive SVG cross-section diagram, birdsmouth seat cuts, and collar-tie guidelines.

1. Building Span, Roof Pitch & Overhang
Out-to-out of exterior wall plates
Horizontal distance past wall plate
1.5" for nominal 2-by stock
Live Roof Profile & Rafter Cut Geometry
Estimated Material Required
14' 5 11/16" (26.6°)
What to Buy at the Store

Order 48 pieces of 16-ft framing lumber (2×6 or 2×8) for 24 rafter pairs on a 30-ft roof at 16" o.c.

Building Span / Rafter Run24' Span (Horizontal Run: 12')
Roof Pitch & Slope Angle6:12 Slope (26.57° / 50.0% grade)
Pitch Multiplier Factor1.1180×
Base Rafter Length (Plates to Ridge)13.42 ft (13' 5")
Eaves Overhang Tail Length1.12 ft (12" horizontal projection)
Ridge Board Plumb Cut Deduction-0.75" (1.5" ridge board)
Exact Cut Rafter Length14' 5 11/16" (14.47 ft)
Standard Lumber Order Length16-foot boards (buy 2-by dimensional stock)
Total Rafters Required48 boards (24 opposing pairs @ 16" o.c.)

How to Measure for Rafter & Roof Pitch Calculator

  1. Measure total building width (span) out-to-out of exterior framing wall plates.
  2. Divide total span by 2 to determine the horizontal run of the common rafter (e.g. 24 ft span = 12 ft run).
  3. Measure vertical roof rise per 12 inches of horizontal run (e.g. 6/12 pitch rises 6 inches vertically for every 12 inches of run).
  4. Include horizontal eaves overhang (typically 12" to 24") and deduct half the actual ridge board thickness (typically 3/4" for 1-1/2" 2-by stock).

How the Calculation Works

Rafter geometry utilizes the Pythagorean theorem: `Rafter Length = Run × √(1 + (Rise / 12)²)`. The roof slope angle equals `atan(Rise / 12) × (180 / π)`. The tail overhang length is computed with the same hypotenuse multiplier: `Overhang Length = (Overhang Run in inches / 12) × √(1 + (Rise / 12)²)`. A deduction of half the ridge board thickness (`0.75"` for nominal 2-by lumber) is subtracted from the top plumb cut. Total common rafters required equals `(Roof Length / Spacing) + 1` multiplied by 2 sides of the gable roof.

  1. Pitch factor = √(1 + (6/12)²) = √(1 + 0.25) = 1.11803. Slope angle = 26.57°. Base rafter length = 12 ft × 1.11803 = 13.416 ft (13' 5"). Overhang = (12/12) × 1.11803 = 1.118 ft (1' 1-3/8"). Ridge deduction = 0.75" / 12 = 0.0625 ft. Total cut length = 13.416 + 1.118 - 0.0625 = 14.472 ft (14' 5-5/8"). Rafter order lumber = 16-foot 2×6 stock. Pairs of rafters for 30 ft roof = ceil(30 / (16/12)) + 1 = 24 pairs = 48 rafters.

Rafter & Roof Pitch Calculator Reference & Specifications

Roof Pitch (Rise:12)Angle (Degrees)Slope Percentage (%)Length Factor (Per Ft Run)Walkability & Classification
2:129.46°16.67%1.0138Low slope (requires built-up / membrane roofing)
3:1214.04°25.00%1.0308Low slope (double underlayment required for shingles)
4:1218.43°33.33%1.0541Conventional minimum pitch for standard 3-tab asphalt
5:1222.62°41.67%1.0833Moderate slope (easily walkable, standard ranch home)
6:1226.57°50.00%1.1180Standard residential pitch (walkable with traction boots)
8:1233.69°66.67%1.2019Steep slope (requires roof jacks / toe boards)
10:1239.81°83.33%1.3017Very steep (A-frame / Victorian, roof harness required)
12:1245.00°100.00%1.414245-degree pitch (length = run × 1.414)

Frequently Asked Questions About Rafter & Roof Pitch Calculator

How do I determine roof pitch from the attic or roof exterior?

Place a 12-inch level horizontally with one end touching the underside of the rafter. Ensure the bubble is centered. Measure vertically from the 12-inch mark on the level up to the bottom edge of the rafter. If that vertical distance is 6 inches, your roof has a 6:12 pitch.

What is a birdsmouth cut on a common rafter?

A birdsmouth is an angled notch cut into the bottom of a rafter where it rests across the exterior wall top plate. It consists of two cuts: the horizontal "seat cut" (which must bear fully across the plate, minimum 1-1/2" bearing) and the vertical "heel cut". The depth of the birdsmouth notch must not exceed 1/4 to 1/3 of the total rafter depth to prevent weakening the timber.

What framing lumber size should I buy for my rafters?

Always buy lumber stock that is at least 1 to 2 feet longer than your calculated total rafter length (including the tail overhang). If your calculated rafter length is 14' 4", order standard 16-foot boards to allow for plumb cuts, birdsmouth notches, and plumb fascia cuts.

What are collar ties and where are they installed?

Collar ties are horizontal 1×6 or 2×4 framing members installed in the upper third of the roof height between opposing common rafters. They prevent rafter separation at the ridge beam during heavy upward wind suction. Under IRC residential building codes, collar ties must be spaced no more than 4 feet on center.

What is the minimum roof pitch for standard asphalt shingles?

The International Residential Code (IRC) permits asphalt shingles on slopes as low as 2:12, provided two full layers of asphalt-saturated underlayment or self-adhering ice-and-water barrier are installed across the entire deck. Standard single-layer underlayment is only permitted on slopes of 4:12 and greater.