๐Ÿ‡บ๐Ÿ‡ธ USC
Home & Construction
๐Ÿ“

Roof Pitch Calculator

Pitch (x/12), angle in degrees, slope factor & rafter length

โœ…

Last updated October 2026

Method: Pitch = (rise ÷ run) × 12; angle = arctangent(rise ÷ run); slope factor = √(rise² + run²) ÷ run; rafter length = √(rise² + run²); roof surface = footprint × slope factor. Standard right-triangle geometry used throughout the roofing trade. Slope bands follow the International Residential Code minimums for roof coverings.

Included: Pitch as x/12, roof angle in degrees, percent grade, the slope (area) multiplier, rafter length over half the span (or per foot of run), and, from an optional footprint area, the roof surface with a waste factor in square feet and roofing squares.

Not included: Eave overhang, ridge-board thickness, birdsmouth cuts, hip/valley framing, dead and live load engineering. Results are planning estimates, not a structural design.

๐Ÿ“ Roof measurements

Input method
in
in

Standard practice uses a 12โ€ณ run. Set the rise you measured over a level 12โ€ณ span.

sq ft

The flat area under the roof, including overhangs (for example 30 ft ร— 40 ft = 1,200 sq ft). Enter 0 to skip.

%

๐Ÿ  Your roof pitch

6/12rise/run
Conventional slope: the usual range for asphalt shingles
Roof angle
26.6ยฐ
Slope factor
1.1180
Rafter length / ft run
1.12 ft
Percent grade
50.0%
Roof surface for 1,200 sq ft of footprint
1,342 sq ft
With 10% waste: 1,476 sq ft (14.76 squares)

๐Ÿ“Š Pitch details

In rise & run mode the rafter length is shown per foot of horizontal run. Multiply by your actual run (half the span) and add overhang. Switch to Span & rise mode for a finished rafter length.

๐Ÿ“‹ Material & slope quick reference

MetricValue
Pitch (per 12)6/12
Angle from horizontal26.57ยฐ
Percent grade50.0%
Slope (roofing area) multiplierร—1.1180
Rafter per ft of run1.12 ft
Roof surface1,342 sq ft
With 10% waste1,476 sq ft (14.76 sq)

Roof surface = flat footprint area ร— slope multiplier; the waste factor is added on top of it. One roofing square is 100 sq ft.

Estimate only. Measurements vary on real roofs, so always verify on site and buy roughly 10% extra roofing material for cuts, waste, hips and valleys. Not a substitute for a licensed roofer or structural engineer.

Roof pitch calculator: everything you need to know

A roof pitch calculator turns a rise-and-run measurement into pitch (x/12), the angle in degrees, the slope factor and rafter length. Divide rise by run and multiply by 12: a roof rising 6 inches over 12 inches is a 6/12 pitch, about 26.6°, a 50% grade and a 1.118 slope factor, so the surface is 12% larger than the footprint.

Related home-and-construction tools: the Roofing Calculator takes the pitch and footprint here and counts shingle bundles and squares, the Concrete Calculator prices slabs and footings by volume, the Paint Calculator estimates gallons for the gable wall, and the Mulch Calculator handles landscape beds around the finished job. Use this page to find how steep the roof is; use those to buy the material.

What is roof pitch?

Roof pitch is how steep a roof is, written as the vertical rise over a fixed horizontal run of 12 inches, for example 4/12, 6/12 or 9/12. The bigger the first number, the steeper the roof. Pitch controls almost everything downstream: which roofing materials you can use, how much surface area you have to cover, how well the roof sheds rain and snow, and how much labor and safety equipment the install needs.

The formulas behind the calculator

Every output comes from one right triangle, with rise, run and the rafter as the hypotenuse:

Pitch (x/12) = (rise ÷ run) × 12 Angle° = arctangent(rise ÷ run) Slope factor = √(rise² + run²) ÷ run Rafter length = √(rise² + run²)

