Skip to content
Measurement · Pitch, angle, rafter, squares

Roof Pitch Calculator

Pitch as X in 12, the angle, grade and pitch factor from a rise and run, a pitch or an angle, plus the rafter line length with overhang and the roof area in squares.

Roof pitch

The working

  1. X = Rise ÷ Run × 12

    = 6 in ÷ 12 in × 12

    = 6 in 12

  2. Angle = atan(Rise ÷ Run)

    = atan(0.5)

    = 26.57°

  3. Grade = X ÷ 12 × 100

    = 6 ÷ 12 × 100

    = 50%

  4. Pitch factor = √(1 + (X ÷ 12)²)

    = √(1 + (6 ÷ 12)²)

    = 1.1180

    Length along the slope per unit of level run, and roof area per unit of footprint.

  5. Rafter per foot of run = 12 in × factor

    = 12 × 1.1180

    = 13.42 in

Start from
What you know

Two measurements

Vertical change over the run, measured plumb.

Horizontal, measured level, not along the roof. Measure 12 in of level run and the rise is the X in X:12.

Rafter run is half the span

Optional. Level distance between the outside edges of the two top plates, not counting the overhangs.

Optional. Measured level from the outside of the wall to the rafter tail, not along the rafter.

Pitch and rafter only

Roof pitch

Roof pitch: 6 in 12. 6:12, a rise of 6 in for every 12 in of level run.

in 12

6:12, a rise of 6 in for every 12 in of level run.

Slope section, to scale
26.6° from horizontal
1 ft0.5 ft26.6°
Roof angle
26.57°
Grade
50%
Pitch factor
1.118Roof area ÷ footprint, and line length ÷ run.
Rafter per foot of run
13.42inLine length for every 12 in of level run.
Hip or valley per foot of run
18inPer foot of common run, where equal pitches meet at a square corner.

Roofers talk in X in 12, framers in rise per foot of run, and an angle finder reads in degrees. Enter whichever you have and the calculator gives the others, with the pitch factor that turns a level run into a rafter line length and a footprint into a roof area. Add the building span for the rafter, and the footprint or the measured planes for squares. Waste and bundles per square stay yours to enter.

How this calculator works

Only your inputs and exact unit conversions. Where a figure comes from anywhere else, it is recorded below with its source.

Specification
Formula version
1.0.0
Last reviewed
2026-09-29
External data
5 sources
Category
Measurement
  1. Manufacturer, standard or trade figureRoofing square, 100 sq ft (glossary) — Owens Corning. One square = 100 sq ft of roof surface. Verified 2026-09-29. Source
  2. Manufacturer, standard or trade figureRoofing square and the plane-by-plane method — GAF. One square = 10 × 10 ft = 100 sq ft. Squares = the sum of each plane’s length × width ÷ 100. Bundles per square are listed in each shingle’s specifications. Verified 2026-09-29. Source
  3. Candidate reference, not appliedAsphalt shingle application by slope — Owens Corning. Inches of rise per foot of run: low slope 2 to less than 4; standard 4 to 21; steep greater than 21. Verified 2026-09-29. Source
  4. Candidate reference, not appliedMinimum slope for asphalt shingles — International Code Council (ICC). Units vertical in 12 units horizontal: asphalt shingles only at 2 in 12 or greater; double underlayment from 2 in 12 up to 4 in 12. Verified 2026-09-29. Source
  5. Candidate reference, not appliedSpan, run, pitch and line length definitions — United States Navy (Builder training manual). Definitions only. Unit of run 12 in; unit of span 24 in; unit of span × pitch = unit of rise. Verified 2026-09-29. Source

What this calculates

Pitch is written as the rise in inches for every 12 in of level run: X in 12, X:12 or X/12. From a rise and a run, a pitch or an angle, the calculator returns the other two, the percent grade, the pitch factor and the rafter line length per foot of run. With a building span it adds the rafter line length and the tail for an overhang. With a footprint or measured planes it adds the roof area in square feet and in squares.

The relationships

With r = rise ÷ run: the pitch is X = 12r, the angle is atan(r), the grade is 100r and the pitch factor is √(1 + r²), which is also 1 ÷ cos(angle). All of it is exact; nothing is looked up.

