Lean-to Roof Pitch Calculator

Shed / Lean-to Roof Pitch Calculator

Calculate roof pitch, vertical rise, slope angle, rafter length, and slope factor for a single-slope roof.

Enter the horizontal distance from the low side of the roof to the high side.
For example, a 4-inch rise over 12 inches of horizontal run is a 4:12 roof pitch.
Roof Pitch 0:12
Total Vertical Rise 0 ft
Roof Slope Angle 0°
Estimated Rafter Length 0 ft
Slope Factor 1.000
Note: This calculator estimates the geometric roof slope and rafter length for a simple single-slope roof. It does not account for rafter overhangs, birdsmouth cuts, ridge/eave details, structural loads, or local building requirements.

What Is a Shed or Lean-to Roof Pitch?

A shed or lean-to roof is a single-slope roof that rises continuously in one direction. The roof pitch describes how much the roof rises vertically for a given horizontal run.

For example, a 4:12 roof pitch rises 4 inches for every 12 inches of horizontal run. This calculator uses that relationship to determine the total vertical rise, roof angle, and theoretical rafter length.

How to Use the Shed Roof Pitch Calculator

  1. Enter the horizontal span: Enter the horizontal distance covered by the single-slope roof in feet.
  2. Enter the roof rise: Enter the number of inches the roof rises for every 12 inches of horizontal run.
  3. Calculate the results: The calculator will show the roof pitch, total vertical rise, slope angle, rafter length, and slope factor.

Lean-to Roof Pitch Formulas

Roof Pitch

Roof pitch is expressed as a ratio of vertical rise to 12 inches of horizontal run.

Pitch = Rise : 12

Total Vertical Rise

Because the entered rise is given per 12 inches of run, the total rise can be calculated from the horizontal span:

Total Rise (inches) = Horizontal Span (feet) × Rise per Foot

Roof Slope Angle

The roof angle is calculated using the inverse tangent of the rise-to-run relationship:

Angle = arctan(Rise ÷ Run)

Rafter Length

The theoretical rafter length is the hypotenuse of a right triangle formed by the horizontal run and vertical rise:

Rafter Length = √(Run² + Rise²)

Example: 12-Foot Lean-to Roof With a 4:12 Pitch

Suppose a lean-to roof has a horizontal span of 12 feet and a pitch of 4:12.

  • Horizontal run = 12 feet
  • Rise = 4 inches per foot
  • Total vertical rise = 48 inches (4 feet)
  • Roof angle ≈ 18.43°
  • Theoretical slope length ≈ 12.65 feet

Actual rafter cutting length may be different because construction details such as overhangs, seat cuts, birdsmouth cuts, fascia, and connection details are not included in this basic geometric calculation.

Frequently Asked Questions

What is a 4:12 roof pitch?

A 4:12 roof pitch means the roof rises 4 inches vertically for every 12 inches of horizontal run.

How do I calculate the rise of a lean-to roof?

Multiply the horizontal span in feet by the rise in inches per foot. For example, a 10-foot span with a 4:12 pitch produces a 40-inch total vertical rise.

Does this calculator include rafter overhang?

No. The rafter length shown is based on the horizontal roof span and vertical rise entered into the calculator. Add the appropriate overhang and construction details separately when determining the final cut length.

Can I use this for a shed, patio cover, or lean-to addition?

Yes. The geometric calculation can be used for simple single-slope structures such as sheds, lean-to roofs, and similar structures. More complex roof designs require additional measurements and calculations.

Does roof pitch determine whether a roofing material can be used?

Roof pitch is one factor used when selecting roofing systems, but the acceptable minimum slope depends on the specific roofing material, installation method, manufacturer requirements, and applicable building regulations. Always verify those requirements separately.