EN
CalcSlopecalcslope.com

Reference document

How to calculate roof pitch: rise, run and angle | CalcSlope

Printed

Measuring

How to calculate roof pitch: rise, run and angle

Learn how to calculate roof pitch from rise and run, convert to degrees or percent, avoid measuring errors, and check worked examples with our calculator.

Key takeaways

  • Roof pitch = rise ÷ horizontal run. Multiply by 12 for X/12 or by 100 for percent.
  • Use arctan(rise ÷ run) for degrees; a 6/12 roof is 26.57° and 50%.
  • Measure one roof face at a time. The sloping rafter length is not the horizontal run.
Roof pitch triangle comparing rise, horizontal run and sloping length
Original CalcSlope diagram: one roof face represented by a right triangle.
Try the worked example in the calculatorRoof pitch — Angle, %, X/12 from rise and runOpen calculator

Knowing how to calculate roof pitch starts with two measurements: the vertical rise and the horizontal run. Divide the rise by the run, using the same unit for both. That single ratio gives the roof’s X/12 pitch, its percentage slope and its angle in degrees. To switch between degrees, percent, 1:X and X/12 without a roof drawing, use the slope converter.

For example, a roof that rises 6 inches over a level distance of 12 inches is a 6/12 roof. It has a 50% slope and an angle of about 26.57°. The measurements describe a right triangle; they do not tell you whether a roof covering or a timber section is suitable.

How do you calculate pitch of a roof?

Use these formulas, where R is rise and U is horizontal run:

Result Formula Example: R = 6, U = 12
Rise-to-run ratio R ÷ U 0.5
Pitch X/12 X = 12 × R ÷ U 6/12
Slope percent 100 × R ÷ U 50%
Angle in degrees arctan(R ÷ U) 26.57°
Sloping length √(R² + U²) 13.42 in

Set a scientific calculator to degrees before taking the arctangent. Some calculators label this function atan or tan⁻¹. Here, tan⁻¹ means the inverse tangent, not one divided by tangent. A result near 0.464 for a 6/12 roof is in radians; the same angle in degrees is 26.57.

You can use our roof pitch calculator to check all three slope formats together. Enter actual rise and run rather than rounding a measurement to the nearest familiar pitch.

Identify rise, run and span before measuring

Rise is the change in height between two points on the same straight roof face. Run is the level distance between those points. The rafter is the sloping side connecting them. Dividing rise by rafter length gives a different trigonometric ratio, so it cannot replace rise divided by run.

Span usually describes the full width across a building or roof. For a symmetrical gable, the run from an outside wall to the ridge centreline is half the corresponding span. For an off-centre ridge, the two runs differ. Neither calculation should quietly include an overhang that the other measurement excludes.

Choose reference points and write them on a sketch. For example, measure from the wall bearing line to the ridge centreline on both the plan and elevation. A roof edge, wall face and wall centreline are three different references. Small differences matter when you later use the geometry for timber lengths.

Right triangle showing a horizontal run of 12, vertical rise of 6 and a 26.57 degree roof angle
The rise is vertical and the run is horizontal. The sloping side is measured separately.

Three ways to measure roof pitch

1. Measure from an accessible attic

Use a level, tape measure and a straight, accessible common rafter. Work only from a secure floor or purpose-built access platform. Ceiling plasterboard and hidden spaces between joists are not walking surfaces. Stop if access requires balancing on exposed framing or disturbing insulation, wiring or damaged material.

Hold one end of the level against the underside of the rafter. Keep the level horizontal and mark a point 12 inches from the contact point, toward the higher part of the rafter. Measure vertically from that mark up to the same underside. A rise of 8 inches means 8/12.

Repeat on other straight rafters on the same face. See the detailed attic measurement guide for positioning, repeat measurements and the limits of this method. A short local reading can reveal slope, but it cannot establish the full roof dimensions or diagnose structural movement.

2. Use a reliable drawing or survey