For a symmetrical gable, the run in the rafter formula is half the building span. The slope factor is what you multiply a flat footprint area by to get the true sloped roofing area; it never drops below 1.0 and grows as the roof gets steeper.

A worked example

Say you have a gable building that is 30 feet wide (the span), and the ridge sits 7.5 feet above the wall plates (the total rise). Each rafter runs over half the span, so the run is 15 feet.

  • Pitch: (7.5 ÷ 15) × 12 = 6/12.
  • Angle: arctangent(7.5 ÷ 15) = arctangent(0.5) ≈ 26.6°.
  • Slope factor: √(7.5² + 15²) ÷ 15 = √(56.25 + 225) ÷ 15 ≈ 1.118.
  • Rafter length: √(7.5² + 15²) ≈ 16.77 feet (before overhang).

If that 30 × 40 ft building has a 1,200 sq ft flat footprint, the actual roof surface is about 1,200 × 1.118 = 1,342 sq ft for the full roof, and at a 10% waste factor you would buy material for about 1,476 sq ft (14.76 squares). These are the calculator's default inputs, so you can check every step against it.

Rafter length by building span and pitch

One of the most common questions is "how long is my rafter?" Rafter length is √(rise² + run²) where the run is half the building span. The table below gives the finished rafter length (wall plate to ridge, before overhang and birdsmouth) in feet for common spans and pitches:

Pitch 16 ft span 20 ft span 24 ft span 28 ft span 32 ft span 40 ft span
4/12 8.43 ft 10.54 ft 12.65 ft 14.76 ft 16.87 ft 21.08 ft
6/12 8.94 ft 11.18 ft 13.42 ft 15.65 ft 17.89 ft 22.36 ft
8/12 9.61 ft 12.02 ft 14.42 ft 16.83 ft 19.23 ft 24.04 ft
12/12 11.31 ft 14.14 ft 16.97 ft 19.80 ft 22.63 ft 28.28 ft

Add your planned eave overhang to each of these figures before cutting: a 12-inch overhang on a 6/12 roof adds about 1.12 ft of rafter (the overhang follows the same slope factor).

How to measure rise and run

You only need a level and a tape measure. There are two reliable ways:

  1. On a rafter (from the attic): hold a level horizontally against the underside of a rafter, mark 12 inches along the level, then measure straight down from that mark to the rafter. That vertical drop is your rise over a 12-inch run.
  2. On the roof or gable end: rest one end of a 24-inch level on the roof surface, level it, mark the 12-inch point, and measure down to the shingles. If you measure the drop at the 24-inch end instead, divide the reading by 2 to get the rise per 12 inches.

If you already know the building width and how high the ridge sits, skip the level entirely: switch the calculator to Span & rise mode and enter both numbers in feet.

How to use this calculator

  1. Pick a mode. Use Rise & run if you measured inches on the slope; use Span & rise if you know the building width and ridge height in feet.
  2. Enter your measurements. The calculator accepts decimals, so a 6.25-inch rise or a 30.5-foot span is fine.
  3. Add the footprint (optional). Enter the flat area under the roof, including overhangs, to get the roof surface and squares.
  4. Set a waste factor. Start at 10% for a simple gable; bump it to 15% for cut-up roofs with hips and valleys.
  5. Read the results. They update as you type: the big x/12 result first, then the angle, slope factor, rafter length, grade and roof surface below it.

Who this calculator is for

  • DIY homeowners figuring out whether shingles will work on a porch or shed roof.
  • Roofers and estimators converting a footprint into true roofing area and bundle counts.
  • Carpenters and framers cutting rafters to length for a new build or addition.
  • Solar installers checking the tilt angle a roof gives panels.
  • Inspectors and buyers sanity-checking that a roof's pitch matches its material.

