Skip to content

The math stays in this tab. Calculators do not upload your measurements. Image files are converted on this device.

Carpentry and wood

Roof pitch calculator

Roof pitch is the rise over a 12-inch run. If you know a different run, divide rise by that run and multiply by 12. The roof angle is the arctangent of rise over run. The slope factor is the rafter length per unit of horizontal run, and it equals the square root of (rise² + run²) divided by the run. Multiply that factor by the horizontal rafter run in feet to get the rafter length.

With the measurements already in the form, pitch is 6 / 12.

This is geometry for ordering and layout, not an engineered design. If the work carries people, vehicles, or soil, use a drawing that your jurisdiction will accept.

Measurements
in
in
ft

Result

6 / 12

Pitch

Angle
26.57°
Slope factor
1.118
Rafter length
15.65 ft

Worked example

A rise of 6 inches in a 12-inch run is a 6/12 pitch, about 26.57 degrees. The slope factor is 1.118. A rafter that covers 14 feet horizontally is about 15.65 feet long, before the tail and the ridge cut.

Results for the numbers in the form
Pitch6 / 12
Angle26.57°
Slope factor1.118
Rafter length15.65 ft

Formula

Pitch per 12 = (rise ÷ run) × 12. Angle = arctan(rise ÷ run). Slope factor = √(rise² + run²) ÷ run. Rafter length = horizontal run × slope factor.

How to use it

  1. Enter the rise and the run that define the pitch. Use 12 for the run if you already know the pitch per foot.
  2. Enter how far the rafter travels horizontally, in feet.
  3. Add overhang separately. The tail is extra length beyond the wall.

Assumptions

  • The rafter length is the sloped line of the horizontal run you entered. It does not add overhang or subtract a ridge plumb-cut shortening.
  • Pitch is a straight gable or a single rafter. Hips and valleys are longer.
  • This is geometry, not a span table.

Sources

  • Pitch, angle, and slope factor are trigonometry. A 6/12 factor of 1.118 is √(6² + 12²) ÷ 12.

Questions

What is a 6/12 pitch in degrees?

About 26.57 degrees. A 4/12 is about 18.43 degrees. A 12/12 is 45 degrees.

How do I find rafter length?

Multiply the horizontal run by the slope factor. For 6/12 the factor is about 1.118, so a 14-foot run is about 15.65 feet of rafter, not counting overhang.

Does pitch include the overhang?

No. Pitch is the slope. Overhang is additional horizontal run past the wall, and it lengthens the rafter by that extra run times the same factor.

How these numbers are producedMarkdown version

Related calculators

All calculators