Skip to main content

Roof Pitch Calculator

A roof pitch calculator is a construction geometry utility that determines the slope of a building's roof. The calculator processes the vertical rise and horizontal run measurements, outputting the pitch ratio (expressed as inches of rise per twelve inches of run), the slope angle in degrees, and the grade percentage. It also calculates the roof factor multiplier, which is used to estimate true surface area from flat blueprints. Carpenters, roofing contractors, and DIY homeowners use this tool to estimate shingle materials and verify safety requirements.

Enter rise and run in any consistent unit. The calculator returns roof pitch in the U.S. x/12 convention, the angle in degrees, slope percent, and the multiplier for converting plan area to actual roof-surface area.

Quick Answer

Calculate your roof's pitch, angle, and grade. Enter the rise and run measurements to find the slope and shingle requirements.

Unit (rise and run should match)
in

How much the roof goes up. · e.g. 4

in

The matching horizontal distance. · e.g. 12

About roof pitch

In the U.S., roof pitch is conventionally written as x/12: x inches of rise per 12 inches of run. A 4/12 pitch means the roof rises 4 inches for every 12 inches of horizontal distance. The calculator also reports the angle in degrees and the slope as a percent.

Educational tool. Practical roof measurement requires safe access; use a long level and tape, or measure from inside against the rafter, rather than climbing onto a steep roof.

Roof pitch

Pitch (x / 12)

4 / 12

18.43° · 33.33% slope

Rise4 in
Run12 in
Slope (rise / run)0.333333
Pitch in x/12 form4 / 12
Angle in degrees18.435°
Slope percent33.333%
Roof-surface multiplier (plan area → roof area)1.0541

Pitch in degrees = atan(rise / run). The roof-surface multiplier = √(1 + slope²) converts a plan-view area to the actual sloped roof area; multiply your footprint by it to estimate shingle or membrane coverage.

Was this helpful?

Examples

Rise 4 in · run 12 in

4/12 · 18.43° · 33.3% slope

Rise 6 in · run 12 in

6/12 · 26.57° · 50% slope

Rise 12 in · run 12 in

12/12 · 45° · 100% slope

Rise 2 ft · run 8 ft

3/12 · 14.04° · 25% slope

How it works

Roof pitch is a slope expressed three different ways: the U.S. x/12 ratio, the angle in degrees, and the slope as a percent. All three describe the same physical quantity.

Slope · slope = rise / run

x/12 form · pitch_over_12 = slope × 12

Angle · angle = atan(slope)

Roof-surface multiplier · √(1 + slope²)

The old manuals meant something different by pitch

This page treats pitch and slope as the same thing, rise per 12 inches of horizontal run, because that is what current practice and the model codes do. It was not always so, and the difference is a factor of two rather than a nuance.

The US Navy's framing manual, Builder 3 & 2, NAVEDTRA 14044, sets out the older system exactly. It defines span as "the horizontal distance between the outside top plates", states that the "unit of span is also fixed, twice the unit of run, or 24 inches", and that "total run is equal to half the span". Then the definition that matters: "Pitch is the ratio of unit of rise to the unit of span." Rise over span, not rise over run.

So the roof this page calls 6/12 an older framing manual calls a quarter pitch, and both are correct about the same roof. The manual even gives the conversion, "unit of span (24 in.) x pitch = unit of rise", and works it: "1/8 pitch is given, so 24 x 1/8 equals 3", which is a 3/12 roof.

One correction this page owes to its own earlier wording. The term NAVEDTRA uses for the rise-over-run ratio is not slope, it is cut: "The term 'pitch' is gradually being replaced by the term 'cut'." Slope appears in the manual only as an informal description, never as a defined ratio. Slope winning out over cut came later. The clean fractions land on 3, 4, 6, 8, 9 and 12 twelfths, which is precisely why those became the standard pitches of the old books.

Working a roof out by hand

Take a building 40 feet by 30 feet with a 6/12 gable roof.

  1. Plan area is 40 x 30 = 1,200 sq ft. That is the footprint, not the roof.
  2. Slope is 6 / 12 = 0.5.
  3. Angle is arctan(0.5) = 26.5651 degrees. The 26.5 you often see is rounded down; it rounds to 26.57.
  4. Multiplier is the square root of (1 + 0.5 squared) = square root of 1.25 = 1.118034.
  5. Roof surface is 1,200 x 1.118034 = 1,341.6 sq ft, about 11.8 percent more than the footprint.
  6. Span is 30 feet, so the run of each side is 15 feet and the total rise at the ridge is 15 x 0.5 = 7.5 feet.

