Roof pitch & rafter calculator

Last reviewed

Rafter 14' 5-9/16"6/12 · 26.57° · 50%
Pitch
6/12
Angle
26.57°
Slope
50%
Rafter per foot of run
13.416"
Rafter run
11' 11-1/4"
Line length
13' 4-3/16"
Tail (overhang)
13-7/16"
Rafter length
14' 5-9/16"
Ridge height above plate
5' 11-5/8"

These sketches are here to help you order material and price the work quickly. They are not engineered or shop drawings — always build from your approved project drawings.

I know the…
Building span
Ridge board thickness
Overhang (level)

Length is along the top edge of the rafter, plate line to ridge face plus the tail — lay out the birdsmouth and plumb cuts from it. Rafter size and spacing are structural: use the IRC span tables or an engineer.

Show the math▾
  1. Angle
    atan(pitch ÷ 12)
    atan(6 ÷ 12) = 26.57
  2. Slope factor
    √(1 + (pitch ÷ 12)²) — rafter length per unit of run
    √(1 + (6 ÷ 12)²) = 1.1180
  3. Rafter run
    (span − ridge board) ÷ 2
    ( 24' 0" − 1-1/2" ) ÷ 2 = 11' 11-1/4"
  4. Line length
    run × slope factor
    11' 11-1/4" × 1.118 = 13' 4-3/16"
  5. Tail
    level overhang × slope factor
    1' 0" × 1.118 = 1' 1-7/16"
  6. Rafter length
    line length + tail (before plumb cuts)
    13' 4-3/16" + 1' 1-7/16" = 14' 5-9/16"
  7. Ridge height
    run × pitch ÷ 12
    11' 11-1/4" × 6 ÷ 12 = 5' 11-5/8"

Where the numbers come from

  • Pitch, angle and rafter length: angle = atan(pitch ÷ 12) · rafter = run × √(1 + (pitch ÷ 12)²) · 6/12 = 26.57°, 13.42" per foot of runRight-triangle geometry: the rafter is the hypotenuse of run and rise. "Unit length" (rafter inches per 12" of run) is what a framing square's rafter table shows — 6/12 = 13.42, 8/12 = 14.42, 12/12 = 16.97. The length here is the line length; birdsmouth and plumb cuts are laid out from it. Rafter size and spacing are structural — use the IRC span tables or an engineer.

Saved results

Nothing saved yet. Tap Save to keep a result on this device.

Pricing this as an extra? Planmit Change Orders turns these quantities into a priced change order, tracked until it’s paid. See how it works

Report a problem or suggest something

This is a community calculator for the construction trades. We check every number against its source, but mistakes happen. If a number looks wrong, tell us — and tell us which calculator you want next.

Pitch, angle, percent and common rafter length for a gable roof.

The formula

Angle = atan(pitch ÷ 12); percent = pitch ÷ 12 × 100. Rafter length = run × √(1 + (pitch ÷ 12)²), where run = (span − ridge board) ÷ 2. The overhang adds its level length × the same factor.

Worked example

A 24' span at 6/12 with a 1½" ridge and 12" overhang: run = (288 − 1.5) ÷ 2 = 143.25". Factor √1.25 = 1.118, so line length = 160.16" and the tail 13.42" — 173.58" (14' 5-9/16"). Angle 26.57°, slope 50%.

More from Planmit

Apps that take the paperwork off contractors. Built by a contractor.

See all Planmit appsRequest a trial invite