Yard & BuildMaterial Calculators List 0

Aisle 6, Roofing & framing

Roof Pitch Calculator

A roof that rises 6 inches for every 12 inches of level run is a 6/12 pitch: 26.57°, a 50% slope, and 1.118 times longer along the roof than in plan. Enter a rise and run, an angle, or a gable’s height and width to find yours.

Your project
How much the roof goes up …
… over this level distance. 12 in is the usual reference.
Roof pitch
6/12pitch
Angle26.57°
Slope50.0%
Roof area multiplier1.1180
Rafter length per foot of run13.42 in
Hip or valley length per foot of common run18.00 in

Asphalt shingles can be installed with standard underlayment at this pitch. Check your local code.

The multiplier converts a flat (plan) area or run into the sloped area or length. Hips and valleys assume both roof planes have the same pitch and meet at 45° in plan.

26.6°run 12 inrise 6.00 in13.42 in
6/12: for every 12 in of level run the roof rises 6.00 in.

How this was calculated

  1. Pitch = rise ÷ run × 12 = 6 in ÷ 12 in × 12 = 6/12
  2. Angle = arctan(6 ÷ 12) = 26.57°
  3. Slope = 6 ÷ 12 × 100 = 50.0%
  4. Multiplier = √(1 + (6 ÷ 12)²) = 1.1180
  5. Rafter per foot of run = 12 in × 1.1180 = 13.42 in
  6. Hip or valley per foot of common run = √(2 × 12² + 6²) = 18.00 in

What roof pitch means

Roof pitch is how many inches the roof rises for every 12 inches of level (horizontal) distance, called the run. A 6/12 pitch, said “6 in 12”, climbs 6 inches per foot of run.[1] The same slope can be written as an angle, a percent or a multiplier, and it sets how much rafter you need per foot of run:

angle = arctan(rise ÷ 12)
percent slope = rise ÷ 12 × 100
multiplier = √(1 + (rise ÷ 12)²) = length along the roof ÷ level length
rafter length per foot of run = √(144 + rise²) inches

For 6/12 that is 26.57°, 50%, a multiplier of 1.118 and 13.42 inches of rafter per foot of run, the same figures Swanson and the Journal of Light Construction give.[2][3]

Three ways to find your roof pitch

1. A level and a tape measure

The attic is the safest place to do this. Hold a level dead level with one end touching the underside of a rafter. Measure straight up (or down) from the level to the rafter at exactly 12 inches from that end. The number of inches is the pitch: 4 inches means 4/12.[1] This Old House suggests doing it from the attic with an 18 or 24 inch level against the underside of a rafter, which keeps you off the roof.[4]

Example: the gap at 12 inches is 5¼ inches. Pitch = 5.25 ÷ 12 × 12 = 5¼/12, which is 23.63°. If your level is longer and you measure at its far end instead, divide by that length: 9 inches over 24 inches is 9 ÷ 24 × 12 = 4½/12 (20.56°). Choose “Rise and run” in the calculator and enter both numbers.

2. An angle finder or a phone level app

Lay the angle finder on a rafter in the attic, or on a rafter tail at the eave from a ladder, and read the angle. Convert it with pitch = 12 × tan(angle). A reading of 22.5° gives 12 × tan 22.5° = 4.97, so the roof is about 5/12. Small errors in the reading matter: between 4/12 and 9/12, one degree is 0.23 to 0.33 inch of rise per foot, so take two or three readings and average them.

3. The rise and span of a gable

Plans and framing drawings often give the span (the building width) and the total rise to the ridge. The run is half the span.[5] A gable 28 ft wide with a 7 ft rise has a run of 14 ft: 7 ÷ 14 × 12 = 6/12.

This works when both numbers are taken on the same line through the rafters, as framing drawings do. Heights measured on the house are a different matter: from the top of the wall to the top of the ridge you also pick up the depth of the rafter above its seat, about 6.4 in for 2×8 rafters at 6/12, so the 28 ft example above would read about 6.45/12 (about 6½/12). For a roof you can get to, method 1 or 2 is more accurate.

Roof pitch chart