The multiplier is the secant of the pitch angle, which is why it grows slowly at first and then quickly. Two of them are exactly rational, because 5-12-13 and 3-4-5 are Pythagorean triples: a 5/12 roof is exactly 13/12 of its footprint and a 9/12 roof is exactly 5/4 of it. A 9/12 roof is 25 percent more surface with no rounding anywhere, which makes it the tidiest worked example in the whole subject.

Pitch, angle and multiplier for every whole-number pitch

PitchAngleSlope %Area multiplier
1/124.7636°8.333%1.003466
2/129.4623°16.667%1.013794
3/1214.0362°25%1.030776
4/1218.4349°33.333%1.054093
5/1222.6199°41.667%1.083333 (13/12 exactly)
6/1226.5651°50%1.118034
7/1230.2564°58.333%1.157704
8/1233.6901°66.667%1.201850
9/1236.8699°75%1.250000 (5/4 exactly)
10/1239.8056°83.333%1.301708
11/1242.5104°91.667%1.356568
12/1245° (exact)100%1.414214

Only 12/12 lands on a round angle. Every other entry in the angle column is irrational, which is why a roof specified in degrees and a roof specified in twelfths are almost never the same roof.

What the code requires at each slope

Minimum slopes from the International Residential Code. The 2024 edition is current and its R905.2.2 is character-for-character the 2021 sentence quoted below, so nothing here changed between them; the section numbers in this list are the ones both editions use. Figures are in units vertical per 12 units horizontal. Your jurisdiction may have adopted a different edition or amended it, so confirm locally.

  • Asphalt shingles, 2:12. R905.2.2: "Asphalt shingles shall be used only on roof slopes of 2 units vertical in 12 units horizontal (17-percent slope) or greater. For roof slopes from 2 units vertical in 12 units horizontal (17-percent slope) up to 4 units vertical in 12 units horizontal (33-percent slope), double underlayment application is required."
  • Wood shingles and shakes, 3:12 (R905.7.2, R905.8.2).
  • Clay and concrete tile, 2.5:12, with double underlayment up to 4:12 (R905.3.2).
  • Metal panels: 3:12 lapped without sealant, 0.5:12 with lap sealant, 0.25:12 standing seam (R905.10.2).
  • Built-up roofs, 0.25:12, or 0.125:12 for coal tar (R905.9.1).

One of those parentheticals is wrong, and it is worth knowing which. The IRC gives the tile minimum as "21/2 units vertical in 12 units horizontal (25-percent slope)". Two and a half in twelve is 20.833 percent, which rounds to 21, not 25. The same error is in the 2018 edition. The International Building Code has it right, giving the identical slope as a "21-percent slope" at its section 1507.3.2. Every other parenthetical in the series checks out, so the likely cause is 25 being carried across from the 3:12 figures beside it.

Steepness, safety, and a rule that was withdrawn

This page used to say walkable pitch tops out around 6/12 and that above 8/12 most roofers use harnesses. Those are real numbers with a real history, and they are no longer the rule.

OSHA draws exactly one slope line. At 29 CFR 1926.500(b) a steep roof is "a roof having a slope greater than 4 in 12 (vertical to horizontal)" and a low-slope roof is one "having a slope less than or equal to 4 in 12". Above that line, 1926.501(b)(11) requires guardrails with toeboards, safety nets or personal fall arrest for work 6 feet or more above a lower level, and the warning lines and safety monitors allowed at or below 4:12 are not permitted. A 5/12 roof is already steep in the only sense that carries a penalty.

The 6/12 and 8/12 figures come from OSHA Instruction STD 3-0.1A, the 1999 interim guidelines for residential construction, which allowed slide guards "where the roof slope is 8 in 12 or less, and the fall distance, measured from the eave to the ground level, is 25 feet or less", with a separate tier at "Roof Slope: 6 in 12 or less". OSHA Instruction STD 03-11-002, effective 16 June 2011, cancelled it in as many words, and directed that residential builders "must comply with 29 CFR 1926.501(b)(13)". The trade rule of thumb is the memory of a withdrawn directive.

