Roof Pitch Calculator: Angle, Slope, Rafter Length

Roof Pitch Calculator

Convert rise and run, an X:12 pitch, or a roof angle into pitch ratio, degrees, slope percent, the slope factor multiplier, and full rafter length using accurate right-triangle roofing geometry.

🎯Common Roof Pitch Presets

📝Pitch Inputs

Vertical height climbed. Used in rise & run mode.

Horizontal distance. Standard roofing run is 12.

The X in X:12. Used in pitch mode.

Slope angle from horizontal. Used in angle mode.

Full width, eave to eave. Rafter uses half of this.

Added to rafter length past the wall.

Half of this is subtracted from the run.

Pitch ratio 0:12 rise per 12 of run
Roof angle 0° from horizontal
Slope percent 0% rise / run × 100
Rafter length 0 half-span × slope factor

🔢Geometry Snapshot

4Rise units
12Run units
1.00Slope factor
LowPitch class

📐Pitch to Angle Reference (X:12)

PitchAngle (°)Slope %Slope FactorCategory
1:124.76°8.3%1.0035Flat / low
2:129.46°16.7%1.0138Low slope
3:1214.04°25.0%1.0308Low slope
4:1218.43°33.3%1.0541Conventional
5:1222.62°41.7%1.0833Conventional
6:1226.57°50.0%1.1180Conventional
7:1230.26°58.3%1.1577Conventional
8:1233.69°66.7%1.2019Steep
9:1236.87°75.0%1.2500Steep
10:1239.81°83.3%1.3017Steep
11:1242.51°91.7%1.3566Steep
12:1245.00°100.0%1.4142Steep

🧱Pitch Category and Suitable Materials

CategoryPitch RangeAngle RangeTypical MaterialsNotes
Flat0:12 – 0.5:120° – 2.4°Membrane, EPDM, TPO, built-upNeeds positive drainage
Low slope0.5:12 – 3:122.4° – 14°Rolled roofing, standing seam metalSealed laps required
Conventional4:12 – 7:1218° – 30°Asphalt shingles, most tileWalkable and versatile
Steep8:12 – 12:1234° – 45°Shingles, slate, shakesRoof jacks or scaffold
Very steep13:12 and upOver 47°Slate, metal, decorativeSpecial fasteners, safety gear

📏Rafter Length Multiplier Table

PitchFactor per RunRafter / 12 ft RunRafter / 14 ft RunRafter / 16 ft Run
3:121.030812.37 ft14.43 ft16.49 ft
4:121.054112.65 ft14.76 ft16.87 ft
5:121.083313.00 ft15.17 ft17.33 ft
6:121.118013.42 ft15.65 ft17.89 ft
7:121.157713.89 ft16.21 ft18.52 ft
8:121.201914.42 ft16.83 ft19.23 ft
9:121.250015.00 ft17.50 ft20.00 ft
10:121.301715.62 ft18.22 ft20.83 ft
12:121.414216.97 ft19.80 ft22.63 ft

❄Snow, Drainage and Suitability Grid

PitchAngleWater ShedSnow LoadAttic SpaceWalkability
2:129.5°SlowHolds snowMinimalEasy
3:1214.0°FairHolds someLowEasy
4:1218.4°GoodModerateSomeEasy
6:1226.6°Very goodSheds wellGoodCareful
8:1233.7°ExcellentSheds fastLargeRoof jacks
10:1239.8°ExcellentSheds fastVaultedDifficult
12:1245.0°ExcellentSelf clearsVaultedFall risk

⚙Full Formula Breakdown

Pitch ratioPitch = rise per 12 of run = (rise / run) × 12, written as X:12.
Roof angleAngle = atan(rise / run) × 180 / π. A 6:12 roof gives atan(6/12) = 26.57°.
Slope percentSlope % = (rise / run) × 100. A 6:12 roof rises 50% of the horizontal run.
Slope factorFactor = √(rise² + run²) / run = √((rise/run)² + 1). It scales plan length to rafter length.
Rafter (Pythagoras)Rafter = √(rise² + run²) for one run; for a building, run = span / 2.
From anglerise = run × tan(angle). From pitch X:12, angle = atan(X / 12) × 180 / π.
Building rafterhalf-span run = width / 2; total rise = pitch × half-span / 12; rafter = √(rise² + run²) + overhang.