If drawings give a ridge height and an eave height from the same datum, subtract them to obtain rise. Use the corresponding horizontal distance for run. Check that both heights refer to the same roof surface or framing line. Combining an external ridge height with an internal ceiling height introduces the roof build-up into the calculation.

For an existing building, confirm that the drawing represents what was built. Extensions, thicker insulation and altered ridge details can change reference points. Treat dimensions read from a printed scale cautiously: printing and scanning can distort the drawing. Written dimensions are preferable to measuring a picture with a ruler.

3. Measure an angle on a suitable straight surface

A calibrated inclinometer can measure an accessible rafter or roof deck angle directly. Check its zero on a known level reference and repeat the reading with the instrument reversed. Use the angle from horizontal, not the complementary angle from vertical.

A phone sensor can provide an initial estimate, but a protruding camera, uneven case or uncalibrated sensor can affect contact and readings. Tiles and overlapping shingles can also sit at a different local angle from the underlying roof plane. Record what surface you measured and confirm important decisions with a more reliable survey.

Worked example 1: a 6/12 roof

Suppose a symmetrical gable has a 24 ft span between the chosen wall lines. Its ridge rises 6 ft above the matching eave reference. Each face has a horizontal run of 12 ft. The ratio is 6 ÷ 12 = 0.5, so the pitch is 6/12, the slope is 50%, and the angle is arctan(0.5) = 26.57°.

The geometric sloping length is √(12² + 6²) = 13.416 ft, or about 13.42 ft. That is not 13 ft 42 in: the fractional 0.416 ft is about 5 in. It also does not include an eave overhang or cutting allowances. Our 6/12 explanation shows the same roof in several useful units.

Worked example 2: a 4/12 roof

A shed roof rises 32 inches across a horizontal run of 8 ft. Convert 8 ft to 96 inches before dividing. Then 32 ÷ 96 = one third. Multiply by 12 to get 4/12, by 100 to get 33.33%, or take the arctangent to get 18.43°.

If you divide 32 by 8 without converting the units, the answer becomes 48/12, which is a completely different roof. Unit labels are therefore part of the calculation, not decoration. This example also shows why a single-slope roof uses the full horizontal distance between its high and low supporting lines.

Worked example 3: a 9/12 roof

A measured roof face rises 9 inches over a 12-inch level run. The ratio is 0.75. Its pitch is 9/12, its percentage is 75%, and its angle is 36.87°. For a 10 ft horizontal run, the rise would be 7.5 ft and the sloping length would be 12.5 ft.

The last example forms a scaled 3–4–5 triangle: 7.5² + 10² = 12.5². This is a useful independent arithmetic check. Do not assume that every roof with a steep-looking outline is 9/12; perspective and neighbouring buildings can make a gentler roof appear steeper.

Roof pitch conversion table

Pitch Degrees Percent Sloping length ÷ run
2/12 9.46° 16.67% 1.0138
3/12 14.04° 25.00% 1.0308
4/12 18.43° 33.33% 1.0541
5/12 22.62° 41.67% 1.0833
6/12 26.57° 50.00% 1.1180
8/12 33.69° 66.67% 1.2019
9/12 36.87° 75.00% 1.2500
12/12 45.00° 100.00% 1.4142

The last column is a geometric multiplier, not a waste allowance. For a single flat roof face, it also converts horizontal projected area into sloped area when the boundaries match. Add overhangs to the plan before applying the factor, then account separately for cutting waste and product coverage.

For more conversions, use the roof pitch chart and guide. Keep more precision during intermediate steps and round the displayed result at the end. A roof measured with a tape does not acquire millimetre accuracy just because a calculator can display many decimal places.

How to work out roof pitch with metric measurements

The formula is unchanged in metres, centimetres or millimetres. A rise of 1.8 m over a run of 3.6 m gives 0.5, or 50%, 26.57° and 6/12. X/12 is a ratio; it does not require the building itself to have been measured in inches.