Key terms explained

  • Rise: the vertical height the roof gains over the run.
  • Run: the horizontal distance: by convention 12 inches, or half the span for a gable.
  • Span: the full width of the building the roof covers.
  • Slope factor (roof multiplier): the number you multiply a flat footprint area by to get sloped surface area.
  • Roofing square: 100 square feet of roof surface, the unit shingles and underlayment are sold and counted in.
  • Cubic yard: 27 cubic feet; you will see it on related material calculators (concrete, gravel, mulch) where you convert area and depth into volume to order by the truckload.
  • Waste factor: the percentage of extra material added for cuts, overlaps, hips, valleys and breakage.
  • Birdsmouth: the notch cut into a rafter where it sits on the wall plate; it slightly shortens the usable rafter span.

Three quick scenarios

  • Low-slope porch (2/12): angle ≈ 9.5°, slope factor ≈ 1.014. This is the IRC minimum for asphalt shingles, and it calls for a double layer of underlayment; many builders choose a membrane instead. The added roofing area is tiny, barely above the footprint.
  • Standard house (6/12): angle ≈ 26.6°, slope factor ≈ 1.118. A common choice for asphalt shingles: it sheds water well and adds only about 12% more area than the footprint.
  • Steep roof (12/12): angle = 45°, slope factor ≈ 1.414. The surface is over 40% larger than the footprint, so material and labor jump, and crews typically need roof jacks or scaffolding.

Common roof pitches at a glance

Most residential roofs cluster into a handful of standard pitches. The list below shows the angle in degrees and the slope (area) factor for each, so you can see at a glance how steeper roofs add surface area:

  • 2/12: about 9.5°, slope factor ≈ 1.014. The IRC minimum for asphalt shingles (with double underlayment); just above the footprint.
  • 3/12: about 14.0°, slope factor ≈ 1.031. Low slope, common on porches and additions.
  • 4/12: about 18.4°, slope factor ≈ 1.054. The point where single-layer underlayment becomes standard for shingles.
  • 6/12: about 26.6°, slope factor ≈ 1.118. A common residential pitch in the US.
  • 8/12: about 33.7°, slope factor ≈ 1.202. Steeper, sheds snow well; harder to walk.
  • 9/12: about 36.9°, slope factor ≈ 1.250. Steep enough that work slows down.
  • 12/12: exactly 45°, slope factor ≈ 1.414. Very steep; over 40% more surface than the footprint.

Notice how the slope factor climbs slowly at first and then faster as the roof steepens. The jump from 6/12 to 12/12 more than triples the "extra" area you have to cover (roughly 12% over footprint versus 41%), which is exactly why steep roofs cost more in both material and labor. When you turn the footprint into a flat area to multiply, the Square Footage Calculator handles the rectangle math.

Roof pitch to angle and percent grade chart

To convert a roof pitch to degrees, take arctangent(rise ÷ run); to convert it to a percent grade, take (rise ÷ run) × 100. This chart lists both plus the slope factor for every standard pitch, so you can read off the answer without doing the trig yourself:

Pitch (x/12) Angle (degrees) Percent grade Slope factor
1/124.8°8.3%1.003
2/129.5°16.7%1.014
3/1214.0°25.0%1.031
4/1218.4°33.3%1.054
5/1222.6°41.7%1.083
6/1226.6°50.0%1.118
7/1230.3°58.3%1.158
8/1233.7°66.7%1.202
9/1236.9°75.0%1.250
10/1239.8°83.3%1.302
12/1245.0°100.0%1.414

How pitch decides your roofing material

