MathPlainly

How to Calculate Roof Pitch

Roof pitch is the slope of the roof, written as rise over run — most often as inches of rise for every 12 inches of horizontal run. Once you have that ratio you can get the angle, the slope factor, a rafter length and a much better roofing area than the house’s footprint alone would suggest.

Use the calculator: Roof Pitch Calculator, Roofing Calculator.

What the numbers mean

A pitch of 4/12 means the roof goes up 4 inches for every 12 inches it goes horizontally. A 12/12 roof rises 12 inches in the same run and is a 45-degree slope. The run in the fraction is a horizontal distance, not the sloping rafter itself.

From the ratio r = rise ÷ run you can compute:

The roof pitch calculator runs those formulas and, if you enter a span, shows rise and rafter length for a simple gable.

How to measure it

The cleanest measurement is often in the attic, on the underside of a rafter, or on a gable end from a stable ladder. Hold a level so one end touches the rafter and the bubble is centered. From the rafter contact point, measure 12 inches horizontally along the level. At the 12-inch mark, measure straight up to the rafter. That vertical distance is the rise for a 12-inch run.

If 12 inches of run does not fit, measure what you can and scale it. A 6-inch run with a 3-inch rise is still 6/12. Work safely: use a stable ladder, stay off a steep or wet roof if you are not equipped for it, and do not lean out over a gable without a plan to stay on the ladder.

You can also infer pitch from drawings, or from a careful rise and run taken off a known span and ridge height, but a direct measurement beats a guess from the street.

Worked example: a 6/12 roof, 28 ft span

  1. Ratio: 6 ÷ 12 = 0.50.
  2. Angle: arctangent(0.50) = 26.6°.
  3. Slope factor: √(1 + 0.50²) = √1.25 = 1.118.
  4. For a simple gable, run is half the span: 28 ÷ 2 = 14 ft.
  5. Rise from wall to ridge: 14 × 0.50 = 7.0 ft.
  6. Rafter length, not including overhang: 14 × 1.118 = 15.65 ft.

Add any overhang to the rafter length if you are buying lumber. The factor 1.118 also means the roof surface is about 12% larger than the level footprint, which is the number that matters when you order shingles.

Common pitches

PitchAngleSlope factorArea on a 1,000 ft² footprint
3/1214.0°1.0311,031 ft²
4/1218.4°1.0541,054 ft²
6/1226.6°1.1181,118 ft²
8/1233.7°1.2021,202 ft²
12/1245.0°1.4141,414 ft²

Low-slope roofs (often 2/12 or less, depending on the product) need different materials than a standard shingle roof. Product instructions and local practice decide the minimum pitch, not this table.

Why pitch changes how much roofing you buy

A roofing "square" is 100 square feet of roof surface, not 100 square feet of attic floor. If you only measure the house footprint and ignore pitch, a 6/12 or 8/12 roof will come up short. Multiply the footprint, including overhangs, by the slope factor, then convert to squares and add waste, as in the roofing squares guide.

Hips, valleys, dormers and a second roof plane are extra area and extra waste that a simple gable factor does not fully capture. Measure those planes separately when you can, or raise the waste allowance and treat the result as a planning estimate until a roofer confirms it.

Frequently asked questions

What does a 6/12 roof pitch mean?

The roof rises 6 inches for every 12 inches of horizontal run. That is a ratio of 0.5, an angle of 26.6 degrees, and a slope factor of 1.118. A 6/12 pitch is a common residential slope: steep enough to shed water well, still walkable with care.

How do I measure roof pitch?

On a ladder at the gable, or from an attic under the rafter, hold a level 12 inches toward the ridge and measure the vertical rise from the end of the level up to the rafter. That rise, over 12, is the pitch. You can use a shorter level and scale the rise up to 12 inches if 12 inches of run is awkward.

What is the slope factor, and why does it matter?

The slope factor is √(1 + (rise/run)²). Multiply a level footprint (including overhangs) by the factor to get the actual roof area. On a 6/12 roof the factor is 1.118, so a 1,200 square-foot footprint has about 1,342 square feet of roof surface.

How do I find rafter length from pitch and span?

The run is half the span (for a simple gable). Rafter length, not counting overhang, is run × the slope factor. For a 28 ft span at 6/12, the run is 14 ft and the rafter is about 15.65 ft. Add the overhang separately.

Is pitch the same as the angle in degrees?

They describe the same slope in different units. Pitch is rise over run, usually with 12 in the run. The angle is arctangent(rise/run), in degrees. A 12/12 pitch is 45 degrees; a 4/12 pitch is about 18.4 degrees.

Related calculators

Related guides

Reviewed 2026-12-06 by the MathPlainly editorial team. Figures match the calculators on this site. Results are estimates for planning, not engineering, structural or professional advice.