Roof Pitch Calculator: Complete Guide

This roof pitch calculator helps you quickly determine your roof angle, slope, and the required rafter length for your project. Simply enter the measurements to get accurate results in seconds.
Table of Contents
How do I find my roof pitch?
Hold a level horizontally against the underside of a rafter (in the attic) or against the roof surface, mark exactly 12 inches out from the wall, then measure straight down to the roofline at that mark — that vertical measurement in inches is your pitch. A roof that rises 6 inches over that 12-inch run is a 6/12 pitch, which works out to about 26.57° and a 50% slope — the most common pitch on US homes. Enter your rise and run, an angle, or a percent slope below to get the full conversion instantly.
Roof pitch
6/12
Conventional pitch — walkable without special equipment
- Angle26.57°
- Percent slope50.0%
- Pitch factor (area multiplier)1.118
- Rafter lengthEnter rafter span above
In this guide
- Pitch, slope, and angle explained
- Anatomy of a roof rafter
- How to measure your roof’s pitch
- The formulas behind the calculator
- A worked example
- Standard roof pitch chart
- Why pitch matters beyond looks
- Gable, hip, and multi-pitch roofs
- What pitch works with which material
- Regional and historical pitch conventions
- Common mistakes to avoid
Pitch, slope, and angle explained
You may have heard a roofer call a roof “6/12,” a builder call it “26 and a half degrees,” and an engineer call it “50%” — and wondered if they were even talking about the same roof. They are. Roof pitch, roof slope, and roof angle all describe the exact same steepness, just expressed in three different unit systems that different trades default to depending on the tools and traditions of their field.
Pitch, written as X/12, is the carpenter’s shorthand — how many inches a roof rises for every 12 inches it runs horizontally. It’s the format printed on speed squares and the one framing crews talk in on a jobsite. Angle in degrees is what engineers, architects, and CAD software use, since degrees plug directly into structural load calculations. Percent slope shows up in civil engineering and drainage contexts, where a roof deck is treated the same way as a graded surface. This calculator converts freely between all three, so it doesn’t matter which one you’re starting from — rise and run, a degree reading off an app, or a percentage from a set of blueprints.
Fig. 1 — Rise, run, rafter length, and pitch angle all describe the same triangle
Anatomy of a roof rafter
Before diving into formulas, it helps to know the vocabulary framers actually use, since these terms show up constantly once you start measuring or ordering material. A common rafter is the main sloped board running from the wall’s top plate up to the ridge. Where the rafter sits on the wall, it’s notched with a birdsmouth — a triangular cutout with two cuts: the seat cut (the horizontal surface that rests on the top plate) and the plumb cut (the vertical face against the outer edge of the plate). Past the birdsmouth, the rafter tail is whatever length extends beyond the wall to form the eave overhang.
Fig. 2 — Where a rafter meets the wall, showing the bird’s mouth notch and rafter tail
Understanding this anatomy matters for one practical reason: when you measure rise and run for pitch, you measure along the top edge of the rafter (or the roof surface itself), not along the bottom edge where the birdsmouth cuts into it. Mixing those two reference lines up is a common source of small measurement errors.
How to measure your roof’s pitch
What if you don’t know your roof’s pitch and need to measure it yourself? You don’t need to get on the roof — the most accurate method works from inside the attic, where you can access an exposed rafter directly.
Method 1: From the attic (most accurate)
The level-and-tape-measure method
- Go into the attic and find an exposed rafter near the middle of the roof, away from any dips or hip sections.
- Hold a 12-inch (or longer) level horizontally against the underside of the rafter, bubble centered.
- Mark exactly 12 inches out along the level from where it touches the rafter.
- From that 12-inch mark, measure straight down (vertically) to the rafter’s bottom edge. That number, in inches, is your rise.
- Your pitch is that rise number over 12 — a 7-inch measurement means a 7/12 pitch.
Method 2: With a speed square
If you have access to the roof surface directly (from a ladder at the gable end, for example), a speed square makes this even faster. Hook the square’s lip over the edge of a rafter or fascia board, hold a torpedo level against the square’s vertical edge until it’s plumb, and read the pitch directly off the printed common-rafter scale stamped into the square — most speed squares have this scale built in specifically for this purpose.
Method 3: Smartphone inclinometer (quick estimate only)
A free inclinometer app can give you a rough reading from the ground by aiming your phone at the roofline and reading the angle in degrees, then converting with rise = round(12 × tan(angle)). This is genuinely useful for a fast ballpark figure — deciding roughly which category your roof falls into, for instance — but expect about ±1° of error. At a 6/12 pitch, that translates to roughly ⅜ inch of error per foot of rafter length, which is enough to create a visible misalignment if you use it to actually cut lumber. Always confirm with the attic method before framing anything.
The formulas behind the calculator
Every value on this page comes from basic right-triangle trigonometry — rise, run, and the sloped rafter form the three sides of that triangle, and everything else follows from there.
The core formulas
- Pitch ratio = rise ÷ run
- Angle (degrees) = arctan(pitch ratio)
- Percent slope = pitch ratio × 100
- Pitch factor = √((pitch ratio)² + 1) — multiply your flat plan area by this to get true sloped roof area
- Rafter length = rafter span × pitch factor (a direct application of the Pythagorean theorem)
The calculator above accepts any of the three common starting points — rise and run, an angle in degrees, or a percent slope — and runs all five formulas automatically, updating the diagram live as you type.
A worked example
Let’s say you measured a rise of 8 inches over a 12-inch run — an 8/12 pitch — on a roof with a 15-foot rafter span (half the building width, from the exterior wall to the centerline of the ridge).
Step-by-step
- Pitch ratio: 8 ÷ 12 ≈ 0.667.
- Angle: arctan(0.667) ≈ 33.7°.
- Percent slope: 0.667 × 100 ≈ 66.7%.
- Pitch factor: √(0.667² + 1) ≈ 1.202.
- Rafter length: 15 × 1.202 ≈ 18.03 ft.
That pitch factor matters beyond just rafter length. If you’re ordering roofing material, multiply your flat plan (footprint) area by 1.202 to get the true sloped surface area that actually needs to be covered. Skip that step and you’ll come up roughly 20% short on shingles, underlayment, or sheathing — a mistake that means a second material run mid-project, at the worst possible time.
Standard roof pitch chart
Here’s how the most common pitches convert across pitch, angle, and slope, along with what category each falls into.
Fig. 3 — Roof pitch fan chart: each line shows a different pitch and its equivalent angle, all measured against a constant 12-inch run
| Pitch (X/12) | Angle | Percent Slope | Category |
|---|---|---|---|
| 2/12 | 9.5° | 16.7% | Low-slope, needs special waterproofing |
| 4/12 | 18.4° | 33.3% | Minimum for standard asphalt shingles |
| 6/12 | 26.6° | 50% | Most common US residential pitch |
| 8/12 | 33.7° | 66.7% | Steep, still walkable with care |
| 9/12 | 36.9° | 75% | Start of “steep-slope” designation |
| 12/12 | 45° | 100% | Very steep, equal rise and run |
Know your rise and run? Get every conversion instantly.
Use the calculator above →Why pitch matters beyond looks
What if pitch were purely an aesthetic choice? It isn’t — it’s one of the most functionally important decisions in a roof’s design, touching everything from water drainage to structural loads.
Drainage speed. A steeper pitch sheds rain and melting snow faster, which reduces the time water sits on the roofing material and lowers the odds of it finding its way under shingles or through seams. This is exactly why flat and low-slope roofs need entirely different waterproofing systems — membrane roofing rather than shingles — since they simply can’t rely on gravity alone to clear water quickly.
Snow load. In heavy snowfall regions, a steeper pitch helps snow slide off before it accumulates to dangerous weight — building codes in snow-heavy climates often specify steeper minimum pitches for exactly this reason, sometimes 10/12 or steeper.
Wind exposure. Counterintuitively, very steep roofs aren’t always the safest choice in high-wind regions. A steep roof presents more surface area to horizontal wind loads, which is why moderate pitches in the 4/12–6/12 range are often recommended in windy coastal or plains areas over dramatically steep designs.
Attic usability and cost. Steeper pitches create more usable attic volume — which is exactly what our room-in-attic truss geometry depends on — but they also require more rafter material, more roofing surface area (remember that pitch factor), and generally cost more in both material and labor to build and maintain.
Gable, hip, and multi-pitch roofs
Not every roof has just one pitch to worry about. A standard gable roof — the classic triangular shape with two sloped planes meeting at a ridge — usually has a single, consistent pitch across the whole structure, which is the simplest case and the one this calculator is built around.
Hip roofs, where all sides slope down to the walls rather than ending in a vertical gable wall, typically use the same pitch on all faces for a uniform look, though the hip and valley rafters themselves run at a compound angle that’s steeper to calculate than a common rafter — a detail generally left to a framing square or a dedicated hip-and-valley calculation.
Dual-pitch roofs are a different story entirely. Gambrel roofs (the classic barn shape) and Mansard roofs deliberately use two different pitches on the same roof face — typically a shallow upper section and a much steeper lower section — to maximize interior volume near the walls. If you have one of these roof types, measure and calculate each pitch section separately using this calculator; don’t try to average them into a single number, since the two sections behave completely differently for material selection and structural purposes.
What pitch works with which roofing material
What if you’re choosing a roofing material and aren’t sure your pitch qualifies? Every material has a minimum slope requirement, driven by how well it sheds water and how its seams or laps are designed to handle standing moisture.
Flat or near-flat roofs, under about 2/12, need a membrane system like EPDM rubber or TPO rather than shingles — even roofs that look flat to the eye still carry a slight pitch, since standing water will eventually find a way through almost any roofing material given enough time and enough puddling.
Regional and historical pitch conventions
Roof pitch conventions vary surprisingly widely by climate and architectural tradition, and knowing the reasoning behind them can help you sanity-check a design choice. Snowy northern climates often push toward 10/12 (about 40°) or steeper specifically to shed accumulating snow before it becomes a structural load problem. Gothic-style architecture takes this to an extreme for dramatic effect — traditional Gothic roof pitches equal the building’s span, producing a 60° angle, far steeper than anything driven by pure function.
At the other end, modern flat-roof aesthetics deliberately push pitch down to the practical minimum — often around 1/40 — relying entirely on membrane roofing and internal or scupper drainage rather than a sloped surface. Elizabethan-era construction went the opposite direction from Gothic for a different reason: rafters longer than the building’s span, producing exceptionally steep, dramatic rooflines associated with that architectural period. None of these are “correct” in an absolute sense — they’re all different answers to the same underlying tradeoffs between water shedding, snow performance, wind exposure, material cost, and visual style that this calculator’s angle and slope conversions help you evaluate for your own project.
Common mistakes to avoid
- ✕Measuring from the ground with just your eyes. Pitch differences that look similar from the ground can be several inches apart in actual rise — always measure directly on or in the roof structure using a level, not a visual guess.
- ✕Ordering material by footprint instead of sloped area. Skipping the pitch factor multiplier is the single most common way to come up short on shingles or sheathing — the gap grows fast as pitch increases, from about 12% at 6/12 to over 40% at 12/12.
- ✕Confusing pitch and slope with span-based “pitch.” Technically, pitch is rise over the full span (twice the run), while what’s commonly called “pitch” on the jobsite is actually slope (rise over run) — in practice, everyone uses “pitch” to mean rise/run, and that’s what this calculator does too, matching real-world usage.
- ✕Walking a roof over 7/12 without fall protection. Most roofers treat 7/12 and above as non-walkable without harnesses and roof jacks — factor this into any DIY safety plan or contractor labor estimate, since steep-pitch work commands higher labor rates specifically because of this risk.
- ✕Averaging a dual-pitch roof into one number. Gambrel and Mansard roofs need each pitch section calculated and ordered separately — treating them as a single average pitch will misallocate material and miscalculate rafter lengths for both sections.
Why trust this guide
All formulas follow standard right-triangle trigonometry used universally across roofing, framing, and engineering references. Material slope minimums reflect widely cited manufacturer and industry guidelines. Always verify measurements on-site and confirm material compatibility with your specific product’s manufacturer specifications before ordering or installing.
Frequently Asked Questions
Related Article: Roof Shingle Calculator
Related Article: Roof Truss Calculator
Related Article: Metal Roof Cost Calculator