Pitch is not just a number for framing: it directly limits which roof coverings you are allowed to use. Water moves more slowly across a shallow roof, so a low slope gives wind-driven rain more chance to creep back under the courses. The International Residential Code therefore sets a minimum slope for each covering:

  • Low-slope roof systems (built-up roofing, modified bitumen, single-ply membranes such as TPO and EPDM): allowed down to 1/4 in 12, which makes them the choice below 2/12, where shingles are not permitted. These are fully adhered or seamed systems rather than overlapping pieces.
  • Asphalt shingles: 2/12 and steeper, with a double layer of underlayment from 2/12 up to 4/12 and a standard single layer from 4/12 up.
  • Metal roof panels: standing-seam panels down to 1/4 in 12; lapped, nonsoldered seams need 3/12 without lap sealant or 1/2 in 12 with it. Metal shingles need 3/12.
  • Clay and concrete tile: 2.5/12 minimum, with double underlayment from 2.5/12 up to 4/12.
  • Wood shingles and shakes: 3/12 minimum.
  • Slate: 4/12 minimum.

Run your measurement through the calculator first; the x/12 result tells you immediately whether the material you have in mind is even an option before you price anything. Manufacturers' installation instructions and your local code can be stricter.

Pitch, drainage and climate

Beyond material rules, pitch affects how a roof performs in your weather. A steeper roof sheds water and snow faster, which reduces the time moisture sits on the surface and lowers the chance of ice dams and leaks, one reason steep roofs are popular in snowy regions. A shallower roof catches less wind and is cheaper to build and safer to work on, but it relies more heavily on a flawless underlayment and good flashing because water lingers longer. In high-snow regions, the steeper pitch also matters structurally: it sheds snow load instead of accumulating it, though the actual live-load design is an engineering question, not something a pitch calculator answers. If you are also estimating attic or living space under the roof, remember that a steeper pitch creates more headroom for a given span but a larger, more expensive roof surface overall.

From pitch to a materials order

Knowing the pitch is step one; turning it into a shopping list is step two. The workflow most estimators follow is: measure the building footprint, convert that footprint to a flat area, multiply by the slope factor to get true roof surface, divide by 100 to get roofing squares, then add a waste factor and round up to whole bundles.

The table below runs that math for a 1,500 sq ft flat roof footprint at each common pitch, showing the true surface area and the material to buy at a 10% waste factor (1 roofing square = 100 sq ft):

Pitch Slope factor Roof surface +10% waste Squares to buy
2/121.0141,521 sq ft1,673 sq ft16.73
3/121.0311,546 sq ft1,701 sq ft17.01
4/121.0541,581 sq ft1,739 sq ft17.39
6/121.1181,677 sq ft1,845 sq ft18.45
8/121.2021,803 sq ft1,983 sq ft19.83
9/121.2501,875 sq ft2,063 sq ft20.63
12/121.4142,121 sq ft2,333 sq ft23.33

The same 1,500 sq ft footprint needs about 16.7 squares of shingles on a low 2/12 roof but 23.3 squares on a steep 12/12, a 39% jump driven entirely by the slope factor. For ground-level companion projects on the same job (a new concrete apron, a gravel drip line, or fresh mulch around the foundation) you switch from area to volume. The Concrete Calculator and Gravel Calculator turn length, width and depth into the cubic yards you order by the truckload, and the Mulch Calculator does the same for landscape beds. If the gable wall or soffits need fresh paint while the scaffolding is up, the Paint Calculator estimates the gallons.

What changes the result the most

  • The rise: for a fixed run, more rise means a steeper pitch, a bigger angle and a larger slope factor; this is the dominant lever.
  • The span: in span-and-rise mode, a wider building lengthens the rafters even when the pitch is unchanged.
  • The waste factor: it does not change the geometry but directly scales how much material you buy; the difference between 10% and 15% on a big roof is real money.
  • Roof complexity: hips, valleys, dormers and skylights all add cuts and waste that a single pitch number cannot capture.

Tips for ordering material

  • Always buy about 10% extra. It covers cuts, starter and ridge courses, and gives you spares for future repairs that match your current color lot.
  • Round up to whole bundles or squares. Shingles come in bundles (usually 3 per square); you cannot buy a fraction.
  • Measure twice. A wrong pitch by one number in 12 can throw off your area by several percent on a large roof.
  • Account for the overhang. The rafter length here stops at the wall plate; add your planned eave overhang before cutting lumber.

