Roof Pitch Calculator: Rise and Run, Degrees, Slope and Rafter Length

Enter rise and run, an X/12 pitch, an angle, or a percent slope. Get normalized pitch, degrees, percent slope, pitch multiplier, unit and actual rafter length, plus optional sloped roof area and roofing squares.

Enter the roof slope

Choose the measurement you already know.
Slope ratios do not change with units.
Vertical—not along the roof surface.
Level horizontal distance, not rafter length.
Optional size inputs
A centered symmetrical gable uses span ÷ 2.
Enter the footprint of the roof planes at one consistent pitch.

Live gable-roof diagram

Symmetrical gable roof measurement diagram The full span runs between outside walls. The highlighted right triangle shows that horizontal rafter run is half the span when the ridge is centered. full building span span (optional) horizontal run = span ÷ 2 run rise 4 in rafter 12.65 in per 12 in 18.43°

Key: rise is vertical, run is horizontal, and rafter length follows the slope. The drawing is schematic; labels show calculated values.

Advertisement

Instant results

Normalized roof pitch 4/12 X/12 means vertical rise for every 12 equal units of horizontal run.
Angle 18.43° Measured upward from horizontal.
Percent slope 33.33% Rise ÷ run × 100.
Pitch multiplier 1.054 Converts horizontal run or plan area to sloped length or area.
Unit rafter length 12.65 in For 12 in of horizontal run.

Worked roof-pitch examples

1. Non-12-inch rise and run

Measured rise = 7.5 in; horizontal run = 18 in.

Pitch = (7.5 ÷ 18) × 12 = 5.00/12
Angle = atan(7.5 ÷ 18) = 22.62°
Slope = (7.5 ÷ 18) × 100 = 41.67%

Rounded to 5/12, 22.62°, and 41.67%.

2. Angle to pitch

Known roof angle = 30° from horizontal.

Ratio = tan(30°) = 0.57735
Pitch = 0.57735 × 12 = 6.93/12
Slope = 0.57735 × 100 = 57.74%

The decimal pitch is retained because 30° is not exactly 7/12.

3. Span, rise, and rafter

Centered gable span = 28 ft; pitch = 6/12.

Run = 28 ÷ 2 = 14 ft
Rise = 14 × (6 ÷ 12) = 7 ft
Rafter = √(14² + 7²) = 15.65 ft

The 15.65 ft result excludes overhang, ridge adjustment, birdsmouth/plumb cuts, and field allowances.

Four ways to measure roof pitch

Prefer ground or attic measurements. Do not climb a roof just to obtain a pitch. If roof access is part of your work, follow applicable fall-protection rules and use trained, properly equipped workers.

From the attic

Hold a level horizontally against the underside of a sloped rafter. From a known run mark—12 in or 30 cm works well—measure vertically to the rafter. Enter that vertical rise and horizontal run.

From a roof or rake edge

Only from a safely accessible position, hold a level horizontally against the roof surface or rake reference. At the known horizontal run mark, measure vertically to the sloped surface. Do not substitute the distance along the shingle or rafter for run.

From total rise and building span

For a centered symmetrical gable, use the vertical rise from wall-top level to ridge and divide the full outside span by two to get one rafter’s horizontal run. Do not halve the span for a shed roof or an offset ridge.

With an angle finder

Zero/calibrate the tool as its maker instructs, then read the roof or rafter angle from horizontal. Enter that reading in Degrees mode. Confirm whether the device reports angle from horizontal or from vertical.

Definitions, formulas, and result interpretation

Pitch and slope

Run is horizontal distance. Rise is vertical height. Rafter length follows the slope.

X/12 = (rise ÷ run) × 12
percent = (rise ÷ run) × 100

Angle conversion

The angle is measured from a horizontal line, not from vertical.

angle = atan(rise ÷ run)
ratio = tan(angle)

Length and area

The multiplier is the sloped length for one unit of horizontal run.

multiplier = √(1 + ratio²)
rafter = run × multiplier
surface area = plan area × multiplier

