← Free label toolsGuides
Home / Guides / Roof Pitch & Rafter Calculator

Roof Pitch Formula for Angle and Rafter Length

Roof pitch describes how much a roof rises over a horizontal run. Converting pitch into angle, slope factor, and rafter length helps with layout, estimating, and material planning.

Ready to make one? Convert pitch, angle, slope factor, and rafter length with the free Roof Pitch Calculator from Maker Label Studio.
Open Roof Pitch & Rafter Calculator →

What Roof Pitch Means

In common U.S. framing language, roof pitch is written as rise over 12 inches of run, such as 6/12. That means the roof rises 6 inches for every 12 inches of horizontal run.

Pitch affects walkability, roofing material limits, attic volume, drainage, wind exposure, and the actual surface area of the roof. A steeper roof has more surface area than its flat plan footprint.

  • Framers use pitch for rafter layout.
  • Roofers use pitch for material and safety planning.
  • Estimators use slope factor to convert plan area to roof area.

How to Calculate Pitch, Angle, and Rafters

Pitch ratio = rise / run. Angle = arctan(rise / run). Slope factor = sqrt(1 + (rise / run)^2). Rafter length = horizontal run x slope factor, before overhang, ridge, seat cut, and construction details.

For example, a 6/12 roof has a rise/run ratio of 6/12 = 0.5. The angle is arctan(0.5) = 26.6 degrees. The slope factor is sqrt(1 + 0.5^2) = 1.118. If half the building span is 12 feet, the common rafter line length is 12 x 1.118 = 13.42 feet before adjustments.

Ridge Height and Roof Area

Ridge height above the plate is horizontal run x rise/run, adjusted for framing details. With a 12 foot run and a 6/12 pitch, rise is 12 x 0.5 = 6 feet. Actual ridge elevation may change with ridge board thickness, rafter depth, heel height, and truss design.

Roof area can be estimated by multiplying plan area by the slope factor for simple gable roofs. Complex roofs require separate planes, valleys, hips, waste factors, and material-specific coverage rules.

  • Measure run horizontally, not along the roof surface.
  • Separate dormers, hips, and valleys into their own areas.
  • Add overhangs before ordering sheathing or roofing.

Common Roof Pitch Mistakes

A common mistake is confusing pitch angle with pitch ratio. A 6/12 roof is not 45 degrees; it is about 26.6 degrees. A 12/12 roof is 45 degrees because rise equals run.

Another mistake is using rafter line length as the cut length without considering seat cuts, ridge connection, fascia, overhang, and lumber layout. Calculations provide geometry; framing details provide the final cut list.

  • Do not use roof surface length as horizontal run.
  • Do not ignore manufacturer minimum slope rules for roofing products.
  • Do not skip fall-protection planning on steep or high roofs.

Frequently asked questions

What angle is a 4/12 roof?

A 4/12 pitch has a rise/run ratio of 0.333. The angle is arctan(0.333), or about 18.4 degrees.

What is slope factor used for?

Slope factor converts horizontal plan measurements to sloped roof surface length or area for simple roof planes.

Does rafter length include overhang?

Only if the overhang is included in the horizontal run used in the calculation. Many layout calculations add overhang separately.

Is percent slope the same as roof pitch?

Percent slope is rise divided by run times 100. A 6/12 pitch is 50 percent slope because 6 divided by 12 equals 0.5.

Ready to make one? Convert pitch, angle, slope factor, and rafter length with the free Roof Pitch Calculator from Maker Label Studio.
Open Roof Pitch & Rafter Calculator →
Related free tool: Roof Pitch & Rafter Calculator