Construction · Roofs and Framing
Roof pitch calculator icon showing a gable roof triangle with rise, run and rafter

Roof pitch calculator

This roof pitch calculator converts between pitch (rise in 12), roof angle in degrees and percent slope, from any one of them or from a measured rise and run. A second panel turns the pitch and the building size into rafter length, roof area in squares and square meters, and the number of shingle bundles to buy, in US or metric units.

In the roof pitch calculator, pitch is the rise for every 12 units of level run: a 6/12 roof climbs 6 inches per foot. Measure run on the level, never along the slope.

Roof pitch calculator: pitch, angle and slope

Enter any one form of the slope; the roof pitch calculator gives the others plus the rafter multiplier.
Vertical height gained. Use the same unit for rise and run.
With a 12 in level and a tape: 12 in of run and the rise you read off.
Type 6 for a 6/12 roof, 7.5 for 7.5/12.

Roof pitch calculator for rafters, roof area and shingles

Simple gable roof over a rectangular building: two equal slopes, with eave and rake overhangs.
Outside of wall to outside of wall, across the ridge. Each rafter covers half of it.
Horizontal projection past the wall; 0 for none.
%
About 10 % for a plain gable, 15 % or more with valleys and dormers.
3 for most 3-tab and architectural shingles; heavier designer shingles can need 4 or 5. Check the wrapper.
Leave empty to skip the cost.

How to use the roof pitch calculator

In the first panel, pick what you know. If you measured the roof, choose “From rise and run” and type both numbers in the same unit: a common method is to hold a level horizontally against the roof or a rafter, mark 12 inches along it and measure straight down (or up) to the roof surface. If you have a pitch from plans, an angle from a smartphone app or a percent slope from a metric drawing, choose that option instead. The roof pitch calculator returns the pitch in 12, the angle, the percent slope, the rise per meter and the rafter multiplier, and draws the triangle.

The second panel of the roof pitch calculator needs the pitch, the building width (wall to wall, across the ridge), the length along the ridge and the overhangs. Pick US or metric first: widths and lengths are in feet or meters, overhangs in inches or centimeters. It gives the rafter length with and without the overhang, the roof area, roofing squares and shingle bundles. To convert a measurement such as 23 ft 7 in into decimal feet, use the Feet and Inches Calculator.

Roof pitch calculator formulas

Roof pitch compares the vertical rise with the level run. In the US it is written as rise per 12 inches of run (6/12, said “6 in 12”); elsewhere it is often given as an angle in degrees or as a percent. All three describe the same right triangle, so the roof pitch calculator converts them with basic trigonometry; the Right Triangle Calculator explains the triangle in more detail.

Pitch (x in 12) = 12 × rise / run · Angle = arctan(pitch / 12) · Slope % = pitch / 12 × 100
Rafter multiplier = √(1 + (pitch / 12)²) · Rafter length = (run + overhang) × multiplier
Gable roof area = 2 × rafter length × (building length + 2 × rake overhang) · Squares = area in ft² / 100

The rafter multiplier is the sloped length per unit of level run. It comes from the Pythagorean theorem: a 6/12 roof rises 6 in over 12 in of run, so the slope is √(12² + 6²) = 13.416 in long, and 13.416 / 12 = 1.1180. Because every part of a plane roof slopes at the same angle, the roof pitch calculator finds the roof area as the level footprint (including overhangs) times the same multiplier.

Worked example with the roof pitch calculator

Pitch panel (default values). In the roof pitch calculator, a rise of 6 over a run of 12 gives 12 × 6 / 12 = 6/12. The angle is arctan(0.5) = 26.57°, the slope is 50 %, which is 500 mm of rise per meter of run, and the rafter multiplier is √1.25 = 1.1180.

Rafter and shingle panel (default values). A building 24 ft wide and 40 ft long with a 6/12 roof, 12 in eave overhangs and 12 in rake overhangs. Run = 24 / 2 = 12 ft and the ridge sits 12 × 0.5 = 6 ft above the wall plates. Rafter from wall line to ridge: 12 × 1.1180 = 13.416 ft (13 ft 5 in). With the 1 ft overhang: 13 × 1.1180 = 14.534 ft, about 14 ft 6 3/8 in, so a 16 ft board covers it. Roof length with rakes: 40 + 2 × 1 = 42 ft. Area of both slopes: 2 × 14.534 × 42 = 1,220.9 ft² (113.42 m²), which is 12.21 squares. With 10 % waste that is 13.43 squares, and at 3 bundles per square you need 40.29 bundles, so buy 41.

Roof pitch calculator table of common pitches