Common mistakes

  • Using sloped rafter length where the formula requires horizontal run.
  • Using the full gable span for one common rafter instead of half the span.
  • Assuming a calculated geometric rafter length includes overhang, ridge details, cuts, or construction tolerances.
  • Treating estimated surface area as an order quantity without adding measured overhangs, waste, starter/ridge materials, and complex roof planes.

Material-selection caution

The calculator describes geometry; it does not approve a roof covering. For example, 2024 IRC §R905.2.2 permits asphalt shingles at 2/12 or greater and points to special underlayment treatment below 4/12. Owens Corning’s Supreme shingle instructions separately specify standard- and low-slope underlayment applications. Verify the code adopted where the building is located and the current instructions for the exact roof covering and underlayment; other systems have different limits.

Roof pitch conversion chart

Values are rounded. Classifications are neutral geometry bands for scanning this table; they are not material approvals or code categories.

PitchDegreesPercent slopeMultiplierDescriptive band
¼/121.19°2.08%1.000Below 2/12
½/122.39°4.17%1.001Below 2/12
1/124.76°8.33%1.003Below 2/12
2/129.46°16.67%1.0142/12 to <4/12
3/1214.04°25.00%1.0312/12 to <4/12
4/1218.43°33.33%1.0544/12 to <9/12
5/1222.62°41.67%1.0834/12 to <9/12
6/1226.57°50.00%1.1184/12 to <9/12
7/1230.26°58.33%1.1584/12 to <9/12
8/1233.69°66.67%1.2024/12 to <9/12
9/1236.87°75.00%1.2509/12 and above
10/1239.81°83.33%1.3029/12 and above
11/1242.51°91.67%1.3579/12 and above
12/1245.00°100.00%1.4149/12 and above

Roof pitch calculator FAQ

How do you calculate roof pitch from rise and run?

Divide rise by horizontal run to get the slope ratio, then multiply by 12 to express it as X/12. For example, 6 inches of rise over 18 inches of run is (6 ÷ 18) × 12 = 4/12.

How do you convert roof pitch to degrees?

Use angle = arctan(rise ÷ run). For an X/12 pitch, use arctan(X ÷ 12); a 4/12 pitch is about 18.43 degrees.

What do 4/12 and 6/12 equal?

A 4/12 pitch equals about 18.43 degrees, 33.33 percent slope, and a 1.054 multiplier. A 6/12 pitch equals about 26.57 degrees, 50 percent slope, and a 1.118 multiplier.

Are roof pitch and percent slope the same?

They describe the same rise-to-run relationship in different formats. X/12 pitch uses rise per 12 units of horizontal run; percent slope is rise divided by run times 100.

How do you find roof run from building span?

For a symmetrical gable roof whose ridge is centered, horizontal rafter run is half the outside building span. An offset ridge, unequal roof planes, or wall thickness details require each run to be measured separately.

How do you calculate common-rafter length?

Multiply horizontal rafter run by the pitch multiplier, or use the Pythagorean formula √(run² + rise²). The geometric result excludes overhang, ridge-board or ridge-beam adjustment, birdsmouth and plumb cuts, and field allowances.

How does pitch affect roof area?

Multiply the horizontal plan area by the pitch multiplier √(1 + (rise ÷ run)²). This estimates a simple roof surface at one consistent pitch; add overhangs, waste, valleys, hips, and other complex planes separately.

What is the minimum pitch for roofing materials?

There is no universal minimum for every roof covering. As one reference, the 2024 IRC permits asphalt shingles at 2/12 or greater and requires special underlayment treatment below 4/12; always verify the adopted local code and the exact roofing and underlayment manufacturers’ current instructions.

Methodology and review

Last reviewed: 16 July 2026

Editorial owner: Starlight Robotics

Calculation methodology: The calculator uses dimensionless right-triangle trigonometry: ratio = rise/run, angle = arctan(ratio), multiplier = √(1 + ratio²), rafter length = run × multiplier, and sloped area = horizontal plan area × multiplier. The formulas and displayed rounding were checked against the three worked examples above.

References checked: 2024 International Residential Code, Chapter 9; Owens Corning Supreme shingle installation instructions; and OSHA residential fall-protection guidance.

No professional engineering or roofing credential is claimed. This page performs geometry conversions and is not structural design, a cut schedule, or approval for a roofing assembly.

Explore more tools