Roof Pitch Calculator

Roof pitch is the rise in inches for every 12 inches of horizontal run, written as 4/12 or 4:12. Enter a rise and run, a pitch, or an angle below and this calculator converts between all three, then gives you the rafter length, the slope factor and the true roof area — a 4/12 roof sits at 18.43°.

1. Roof pitchImperial
Run is the horizontal distance, not the rafter.
2. Roof size (optional — for area)
Added on every side of the footprint.

Roof pitch

4/12
Low slope

Angle

18.43°
33.3% grade

Slope factor

1.0541

Hip / valley factor

1.4530

Rafter length

Roof area

Roofing squares

Footprint covered

Report copied
Roof pitch calculator reference photo: new timber roof framing showing rafters rising to a ridge, forming the rise and run triangle that defines pitch
Every rafter is the hypotenuse of a right triangle — the rise and the run are the two sides the roof pitch calculator above works from. The same triangle governs a staircase, which is why the stair calculator asks for exactly the same two numbers.

How to calculate roof pitch

Roof pitch is one number describing one relationship: how far the roof climbs for how far it travels sideways. Everything else on this page — the angle, the percentage, the rafter length, the area — falls out of that ratio.

Pitch = (rise ÷ run) × 12, written as rise/12

Angle in degrees = arctan(rise ÷ run)  ·  Grade % = (rise ÷ run) × 100

A worked example

Hold a level out 12 inches from the roof and measure down to the surface: say it drops 4 inches. The pitch is 4/12 — a 4/12 roof. The angle is arctan(4÷12) = arctan(0.3333) = 18.43 degrees, and the grade is 33.3%. The rafter running up that slope is the hypotenuse: √(4² + 12²) = 12.65 inches for every 12 inches of run, which is the same as saying the slope factor is 1.0541.

Roof pitch chart

This is the whole conversion in one place: pitch, angle, grade, and the two multipliers that turn a flat measurement into a real one.

How to read this chart: pitch is written as rise over a 12-inch run. Degrees is the same angle measured from horizontal. Grade is that slope as a percentage. Slope factor is the number you multiply a flat footprint area by to get the real sloped roof area — it is also called the roof pitch multiplier. Hip / valley factor does the same job for a hip or valley rafter, which runs diagonally and so climbs at a shallower rate than a common rafter.
PitchSame slope expressed asMultipliersCategory
DegreesGrade %Slope factorHip / valley
1/124.76°8.3%1.00351.4167Flat
2/129.46°16.7%1.01381.4240Low
3/1214.04°25.0%1.03081.4361Low
4/1218.43°33.3%1.05411.4530Conventional
5/1222.62°41.7%1.08331.4743Conventional
6/1226.57°50.0%1.11801.5000Conventional
7/1230.26°58.3%1.15771.5298Conventional
8/1233.69°66.7%1.20191.5635Conventional
9/1236.87°75.0%1.25001.6008Conventional
10/1239.81°83.3%1.30171.6415Steep
11/1242.51°91.7%1.35661.6853Steep
12/1245.00°100.0%1.41421.7321Steep
14/1249.40°116.7%1.53661.8333Steep
16/1253.13°133.3%1.66671.9437Steep
18/1256.31°150.0%1.80282.0616Steep
20/1259.04°166.7%1.94372.1858Steep
24/1263.43°200.0%2.23612.4495Steep

Two rows are worth memorising. 12/12 is exactly 45 degrees, because the rise and run are equal. And 6/12 is 26.57 degrees with a slope factor of 1.1180, which is the most common residential pitch in much of the country, so it is the one you will reach for most.

How to measure roof pitch

Four ways, roughly in order of how much you would rather not climb anything.

  • From the attic (safest). Hold a level horizontally against the underside of a rafter, measure 12 inches along it, then measure straight up from that point to the rafter. That vertical figure is your rise over 12.
  • On the roof surface. Same method, but on top: level held horizontal, 12 inches out, measure down to the shingles.
  • Total rise and run. Measure from the ridge down to the level of the eaves for the rise, and half the building width for the run, then divide and multiply by 12. Useful when you can only measure the outside.
  • Speed square. Rest the pivot on the rafter edge, let the square hang, and read the pitch scale directly. Fastest method if you own one.
One measurement trap. The run is the horizontal distance, not the length of the rafter. If you measure along the slope you are measuring the hypotenuse, and every number downstream will come out short. On a gable roof the run is half the building width, because the ridge sits in the middle.

Slope factor, roof area and squares

A roof always has more surface than the ground it covers, and the slope factor is the number that bridges the two. Multiply the footprint by it and you get the real area to cover.

Roof area = footprint area × slope factor