The factor is how much longer a line up the slope is than its level run. Times 12 in, it is the rafter line length for each foot of run, which the US Navy’s Builder manual calls the bridge measure. A hip or valley between two equal pitches meeting at a square corner runs diagonally in plan, √2 ft for each foot of common run, so its length per foot of common run is 12 × √(2 + r²) in.

Span, run and overhang

The rafter inputs follow the US Navy’s Builder training manual (Chapter 2, Roof Framing). It defines span as "the horizontal distance between the outside top plates", total run as half the span, and projection, the overhang, as "the horizontal distance from the building line to the rafter tail". All three are level measurements. A shed roof has one slope across the whole span, so its rafter run is the span.

Owens Corning’s roofing glossary measures span "from eave to eave", which takes in the overhangs, and defines run as half of that. The two definitions differ by the overhangs, so this calculator asks for the span between the wall plates and the overhang separately.

Rafter line length

The Navy manual defines line length as the hypotenuse of the triangle whose base is the total run and whose altitude is the total rise, measured along the rafter from the outside edge of the top plate to the centre line of the ridge. Here that is run × factor. The tail for an overhang is the level projection × factor, the manual’s bridge measure × projection.

A ridge board sits between the rafters, so each rafter stops at its face, half the board’s thickness from the centre line. The manual calls this shortening and deducts half the ridgeboard from each rafter. Here half the thickness you enter comes off the level run, measured square to the plumb cut, before the factor is applied, so the line length shortens by half the thickness × the pitch factor. The manual’s layout step instead marks half the thickness along the line length. The two differ by the pitch factor: at 6:12 with a 1.5 in board, the line length shortens by 0.75 in marked along it, against 0.84 in with the level deduction this calculator uses. That board is an example only: the field starts empty and no thickness is assumed.

Line length is a measuring line, not a board length. Plumb and seat cuts, the birdsmouth, the rafter depth and the length of lumber to buy are not modelled.

Roof area and squares

From a footprint: roof area = footprint × factor. Every roof plane is larger than its outline seen from above by exactly the pitch factor, so for a roof whose planes all share one pitch, hip or gable, the total is exact. Measure the footprint to the edge of the overhangs, and run any part at another pitch on its own.

From measured planes: the length × width of each plane, added up, as GAF’s roofing-square article describes. The pitch does not enter, because those measurements are already along the slope.

Squares = roof area ÷ 100. Owens Corning’s glossary defines a square as "a unit of roof measure covering 100 square feet", and GAF’s article gives the same 10 × 10 ft. Squares are the area, not an order: waste, starters, ridge caps and bundles per square are yours to enter.

What this calculator does not decide

It does not label a pitch low, standard, steep, walkable or snow-shedding, and it does not check a pitch against a roofing product. A sourced pitch for walking on a roof or for shedding snow was not found in the sources reviewed. Where a code limit helps, it is quoted with its section and edition: see the asphalt shingle question below.

A 24 ft gable at 6:12 with a 12 in overhang

No ridge board entered, so the rafter is measured to the ridge centre line. The footprint is measured to the edge of the overhangs: the span plus a 12 in overhang at each eave, by 40 ft along the ridge with no overhang at the gable ends.

Given
Pitch
6 in 12
Building span
24 ft, outside of the wall plates
Overhang
12 in, level, at each eave
Length along the ridge
40 ft, no overhang at the gable ends
Step by step
  1. 01r = X ÷ 12= 6 ÷ 12= 0.5
  2. 02Angle = atan(r)= atan(0.5)= 26.5651°
  3. 03Grade = r × 100= 0.5 × 100= 50%
  4. 04Pitch factor = √(1 + r²)= √(1 + 0.5²)= 1.118034
  5. 05Run = Span ÷ 2= 24 ÷ 2= 12 ft
  6. 06Total rise = Run × r= 12 × 0.5= 6 ft
  7. 07Line length = Run × factor= 12 × 1.118034= 13.4164 ft
  8. 08Tail = Overhang × factor= 1 × 1.118034= 1.1180 ft
  9. 09Line length with overhang= (12 + 1) × 1.118034= 14.5344 ft (14 ft 6 7/16 in)
  10. 10Footprint width = Span + 2 × Overhang= 24 + 2 × 1= 26 ft
  11. 11Footprint = Length × Width= 40 × 26= 1,040 sq ft
  12. 12Roof area = Footprint × factor= 1,040 × 1.118034= 1,162.76 sq ft
  13. 13Check: 2 planes × Line length with overhang × Length= 2 × 14.534442 × 40= 1,162.76 sq ft
  14. 14Squares = Roof area ÷ 100= 1,162.76 ÷ 100= 11.63