Limitations and assumptions

  • It assumes a simple, symmetrical gable when converting span to rafter length; complex roofs need per-plane calculations.
  • It does not add overhang, ridge thickness, birdsmouth depth or fascia; these are framing details you add yourself.
  • It is a geometry and estimating tool, not a structural design. Rafter sizing, load and span tables are an engineering question.
  • Material counts depend on the specific product's coverage; always confirm against the manufacturer's coverage per bundle or square.

How it compares to related calculators

This page answers "how steep is my roof, and how much surface does that create?" If your question is a little different, a sister tool fits better:

Sources and standards

  • Roof pitch, angle, percent grade and rafter length come from standard right-triangle trigonometry (rise, run and the rafter as the hypotenuse).
  • International Code Council: International Residential Code, Chapter 9, Roof Assemblies (R905.1.1 underlayment, R905.2.2 asphalt shingles at 2/12 or steeper, R905.3.2 clay and concrete tile, R905.4.2 metal roof shingles, R905.6.2 slate, R905.7.2 and R905.8.2 wood shingles and shakes, R905.10.2 metal roof panels, and the Section R905 provisions for built-up, modified bitumen and single-ply roofs).
  • Waste-factor and roofing-square conventions (100 sq ft per square) are standard roofing-trade estimating practice; complex roofs with hips and valleys warrant higher allowances.

๐Ÿ’ก Good to know

Slope factor is not the same as pitch

The pitch tells you how steep the roof is; the slope factor tells you how much bigger the actual surface is than the flat footprint. Always multiply your footprint area by the slope factor before you buy roofing: flat square footage will leave you short.

Pitch decides your material

Asphalt shingles are allowed from 2/12 up, with a double layer of underlayment below 4/12. Below 2/12 you need a low-slope covering such as a membrane. Above 12/12, plan for extra safety gear and labor.

Order about 10% extra

Cuts, hips, valleys, starter and ridge courses all add waste. A 10% buffer is standard for simple gables; complex roofs can need 15% or more. The leftovers double as color-matched spares for repairs.

โš ๏ธ Common mistakes & edge cases

Buying for the flat footprint, not the slope

A 1,200 sq ft footprint on a 6/12 roof is really about 1,342 sq ft of surface. Skip the slope factor and you will be one or more squares short, so always multiply footprint by the slope multiplier.

Mixing up run and span

For a gable, each rafter runs over half the building width. Plugging the full span in as the run halves your pitch and throws off the rafter length. Use the calculator's Span & rise mode so it splits the span for you.

Forgetting the overhang and cuts

The rafter length stops at the wall plate. Cut lumber to that figure and your eaves disappear. Add your overhang, then the birdsmouth and ridge allowances, before you make the cut.

Putting shingles on a near-flat roof

Below a 2/12 pitch the IRC does not allow asphalt shingles, because water moves too slowly to keep wind-driven rain out of the laps. That is a low-slope roof and needs a low-slope covering; the pitch number tells you before you buy the wrong material.

Note: This calculator gives an estimate, not a structural design. Verify on site, add overhang and waste, and consult a licensed roofer or engineer for load-bearing work.

❓ Frequently asked questions

How do I calculate roof pitch?

Roof pitch is the ratio of vertical rise to horizontal run, expressed as a number 'in 12'. Measure how many inches the roof rises over a level 12-inch run: that rise is your pitch. For example, a 6-inch rise over a 12-inch run is a 6/12 pitch. The formula is pitch = (rise / run) x 12.

What does a 6/12 roof pitch mean?

A 6/12 pitch means the roof rises 6 inches vertically for every 12 inches of horizontal run. That equals an angle of about 26.6 degrees and a slope (area) factor of about 1.118, so the sloped surface is roughly 12% larger than the flat footprint beneath it. 6/12 is a common residential pitch.

How do I convert roof pitch to degrees?