💡Practical Roof Pitch Tips

Slope factor tip: Multiply the flat footprint area by the slope factor to get true roof-surface area. A 6:12 roof surface is about 11.8% larger than its floor plan.
Rafter tip: The run for a gable rafter is half the building width, not the full span. Add the overhang along the slope, then trim for half the ridge board thickness at the peak.

What’s going on up there? You’re standing on your porch, looking up at an angular triangle of shingles overhead, wondering… To most people, a roof is simply something that keeps the rain out. But to a builder, it’s also a geometric machine: something designed to hold up snow while still shedding water. This thing called “roof pitch” (the angle) determine not only how long of a piece of lumber you should order, but even which kind of shingle you can purchase.

Get it wrong, and you risk both wasted materials and potential leaks, so we created this roof pitch calculator to do the heavy lifting for you. It will convert your simple measurements into exact ratios that contractors work with daily. But before we jump in, here is what you need to know: What is rise? And what’s run?

Why Roof Pitch Is Important

Run refers to horizontal span of the roof. Rise, on the other hand, refers to how far up the roof travels vertically. In roofing terms, this is always described as a ratio, for example, one unit of rise over 12 units of run. If it says “4/12,” that would mean the roof climbs four inches for each foot of run.

That sounds strange at first but there’s a reason we use that system. It is the same reason we frame our walls in multiples of twelve inches and buy sheathing and framing lumber in increments that work well with multiples of twelve. Most materials are sold in increments that fit nicely within world of twelve. So the good news is, you don’t have to get out your math books and fight with some trigonometry to figure it all out. Our calculator does that for you immediately, converting your rough numbers into this shared language of ours.

The other common followup after getting the pitch down is what type of materials will work. Not every shingle like a shallow slope. For example, asphalt shingles typically require a minimum two-twelve slope to seal properly. Metal roofing, however, can installs at much flatter angles (with care). To put it all into perspective, the table on that page breaks them down into steep categories and those that is more common but still flat enough for a low slope roof.

If you’re looking at something heavier like tile or slate, then you’ll want to stay away from anything less than six-twelve as it gets very dangerous trying to get up there due to gravity. And it’s not only a matter of looks…a steeper roof also move water off faster so it’s less prone to leaks in high rainfall areas.

Finally, we have rafter length, something that tricks up a lot of DIYers. They measure their home’s width and figure that’s the length required for their rafters, completely forgetting about the slope! For a flat roof, they would use half-span for the length, but anything with pitch? Those boards becomes longer because of the hypotenuse effect. The tool factors all of that in and calculates what it calls a “slope factor” (essentially a multiplier of your horizontal run).

If you have a 6/12 pitch, that means your rafters should of about 12 percent longer than if they were on a flat surface. So if you don’t catch that, you end up with short rafters that won’t extend to the ridge line… forcing an expensive last minute trip to the lumber yard. Another complicating factor is overhangs.

In most houses, eaves project beyond exterior wall to shield the siding from splashback by rain. They may be as little as 1 foot wide or several feet, adding more distance to the slope, not just horizontally. You can enter that amount in the calculator’s separate field so it will adjust the final rafters’ cut length appropriateley. And the calculator subtracts the thickness of half the ridge board from the top cut; a slight detail that pros know to do but many amateurs forget. This tiny fraction of an inch means the difference between a snug fit or one with enough space for the wind to blow water up and into your attic.

Ultimately, a roof is about physics and math, but it is also about function and form. For example, while a very steep roof looks dramatic on a colonial-style home, it uses more material and produces less usable attic space different than a shallower slope. Yet, while a low pitch roof may save money on framing it can also hold too much snow in northern climates. Running the numbers before cutting any wood removes some of the guesswork out of the process.

You get a clearer idea of whether the design will work or if you need to change the angle or perhaps the span. The geometry doesn’t lie. Once you know how rise and run play together, the entire structure make sense. That triangle overhead no longer becomes just a shape but rather a solvable equation.

Roof Pitch Calculator: Angle, Slope, Rafter Length