Roofs · Live 3D

Roof Pitch Calculator

Enter a rise in 12, an angle or a rise you measured, and your building's size, to get the pitch in degrees, the rafter lengths, the roof area and the shingles to buy — with the code's minimum slope for your roofing and the roof in 3D. Free, no sign-up.

3D view of the roof

Drag to orbit · Ctrl + scroll or pinch to zoom · walls and rafters are drawn to show the roof, not sized

Asphalt shingles are allowed at this pitch — confirm with your building department

Pitch
6/12
26.6° · 50% slope
Rise
6'
over a 12' run
Common rafter
14' 5-9/16"
62 from 16' stock
Roof area
1,222 sq ft
12.22 squares, with overhangs
Shingles
41 bundles
with 10% waste
Sheathing
43 sheets
4×8, with 10% waste

Your roof

Pitch
/12
Building
ft
ft
Roofing

Your roof

ItemQtyYour pricePriced onCost
Roofing
Architectural shingles1,222 sq ft + 10% waste = 13.45 squares · 3 bundles cover 98.4 sq ft (Owens Corning Duration, CertainTeed Landmark)41 bundles—
Starter strip shingles142' 1-5/8" of eaves and rakes · 105 lin ft per bundleCounted for the eaves and the rakes; check where your shingle maker asks for starter.2 bundles—
Hip and ridge cap shingles42' of ridge · 30 lin ft per bundle2 bundles—
Underlayment & flashing
Synthetic underlaymentone layer lapped 2" · 42" × 286' rollsSized for Owens Corning RhinoRoof U20; follow your underlayment maker’s laps.2 rolls—
Drip edge142' 1-5/8" of eaves and rakes · 10' pieces lapped 2", edge by edge18 pieces—
Sheathing
Roof sheathing, 4×8 sheets1,222 sq ft + 10% waste · 32 sq ft per sheet43 sheets—
Estimated total (0 of 6 items priced)—

Roof area

Roof planeArea
Front611 sq ft
Back611 sq ft
Total1,222 sq ft

Edges, measured on the roof: eaves 84' · rakes 58' 1-5/8" · ridge 42'. Each plane is rounded up to the whole square foot; the total is their sum.

6/12 · 26.6° · 1,222 sq ft
List

Updated November 2026 · Minimum slopes from IRC 2021 Chapter 9 · How we calculate

What this calculator gives you

  • The pitch three ways — rise in 12, degrees and percent slope, from whichever you know.
  • Rafter lengths — common rafters, and hip and jack rafters on a hip roof, with the overhang, the stock length to buy and the cut angles.
  • Roof area — each plane and the total with overhangs, in square feet and squares.
  • A materials list — shingle bundles, starter strip, ridge cap, underlayment, ice barrier, drip edge and sheathing, with your own prices.
  • Code checks — the IRC minimum slope for your roofing, double underlayment on low slopes, the ice barrier and drip edge.

Roof pitch to degrees

Rise in 12, the angle, the slope in percent, and the slope factor (roof length per unit of level run):

PitchAngleSlopeFactor
1/124.8°8.3%1.003
2/129.5°16.7%1.014
3/1214.0°25%1.031
4/1218.4°33.3%1.054
5/1222.6°41.7%1.083
6/1226.6°50%1.118
7/1230.3°58.3%1.158
8/1233.7°66.7%1.202
9/1236.9°75%1.250
10/1239.8°83.3%1.302
11/1242.5°91.7%1.357
12/1245.0°100%1.414
14/1249.4°116.7%1.537
16/1253.1°133.3%1.667
18/1256.3°150%1.803
24/1263.4°200%2.236

Minimum roof pitch by roofing

RoofingMinimum pitchIRC 2021
Asphalt shingles2/12R905.2.2
Metal shingles3/12R905.4.2
Lapped metal (no sealant)3/12R905.10.2
Lapped metal (sealed)0.5/12R905.10.2
Standing seam0.25/12R905.10.2
Clay or concrete tile2.5/12R905.3.2
Slate4/12R905.6.2
Wood shingles3/12R905.7.2
Wood shakes3/12R905.8.2
Roll roofing1/12R905.5.2
Membrane0.25/12R905.9.1, R905.11.1, R905.12.1, R905.13.1

How the numbers are worked out

Whatever you enter becomes one pitch — rise in 12, to the hundredth — and every number on the page comes from it. The run of a common rafter is half the building's width (the full width for a shed roof); the rise is the run times the pitch ÷ 12. Rafter lengths are the level run, less half a 1-1/2" ridge board (and half the 45° thickness of the hip for jacks), plus the overhang, times the slope factor. The roof area is each plane's level area times the slope factor, rounded up to the whole square foot. A hip roof has the same pitch on every side, with its ridge along the longer side.

This is a planning tool. It does not size rafters or check the structure — use IRC Table R802.4.1 or your building department for that, and follow your roofing maker's instructions.

Frequently asked questions

How do I calculate roof pitch?

Measure how many inches the roof rises over 12 inches of level run: hold a level against the rafter or roof, mark 12" along it, and measure straight down to the roof. A 6" rise over 12" is a 6/12 pitch. From the building, pitch = rise ÷ run × 12, where the run is half the width for a gable roof. A 24' wide gable roof with its ridge 6' above the top of the walls is 6 ÷ 12 × 12 = 6/12.

What is a 6/12 roof pitch in degrees?

A 6/12 pitch is 26.6° (the angle whose tangent is 6 ÷ 12), a 50% slope. A 4/12 roof is 18.4°, 8/12 is 33.7°, 10/12 is 39.8° and 12/12 is 45.0°.

How long are the rafters for my roof?

Multiply the level run by the slope factor, √(12² + pitch²) ÷ 12. For a 24' wide gable roof at 6/12 with a 12" overhang, the run to the face of a 1-1/2" ridge board plus the overhang is 12' 11-1/4", and the factor is 1.118, so each common rafter is 14' 5-9/16" along its top edge — cut from 16' stock.

How do I calculate roof area from the pitch?

Multiply the area covered by the roof seen from above (the building plus its overhangs) by the slope factor. A 24' × 40' house with 12" overhangs all round covers 26' × 42' = 1,092 sq ft; at 6/12 the factor is 1.118, so the roof is 1,220.9 sq ft — 1,222 once each plane is rounded up to the whole square foot, as the calculator does. This works for gable and hip roofs alike, as long as every plane has the same pitch.

What is the minimum pitch for a shingle roof?

The IRC allows asphalt shingles on slopes of 2/12 or more, with two layers of underlayment below 4/12 (IRC 2021 R905.2.2). Other minimums: metal shingles 3/12, lapped metal (no sealant) 3/12, lapped metal (sealed) 0.5/12, standing seam 0.25/12, clay or concrete tile 2.5/12, slate 4/12, wood shingles 3/12, wood shakes 3/12, roll roofing 1/12 and membrane 0.25/12.

How many bundles of shingles do I need?

Three bundles of architectural shingles cover about 98.4 sq ft (Owens Corning Duration, CertainTeed Landmark) — a little less than a 100 sq ft square, so each bundle covers 32.8 sq ft. Add a waste allowance — 10% for a gable roof, 15% for a hip roof — and divide by 32.8. That 1,222 sq ft gable roof plus 10% is 1,344.2 sq ft, or 41 bundles. Add starter strip for the eaves and rakes and cap shingles for the ridge and hips.

More calculators: Deck material calculator · Deck joist span calculator · Deck footing calculator · Deck stair calculator