Slope factor = √(1 + (rise÷run)²)  ·  1 roofing square = 100 sq ft

Take a 40 by 28 foot building with a 1 foot overhang all round. The footprint the roof covers is 1,260 square feet. At 6/12 the slope factor is 1.1180, so the actual roof surface is about 1,409 square feet, or 14.1 squares. Skip the slope factor and you would order for 1,260 square feet and finish 149 square feet short.

Hips and valleys need the other multiplier. A hip rafter runs diagonally across the plan rather than straight up the slope, so it rises more gradually and is longer than a common rafter on the same roof. That is what the hip and valley column in the chart is for. If you are estimating other materials for the same job, our area calculator and asphalt calculator use the same footprint arithmetic.

Roof pitch categories

Pitch decides which roofing materials are even an option, so the trade splits it into four broad bands.

How to read this chart: these bands are the common trade descriptions and the thresholds most sources agree on. They are not a building code in themselves — the binding requirement is always the minimum slope your specific roofing material is approved for.
CategoryPitchAngleWhat it means in practice
Flat / near-flatUnder 2/12Under 9.5°Membrane systems territory. Water sits rather than runs, so the covering has to be genuinely waterproof, not just water-shedding.
Low slope2/12 to 4/129.5° to 18.4°Shingles are usually permitted here only with extra underlayment. Check the material requirement before you order.
Conventional4/12 to 9/1218.4° to 36.9°The everyday residential range. Sheds water reliably, suits every common covering, and is the cheapest to install.
Steep slopeOver 9/12Over 36.9°Sheds water fast and gives usable attic volume, but costs more per square to cover because the work is slower and staging is heavier.

Those bands describe practice, not permission. What you are actually allowed to install at a given slope comes from two places: the building code your jurisdiction has adopted, published by the International Code Council, and the installation instructions for the specific product. The National Roofing Contractors Association is the trade body that maintains the wider standards roofers work to. Check both before you commit to a low-slope design — a pitch that looks fine on paper can rule out the material you had in mind.

Minimum roof pitch by material

Pitch decides what you are allowed to install, not just what looks right. These are the minimum slopes set by the International Residential Code, section by section. Note the code never says “pitch” — it says slope, expressed as units of vertical rise in 12 units of horizontal run.

How to read this chart: minimum slopes from the 2021 International Residential Code, chapter 9. A slope written 2:12 means 2 units of rise for every 12 units of run. These figures are unchanged across the 2015, 2018, 2021 and 2024 editions. Your jurisdiction adopts a specific edition and may amend it, and the manufacturer instructions for a given product can be stricter — both override this table.
Roof coveringCode sectionMinimum slopeNotes
Asphalt shinglesR905.2.22:12Double underlayment required from 2:12 up to 4:12
Photovoltaic shinglesR905.16.22:12
Clay & concrete tileR905.3.22½:12Double underlayment from 2½:12 to 4:12
Metal roof shinglesR905.4.23:12
Wood shinglesR905.7.23:12
Wood shakesR905.8.23:12The commercial code (IBC) requires 4:12 instead
SlateR905.6.24:12The steepest minimum of any common covering
Mineral-surfaced roll roofingR905.5.21:12
Metal panels — lapped, no sealantR905.10.23:12
Metal panels — lapped, with lap sealantR905.10.2½:12Sealant applied per the manufacturer instructions
Metal panels — standing seamR905.10.2¼:12
Built-up roofingR905.9.1¼:12Coal-tar built-up may go to ⅛:12
Modified bitumenR905.11.1¼:12
EPDM and other thermoset single-plyR905.12.1¼:12
TPO, PVC and other thermoplastic single-plyR905.13.1¼:12
Sprayed polyurethane foamR905.14.1¼:12
Two things the table cannot tell you. First, wood shakes are the one material where the residential and commercial codes disagree: the IRC allows 3:12, the IBC requires 4:12. Second, the roofing association’s own best-practice minimums are steeper than code — it recommends 4:12 or more for shingles, tile, metal shingles, slate and wood, on water-shedding grounds. Meeting code is the floor, not the target.

One detail worth planning around: a valley is shallower than the roof it sits in. Where two 4:12 planes meet, the valley itself runs at roughly 3:12, because it travels diagonally. On a cut-up roof with valleys and long rafter runs, designing a step above the minimum is what keeps water moving.

What the code does not say about pitch