Take the rise divided by the run and apply the inverse tangent (arctangent): angle = atan(rise / run). For a 6/12 pitch that is atan(6/12) = atan(0.5), which is about 26.57 degrees. The calculator does this automatically and also shows the slope factor.

What is the slope factor and why does it matter?

The slope factor (also called the roof multiplier) converts your roof's flat footprint area into actual sloped surface area. It equals sqrt(rise^2 + run^2) / run. Multiply your building's flat footprint by the slope factor to get the true roofing area you need to cover; flat square footage misses this step.

How do I measure rise and run on a roof?

Hold a level horizontally against the roof slope and mark a 12-inch point along it. From that 12-inch mark, measure straight down to the roof surface: that vertical distance is the rise over a 12-inch run. You can do this from inside the attic on a rafter, or outside on the roof or gable end. Always work safely.

How do I find rafter length from pitch?

Rafter length is the hypotenuse of the rise-and-run triangle: length = sqrt(rise^2 + run^2). For a symmetrical gable, the run is half the building span. The calculator's 'Span & rise' mode gives you a finished rafter length over half the span; then add your eave overhang and account for the birdsmouth and ridge.

What roof pitch is best for shingles?

The International Residential Code allows asphalt shingles on slopes of 2/12 or steeper (Section R905.2.2) and calls for a double layer of underlayment from 2/12 up to 4/12; from 4/12 up, a single layer is standard. Below 2/12 you need a low-slope covering such as built-up roofing, modified bitumen or a single-ply membrane (TPO, EPDM), which the IRC allows down to 1/4 in 12. Above 12/12, installation needs extra safety gear and labor.

Why should I order about 10% extra roofing material?

Real roofs have cuts, hips, valleys, ridge caps, starter courses and ordinary waste, so the surface you buy is always more than the bare calculated area. A waste factor of about 10% is a common rule of thumb for simple gable roofs; complex roofs with many hips and valleys can need 15% or more. Buying a little extra avoids a second trip and gives you spares for repairs.

Does this calculator include the roof overhang?

No. The rafter length it reports covers the slope from the wall plate to the ridge over half the span. It does not add eave overhang, ridge-board thickness or the birdsmouth seat cut. Measure your planned overhang and add it to the calculated rafter length before cutting. For the roof surface, enter a footprint that already includes the overhangs.

What is the difference between pitch, slope and grade?

In US roofing they are closely related but expressed differently. Pitch is usually given as rise 'in 12' (like 6/12). Slope can mean the same ratio or the angle in degrees. Grade or percent slope expresses rise as a percentage of run (a 6/12 pitch is a 50% grade). This calculator reports the x/12 pitch, the angle in degrees, the percent grade and the area slope factor.

How many degrees is a 4/12 roof pitch?

A 4/12 roof pitch is about 18.4 degrees, found from arctangent(4 / 12) = arctangent(0.333). It equals a 33.3% grade and a slope factor of 1.054, so the roof surface is about 5% larger than the flat footprint. For reference, 6/12 is 26.6 degrees, 8/12 is 33.7 degrees, and 12/12 is exactly 45 degrees.

How do I convert roof pitch to a percent grade?

Divide the rise by the run and multiply by 100. Because the run is 12, a pitch of x/12 is a grade of (x / 12) x 100. So 3/12 is a 25% grade, 6/12 is a 50% grade, 9/12 is a 75% grade, and 12/12 is a 100% grade. Percent grade and the x/12 pitch describe the same steepness in different units.

How do I use the pitch to find my roof area?

Multiply the flat footprint of the roof (length x width of the building, including overhangs) by the slope factor. Enter the footprint in the calculator's optional field and it shows the roof surface, the surface with your waste factor and the number of roofing squares. A 1,200 sq ft footprint at 6/12 has about 1,342 sq ft of roof, or 1,476 sq ft (14.76 squares) with 10% waste.

Related Calculators