Convert pitch, angle and slope, and size the rafters, hips and ridge of a gable, hip or shed roof – with the roof in 3D
Quick Answer:Roof pitch is the rise in inches for every 12 in of horizontal run. A 6/12 roof is 26.57° (a 50% slope) and its surface is 11.8% larger than its footprint (pitch factor 1.118); 4/12 is 18.43°, 8/12 is 33.69° and 12/12 is 45°. To measure yours, hold a level 12 in long against the roof and measure straight down from its end to the surface – that many inches over 12 is the pitch.
Ridge
Hips
Common rafter
Pitch triangle (×4)
--
The 3D model needs WebGL. All the numbers below still work.
Roof pitch
--
--
Angle
--
Slope
--
Pitch factor
--
What this pitch suits
Pitch and building
Find your pitch from a measurement
--
Length and width are to the outside of the walls. The ridge of a gable or hip roof runs along the length; a shed roof slopes across the width.
Multiply a horizontal run by the pitch factor to get the length along the slope, or a footprint area by it to get the roof's surface area. The hip/valley column is the length of a regular hip or valley rafter for each foot of common run, as printed on a rafter square.
Roof pitch to angle, percent slope, pitch factor and hip/valley length
Pitch
Angle
Slope
Pitch factor
Hip/valley per ft run
Type
1/12
4.76°
8.3%
1.003
17.00 in
membrane
2/12
9.46°
16.7%
1.014
17.09 in
low slope
3/12
14.04°
25.0%
1.031
17.23 in
low slope
4/12
18.43°
33.3%
1.054
17.44 in
standard
5/12
22.62°
41.7%
1.083
17.69 in
standard
6/12
26.57°
50.0%
1.118
18.00 in
standard
7/12
30.26°
58.3%
1.158
18.36 in
standard
8/12
33.69°
66.7%
1.202
18.76 in
standard
9/12
36.87°
75.0%
1.250
19.21 in
standard
10/12
39.81°
83.3%
1.302
19.70 in
steep
11/12
42.51°
91.7%
1.357
20.22 in
steep
12/12
45.00°
100.0%
1.414
20.78 in
steep
13/12
47.29°
108.3%
1.474
21.38 in
steep
14/12
49.40°
116.7%
1.537
22.00 in
steep
15/12
51.34°
125.0%
1.601
22.65 in
steep
16/12
53.13°
133.3%
1.667
23.32 in
steep
17/12
54.78°
141.7%
1.734
24.02 in
steep
18/12
56.31°
150.0%
1.803
24.74 in
steep
19/12
57.72°
158.3%
1.873
25.48 in
steep
20/12
59.04°
166.7%
1.944
26.23 in
steep
21/12
60.26°
175.0%
2.016
27.00 in
steep
22/12
61.39°
183.3%
2.088
27.78 in
steep
23/12
62.45°
191.7%
2.162
28.58 in
steep
24/12
63.43°
200.0%
2.236
29.39 in
steep
How the Roof Pitch Calculator 3D works
Roof pitch is the rise in inches for each 12 in of horizontal run. The calculator converts it to an angle (the arctangent of rise ÷ 12), a percent slope (rise ÷ 12 × 100) and a pitch factor – the length along the slope for each unit of horizontal run – which also turns a footprint into roof surface area, since every plane of the roof has the same pitch.
For the building you enter it works out the run (half the width for gable and hip roofs, the full width for a shed roof), the ridge height above the wall plate, the common rafter length with and without the eave overhang, the ridge length, and for a regular hip roof the hip rafters, which run at 45° in plan. The 3D model is built from the same numbers, with the ridge, hips and one common rafter highlighted and a 12-to-rise pitch triangle drawn four times full size on the gable end.
Run = 30 ÷ 2 = 15 ft, so the ridge is 15 × 0.5 = 7 ft 6 in above the wall plate and the common rafter is 15 × 1.118 = 16 ft 9¼ in (17 ft 10 11/16 in with the 1 ft overhang).
Plan area with overhangs = 42 × 32 = 1,344 sq ft; × 1.118 = 1,503 sq ft, or 15.0 squares before waste.
Result: Rafters about 17 ft 10 11/16 in long, a 42 ft ridge 7 ft 6 in above the plates and 15 squares of roofing. As a regular hip roof, each hip rafter would be 22 ft 6 in from plate to ridge.
Assumptions and limits
Rafter lengths are measured along the top edge from the outside of the wall plate (the building line) to the centre of the ridge. Deduct half the ridge board thickness, and lay out the birdsmouth from the same line.
The hip roof is a regular hip: the same pitch on all four sides. A hip roof on a square building has no ridge (a pyramid roof).
Minimum slopes follow the US International Residential Code: asphalt shingles 2/12 (double underlayment below 4/12), clay and concrete tile 2½/12, metal panels 3/12 except standing seam. Check the manufacturer's instructions and local code.
Hold a level horizontally against the roof surface (or the underside of a rafter in the attic), mark 12 in along it, and measure straight down from that mark to the roof. That number of inches is the pitch over 12: 6 in means a 6/12 roof. If your level is shorter, divide: a 4.5 in drop over 9 in is 6/12.
How many degrees is a 6/12 roof pitch?
A 6/12 pitch is 26.57°, a 50% slope. Other common pitches: 4/12 is 18.43°, 5/12 is 22.62°, 8/12 is 33.69°, 10/12 is 39.81° and 12/12 is exactly 45°. The angle is the arctangent of rise ÷ run.
What is the minimum roof pitch for asphalt shingles?
The US International Residential Code (R905.2.2) allows asphalt shingles on slopes of 2/12 or more. Between 2/12 and 4/12 they need two layers of underlayment; from 4/12 up a single layer is enough. Below 2/12 use a membrane such as EPDM or TPO, or standing-seam metal rated for low slopes.
What is a pitch factor?
The number you multiply a roof's footprint (plan area) by to get its actual surface area: √(12² + rise²) ÷ 12. A 6/12 roof has a factor of 1.118, so a 1,200 sq ft footprint has 1,342 sq ft of roof. The same factor turns a horizontal run into rafter length.