Skip to main content

Roofing & framing

Roof Pitch Calculator

Convert entered rise/run, pitch ratio or angle into roof slope, geometric length factor and sloped length.

Formula version
1.0.0
Reviewed
Updated

Calculator

Measurement guide

A — Horizontal run: 12 ft. B — Rise per 12 units of run: 6. Roof profile reference only; entered pitch or angle does not specify structural suitability. Illustration—not to scale. Input guide only; calculate for current results.

Inputs

Enable JavaScript to calculate. The explanation remains available below.

Results

Enter inputs, then calculate.

How to use

  1. Choose pitch ratio, measured rise and run, or angle from horizontal.
  2. Enter the horizontal run needed for a physical sloped length and review angle, slope percentage and length factor separately.

Formula

angle = atan(rise/run); slope% = 100 × rise/run; factor = sqrt(1 + (rise/run)²); length = hypot(rise, run)

Pitch is rise per twelve units of horizontal run. Right-triangle geometry converts rise and run to sloped length; slope percentage and degrees are different representations.

Examples

6:12 pitch

Inputs
Rise6 for run12.
Result
About 26.565051 degrees; slope 50%; factor 1.118034. With a 12 ft horizontal run, sloped length is about 13.416408 ft.

Zero rise is a geometric boundary

Inputs
Angle mode at 0 degrees; horizontal run 12 ft.
Result
Rise and slope are zero, factor is 1 and sloped length equals the 12 ft run. This does not establish drainage suitability. Angle 90 degrees is rejected.

Limitations

  • Geometry only; no material suitability, drainage requirement, structural capacity or code approval is established.
  • Rise and horizontal run each use their selected units and are converted consistently. Do not enter sloped length as horizontal run. Angles are measured from horizontal, must remain below 90 degrees, and use floating-point trigonometry.
  • The diagram is a geometric profile, not a rafter cutting layout. Flat geometry is supported without assessing drainage, roofing product suitability or structural design.

Frequently asked questions

Is a 6:12 pitch a six-degree angle?

No. It means six units of rise per twelve horizontal units. Its angle is about 26.565 degrees.

Is a 50% slope the same as 50 degrees?

No. Slope percentage is rise divided by horizontal run times 100. Degrees describe the angle from horizontal.

Sources