Edge cases the simple formula does not cover

  • Valleys run shallower than the roof. Where two equal planes meet at a right angle in plan, the valley line crosses the plan at 45 degrees, so its horizontal run is longer by the square root of two for the same rise. The valley slope is the roof slope divided by 1.414214. NRCA's vice president of technical services puts it in Professional Roofing: "where roofs with a 4:12 slope intersect at a valley, the valley's actual slope is only about 3:12." Exactly, it is 2.83 in 12. A 4/12 roof carrying wood shingles therefore has a valley running below the 3:12 minimum for the material on it.
  • Two different pitches do not average. Both planes must reach one ridge, so the ridge sits off centre and each side's run is the span times the other side's slope over the sum of the slopes. A 32 foot span with a 12/12 side and a 4/12 side gives runs of 8 and 24 feet, a common rise of 8 feet, and a blended multiplier of 1.144123. Averaging to 8/12 gives 1.201850 and overstates the roof by about 5 percent.
  • Crickets are about width, not pitch. IRC R903.2.2 requires a cricket or saddle "on the ridge side of any chimney or penetration more than 30 inches (762 mm) wide as measured perpendicular to the slope". It covers any penetration, not only chimneys, and the 30 inches is measured perpendicular to the slope rather than horizontally.
  • Ice barriers are about climate, not pitch. The IRC ties them to areas "where there has been a history of ice forming along the eaves causing a backup of water as designated in Table R301.2". A steep roof in a cold region needs one and a shallow roof in a warm one does not, so this is not a low-slope requirement however often it is described as one.
  • Measure the run level, never along the roof. Rise is vertical and run is horizontal. Measuring the run up the slope gives you the rafter length instead, and the pitch you compute from it will be too shallow every time.

What this page does not know

It does arithmetic on the two numbers you type. It does not know your jurisdiction, which code edition your authority has adopted, what your local amendments change, or what your shingle manufacturer's warranty requires, and manufacturer minimums are sometimes stricter than code. Every code figure here is a starting point for a conversation with your building department, not permission.

Nothing you type leaves this page. The arithmetic runs in your browser. The rise and run are not sent to a server, are not written into the address bar, and are gone when you close the tab. There are no accounts and nothing to sign up for.

Related home calculators

Sources

  • 2021 International Residential Code, sections R903.2.2, R905.1.2, R905.2.2, R905.3.2, R905.7.2, R905.8.2, R905.9.1 and R905.10.2, read through ICC Digital Codes, for every minimum slope and the cricket and ice-barrier rules.
  • 2021 International Building Code, section 1507.3.2, for the 21 percent figure the IRC prints as 25.
  • 29 CFR 1926.500(b) and 1926.501(b)(10), (b)(11) and (b)(13), for the steep-roof definition and the fall-protection trigger.
  • OSHA Instruction STD 03-11-002, 16 June 2011, for the cancellation of STD 3-0.1A, whose 8-in-12 and 6-in-12 tiers are quoted from OSHA's own letters of interpretation.
  • Builder 3 & 2, Volume 2, NAVEDTRA 14044, March 1994, chapter 2, for span, run, pitch and cut. Public domain.
  • Mark S. Graham, "Roof slope guidelines", Professional Roofing, NRCA, August 2018, for the valley slope.

Angles, slope percentages and area multipliers in the table above are computed rather than quoted, and each was checked against its exact closed form where one exists.

Practical disclaimer. Educational tool. Safe roof measurement uses a long level and tape (from the ground against a fascia board) or measurement from inside the attic against a rafter. Avoid climbing onto a steep roof without proper fall protection.

Frequently asked questions

Roof pitch is the slope of a roof, measured as the vertical rise divided by the horizontal run. In the United States, pitch is conventionally written as x/12: x inches of rise per 12 inches of horizontal run. A 4/12 roof rises 4 inches for every 12 inches horizontal; a 12/12 roof rises 12 inches for every 12 inches, or a 45-degree angle.

Slope = rise ÷ run. Pitch in x/12 form = slope × 12. Angle in degrees = arctan(slope) × (180 / π). Slope percent = slope × 100. Use consistent units for rise and run (inches with inches, or feet with feet).

Walkable pitch tops out around 6/12 (26.6°) for most people. Above 8/12 (33.7°), most roofers use harnesses, roof brackets, or specialized footwear. Above 12/12 (45°), the roof is considered very steep and is typically worked from staging or scaffolding.

Below 2/12 (about 9.5°), a roof is considered low-slope and usually requires a different roofing material (membrane, modified bitumen, or built-up roofing) instead of shingles. Standard asphalt shingles are typically rated down to 2/12 with extra underlayment, and not below.

It converts the plan-view footprint (the area as seen from directly above) to the actual sloped roof area. Multiplier = √(1 + slope²). For a 4/12 pitch, the multiplier is about 1.054, meaning the roof surface is roughly 5.4% larger than the footprint. Use it to estimate shingle or membrane coverage.

In current practice yes, and this page treats them as the same: rise per 12 inches of horizontal run. In older carpentry the two were distinct. Slope was rise over run, while pitch was rise over the span, and the span is the full width of the building, exactly twice the run of a common rafter. So what this page calls a 6/12 pitch an older framing manual calls a 1/4 pitch, and the two numbers differ by a factor of two while describing the same roof. The model building codes use only slope, stated as units vertical in 12 units horizontal, which is the convention here.