Every row is computed from the formulas above. The rafter and hip columns match Swanson’s rafter table to within 0.01 in; Swanson gives its angles in quarter degrees.[1]

PitchAngleSlopeMultiplierRafter per ft of runHip or valley per ft of runOld-style pitch (rise ÷ span)
1/124.76°8.3%1.003512.04 in17.00 in1/24
2/129.46°16.7%1.013812.17 in17.09 in0.083
3/1214.04°25.0%1.030812.37 in17.23 in1/8
4/1218.43°33.3%1.054112.65 in17.44 in1/6
5/1222.62°41.7%1.083313.00 in17.69 in5/24
6/1226.57°50.0%1.118013.42 in18.00 in1/4
7/1230.26°58.3%1.157713.89 in18.36 in7/24
8/1233.69°66.7%1.201914.42 in18.76 in1/3
9/1236.87°75.0%1.250015.00 in19.21 in3/8
10/1239.81°83.3%1.301715.62 in19.70 in0.417
11/1242.51°91.7%1.356616.28 in20.22 in11/24
12/1245.00°100.0%1.414216.97 in20.78 in1/2
14/1249.40°116.7%1.536618.44 in22.00 in0.583
16/1253.13°133.3%1.666720.00 in23.32 in2/3
18/1256.31°150.0%1.802821.63 in24.74 in3/4
24/1263.43°200.0%2.236126.83 in29.39 in1 (full pitch)

The last column is the older way of naming pitch, explained below; where the fraction would look like a modern x/12 pitch it is shown as a decimal. The hip or valley column is for two roof planes of the same pitch meeting at 45° in plan, per foot of the common rafter’s run. In plan a hip covers 12√2 = 16.97 inches for every 12 inches of common run; framers round it to 17 on the framing square, but the lengths here use 16.97.[5]

Using the multiplier for roof area

Multiply any level (plan) measurement by the multiplier to get the length or area along the roof. A 30 × 50 ft house with 1 ft overhangs all round covers 52 × 32 = 1,664 sq ft in plan; at 6/12 the roof surface is 1,664 × 1.1180 = 1,860 sq ft. When every plane has the same pitch this works for hip roofs too. The roofing calculator takes it from there to squares, bundles and underlayment.

“Quarter pitch” is not 4/12

Older carpentry books use pitch for a different ratio: the rise divided by the whole span, written as a fraction. Since the span is twice the run, that fraction is the rise per foot divided by 24.[5][6]

Old nameRise per footPitch today
1/6 pitch24 × 1/6 = 4 in4/12
1/4 pitch24 × 1/4 = 6 in6/12
1/3 pitch24 × 1/3 = 8 in8/12
1/2 pitch24 × 1/2 = 12 in12/12

So a plan or an old manual that says “1/4 pitch” means 6/12, not 4/12.[1] The building code uses “pitch” in the plain sense (R802.4.4 speaks of a roof pitch “less than 3:12”) but does not define it: its definitions send “Pitch” to “Slope”, which is defined only for piping, and slopes are written as units vertical in 12 units horizontal.[7][8][9] When someone gives you a fraction, ask whether they mean rise per 12 or rise over span.

What pitch means for your roofing

Each roof covering has a minimum slope in the International Residential Code (IRC 2021, section R905). Your local code may differ, so check with your building department.[9]

Roof coveringMinimum pitchIRC section
Standing-seam metal roof systems¼/12R905.10.2
Lapped metal panels with lap sealant½/12R905.10.2
Mineral-surfaced roll roofing1/12R905.5.2
Asphalt shingles (double underlayment from 2/12 up to 4/12)2/12R905.2.2
Clay and concrete tile (double underlayment from 2½/12 up to 4/12)2½/12R905.3.2
Metal roof shingles3/12R905.4.2
Lapped metal panels without lap sealant3/12R905.10.2
Wood shingles and wood shakes3/12R905.7.2, R905.8.2
Slate4/12R905.6.2

