Free online tool

Roof Pitch Calculator

Enter a rise and run, span, angle or rafter to get the pitch in every form, rafter cuts, roof area, a shingle list and the coverings the 2021 IRC allows at that slope.

Every form of the pitch

Measure rise and run with any level, a span, an angle, a percent grade or a rafter, in feet and inches or metric. Get x/12 exact and to the nearest 1/4 in, degrees and minutes, percent, 1:n, the slope and hip/valley multipliers and the pitch class.

Checked against the 2021 IRC

See which of 18 roof coverings Section R905 allows at your slope, from standing-seam metal at 1/4/12 to slate at 4/12, with the underlayment rule and the section number for each. The code figures were checked in November 2026.

Rafters and a shingle list

Get the rafter length to cut with the ridge deduction and overhang, plumb and seat cuts, ridge height, roof area, squares, bundles, starter, ridge cap, drip edge, underlayment and nails. Copy it, download a CSV or print it.

How to calculate roof pitch

  1. 1

    Choose what you measured: rise and run with a level, the total rise and span, an angle, a percent grade, or a rafter and its run.

  2. 2

    Type the measurements as you read them, such as 6' 4 1/2" or 1.9 m, and read the pitch in every form beside the diagram.

  3. 3

    Check which roof coverings the 2021 IRC allows at that slope and the underlayment each one needs.

  4. 4

    Add the building size, overhangs and ridge board to get rafter cuts, the roof area and a shingle list to copy, download or print.

What people use this tool for

  • Check whether a low-slope porch or shed roof is steep enough for asphalt shingles, or needs metal panels or a membrane.
  • Turn a phone-level angle or a tape-measure rise into x/12, degrees and percent for a roofing quote or a permit drawing.
  • Cut common rafters for a shed, garage or addition, with the ridge deduction, overhang and plumb and seat cuts.
  • Order shingles, starter strip, ridge cap, drip edge, underlayment and nails for a re-roof from the house footprint.

Frequently Asked Questions

How do I measure my roof pitch?

On the roof, rest one end of a level on the surface, hold it level and measure straight down from its other end to the roof. In the attic, hold one end against the underside of a rafter and measure straight up from the other end to the rafter. With a 12 in level that distance is the pitch: 6 in means 6/12. With a 24 in level, enter 24 as the run and the calculator scales it. You can also measure the total rise and the span, read an angle from a phone level, or measure a rafter and its run. From a photo of the gable end taken straight on, measure the rise and the span on the screen in any unit and use Rise and span; the building's own size is entered separately.

What is a 6/12 or 4/12 roof pitch in degrees?

A 6/12 pitch rises 6 in for every 12 in of run: 26.57° (26° 34′), a 50% grade and a 1:2 ratio, with a slope multiplier of 1.1180. A 4/12 pitch is 18.43° (18° 26′), a 33.33% grade and 1:3, with a multiplier of 1.0541. A 12/12 pitch is 45°, a 100% grade, with a multiplier of 1.4142. The chart on this page lists every whole pitch from 1/12 to 24/12 and can be copied or downloaded as CSV.

What are the most common roof pitches?

Most pitched house roofs fall between 4/12 and 9/12, the band this calculator calls conventional: every roof covering in IRC Section R905 is allowed there with ordinary underlayment. Porch, shed and addition roofs are often low slope (2/12 to under 4/12), where asphalt shingles need two layers of underlayment, and roofs steeper than 9/12 suit A-frames and steep gables. Below 2/12 the calculator calls a roof flat, and shingles are not allowed.

What is the minimum roof pitch for shingles and for metal roofing?

Under the 2021 IRC, asphalt shingles need at least 2/12 (Section R905.2.2), and from 2/12 up to 4/12 they need two layers of underlayment or a self-adhered ASTM D1970 membrane. Metal panels with lapped, non-soldered seams need 3/12 without lap sealant or 1/2/12 with applied lap sealant, standing-seam panels need 1/4/12 (R905.10.2), and metal shingles need 3/12 (R905.4.2). Clay and concrete tile starts at 2 1/2/12, wood shingles and shakes at 3/12, and slate at 4/12. Local codes and manufacturers can be stricter.

How many bundles of shingles are in a square?

A roofing square is 100 sq ft of roof. Most asphalt shingles are packed 3 bundles to a square, so the calculator starts at 3; some heavy laminated shingles take 4 or 5, and you can change it. Bundles come from the roof area plus waste (10% for gable and shed roofs and 15% for hip roofs by default) and are always rounded up, so a 1,000 sq ft roof with 10% waste is 11 squares, or 33 bundles.

How do I calculate roof area from the house footprint?

Add the overhangs to the building's length and width, multiply them for the plan area, then multiply by the slope multiplier for your pitch. A 40 × 30 ft house with 1 ft overhangs all round has a 42 × 32 ft plan of 1,344 sq ft; at 6/12 (multiplier 1.1180) the roof is 1,502.6 sq ft, or 15.03 squares. This holds for gable, hip and shed roofs when every plane has the same pitch. Roofs that mix pitches, such as gambrel and mansard roofs, need each pitch measured separately.

How do I work out the rafter length?

Take the run (half the span on a gable roof, or half the shorter side on a hip roof), subtract half the ridge board thickness, multiply by the slope multiplier and add the overhang measured along the rafter. For a 30 ft span at 6/12 with a 1 1/2 in ridge board and a 12 in level overhang: (180 − 0.75) × 1.1180 + 12 × 1.1180 = 213.82 in, or 17' 9 13/16". Plumb cuts need more board than that: on a 2x8 (7 1/4 in deep) the bottom edge reaches 7 1/4 × 6/12 = 3 5/8 in further, so buy a 20 ft board, not an 18 ft one. The calculator also gives the ridge height, the plumb and seat cut angles and the framing square settings (6 and 12, or 6 and 17 for a hip).

Are my measurements uploaded or saved, and where do the code figures come from?

Nothing is uploaded: every calculation runs in your browser. Only your choice of units and the last measurement type are kept, in this browser's local storage under zutilium:roof-pitch-calculator. Minimum slopes come from Section R905 of the 2021 International Residential Code and were checked in November 2026. Many places adopt the IRC with amendments, so check your local building code; the results are guidance, not engineering approval.