Free calculator

Roof pitch calculator

Convert roof pitch between X/12, degrees and percent. Add the building width and length to see the ridge height, rafter length and area of a gable roof.

See your design as an AI render — free
Units:
Roof pitch
50%
In degrees
26.57°
As X/12
6/12
Ridge height
6 ft
Rafter length (no overhang)
13.42 ft
Roof area (gable)
1,073.3 sq ft
RendScene

See this roof on the elevation

Upload the elevation and RendScene returns a photorealistic render with the roof, materials and daylight.

5 free renders · no credit card

The same west elevation rendered by RendScene with glass, steel frame, terrace and grass, flat and frontal
How it's calculated

How to calculate roof pitch

Pitch compares how much the roof rises with how far it runs horizontally.

  1. 1

    Divide the rise by the run

    Pitch = rise ÷ run. A roof that rises 6 in for every 12 in of run is 6 ÷ 12 = 0.5, or 50%: a 6/12 pitch.

  2. 2

    Convert to degrees

    The angle is the arctangent of the pitch. 6/12 is 26.57°. The other way round, 45° is 12/12, or 100%.

  3. 3

    Convert to percent or X/12

    Percent = pitch × 100, and X/12 = pitch × 12. A 30% roof is 3.6/12.

  4. 4

    Work out ridge, rafter and area

    On a gable roof with the ridge in the middle, the ridge rises half the width × pitch: 24 ft wide at 6/12 gives 6 ft. The rafter, without overhang, is 13.42 ft, and both slopes over a 40 ft length cover about 1,073 sq ft.

Reference

Roof pitch conversions

Common X/12 pitches as percent and degrees.

X/12PercentDegrees
2/1216.7%9.5°
3/1225%14°
4/1233.3%18.4°
6/1250%26.6°
8/1266.7%33.7°
9/1275%36.9°
12/12100%45°

Frequently asked questions

Divide the rise by the run. A roof that rises 6 in over 12 in has a 6/12 pitch, which is 50% or 26.57°.

Take the arctangent of rise ÷ run. 4/12 is 18.4°, 6/12 is 26.6° and 12/12 is 45°.

The roof rises 6 inches for every 12 inches of horizontal run. It is the same as 50%, or 26.6°.

On a gable roof with the ridge centered, multiply half the building width by the pitch. 24 ft wide at 6/12 gives 12 × 0.5 = 6 ft.

No. The math uses the building width and length. Add the overhang to both if you want it included.

Each manufacturer states the minimum pitch for its product. Always check the installation guide of the material you will use.

From drawing to render in minutes

Upload a floor plan, a sketch or a screenshot of your 3D model and get a photorealistic image of your project in a few minutes.

No credit card required