Rafter line length and roof area

14.5344 ft with the overhang; 11.63 squares

Roof pitch chart, 1:12 to 24:12

Every cell is computed from the pitch X: angle = atan(X ÷ 12), grade = X ÷ 12 × 100, pitch factor = √(1 + (X ÷ 12)²), rafter per foot of run = 12 × factor, and hip or valley per foot of common run = 12 × √(2 + (X ÷ 12)²).

PitchAngle (°)Grade (%)Pitch factorRafter per ft of run (in)Hip or valley per ft of common run (in)
1:124.768.331.003512.0417.00
2:129.4616.671.013812.1717.09
3:1214.0425.001.030812.3717.23
4:1218.4333.331.054112.6517.44
5:1222.6241.671.083313.0017.69
6:1226.5750.001.118013.4218.00
7:1230.2658.331.157713.8918.36
8:1233.6966.671.201914.4218.76
9:1236.8775.001.250015.0019.21
10:1239.8183.331.301715.6219.70
11:1242.5191.671.356616.2820.22
12:1245.00100.001.414216.9720.78
13:1247.29108.331.474317.6921.38
14:1249.40116.671.536618.4422.00
15:1251.34125.001.600819.2122.65
16:1253.13133.331.666720.0023.32
17:1254.78141.671.734120.8124.02
18:1256.31150.001.802821.6324.74
19:1257.72158.331.872722.4725.48
20:1259.04166.671.943723.3226.23
21:1260.26175.002.015624.1927.00
22:1261.39183.332.088325.0627.78
23:1262.45191.672.161925.9428.58
24:1263.43200.002.236126.8329.39

There is no category, walkability, snow or material column. The sourced slope bands found are the 2024 IRC’s asphalt-shingle limits (R905.2.2) and Owens Corning’s shingle application methods, both quoted in the questions below; a sourced pitch for walking on a roof or for shedding snow was not found in the sources reviewed. The hip or valley column assumes equal pitches meeting at a square corner.

What it assumes

  • 01Run, span and overhang are level measurements; rise is plumb.
  • 02A gable has two equal slopes, so its rafter run is half the span. A shed rafter runs the whole span.
  • 03Footprint modes: every plane of the roof has the pitch entered.
  • 04Planes mode: each plane is a rectangle of the size entered, measured along the roof.
  • 05A roofing square is 100 sq ft (Owens Corning; GAF).

What it does not do

  • Rafter length is the line length along the measuring line (US Navy definition), not a board length. Plumb, seat and tail cuts, the birdsmouth and lumber lengths are not modelled.
  • Beyond the per-foot hip or valley figure, hip, valley and jack rafter lengths are not calculated, and that figure assumes equal pitches meeting at a square corner.
  • A roof with more than one pitch, dormers or curved surfaces needs each part entered separately.
  • Squares are the roof area, not an order quantity. Waste, starter courses and ridge caps are your own allowance.
  • No minimum pitch, walkability or snow guidance of its own. A code limit is quoted only where a section can be cited.

Common questions.