Three claims turn up on nearly every roofing page, stated as if they were rules. I went looking for the standard behind each one, and it is not there.

  • “A roof is walkable up to 6/12 or 7/12.” No safety standard defines a walkable roof at all. OSHA does draw a line at 4:12, but that line separates a low-slope roof from a steep roof for choosing fall-protection systems — and fall protection is required above six feet on both sides of it. Treat published walkability figures as somebody’s comfort level, not a rating.
  • “You need at least 6/12 for snow.” Nothing in the residential code, the building code, or the structural load standard sets a minimum slope for snow shedding. Slope feeds the snow load calculation — design load falls as the roof steepens — but no minimum is prescribed.
  • “4/12 to 6/12 is best for wind” (or 7/12, depending who you ask). These two figures contradict each other, and neither has a standard behind it. Roof slope is an input to wind pressure coefficients, not a prescribed minimum.

The 7/12 figure does have a real origin, just a misread one. The structural load standard exempts hip and gable roofs steeper than 7 on 12 from unbalanced snow load analysis. That is an engineering exemption about which calculation you must run — not advice about how steep to build.

Frequently Asked Questions

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. A 4/12 roof climbs 4 inches for every 12 inches it travels sideways, which works out to 18.43 degrees. The 12 never changes in this notation, so only the first number tells you the steepness. Building codes use the word slope rather than pitch, but they express it the same way.

How do I calculate roof pitch?

Measure the rise and the run, then divide. Hold a level out 12 inches horizontally from the roof surface and measure straight down to the roof at the far end — that drop is your rise, and the pitch is that number over 12. If you have a total rise and run instead, divide rise by run and multiply by 12. For the angle, take the arctangent of rise divided by run: 4 over 12 gives arctan(0.3333) = 18.43 degrees.

What angle is a 4/12 roof pitch?

18.43 degrees, or 33.3% grade. The other pitches people ask about most: 3/12 is 14.04°, 6/12 is 26.57°, 8/12 is 33.69°, 9/12 is 36.87° and 12/12 is exactly 45 degrees, because at 12/12 the rise and run are equal.

What pitch is a 45 degree roof?

Exactly 12/12. When a roof rises 12 inches for every 12 inches of run, the rise and the run are identical, which makes a right triangle with two equal sides and therefore a 45 degree angle. That is the only pitch where the ratio and the angle line up so neatly, which is why 12/12 turns up so often as a reference point.

What is the minimum roof pitch for shingles?

Two units of rise in 12 units of run, under section R905.2.2 of the residential code. Between 2:12 and 4:12 the code also requires a doubled underlayment, and the major shingle manufacturers set the same 2:12 floor in their own instructions. Below 2:12 you are outside what asphalt shingles are approved for and into membrane territory. The roofing association separately recommends 4:12 or steeper as best practice, which is stricter than the code minimum.

What roof pitch is walkable?

There is no standard that defines a walkable roof, despite how often a figure like 6/12 or 7/12 gets quoted. Safety regulations do draw a line at 4:12, but that line separates a low-slope roof from a steep roof for the purpose of choosing fall-protection systems, and protection is required above six feet on either side of it. Any walkability number you see is someone’s comfort threshold rather than a rating.

What is a roof pitch multiplier?

The multiplier, also called the slope factor, converts a flat footprint area into the actual sloped roof area. It is the square root of one plus the pitch ratio squared. For a 6/12 roof that is 1.1180, so a roof covering 1,000 square feet of ground has about 1118 square feet of surface. Ignoring it is the classic way to under-order roofing material.

How do I calculate roof area from the pitch?

Work out the footprint the roof covers, including the eave overhang on every side, then multiply by the slope factor for your pitch. A 40 by 28 foot building with a 1 foot overhang covers 1,260 square feet of ground; at 6/12 the slope factor is 1.1180, so the roof surface is about 1,409 square feet, or 14.1 roofing squares. The calculator above does this in one step.

What is a roofing square?

A roofing square is 100 square feet of roof surface, and it is the unit almost every roofer and supplier quotes in. The 1,409 square foot roof in the example above is 14.1 squares. Bundles of shingles are usually sold three to a square, so that roof would need roughly 43 bundles before waste and starter courses.

What is the hip and valley factor?

It is the slope factor for a rafter that runs diagonally rather than straight up the slope. A hip or valley rafter travels at 45 degrees in plan, so it covers more horizontal ground per foot of rise and climbs at a shallower rate than a common rafter. The factor is the square root of two plus the pitch ratio squared: for a 6/12 roof it is 1.5000 against a common rafter factor of 1.1180. The same effect is why a valley between two 4:12 planes runs at only about 3:12.

Disclaimer: The conversions on this page are exact trigonometry, but roofing decisions are not. Minimum slopes, underlayment requirements and fall-protection rules come from your adopted building code and the manufacturer instructions for the specific product, and those take precedence over any general guidance here. Check both before ordering material or starting work.
Scroll to Top