Skip to main content
force.tools

Roof Pitch Calculator

Convert rise and run into roof pitch per 12, slope percentage, angle in degrees and the slope factor used for rafters and roof area.

Unit system

Measurements

in in

Vertical height gained over the run.

in in

Horizontal distance, measured level. A 12 in level gives pitch directly.

Dimension diagramRight triangle with Rise as the vertical side and Run as the horizontal side.RunRise
Rise: not entered · Run: not entered

Your estimate

Enter your measurements to see an estimate.

Estimate only. Verify dimensions, product data and local requirements before ordering, and consult a qualified professional where structure or code applies.

How to use this calculator

What to measure
Hold a level against the roof or rafter, mark 12 in (or 30 cm) along it, and measure straight down to the surface for the rise. Total rise and total run from plans work too.
Units
Enter rise and run in the same units: inches in Imperial mode, centimetres in metric. Because pitch is a ratio, any consistent unit gives the same answer.
Reading the result
Pitch per 12 is how framers and shingle manufacturers state slope. Check the minimum pitch for your roofing material; many asphalt shingles need at least 2/12 with extra underlayment.

Formula

Variables used in the formula
VariableMeaning
RRise
NRun
Pitch per 12 = R ÷ N × 12
Slope % = R ÷ N × 100
Angle = arctan(R ÷ N)
Slope factor = √(1 + (R ÷ N)²)

Values are calculated from the unrounded ratio and shown to two decimals.

Worked example

A rise of 7 in measured over a 12 in run.

  1. Ratio = 7 ÷ 12 = 0.5833
  2. Pitch = 0.5833 × 12 = 7/12
  3. Slope = 58.3%
  4. Angle = arctan(0.5833) = 30.26°
  5. Slope factor = √(1 + 0.5833²) = 1.1577
Result
Roof pitch7/12
Roof angle30.26°
Slope percentage58.3%
Slope factor1.1577
Sloped length over the run13.89 in

Reference

Pitch, angle and slope
PitchAngleSlope %Typical use
2/129.5°16.7%Low slope, special underlayment
4/1218.4°33.3%Common minimum for shingles
6/1226.6°50.0%Typical residential
9/1236.9°75.0%Steep, needs roof jacks
12/1245.0°100%Very steep

Questions

Is a 45° roof a 12/12 pitch?

Yes. At 45° the rise equals the run, so the pitch is 12/12 and the slope is 100%.

What do I use the slope factor for?

Multiply a horizontal run by the slope factor to get the sloped length, for example a rafter length before overhang and cuts, or multiply a footprint area to get roof surface area.