Reference values from the roof pitch calculator formulas, rounded. Pitches below 4/12 count as low slope for shingles, 4/12 to 9/12 is the usual range for houses, and 12/12 is a 45° roof.

PitchAngleSlope %Rafter multiplier
2/129.46°16.7 %1.0138
3/1214.04°25.0 %1.0308
4/1218.43°33.3 %1.0541
5/1222.62°41.7 %1.0833
6/1226.57°50.0 %1.1180
7/1230.26°58.3 %1.1577
8/1233.69°66.7 %1.2019
9/1236.87°75.0 %1.2500
10/1239.81°83.3 %1.3017
12/1245.00°100 %1.4142

Roof pitch and roofing materials

Shingles are sold by the bundle and estimated by the square, 100 ft² of roof. GAF explains that standard 3-tab and architectural shingles come three bundles to the square, that some heavier shingles need four or five, and that contractors add 10 to 15 % for trim and waste. That is why the bundle field is editable: read the coverage printed on the wrapper of the product you buy.

Pitch also limits the roof covering. Under the International Residential Code, asphalt shingles may only be used on slopes of 2/12 or more, and from 2/12 up to 4/12 they need a double layer of underlayment (section R905.2.2, summarized in this LSU AgCenter guide to code-compliant roofing). The roof pitch calculator flags those ranges. Local codes and the shingle maker’s instructions can be stricter, so check both before you trust any roof pitch calculator for a low roof.

Practical tips for measuring and ordering

Measure pitch from the rafters or the gable. In the attic, set a level against the underside of a rafter, mark 12 in and measure the vertical drop. Outside, the pitch on the gable trim is the same as the roof. Measure the building, not the roof. Width and length on the ground are easier and safer than walking the slope; the roof pitch calculator adds the slope. Metric plans. A roof drawn at 30° or 58 % goes straight into the roof pitch calculator; the x/12 value helps when you buy US products rated by pitch. Order ridge cap and starter separately. The ridge length row tells you how much ridge cap to buy; starter strip runs along the eaves and rakes. Hips and valleys. A hip roof with the same pitch on all sides has about the same area as a gable roof over the same footprint and overhangs, but needs more waste for the cuts and ridge cap along the hips. For complex roofs, split the plan into rectangles and run each piece.

Common roof pitch calculator mistakes

Measuring the run along the slope. Pitch is per 12 units of level run. Twelve inches along a 6/12 rafter is only 10.73 in of run. Treating pitch as degrees. A 6/12 roof is 26.57°, not 6° or 60°. Using the full width as the run. On a gable roof each rafter spans half the building width. Forgetting the overhangs. A 12 in overhang on every edge of a 24 × 40 ft house adds about 14 % to the roof area. Mixing units. In the second panel the overhangs are in inches or centimeters while the building size is in feet or meters; the roof pitch calculator converts them for you.

Related construction calculators

For the floor and ceiling joists under the roof, the Joist Span Calculator runs a preliminary bending and deflection check, and the Board Foot Calculator prices the framing lumber. The Area Calculator handles irregular footprints, and the Stair Calculator uses the same rise and run idea for steps. All of them are listed on the Construction Calculators page.

Related calculators

After the roof pitch calculator, check joists with the joist span calculator and price lumber with the board foot calculator.

Frequently asked questions

How do I convert roof pitch to degrees?

Divide the pitch by 12 and take the arctangent: a 6/12 roof is arctan(0.5) = 26.57°, an 8/12 roof is 33.69° and a 12/12 roof is 45°. The roof pitch calculator does it in either direction.

What is a 4/12 roof pitch?

A roof that rises 4 inches for every 12 inches of level run: 18.43°, or a 33.3 % slope. It is the lowest pitch at which asphalt shingles go on with a single layer of underlayment under the IRC.

How do I calculate rafter length?

Take the run (half the building width for a gable roof), add the level overhang and multiply by √(1 + (pitch/12)²). For a 24 ft wide building with a 6/12 pitch and a 1 ft overhang: 13 × 1.1180 = 14.53 ft.

How many bundles of shingles do I need?

Divide the roof area in square feet by 100 to get squares, add 10 to 15 % for waste and multiply by the bundles per square on the wrapper, usually 3; the second panel of the roof pitch calculator does this. A 1,221 ft² roof with 10 % waste needs 41 bundles.

Does pitch change the roof area?

Yes. The steeper the roof, the more surface covers the same footprint. A 12/12 roof has about 41 % more area than its footprint; a 4/12 roof about 5 % more.

Is this roof pitch calculator free?

Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.

Results are estimates for planning and budgeting. Quantities depend on the product, waste and site; structural sizes, spans and loads must be checked against your local building code or by a qualified professional before you build. Back to construction calculators or CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: