Roof

Roof pitch calculator

Measure a rise and a run. Get the pitch in inches per foot of run, the slope angle, the rafter line, and the multiplier that turns a floor plan into roof area.

The triangle you measured

Optional

Pitch

6/12

26.6° from horizontal. Area factor 1.118.

Angle
26.6°
Slope
50%
Roof area factor
1.118

Multiply plan area by this.

This triangle’s hypotenuse
13 ft 5 in

The rise and run you entered, nothing added.

Sloped roof area
1,341.6 sq ft

Plan area times the factor. Valleys, dormers, and hips are not in it.

Pitch = (rise ÷ run) × 12 = 6 in 12. Angle = arctan(rise ÷ run) = 26.6°. Area factor = √(1 + (rise ÷ run)²) = 1.118.

Planning estimate. Read the disclaimer before you buy or build.

In the field

  1. Measure horizontally, not along the shingles

    Pitch is rise over horizontal run. The distance along the roof surface is the hypotenuse, and using it as the run makes the roof look flatter than it is.

  2. Use a 12-inch level if you can stand in the attic

    Hold the level so the bubble is centered. Measure straight up from the roof deck to the 12-inch mark. That pair is your rise and a 12-inch run. The button on the calculator sets the run for you.

  3. Keep the units matched

    Six inches of rise over twelve inches of run is the same pitch as six feet over twelve feet. Mixing inches and feet, without saying so, is the error that produces a 72/12 roof.

  4. Add overhang only when you want the full rafter

    If you enter the building width, the rafter run is half that width plus one horizontal overhang. The result is the line from the ridge plumb cut to the tail plumb cut. It does not shorten the line for the ridge board, and it does not lay out a birdsmouth.

  5. Turn plan area into roof area only for a simple slope

    Multiply the horizontal footprint by the area factor. That covers a plain gable or a single plane. Valleys, dormers, and hips add surface the rectangle does not know about. Take that larger number to the shingle calculator.

A roof pitch is a ratio, not a feeling. “Fairly steep” does not tell a yard how many squares to load, and it does not tell a rafter square where the plumb cut goes. The number that does both is the rise in a horizontal run of twelve inches. Everything else on this page — degrees, percent, rafter length, roof area — is that ratio written another way.

What you are measuring

Stand a triangle on the roof deck. The horizontal leg is the run. The vertical leg is the rise. The sloping leg is the rafter line. Pitch is the rise stretched or shrunk until the run is exactly twelve inches.

A 6/12 roof rises six inches for every foot you walk toward the eave, measured on the level, not on the shingles. The same roof rises six feet in a twelve-foot run. The calculator opens on that second triangle: rise 6 feet, run 12 feet. The pitch is 6/12, the angle is 26.6 degrees, the area factor is 1.118, and the hypotenuse is 13 feet 5 inches. If the horizontal footprint under that slope is 1,200 square feet, the sloped surface is 1,341.6 square feet.

The small version of the same triangle is the one you can measure with a level. Six inches of rise at the end of a twelve-inch level is still 6/12. Press “I used a 12-inch level,” type the rise you read, and leave the building width blank. The hypotenuse you get then is only the length of that little triangle, about 13 7/16 inches. It is a check on the reading, not the rafter for the house.

A full common rafter

When you do want the rafter, the run is half the span plus the horizontal overhang. A building 28 feet wide with a 12-inch overhang has a rafter run of 15 feet. At 6/12 the rise on that run is 7 feet 6 inches, and the line length is 16 feet 9 1/4 inches. Enter a 6-inch rise and a 12-inch run so the pitch is known, then fill in the building width and the overhang. The “common rafter line” row is that hypotenuse.

Two things are deliberately missing. The ridge board has thickness, so the practical rafter is a little shorter than the theoretical line once you measure from the face of the ridge. And a birdsmouth does not change the line length; it is a notch laid out on it. If you need those cuts, take the pitch and the line length to a rafter square or a framing book. This page will not pretend to have drawn the seat cut.

Overhang in the calculator is horizontal. A twelve-inch overhang means twelve inches measured level from the wall, not twelve inches of extra board along the slope. Along the slope, that tail is longer than twelve inches by the same area factor.

From a floor plan to roof area

The area factor is the number you multiply by the plan area:

factor = √(1 + (rise ÷ run)²)

It is also rafter ÷ run, and it is also 1 ÷ cos(angle). For 6/12 it is the square root of 1.25, which is 1.118. Flat enough to walk is not flat enough to ignore: even a 4/12 roof adds about five percent to the plan area, and an 8/12 roof adds about twenty.

Use the plan area of the roof, not the heated floor, if the eaves overhang. A 28-by-40 house with a one-foot overhang all around is not 1,120 square feet of roof plan. The overhangs are part of the surface you shingle. Dormers, crickets, and open valleys are extra surface too. The factor assumes one clean plane, or a gable made of two clean planes whose combined footprint you already added up. When the roof is chopped up, measure each plane or accept that the number is a floor, not a bid.

Once you trust the surface area, the shingle calculator turns it into bundles, underlayment, and ridge cap. Pitch alone does not order shingles. Area does.

Where people get a bad pitch

Measuring along the shingles and calling that the run is the classic miss. The roof gets reported flatter, the factor gets too small, and the shingle order comes up short on a big roof.

Mixing units is the other one. A rise of 6 and a run of 12 is 6/12 only if both numbers are inches, or both are feet. Six inches over twelve feet is a 0.5/12 roof, which is not a shingle roof.

Reading the level at the high end and the tape at an angle, instead of straight down, adds a little rise. On a 12-inch level the error is usually smaller than the pencil mark. On a 4-foot level held badly, it is enough to move the pitch by a quarter inch in twelve. Short level, bubble centered, tape plumb.

Forgetting the second plane is a materials error, not a pitch error. A gable has two slopes. If you multiply only one side’s plan area, you buy half a roof.

Common pitches

Angles below are rounded to a tenth of a degree. Factors are rounded to three decimals. Percent slope is rise divided by run, times 100, also rounded.

Pitch Angle Area factor Percent
1/12 4.8° 1.003 8.3%
2/12 9.5° 1.014 16.7%
3/12 14.0° 1.031 25%
4/12 18.4° 1.054 33.3%
5/12 22.6° 1.083 41.7%
6/12 26.6° 1.118 50%
7/12 30.3° 1.158 58.3%
8/12 33.7° 1.202 66.7%
9/12 36.9° 1.250 75%
10/12 39.8° 1.302 83.3%
11/12 42.5° 1.357 91.7%
12/12 45.0° 1.414 100%

A 12/12 roof is 45 degrees because the rise and the run are equal, and the factor is the square root of 2. Above that, the same formulas still hold. The practical change is footing on the roof and the fastening pattern the shingle maker prints for steep work, which ARMA describes as slopes greater than 21/12.

Using the number

Write the pitch on the takeoff before you leave the attic. Photograph the level so the rise is in the same frame as the bubble. If you only have the ground and a gable end, the same triangle is there in the siding: horizontal run from the wall line to a plumb line under the ridge, vertical rise from the top of the wall to the ridge. That measurement includes whatever the fascia and the ridge do to the geometry, so treat it as a check against the attic reading, not as a substitute when you can get on the joists safely.

Do not walk a roof to get a number you can take from the attic. A pitch is not worth a fall, and a wet 6/12 is slicker than it looks from the street.

If the next job is a deck ledger against the house or a stair up to a porch roof, the pitch does not size those members. The deck calculator counts boards and joists. It does not pick a joist span. The stair calculator splits a floor-to-floor rise. Different triangles, same habit: measure the horizontal and the vertical, and do not guess the slope.

Questions worth asking first

Is a 6/12 roof the same thing as 26.6 degrees?

Yes. Six inches of rise in twelve inches of run is a ratio of one half. The angle whose tangent is one half is 26.6 degrees, to one decimal. Carpenters still order and talk in the X/12 form, because rafter squares and bundle instructions are written that way.

Why not reduce 6/12 to 1/2?

Because pitch is spoken per twelve inches of run. Reducing it hides the number everyone else on the job is using. The calculator always reports inches of rise per twelve inches of run.

Does the rafter length include the tail and the ridge cut?

The length is the hypotenuse of the horizontal run and the vertical rise you gave it. For a full common rafter, enter half the building width plus the horizontal overhang as the run, or use the building-width fields. The number is the theoretical line. A ridge board thicker than a pencil line, a birdsmouth, and a plumb cut past the fascia are layout, not extra length in this result.

Can I put asphalt shingles on a 3/12 pitch?

Often, but not with the ordinary single layer of underlayment. The Asphalt Roofing Manufacturers Association says shingles are not for slopes under 2/12, and slopes from 2/12 up to 4/12 need a double layer of underlayment or a self-adhering sheet. The bundle you buy can be stricter. At 4/12 and above, the standard method is the usual one, until the roof gets steeper than 21/12 and the steep-slope nailing pattern applies.

What is the roof area factor actually doing?

It is the secant of the slope angle, which is the same as the rafter length divided by the horizontal run. A 6/12 factor is 1.118. One thousand square feet of floor under that roof is about 1,118 square feet of roof surface, before overhangs and before any waste.