No, as long as both use the same unit. Pitch is a ratio, so the units cancel: 4 inches of rise over 12 inches of run and 4 feet over 12 feet are the same 4/12 roof. What you must not do is mix them, or measure the rise along the sloping roof surface rather than vertically. The run is always a horizontal distance measured on the level, never along the slope.

Several methods. From inside the attic, hold a level horizontal against the underside of a rafter and measure the rise over a 12-inch run. From outside, use a smartphone level on the roof surface or against a fascia board. On an unsafe steep roof, measure the gable-end triangle (rise and run of the visible roof end).

Under current federal rules, a roof half that steep already is. OSHA defines a steep roof at 29 CFR 1926.500(b) as "a roof having a slope greater than 4 in 12 (vertical to horizontal)", and a low-slope roof as one "having a slope less than or equal to 4 in 12". Above that line, 1926.501(b)(11) requires guardrails with toeboards, safety nets or personal fall arrest for anyone working 6 feet or more above a lower level, and the warning lines and safety monitors permitted at or below 4:12 are not allowed. So a 5/12 roof is legally steep, and the 6/12 and 8/12 figures this page and everyone else quotes are not the regulatory line.

They were real OSHA numbers, from a directive that no longer exists. OSHA Instruction STD 3-0.1A, the 1999 Interim Fall Protection Compliance Guidelines for Residential Construction, allowed slide guards as fall protection "where the roof slope is 8 in 12 or less, and the fall distance, measured from the eave to the ground level, is 25 feet or less", and set a separate tier at "Roof Slope: 6 in 12 or less". That is exactly the trade rule of thumb. OSHA Instruction STD 03-11-002, effective 16 June 2011, cancelled it: "OSHA Instruction STD 03-00-001 (STD 3-0.1A) ... is canceled", and residential builders "must comply with 29 CFR 1926.501(b)(13)". So the numbers are a fifteen-year-old memory of a rule that was withdrawn, not folklore and not current.

It depends who is speaking, and the two answers are a factor of two apart. The IRC does not define the term at all: the string does not appear in its definitions chapter or its roof assemblies chapter. The IBC uses it descriptively at under 2 in 12. OSHA defines it as 4 in 12 or less. So the same roof at 3/12 is low-slope to a safety inspector and not low-slope to a building inspector, and neither is wrong. This page uses under 2/12 for the roofing-material sense, which is the IBC's, and says so.

Multiply the plan area by the multiplier, which is the secant of the pitch angle. A 40 by 30 foot footprint is 1,200 square feet in plan. At 6/12 the multiplier is the square root of 1.25, which is 1.118034, so the roof surface is 1,341.6 square feet. Two of these multipliers are exactly rational because of Pythagorean triples: 5/12 gives exactly 13/12, and 9/12 gives exactly 5/4, so a 9/12 roof is exactly 25 percent more surface than its footprint with no rounding anywhere.

Do not average the pitches. Both sides have to reach the same ridge, so the ridge is not centred: the run of each side is the span times the OTHER side's slope, divided by the sum of the slopes. On a 32 foot span with a 12/12 side and a 4/12 side, the steep side has an 8 foot run and the shallow side 24, the common rise is 8 feet, and the ridge sits 8 feet off centre. The blended multiplier is 1.144123. Averaging the two pitches to 8/12 gives 1.201850, overstating the roof by about 5 percent, and it goes wrong twice over: the steeper side covers less plan area than the average implies, and the multiplier is a convex function so averaging inputs never gives the average output. Compute each side from its own run and add.

No, and this is the most repeated false equivalence in roofing content. A 7/12 roof is 30.2564 degrees. A true 30 degree roof is 6.9282 in 12, which is not a whole-number pitch and never will be, because it is 12 times the tangent of 30 degrees and that is 4 times the square root of 3. Of the twelve whole-number pitches, only 12/12 lands on a round angle, at exactly 45 degrees. If someone specifies a roof in degrees and a roofer builds it in twelfths, they are building a different roof.

No. It does arithmetic on the two numbers you type and nothing else. It does not know your jurisdiction, which code edition your authority has adopted, what your local amendments say, or what your shingle manufacturer's warranty requires, and manufacturer minimums are sometimes stricter than code. Treat every code figure on this page as a starting point for a conversation with your building department, not as permission.

No. The arithmetic runs in this page in your browser. The rise and run you type are not sent to a server, are not written into the address bar, and are gone when you close the tab. There are no accounts and nothing to sign up for.