This Old House calls 3/12–4/12 low slope, 5/12–7/12 a medium pitch common on houses, and 8/12–12/12 steep; Swanson calls 6/12 the default residential pitch.[4][2] Any roof is a fall hazard, whatever its pitch. Measure from the attic, from a ladder at the eave or from the plans, and leave work on the roof itself to people with fall protection.

Questions people ask

How can I calculate my roof pitch?

Hold a level dead level with one end touching a rafter or the roof, and measure straight up (or down) to the roof at 12 inches along the level. That number of inches is the pitch over 12. Or measure the angle and use pitch = 12 × tan(angle).

What is a 4/12 roof pitch formula?

A 4/12 roof rises 4 inches per 12 inches of run: angle = arctan(4 ÷ 12) = 18.43°, slope 33.3%, multiplier √(1 + (4/12)²) = 1.0541, and 12.65 inches of rafter per foot of run.

What roof slope is 22.5 degrees?

12 × tan 22.5° = 4.97, so 22.5° is just under 5/12 (a 5/12 roof is 22.62°).

What does a 4/12 pitch roof look like?

It rises 4 inches per foot, an angle of 18.43°, so it looks fairly flat from the street. It is the lowest pitch at which the IRC lets asphalt shingles go on over a single layer of standard (felt or synthetic) underlayment; below it, down to 2/12, that underlayment must be doubled, or a self-adhering membrane used instead.

Is 1/4 pitch the same as 4/12?

No. “1/4 pitch” is the old rise-over-span ratio, and 24 × 1/4 = 6, so it means 6/12. 4/12 is “1/6 pitch” in that system.

Related calculators

Sources

  1. Swanson Tool Co., Blue Book: Roof Pitch Reference (master rafter length table). Rafter and hip lengths per foot of run for 1 to 30 in rise; 1/4 pitch = 6 in rise; measuring pitch with a level at 12 in; deduct ridge thickness from building width. Checked 2026-10-05.
  2. Swanson Tool Co., 6/12 Roof Pitch: rafter reference. 6/12 = 26.57°, 50%, 13.416 in per 12 in of run, multiplier 1.118. Checked 2026-10-05.
  3. Journal of Light Construction, Framing Square Basics: Rafter Layout (2022). 6 in 12: 13.42 per foot of run; hip or valley triangle 6-16.97-18. Checked 2026-10-05.
  4. This Old House, Understanding and Determining Roof Pitch. Measure from the attic with an 18 or 24 in level; 3/12–4/12 low slope, 5/12–7/12 medium, 8/12–12/12 steep. Checked 2026-10-05.
  5. U.S. Navy (Naval Education and Training), Builder training manual, Chapter 2 Roof Framing (copy hosted by InspectAPedia). Span, run, rise, line length, bridge measure, ridge shortening, projection and tail, bird’s mouth; 7 in 12 on a 16 ft span = 111 1/8 in; hip unit run 16.97 in. Checked 2026-10-05.
  6. Headquarters, Department of the Army, FM 5-426 Carpentry (1995), Chapter 7 Roof Systems (copy on archive.org). Glossary: pitch = rise divided by span; plumb cut, seat cut, bird’s mouth. Checked 2026-10-05.
  7. International Code Council, 2021 IRC Chapter 8 Roof-Ceiling Construction (R802). R802.3 ridge, R802.4.1 rafter span tables, R802.4.4 pitch below 3:12, R802.6 bearing, R802.7.1 notching, R802.10.4 trusses, R802.11 uplift. Checked 2026-10-05.
  8. ICC (IRC 2021 as adopted in Colorado, via UpCodes), IRC 2021 Chapter 2 Definitions. “Pitch: see Slope”; Slope is defined only for piping. Checked 2026-10-05.
  9. International Code Council, 2021 IRC Chapter 9 Roof Assemblies (R905). Minimum roof slopes by roof covering; asphalt shingles from 2:12, double underlayment from 2:12 up to 4:12. Checked 2026-10-05.
  10. Owens Corning, Duration Series Shingles Installation Instructions (Pub. No. 10014283-L, July 2026). Low slope 2:12 to less than 4:12; standard slopes 4:12 and greater; steep-slope fastening above 60 degrees or 21 in per foot. Checked 2026-10-05.