How do you calculate roof pitch?
Divide the rise by the run and multiply by 12. The answer is the rise in inches for every 12 in of level run, written X:12 or X/12. A roof that rises 4 ft over a 12 ft run is 4 ÷ 12 × 12 = 4:12. Measure the run level, not along the roof: hold a level horizontal with one end on the roof, mark 12 in along it, and the plumb distance from the mark down to the roof is X.
What is a 4/12, 5/12, 6/12 or 12/12 pitch in degrees?
4/12 is 18.43°, 5/12 is 22.62°, 6/12 is 26.57° and 12/12 is exactly 45°. Each is atan(X ÷ 12). The chart above lists 1/12 to 24/12 with the grade and pitch factor.
How do I convert degrees to pitch?
Pitch = 12 × tan(angle). 30° is 12 × tan(30°) = 6.93 in 12, a grade of 57.74%. 45° is exactly 12 in 12. Choose "Angle" above and enter the reading from your angle finder.
What is a roof pitch multiplier?
The pitch factor, √(1 + (X ÷ 12)²): how much longer a line up the slope is than its level run, and how much larger a roof plane is than its footprint. At 4/12 it is 1.0541, at 6/12 1.1180 and at 12/12 1.4142 (√2). Multiply a footprint by it for the roof area, or a run by it for the rafter line length.
Why is my roof area bigger than my house footprint?
Two reasons, and they add up. The overhangs carry the roof past the walls, so the footprint to measure is the outline of the roof seen from above, to the edge of the overhangs, not the floor area. Then the slope makes every plane larger than its outline by the pitch factor. For a roof whose planes all share one pitch, hip or gable, footprint × factor is exact. GAF’s roofing-square article gives the same warning against working from the home’s square footage.
How many squares is my roof?
Divide the roof area in square feet by 100. Owens Corning’s roofing glossary defines a square as a unit of roof measure covering 100 sq ft, and GAF gives the same 10 × 10 ft. A 1,500 sq ft footprint at 6/12 is 1,500 × 1.118034 = 1,677.05 sq ft of roof, or 16.77 squares. That is the area, not what to order.
How long should my rafters be?
Line length = run × pitch factor. The US Navy’s Builder manual takes the span between the outside top plates, the run as half of it, and the line length from the outside edge of the plate to the ridge centre line. A ridge board takes half its thickness off each rafter’s level run, so the line length shortens by half the thickness × the pitch factor; the manual’s layout step marks the half thickness along the line length instead, and the method above compares the two. An overhang adds a tail of level projection × factor. A 24 ft span at 6/12 with a 12 in overhang gives a 12 ft run, a 13.4164 ft line length and a 1.1180 ft tail: 14.5344 ft in all (14 ft 6 7/16 in). That is the measuring line, not the board to buy: cuts and lumber lengths are not included.
Can asphalt shingles go on a 3/12 roof?
The 2024 International Residential Code, Section R905.2.2, allows asphalt shingles only on slopes of 2 units vertical in 12 horizontal or more, and from 2:12 up to 4:12 it requires double underlayment in accordance with Section R905.1.1. A 3/12 roof falls in that band. Section R905.1 also requires roof coverings to be applied according to the manufacturer’s installation instructions. Which edition is in force, with any local amendment, depends on your jurisdiction. The code writes 2:12 as a 17-percent slope; 2 ÷ 12 is 16.67%.
What does "1/4 pitch" mean?
It is the older way of writing pitch: rise divided by span rather than by run. The US Navy’s Builder manual defines pitch as the ratio of the unit of rise to the unit of span (24 in), and converts it as unit of span × pitch = unit of rise. So 1/4 pitch is 24 × 1/4 = 6 in of rise per foot, or 6:12; 1/3 pitch is 8:12; 1/2 pitch is 12:12. The manual notes that this "pitch" is gradually being replaced by "cut", the rise over a 12 in run that this calculator uses.
What counts as a low-slope or steep roof?
It depends on who draws the line, and this calculator labels no pitch. Owens Corning’s roofing glossary names three methods of installing asphalt shingles by slope: Low Slope Application from 2 in to less than 4 in per foot, Standard Slope Application from 4 in to 21 in per foot, and Steep Slope Application above 21 in per foot. Those are one manufacturer’s application methods, not a building-code category. A sourced pitch for walking on a roof or for shedding snow was not found in the sources reviewed.
How much waste should I add, and how many bundles make a square?
The calculator sets neither. GAF writes that the number of bundles per square is listed in the specifications of each shingle and varies with the design; its own examples are three for Timberline HDZ and five for Grand Sequoia. Owens Corning’s glossary says there are typically 3, 4 or 5 bundles per square. Enter the figure from your product’s spec sheet, and your own allowance for waste, starters and ridge caps; the arithmetic is shown.

Where people go next

All measurement tools

Ordered by what usually comes next in the same job, not by keyword.

Found a problem?