If a drawing gives a rise of 450 mm and a run of 3 m, first convert the run to 3,000 mm. The slope is 15%, and the angle is about 8.53°. A percentage records height change per hundred horizontal units. A 15% slope rises 150 mm for every metre of horizontal travel.

Common mistakes and a useful accuracy check

Avoid using the full gable span as one face’s run, measuring perpendicular to the rafter instead of vertically, or combining feet and inches in a single fraction. Another common mistake is calling a 30% roof a 30° roof. A 30% slope is only about 16.70°; a 30° roof has a slope of about 57.74%.

Check the sensitivity of a short measurement. On a 12-inch run, a rise between 5.75 and 6.25 inches gives roughly 25.60° to 27.51°. This is enough uncertainty to matter near a manufacturer’s minimum slope. Repeating the reading over a longer accessible baseline can help, provided the surface remains straight and the level is accurate.

If repeated readings disagree substantially, keep the readings separate and investigate the cause. Do not average different roof faces or a bowed rafter into one apparently precise number. A geometric calculator cannot determine which measurement represents the intended roof plane.

Use the result for the next decision

Pitch is an input to design, not a complete design check. In the United States, the IRC roof-assembly provisions distinguish between roof covering systems and their installation requirements. The edition adopted locally and the product instructions both matter. A pitch number alone cannot approve shingles, metal panels, drainage or snow-load capacity.

For example, do not treat 4/12 as the absolute minimum for every asphalt-shingle installation, or a single low slope as suitable for every metal roof. These are product and assembly questions. Read minimum metal-roof slopes before using a conversion table to select panels.

Once your measurements agree, try the 8/12 calculator example, replace the values with your own, and carry the confirmed angle to the area or framing tool. Record the units, reference points and measurements alongside the result so another person can reproduce it.

For an area estimate based on aerial dimensions, follow the Google Maps roof measurement guide before applying a pitch factor.

Sources and calculation method

The formulas and worked examples above are right-triangle geometry. Regulatory context comes from the International Code Council, 2024 IRC Chapter 9; structural sizing is explained separately in the American Wood Council span-table tutorial. Measurements, product suitability and local adoption must be checked for the actual project. Sources reviewed on 23 October 2026.

Frequently asked questions

How do I calculate roof pitch?

Measure vertical rise and horizontal run in the same units. Divide rise by run, then multiply by 12 for X/12 pitch or by 100 for percent. Take the arctangent of the ratio for degrees.

How to figure roof pitch without going on the roof?

Use reliable dimensioned drawings or measure an accessible rafter from a properly floored attic. If neither is available, have a professional measure it. A photograph alone is not a dependable measurement.

How is roof pitch calculated for two different slopes?

Calculate each face using its own horizontal run and the rise to the ridge. An off-centre ridge makes the runs different, so half the building span cannot be used for both.

Does 100% roof slope mean a vertical roof?

No. It means rise equals horizontal run: a 45° angle, also written 12/12. A vertical line has no finite rise-to-run ratio.

Written byAbrar Hasan

Dhaka, Bangladesh

How we write and check articles

MeasuringRoof pitch from a photo: perspective and measurementEstimate roof pitch from a photo only when the view supports it. Learn how perspective, camera roll and pixel errors affect the angle, with worked examples.7 min read · Oct 30, 2026MeasuringRoof area from Google Maps: measure and correct for pitchEstimate roof area from Google Maps, correct the footprint for pitch, include overhangs, and check measurement uncertainty before ordering roofing materials.7 min read · Oct 30, 2026MeasuringHow to measure roof pitch from the atticLearn how to measure roof pitch from the attic with a level and tape. Check safe access, repeat readings and convert your measurements with our calculator.7 min read · Oct 30, 2026
Roof pitchAngle, %, X/12 from rise and runTwo-slope roof pitchSymmetric or off-centre gableRoof area & sheetsSurface, walls, sheets to buyRoof framePosts, rafters, cut listAttic floor areaArea under sloped ceilings