Roof Pitch Calculator

Roof angle, pitch in 12, percent slope and rafter length from rise and run.

How it works — Roof Pitch Calculator

b h 12 θ ℓ

Inputs

h
Rise (ft)
b
Run (half span) (ft)
o
Horizontal overhang (ft)

Formula

  • θ = atan(rise / run)
  • pitch = 12 · rise / run

Results

θ
Roof angle
x/12
Pitch
ℓ
Rafter length incl. overhang
Reset

Results

Enter your values and press Calculate. The defaults are a worked example.

Formula

θ = atan(rise / run) · pitch = 12 · rise / run

Formulas are evaluated in SI units; inputs and results are converted.

Show the math

Worked solution

Press Calculate to see every step with your values substituted.

Assumptions

  • Simple gable: run is half the span; rafter measured along its top edge.

References

  • IRC R802 — roof framing

Results are for preliminary design and education. Verify against the governing code and have critical work checked by a licensed professional engineer.

Sign in

or with email

Forgot password?