Roof Pitch Calculator – Pitch, Angle and Rafter Length
Give this calculator two numbers — how much your roof climbs (the rise) and the horizontal distance it climbs over (the run) — and it hands back everything that rise and run really mean: the pitch in the roofer’s x/12 language, the same steepness as an angle in degrees and as a slope percent, the true length of the rafter that covers your run, and the multiplier roofers use to turn flat measurements into sloped ones. One triangle, read four ways, with the working shown.
The rise and run
🔒 Everything is calculated in your browser — nothing you enter leaves your device.
The pitch
The same steepness, every way it is quoted
Conventional pitch
A 6/12 is the classic house pitch: steep enough for standard asphalt shingles and most common roofing materials, comfortable to work on with care, and the pitch behind a large share of the roofs you see from the street.
- One right triangle gives every figure — run one side, rise the other, rafter the hypotenuse.
- Pitch is rise divided by run, quoted per 12 units of run — a rise of 8 over a run of 24 is a 4/12, whatever units you measured in.
- Read it four ways — pitch in x/12 language, angle in degrees, slope percent, and the rafter length with the multiplier for flat-to-sloped measurements.
- Your roof, drawn to scale
- Common roof pitches
- Pairs well with this calculation
- Roof pitch in three steps
- How the roof pitch calculator works
- Going deeper
- Three roofs, one triangle: the pitch ladder
- The common pitches, side by side
- The pitch ladder: angle and multiplier from 3/12 to 12/12
- Measuring a real roof: rise, run, and the ridge you cannot reach
- Frequently asked questions
Your roof, drawn to scale
The triangle below is your roof’s cross-section, redrawn from your own numbers every time they change. The sloped side is the rafter; the angle at the eave is the pitch angle.
Read it as the roofer does: stand at the eave, walk the run horizontally, climb the rise vertically, and the slope closing the triangle is the rafter you have to cut. Steepen the pitch and watch the rafter outgrow the run — that gap is exactly what the multiplier measures.
The one triangle underneath all of it
Every figure on this page comes out of one right triangle. The run is one side, the rise is the other, and the rafter is the hypotenuse. Pitch divides the two legs, the angle is the corner where rafter meets run, and the multiplier is the hypotenuse measured against the run. Change any one number and the triangle — and every answer on the page — reshapes itself around it.
Common roof pitches
Every standard pitch from 1/12 to 12/12, worked out from the same formulas this calculator uses. The row for 6/12 — this page’s starting example — is highlighted.
| Pitch | Angle | Slope | Rafter per 12 of run | Multiplier |
|---|---|---|---|---|
| 1/12 | 4.76° | 8.33% | 12.04 | 1.003 |
| 2/12 | 9.46° | 16.67% | 12.17 | 1.014 |
| 3/12 | 14.04° | 25% | 12.37 | 1.031 |
| 4/12 | 18.43° | 33.33% | 12.65 | 1.054 |
| 5/12 | 22.62° | 41.67% | 13.00 | 1.083 |
| 6/12 | 26.57° | 50% | 13.42 | 1.118 |
| 7/12 | 30.26° | 58.33% | 13.89 | 1.158 |
| 8/12 | 33.69° | 66.67% | 14.42 | 1.202 |
| 9/12 | 36.87° | 75% | 15.00 | 1.250 |
| 10/12 | 39.81° | 83.33% | 15.62 | 1.302 |
| 11/12 | 42.51° | 91.67% | 16.28 | 1.357 |
| 12/12 | 45.00° | 100% | 16.97 | 1.414 |
Pairs well with this calculation
The angle underneath the pitch, the slope as its own tool, and the triangle the rafter lives in.
Roof pitch in three steps
Measure rise and run
Pick any stretch of roof and measure how much it climbs (rise) over a level horizontal distance (run). A 12-inch level held against the roof from inside the attic is the classic way: read the vertical drop at its end and you have the rise per 12 directly.
Divide, then scale to 12
Pitch is rise divided by run, quoted per 12 units of run. A rise of 8 over a run of 24 divides to a third, and a third of 12 is 4 — so that roof is a 4/12, whatever units you measured in.
Read the triangle
The angle is the arctangent of rise over run, the slope percent is the same ratio times 100, and the rafter is the square root of rise squared plus run squared. Three readings of one triangle — this page shows all of them at once.
How the roof pitch calculator works
pitch = (rise ÷ run) × 12 · angle = atan(rise ÷ run) · rafter = √(rise² + run²)
The example on this page. A rise of 6 over a run of 12. Pitch: 6 ÷ 12 × 12 = 6, quoted as 6/12. Angle: atan(6 ÷ 12) = atan(0.5) = 26.57°. Slope: 6 ÷ 12 × 100 = 50%. Rafter: √(36 + 144) = √180 = 13.42, so every 12 of run needs 13.42 of rafter — a multiplier of 1.118.
Measured in the attic. A level shows a rise of 8 inches over a run of 24 inches. Pitch: 8 ÷ 24 × 12 = 4, a 4/12 roof. Angle: atan(8 ÷ 24) = 18.43°. The run being 24 rather than 12 changes nothing — the ratio is what carries the steepness.
A whole roof side. A house 40 feet wide has a run of 20 feet from eave to ridge. At 6/12 the rise is half the run, 10 feet, and the rafter is √(100 + 400) = √500 = 22.36 feet — before any overhang is added at the eave.
Starting from an angle instead. A design calls for a 30° roof. The tangent of 30° is 0.577, and 0.577 × 12 = 6.93 — so a 30° roof is a pitch of about 6.9/12, which a builder would round to a 7/12. Angles and pitches convert through the tangent both ways.
How the numbers are rounded. Everything is computed at full precision and rounded only for display: the angle to two decimal places, the rafter to two, the multiplier to three. The pitch is shown per 12 of run with up to two decimals, so a rise of 7.5 over a run of 29 honestly reads 3.1/12 rather than being forced to a whole number.
Going deeper
North American carpenters quote pitch — rise per 12 of run — because a framing square is built around it and because 12 divides neatly by 2, 3, 4 and 6. Engineers and road builders quote slope percent instead: the same ratio times 100, so a 6/12 pitch is a 50 percent slope. And anyone with a protractor, a phone inclinometer or a trigonometry habit quotes the angle in degrees: 26.57° for that same 6/12 roof.
All three describe the identical triangle, and confusing them is expensive. A “50 percent roof” and a “50 degree roof” are wildly different objects — 50 percent is 26.57°, while 50° is a pitch of about 14.3/12, ski-slope territory for a house. A 100 percent slope is not vertical; it is 45°, a 12/12 pitch. Vertical would be an infinite slope. When a figure is quoted without its language, ask which one is speaking before you cut anything.
The slope multiplier — the rafter length per unit of run — looks like a footnote and behaves like the main character. A common rafter is cut to run × multiplier: a 20-foot run at 8/12 (multiplier 1.202) needs 24.04 feet of rafter before overhangs. Underestimate it and every rafter on the roof comes up short by the same proportion.
The same factor sizes the roof itself. For a simple gable roof, the sloped surface area is the flat footprint area multiplied by the multiplier — because every horizontal patch of the plan stretches by exactly that factor when it tilts up into the slope. A 1,200 square foot footprint at 6/12 (multiplier 1.118) wears about 1,342 square feet of roofing. Shingles, underlayment and metal panels are all ordered off the sloped figure, never the flat one.
Three roofs, one triangle: the pitch ladder
Every row below was run through this page’s own calculator. The first two rows are the page’s own worked examples; the third is a single-input change from the default, verified on the page.
| Rise / run | Pitch | Angle | Slope | Rafter per 12 of run | Multiplier |
|---|---|---|---|---|---|
| 6 / 12 (the default) | 6/12 | 26.57° | 50% | 13.42 | 1.118 |
| 8 / 24 (attic level) | 4/12 | 18.43° | 33.33% | 12.65 | 1.054 |
| 8 / 12 | 8/12 | 33.69° | 66.67% | 14.42 | 1.202 |
The second row is the one that teaches the method. A level held in the attic shows a rise of 8 inches over a run of 24 inches: pitch is 8 ÷ 24 × 12 = 4, a 4/12 roof, and the angle is atan(8 ÷ 24) = 18.43°. The run being 24 rather than 12 changes nothing — the ratio is what carries the steepness, and scaling the ratio to 12 is what the pitch figure does. The rafter per 12 of run for a 4/12 roof is √(12² + 4²) = √160 = 12.65, a multiplier of 1.054 — the number roofs are actually ordered by, since it turns a run length into a rafter length by multiplication. The third row shows what happens when the rise grows on the same run: 8 over 12 is an 8/12 pitch, 33.69°, a 66.67% slope, and a rafter of √(64 + 144) = √208 = 14.42 per 12 of run, multiplier 1.202. Steeper roof, longer rafter, larger multiplier — all three readings moving together, because all three are the same triangle.
The whole-roof example on this page shows why the multiplier matters more than the pitch for ordering. A house 40 feet wide has a run of 20 feet from eave to ridge; at 6/12 the rise is half the run, 10 feet, and the rafter is √(100 + 400) = √500 = 22.36 feet — before any overhang is added at the eave. The multiplier gives the same answer faster: 20 feet of run × 1.118 = 22.36 feet of rafter. Overhang is then added on top, not inside the triangle: the rafter length the page returns is the slope length over the run you typed, and the eave overhang extends it beyond the wall. Forgetting the overhang under-orders; including it inside the run over-steepens the pitch. Keep the two separate — run to the ridge for the triangle, overhang added after — and the numbers stay honest.
Pitch, slope and angle: three languages, one steepness — do not mix them
North American carpenters quote pitch — rise per 12 of run — because a framing square is built around it and because 12 divides neatly by 2, 3, 4 and 6. Engineers and road builders quote slope percent instead: the same ratio times 100, so a 6/12 pitch is a 50 percent slope. And anyone with a protractor, a phone inclinometer or a trigonometry habit quotes the angle in degrees: 26.57° for that same 6/12 roof. All three describe the identical triangle, and confusing them is expensive. A “50 percent roof” and a “50 degree roof” are wildly different objects — 50 percent is 26.57°, while 50° is a pitch of about 14.3/12, ski-slope territory for a house. A 100 percent slope is not vertical; it is 45°, a 12/12 pitch. Vertical would be an infinite slope, because the run would be zero and the ratio would divide by nothing. When a figure is quoted without its language, ask which one is speaking before you cut anything — and when you quote one yourself, name the language with the number.
Converting between the languages runs through the tangent both ways, and the page’s own example shows it. A design that calls for a 30° roof has a tangent of 0.577, and 0.577 × 12 = 6.93 — so a 30° roof is a pitch of about 6.9/12, which a builder would round to a 7/12. Going the other way, a 7/12 pitch has a ratio of 7 ÷ 12 = 0.583, and atan(0.583) = 30.26° — close to 30°, but not exactly, because the rounding to a whole pitch number moved the angle by about a quarter of a degree. That quarter-degree is the cost of rounding to a builder-friendly pitch, and it is usually harmless — but if a design dimension depends on the exact angle, work from the angle, not from the rounded pitch. Everything on this page is computed at full precision and rounded only for display (angle to two decimals, rafter to two, multiplier to three, pitch per 12 with up to two decimals), so a rise of 7.5 over a run of 29 honestly reads 3.1/12 rather than being forced to a whole number — and that honesty is worth preserving in your own notes rather than rounding it away a second time.
Measuring the roof you have, and choosing the roof you want
The classic measurement needs no ladder: a 12-inch level held against the roof from inside the attic, reading the vertical drop at its end, gives the rise per 12 directly. That reading is the pitch with no arithmetic at all — if the level reads 6 inches, the roof is 6/12. If the attic is inaccessible or the roof is already sheeted, measure any stretch instead: rise over any run, and the page scales it to 12 for you, as the 8-over-24 example shows. The measurement errors to avoid are the obvious ones, stated plainly: measuring along the slope instead of horizontally for the run (which understates the pitch, because the slope length is longer than the run), and measuring the rise to the wrong point (the top of the roofing instead of the top of the rafter, or vice versa). A pitch measured from the wrong points is a pitch for a different roof, and every number downstream — angle, slope, rafter, multiplier — inherits the error exactly.
Choosing a pitch, rather than measuring one, is a different decision with its own trade-offs, and the page’s own band guidance frames it: the conventional band — steep enough for standard asphalt shingles and most common roofing materials, with a healthy margin for shedding water and snow, and comfortable to work on with care — is where most house roofs live, and the 6/12 default sits in it. Shallower roofs shed water more slowly and demand more careful waterproofing at every joint; steeper roofs shed faster but cost more in materials (the multiplier again — a 12/12 roof needs 1.414 feet of rafter per foot of run, against 1.118 for 6/12) and are harder and more dangerous to work on. The pitch is therefore never just a shape: it is a materials quantity, a waterproofing decision and a safety decision, all read off one triangle.
The common pitches, side by side
Every row below was run through this page’s own calculator at a run of 12, so the pitch, angle, slope, rafter and multiplier all describe the same triangle at five standard steepnesses.
| Pitch | Angle | Slope | Rafter per 12 of run | Multiplier |
|---|---|---|---|---|
| 4/12 | 18.43° | 33.33% | 12.65 | 1.054 |
| 5/12 | 22.62° | 41.67% | 13.00 | 1.083 |
| 6/12 (the default) | 26.57° | 50% | 13.42 | 1.118 |
| 7/12 | 30.26° | 58.33% | 13.89 | 1.158 |
| 9/12 | 36.87° | 75% | 15.00 | 1.250 |
| 12/12 | 45.00° | 100% | 16.97 | 1.414 |
Read the multiplier column from top to bottom and the cost of steepness becomes concrete. A 4/12 roof needs 1.054 feet of rafter per foot of run; a 12/12 roof needs 1.414 — about a third more timber for the same run, before overhang, before waste, before the steeper roof’s harder working conditions. The angle column tells the same story in degrees: 18.43° at the shallow end against 45.00° at the steep end, with the conventional band — the 6/12 default at 26.57° and its neighbours — sitting in the middle where standard materials, water shedding and safe working meet. The slope column is the one to quote to engineers and road builders: 33.33% for 4/12, 50% for 6/12, 100% for 12/12 — and the 12/12 row is the standing correction to the commonest slope misconception, because 100% slope is 45°, not vertical. Vertical would be an infinite slope, a run of zero, a ratio dividing by nothing.
Below the table’s shallow end, the same formulas keep working all the way to flat. A 2/12 pitch has an angle of atan(2 ÷ 12) = 9.46° and a slope of 16.67%, with a rafter of √(144 + 4) = √148 = 12.17 per 12 of run, multiplier 1.014. A 1/12 pitch is 4.76° and 8.33%, rafter √145 = 12.04, multiplier 1.003. And a perfectly flat roof — 0/12 — is 0°, 0% slope, rafter exactly 12.00 per 12 of run, multiplier exactly 1.000: the rafter is the run, because there is no rise to lengthen it. The progression is smooth and unbroken from flat to steep, which is the point: pitch is a continuous ratio, not a set of named bands, and any rise over any run — including rises the table does not list — has an angle, a slope, a rafter and a multiplier given by the same three formulas. The named pitches in the table are the common ones, not the only ones, and a roof at 3.1/12 (the page’s own example of an honestly displayed non-whole pitch, from a rise of 7.5 over a run of 29) is exactly as calculable as a roof at 6/12.
Two rows in the table are exact in a way the others are not, and they are worth noticing because exactness is rare in construction. The 9/12 row is a 3-4-5 triangle scaled by three: rise 9, run 12, rafter 15 exactly, multiplier exactly 1.250, angle 36.87° — the only row where the rafter comes out whole. The 12/12 row is a 45° right triangle: rafter √288 = 16.97, multiplier √2 = 1.414, slope exactly 100%. The 5/12 row is exact in a different way: rise 5, run 12, rafter √(25 + 144) = √169 = 13.00 exactly — another Pythagorean triple, 5-12-13, hiding in a roof table. When a pitch gives a whole-number rafter, setting out gets easier and cutting lists get cleaner; when it does not, the page’s two-decimal rafter is the figure to cut to, and the multiplier’s three decimals are the figure to order by. Either way, the triangle does not negotiate: the rafter is the square root of rise squared plus run squared, whatever the pitch, and every row in the table is that one formula, six times.
The pitch ladder: angle and multiplier from 3/12 to 12/12
Pitch is rise over a 12-inch run. The multiplier is what you order by.
Roof pitch is stated as rise over a 12-inch horizontal run, and two numbers follow from it: the angle and the multiplier. A 3/12 pitch rises 3 inches per foot of run, sits at 14.04°, and multiplies the run by 1.0308 to give the rafter length. A 5/12 pitch is 22.62° with a 1.0833 multiplier; 7/12 is 30.26° at 1.1577; 10/12 is 39.81° at 1.3017; and 12/12 — a 45° roof — multiplies by 1.4142, the square root of 2. The rafter is always the square root of rise squared plus run squared, whatever the pitch, and every row of the ladder is that one formula, six times.
The multiplier matters more than the pitch for ordering, because timber, sheathing and roofing are all measured along the slope, not along the plan. A 20 ft run at 6/12 needs a 22.36 ft rafter (20 × 1.1180); the same run at 12/12 needs 28.28 ft (20 × 1.4142) — six extra feet of timber per rafter for the same footprint. For a 30 × 40 ft gable at 6/12, the 15 ft half-span gives a 16.77 ft rafter and 1,341.64 sq ft of roof area. Order from the multiplier, not from the plan dimensions: the plan is the shadow, and the roof is the thing casting it.
Angles, multipliers, rafters and roof area: roof pitch explained.
| Pitch | Angle | Multiplier | Rafter for 20 ft run |
|---|---|---|---|
| 3/12 | 14.04° | 1.0308 | 20.62 ft |
| 5/12 | 22.62° | 1.0833 | 21.67 ft |
| 7/12 | 30.26° | 1.1577 | 23.15 ft |
| 10/12 | 39.81° | 1.3017 | 26.03 ft |
| 12/12 | 45.00° | 1.4142 | 28.28 ft |
Measuring a real roof: rise, run, and the ridge you cannot reach
Measure the run from the outside of the wall to the ridge line, and the rise where you can reach it.
The run is the horizontal distance from the outside face of the wall to the centre line of the ridge — not to the eave, and not to the fascia. The rise is the vertical distance from the wall plate to the ridge. Where the ridge cannot be reached, measure the rise over a known run instead: a 4 ft level held horizontally from the roof surface, with the vertical drop measured at its end, gives rise over 4 ft of run, and dividing by 4 gives the pitch per foot. A 16-inch drop over 4 ft is a 4/12 pitch — the same ratio, measured where hands can reach.
Two cautions belong with every measurement. First, hips and valleys change the geometry: the common rafters follow the ladder above, but hip and valley rafters run diagonally and are longer, and the calculator’s figures are for the common rafter and the roof area, not for the hips. Second, waste and overlap belong in the order, not in the measurement: sheathing, felt and shingles all need their laps and cuts added after the area is computed, at the supplier’s stated allowances. Measure the roof; order the roof plus its allowances.
Frequently asked questions
What is roof pitch?
Roof pitch is how steep a roof is, written as the rise over a run of 12. A 6/12 pitch climbs 6 units for every 12 units of horizontal run. Pitch is the language of North American roofing: shingles, rafters and building plans are all specified in it, which is why this calculator leads with it and then translates into angle and slope percent.
How do I calculate roof pitch?
Measure the rise and the run, divide the rise by the run, and multiply by 12. A roof that climbs 8 inches over a 24-inch run gives 8 ÷ 24 × 12 = 4 — a 4/12 pitch. The classic field method is a 12-inch level held level against the roof slope, usually from inside the attic: the vertical measurement from the level’s end down to the roof surface is the rise per 12 directly, no arithmetic needed.
What angle is a 6/12 pitch?
A 6/12 pitch is an angle of 26.57 degrees, a slope of 50 percent, and a rafter of 13.42 for every 12 of run. For comparison, a gentler 4/12 pitch is 18.43 degrees, and a 12/12 pitch — rise equal to run — is exactly 45 degrees. The angle is the arctangent of the rise divided by the run, which is what this calculator computes.
How do I work out the rafter length?
The rafter is the hypotenuse of the rise-and-run triangle, so its length is the square root of rise squared plus run squared: √(rise² + run²). For a 6/12 pitch over a 20-foot run, the rise is 10 feet and the rafter is √500 = 22.36 feet. The shortcut is the slope multiplier: rafter = run × multiplier, and the multiplier for 6/12 is 1.118. Both figures here are the structural length — add your eave overhang before cutting.
What is the difference between pitch and slope?
They are the same steepness quoted two ways. Pitch writes the ratio as a rise per 12 of run — 6/12. Slope writes it as a percentage — the same roof is a 50 percent slope. Divide the pitch number by 12 and multiply by 100 to get the slope percent; divide the percent by 100 and multiply by 12 to go back. A third quoting, the angle in degrees, comes from the arctangent of the ratio.
What is a good pitch for a roof?
It depends on the covering and the climate. Most asphalt shingles are rated for standard installation at 4/12 and steeper; between 2/12 and 4/12 they usually need special underlayment, and below 2/12 a membrane or metal system is the usual answer. Steeper pitches shed snow and water faster and give attic space, at the price of more material and harder work. Treat those bands as common practice, and check the manufacturer’s instructions and your local code for the roof you are actually building.
Why is pitch quoted per 12, of all numbers?
Because a framing square is built around it, and because 12 divides neatly by 2, 3, 4 and 6 — so the common pitches (3/12, 4/12, 6/12, 8/12, 12/12) are whole numbers a carpenter can set out without fractions. The 12 is a convention, not a measurement: any rise over any run scales to the same pitch, which is why an 8-inch rise over a 24-inch run is a 4/12 roof. The convention survives because it makes the arithmetic disappear on site.
Does the eave overhang change the pitch?
No. The pitch is set by the rise and the run from eave to ridge; the overhang extends the rafter beyond the wall without changing the triangle. A 40-foot-wide house has a 20-foot run at 6/12 whether the eaves overhang by 6 inches or 2 feet, and the rafter is 22.36 feet to the ridge in both cases — plus the overhang, added after. Mixing the overhang into the run would steepen the pitch on paper while the roof itself stayed exactly as built.
Must rise and run be in the same units?
Yes — the pitch is a ratio, and a ratio only means something when both sides share a unit. A rise of 6 inches over a run of 1 foot is a 6/12 pitch, because 1 foot is 12 inches; a rise of 6 over a run of 12 in mismatched units is not a pitch at all until one side is converted. Convert both measurements to the same unit first, then divide — the page’s unit control exists for exactly this, and skipping the conversion is the easiest way to get a pitch that is wrong by a factor of twelve.
Why does the multiplier matter more than the pitch for ordering?
Because you order rafters by length, not by steepness. The multiplier is the rafter length per unit of run: multiply it by the run and you have the rafter. At 6/12 the multiplier is 1.118, so 20 feet of run needs 22.36 feet of rafter; at 12/12 it is 1.414, so the same run needs 28.28 feet. The pitch tells you the shape; the multiplier tells you the timber — and timber is what the order, the budget and the delivery are all measured in.
What does a 6/12 roof pitch mean?
The roof rises 6 inches for every 12 inches of horizontal run, an angle of 26.57°. The rafter multiplier is 1.1180, so a 20 ft run needs a 22.36 ft rafter. Pitch is always rise over a 12-inch run — the second number is the run, and it is always 12 in this notation.
How do I measure roof pitch without climbing onto the roof?
Hold a level horizontally against the roof surface from inside the attic or at the gable end, measure the vertical drop at a known horizontal distance, and scale it to 12 inches of run. A 16-inch drop over 4 ft of run is a 4/12 pitch. Measure the run from the outside of the wall to the ridge centre line, and treat hip and valley rafters separately — they run diagonally and are longer than common rafters.
Related calculators
Angles, areas and lumber — the rest of the roof-and-build shelf.
Trigonometry Calculator
Angles and sides of any triangle.
Slope Calculator
Slope, angle and rise over run.
Hypotenuse Calculator
The long side of a right triangle.
Square Footage Calculator
Area of the footprint under the roof.
Board Feet Calculator
Lumber volume for the framing.
Roof Pitch Explained
Angles, multipliers, rafter lengths and measuring a real roof.