SyntaxFlow

Envelope · Roof

Roof pitch calculator

Pitch in degrees = atan(rise ÷ run); in per cent = 100 × rise ÷ run; in the US, rise in inches per 12 inches of run. A 6 in 12 roof rises 6 for every 12: 50 %, 26.57°. Its pitch factor √(1 + 0.5²) = 1.118 turns a 4000 mm run into a 4472 mm rafter and 80 m² of plan into 89.44 m² of roof. Type the pitch in whichever form you have.

Example values. Change any field to work out your own.
Roof pitch calculator
Optional: the rafter and the roof
—
Degrees
— °
Per cent
— %
X in 12
—
Pitch factor
—
Rafter length
— mm
Roof area
— m²
Insulating the roof? The U-value calculator works out the build-up, and the condensation check tells you whether it stays dry.

Everything runs in your browser. Nothing is uploaded and nothing is stored.

Roof pitch chart: X in 12 to degrees, per cent and rafter length

A 4/12 roof pitch is 18.43°, a 33.3 % slope: the roof rises 4 in for every 12 in of run, and each foot of run takes 1.054 ft of rafter.

PitchDegreesSlope, %Pitch factorRafter for 12 ft runRafter for 4 m run
1/124.76°8.31.00312.04 ft4.01 m
2/129.46°16.71.01412.17 ft4.06 m
3/1214.04°25.01.03112.37 ft4.12 m
4/1218.43°33.31.05412.65 ft4.22 m
5/1222.62°41.71.08313.00 ft4.33 m
6/1226.57°50.01.11813.42 ft4.47 m
7/1230.26°58.31.15813.89 ft4.63 m
8/1233.69°66.71.20214.42 ft4.81 m
9/1236.87°75.01.25015.00 ft5.00 m
10/1239.81°83.31.30215.62 ft5.21 m
11/1242.51°91.71.35716.28 ft5.43 m
12/1245.00°100.01.41416.97 ft5.66 m
14/1249.40°116.71.53718.44 ft6.15 m
16/1253.13°133.31.66720.00 ft6.67 m
18/1256.31°150.01.80321.63 ft7.21 m

Pitch factor = √(1 + (X/12)²): rafter length = run × factor, roof area = plan area × factor. Rafter measured along the slope to the plate line, before overhang and ridge board.

Worked example. A 30 × 40 ft house with a 6/12 roof: plan 1,200 ft² × 1.118 = 1,342 ft² of roof (124.6 m²), before overhangs: about 13.4 squares of shingles.

Insulating that roof: U-value calculator and insulation thickness; the rafters themselves: board feet calculator and lumber sizes.

How this is calculated

slope = rise / run degrees = atan(slope) per cent = 100 × slope X in 12 = 12 × slope pitch factor = √(1 + slope²) = 1 / cos(degrees) rafter = run of the rafter × pitch factor roof area = plan area × pitch factor

The rafter is measured along the pitch line from wall plate to ridge, before the overhang, the birdsmouth and the ridge board are allowed for. The roof area is for one uniform pitch; a hipped or valleyed roof is the sum of its planes.

What this page does not do

Questions people ask

How do you convert roof pitch to degrees?
Degrees = atan(rise ÷ run). A 6 in 12 pitch: atan(6 ÷ 12) = atan(0.5) = 26.57°. A 4 in 12 pitch is 18.43°, 8 in 12 is 33.69°, 12 in 12 is 45°.
What is a 30 degree roof pitch in per cent?
tan(30°) × 100 = 57.7 %, or 6.93 in 12.
How do you work out the length of a rafter from the pitch?
Multiply the horizontal run by the pitch factor √(1 + slope²): at 6 in 12 the factor is 1.118, so a 4000 mm run needs a 4472 mm rafter before the overhang.

Embed this calculator on your website: free, with a link back to this page. Calculators for your website: which one fits your business.