Roof Pitch Calculator
Turn a rise and run measurement into roof pitch, degrees, slope percentage and pitch factor. You can also start from an angle or a slope percentage and convert the other way.
Quick answer: a roof that rises 6 inches over 12 inches of horizontal run has a 6:12 pitch — that is 26.57°, a 50% slope, and a pitch factor of 1.118.
- Rise and run, angle, or slope
- Live geometry diagram
- Formulas shown step by step
Roof pitch calculator inputs and results
How far the roof rises vertically, measured with the same unit as the run.
Horizontal distance covered by the rise. On a symmetrical gable roof this is usually half the building width, plus any overhang you want to include.
Entering 6 and 12 gives 6:12. Entering 6 and 6 gives 12:12. The ratio is what matters, so any matching pair of measurements in the same unit will work.
The angle between the roof plane and a horizontal line. Values from 0° up to just under 90° are accepted.
A 90° surface is a vertical wall, not a roof plane. It has no horizontal run, so rise-over-run pitch has no meaning at that angle.
Rise divided by run, multiplied by 100. A 50% slope is the same as 6:12.
A 25% slope is 3:12. A 50% slope is 6:12. A 100% slope is 12:12, which is 45°.
Rise in the same units over a run of 12. Enter 6 for a 6:12 roof.
Enter both dimensions in the unit selected above. Length × width is the flat area the roof covers on plan — not the sloped surface. Include overhangs and dormers you want covered, and use one pitch for the whole area.
Results
Rafter length is the straight line between the rise and run you measured, not a finished cut length; add the overhang to the run first.
Pitch factor turns a flat measurement into a sloped one: multiply the footprint by it to get the roof surface. Rafter length is for a run of 12, so it grows with the pitch.
Show calculation
Roof geometry diagram
6:12 · 26.57°A roof plane rising 6 in over a horizontal run of 12 in, forming a 26.57° angle. The sloped rafter length is 13.42 in.
Diagram scaled for legibility — the drawn proportions are compressed so both measurements stay visible.
What each roof pitch calculator mode returns
Five ways in, one set of answers. Pick the mode that matches what you can actually measure.
| Mode | What you enter | What comes back |
|---|---|---|
| Rise and run | Two measurements in the same unit | Pitch, angle, slope percentage and pitch factor |
| Angle | Degrees from horizontal | Pitch in rise per 12, slope percentage and factor |
| Slope | A percentage | Pitch, angle and factor |
| Pitch | Rise per 12 of run | Angle, slope percentage and factor |
| Footprint | Plan length, plan width and pitch | Plan area, sloped surface and roofing squares |
Every mode returns the pitch factor, because every mode eventually needs it: it is the number that turns a plan measurement into a sloped one.
How to use the roof pitch calculator
The calculator works in both directions: enter whichever measurement you already have and the rest are derived from it.
- Start from what you know. Enter the vertical rise and horizontal run if you are measuring on the roof, or type the angle, slope percentage or pitch per 12 if that is the figure you already hold.
- Let it fill in the rest. The other fields update as you type, so you do not need to convert anything by hand before entering it.
- Add the footprint if you want area. Enter the footprint length and width to get the sloped roof area, which needs the pitch factor.
- Read the result. The panel gives pitch as rise per 12, the angle in degrees, slope as a percentage, the pitch factor and the rafter length for the run you entered.
What roof pitch means in practice
Roof pitch describes how steeply a roof plane rises. In the United States it is normally written as two numbers separated by a colon, such as 6:12, and read as "six in twelve".
The second number is always 12. That means the first number is the vertical rise for every 12 units of horizontal run. A 6:12 roof climbs 6 inches for each 12 inches you travel horizontally.
Because pitch is a ratio, the units cancel out. Six inches over twelve inches is the same pitch as six feet over twelve feet. That is why the same pitch notation works whether you measure in inches, feet or metres.
Pitch is not the same thing as angle. Angle measures the slope in degrees from horizontal. Pitch measures the same slope as a rise-over-run ratio. Both describe one roof, just in different units — the calculator converts between them.
One caution on terminology: some technical references define pitch as rise over span, using the full building width rather than the run of a single plane. Under that convention the same roof gets a different number. This page uses rise over run throughout, and labels every formula so the definition is never in doubt.
How to calculate roof pitch from rise and run
Every conversion on this page comes from one number: the rise-to-run ratio. Once you have that ratio, the other four values are simple formulas.
Rise and run
The two measurements you take on the roof. Rise is vertical, run is horizontal, and the ratio between them is the pitch.
Angle
The same slope measured in degrees from horizontal. Useful when a drawing, a tool or a specification quotes degrees instead of pitch.
Slope percentage
The ratio written as a percentage. Common in drainage and site work, where a small fall is easier to state as a percentage than as a ratio.
The five formulas
Going the other way — from an angle or a slope percentage — you start by recovering the ratio:
Converting from an angle or a slope
The pitch factor — also called the pitch multiplier — is the number you multiply a horizontal measurement by to get the sloped measurement. A factor of 1.118 means the sloped surface is 11.8% longer than the flat plan distance it covers. That is the same number used to turn a footprint into sloped surface area.
Worked roof pitch examples
Example 1 — a 6:12 roof measured in inches
- Rise
- 6 in
- Run
- 12 in
- Ratio
- 6 ÷ 12 = 0.5
- Pitch
- 0.5 × 12 = 6:12
- Angle
- arctan(0.5) = 26.57°
- Slope
- 0.5 × 100 = 50%
- Pitch factor
- √(1 + 0.25) = 1.118
- Rafter
- √(6² + 12²) = √180 = 13.42 in
Example 2 — the same 6:12 roof measured in feet
- Rise
- 3 ft
- Run
- 6 ft
- Ratio
- 3 ÷ 6 = 0.5
- Pitch
- 0.5 × 12 = 6:12
- Rafter
- √(3² + 6²) = √45 = 6.71 ft
The pitch and angle are identical. Only the rafter length changes, because it carries the unit you measured in.
Example 3 — starting from 30°
- Angle
- 30°
- Ratio
- tan(30°) = 0.5774
- Pitch
- 0.5774 × 12 = 6.93:12
- Slope
- 0.5774 × 100 = 57.74%
- Pitch factor
- 1 ÷ cos(30°) = 1.155
How to measure roof pitch safely
You do not need to walk on the roof to get a usable pitch measurement. The safest method is from inside the attic, on the underside of the roof structure.
- Hold a spirit level horizontally against a rafter, with one end at a convenient reference point.
- Level the bubble, then measure the horizontal distance you have covered — 12 inches is the easiest run to work with.
- At the 12-inch mark, measure vertically from the level up to the underside of the rafter. That vertical distance is the rise.
- Enter the run and the rise into the calculator above.
If you measure along a 12-inch run, the vertical measurement you take is the pitch per 12 — a 6-inch gap means a 6:12 roof.
Ground-based alternatives include measuring the total rise of the roof against a known horizontal distance using a long level and a straight edge at the eaves, or reading the pitch from building plans if they are available. A smartphone level app can give a rough angle reading, but phone sensors vary and are not a substitute for a physical measurement.
What your pitch band means
Pitch is often grouped into four bands. These are illustrative reference categories used on this page to help you place a result — they are not a formal industry, code or legal classification, and different trades and regions draw the lines in different places. The notes on where each band is usually seen are general observations, not rules. A band tells you what kind of roof you are dealing with; it does not tell you which roof is better, because a steeper roof is not automatically a better roof.
Under 3:12
Low slope. Water leaves the roof slowly, so seams between panels and the underlayment do most of the waterproofing.
3:12 – 5:12
Shallow. Common on porches, lean-tos, dormers and some single-storey extensions.
6:12 – 9:12
Often described as a typical residential range. Steep enough to shed water quickly and still practical to work on.
10:12 and up
Steep. More sloped surface per square foot of footprint, and harder to work on safely.
Roof pitch chart and conversion table
These are the standard pitch values from 1:12 to 12:12, converted to degrees, slope percentage and pitch factor. Every value below was calculated with the same formulas the calculator uses.
If you only need the reference numbers rather than a conversion of your own measurements, read them straight off the tables below.
| Pitch | Angle | Slope | Pitch factor | Rafter per 12 run |
|---|---|---|---|---|
| 1:12 | 4.76° | 8.33% | 1.003 | 12.04 |
| 2:12 | 9.46° | 16.67% | 1.014 | 12.17 |
| 3:12 | 14.04° | 25.00% | 1.031 | 12.37 |
| 4:12 | 18.43° | 33.33% | 1.054 | 12.65 |
| 5:12 | 22.62° | 41.67% | 1.083 | 13.00 |
| 6:12 | 26.57° | 50.00% | 1.118 | 13.42 |
| 7:12 | 30.26° | 58.33% | 1.158 | 13.89 |
| 8:12 | 33.69° | 66.67% | 1.202 | 14.42 |
| 9:12 | 36.87° | 75.00% | 1.250 | 15.00 |
| 10:12 | 39.81° | 83.33% | 1.302 | 15.62 |
| 11:12 | 42.51° | 91.67% | 1.357 | 16.28 |
| 12:12 | 45.00° | 100.00% | 1.414 | 16.97 |
Angles and slopes are rounded to two decimal places; pitch factors to three. Rafter length per 12 is the pitch factor multiplied by 12, in the same unit as the run.
Converting from degrees back to pitch
| Angle | Pitch | Slope | Pitch factor |
|---|---|---|---|
| 15° | 3.22:12 | 26.79% | 1.035 |
| 20° | 4.37:12 | 36.40% | 1.064 |
| 22.5° | 4.97:12 | 41.42% | 1.082 |
| 30° | 6.93:12 | 57.74% | 1.155 |
| 35° | 8.40:12 | 70.02% | 1.221 |
| 45° | 12.00:12 | 100.00% | 1.414 |
How pitch affects rafter length
A common rafter runs along the slope, so it is longer than the horizontal distance it covers. The relationship is the Pythagorean theorem:
Both lines give the same answer. The second is more useful in practice: once you know the pitch factor, you can scale any run to its sloped length by multiplying.
Run is not the same as span. On a conventional symmetrical gable roof, each common rafter covers half the building width. If the building is 24 feet wide, each rafter's horizontal run is 12 feet — not 24. Add any overhang you want the rafter to include before you calculate, because the formula has no idea an overhang exists.
The formula returns the straight-line distance between the two points you measured — from the bottom of the run to the top of the rise. It is not automatically the length of a finished rafter. A rafter that runs past the wall to form an eave overhang covers a longer horizontal distance, so add the overhang’s horizontal projection to the run before calculating. Ridge board thickness, the birdsmouth notch and the seating allowance also change the cut length, which is why rafters are ordered from a layout rather than from this figure alone.
If you need the number of rafters as well as the length of each one, this calculator will not give it to you: it returns lengths only. Rafter counts and spacing come from the framing plan, because they depend on the span, the loads and the spacing your design specifies.
How pitch affects roof surface area
A roof's plan area is the flat area it covers when you look straight down. Its sloped area is the actual surface you would shingle, and it is always larger. The pitch factor is the bridge between them:
A 6:12 roof with a 1,200 sq ft footprint covers about 1,342 sq ft of sloped surface, because 1,200 × 1.118 = 1,341.6. Roofing materials are usually ordered in squares, where one square is 100 sq ft of roof surface — so that roof is about 13.4 squares before waste.
In the Roof Area tab, both dimensions are horizontal plan measurements — the footprint as seen from directly above, not distances measured along the slope. The result is the total plan area the roof covers, so a whole symmetrical gable can be entered as one rectangle.
Two conditions have to hold for plan area × pitch factor to be right. Every plane above that footprint must have the same pitch, and the footprint must already include everything you want covered, overhangs and dormers included. Hips and valleys do not add surface beyond the plan projection, but they do create cut-offs, which is a waste question rather than an area one.
The roof area calculator runs the same multiplication for any footprint and pitch and reports the result in squares, the unit most suppliers quote. The Roof Area tab above does the same thing for a simple length × width footprint.
If you would rather look the factor up than calculate it, the pitch factor table lists it for every common pitch, alongside the area increase it produces.
Why pitch matters for roofing materials
Pitch is one of the first things a roofing manufacturer asks about, because it decides which products can be installed and how they must be installed. The same shingle may need a different underlayment strategy on a low slope than on a steep one, and some products have a minimum slope below which they cannot be used at all.
Pitch also affects how quickly water leaves the roof, how much wind uplift the surface sees, and how much material a given footprint needs.
The calculator can tell you the pitch. It cannot tell you which product is approved for it. Those rules come from the manufacturer's published installation instructions and from the building code that applies where you are building — and they vary by product and by jurisdiction.
Once you have a surface area, converting it to squares is a single division by 100. Turning squares into bundles, panels or tiles depends on the coverage printed on the product you intend to buy, which is why this page stops at surface area and does not quote a material quantity.
Roof pitch calculator limitations
This calculator handles the geometry of a single, flat roof plane. That covers a lot of real work, but it is not a roof take-off. Specifically, it does not account for:
- Multiple planes at different pitches. A roof with a 6:12 main field and a 3:12 porch roof needs two separate calculations.
- Hips, valleys, dormers and intersecting wings. A dormer or an L-shaped wing adds plan area that a single length × width rectangle does not include, so measure each rectangle separately. Hips and valleys do not change the plan-to-slope relationship, but they increase cutting waste.
- Overhangs. The footprint you enter should already include any area you want covered.
- Curved or irregular roofs. Barrel vaults, conical turrets and free-form roofs need their own geometry.
- Waste, laps and coverage. Material quantities are always higher than raw surface area.
- Structural capacity. Nothing here evaluates whether a rafter, truss or beam can carry a load.
- Code compliance. Local requirements differ and change; this page does not check them.
- Pitch is a property of the plane. A roof with several planes has several pitches, and a single figure over the whole roof describes an average rather than any one of them.
- Nothing here sizes anything. Pitch feeds the area, the rafter length and the material choice. It does not tell you whether the covering is approved at that slope — that is the minimum pitch check.
Results also depend entirely on the measurements you enter. A pitch calculated from a run measured in the wrong place will be wrong even though the arithmetic is right. Check your measurements before you rely on the result.
For structural work, permits, or anything where getting it wrong is expensive or dangerous, have the numbers checked by a qualified roofing professional or engineer. The About RoofMathLab page explains in more detail what the tools are and are not intended to do.
Before you order
Pitch is one number that decides five separate purchases. These are the ones that catch people out.
- Check the covering against the pitch, not the other way round. Every product has a minimum slope, and below it the assembly changes rather than the price. A 3:12 shingle roof is not a shallow 6:12 roof.
- Add the underlayment layers before the area. From 2:12 up to 4:12 the code asks for two layers under shingles, which roughly doubles that part of the order.
- Carry the pitch factor into every quantity. Area, rafter length and panel length all scale by it, and applying it twice is as easy as not applying it at all.
- Expect more waste as the pitch rises. Steeper planes mean more cuts at hips, valleys and ridges, and the offcuts are less reusable.
- Do not forget what the pitch does to access. Above about 8:12 the roof is a steep-roof job, with different labour, different staging and a different safety plan.
If you are still choosing the pitch rather than measuring it, the decision is usually drainage against cost: the shallowest pitch the covering allows is the cheapest roof, and the steepest one that the budget allows is the longest-lived.
Roof Pitch Resources and Guides
Reference values for the pitches people ask about most.
6/12 Roof Pitch
26.57°, a 50% slope and a pitch factor of 1.118 — the pitch used in most worked examples.
Read the reference4/12 Roof Pitch
18.43° and a 33.33% slope. A moderate roof near the shallow end for many coverings.
Read the reference3/12 Roof Pitch
14.04° and a 25% slope, common on porches, lean-tos and outbuildings.
Read the reference2/12 Roof Pitch
9.46° and a 16.67% slope — the shallow end of what is usually still called a pitched roof.
Read the reference8/12 Roof Pitch
33.69° and a 66.67% slope. A steep roof with noticeably more surface per square foot of footprint.
Read the reference12/12 Roof Pitch
45°, a 100% slope and a pitch factor of 1.414, where rise equals run.
Read the referenceCommon roof pitches explained
These are the pitches people ask about most often. The numbers are already in the conversion table above; what follows is what each one means in practice. Material notes are general — the minimum slope for any specific product comes from that product's installation instructions.
2:12 — 9.46°
The shallowest pitch most people would still call a pitched roof. Water leaves it slowly, so laps, seams and underlayment do more of the waterproofing work than the covering does. Fewer products are rated this shallow, so check the data sheet before choosing a covering.
3:12 — 14.04°
A shallow roof, often seen on porches, lean-tos and outbuildings. It sheds water faster than 2:12 but still depends on careful laps and well-detailed penetrations. Its pitch factor of 1.031 means the sloped surface is only about 3% larger than the footprint.
4:12 — 18.43°
A moderate pitch that sits near the shallow end of what many coverings are rated for, although the exact minimum is product-specific. The area penalty is small: a pitch factor of 1.054 adds about 5% to the footprint.
6:12 — 26.57°
The pitch used for the worked examples on this page: 26.57°, a 50% slope and a pitch factor of 1.118. Steep enough to shed water quickly, and still shallow enough to be practical to work on.
8:12 — 33.69°
A steep roof. Every 100 sq ft of footprint carries about 120 sq ft of surface, and the slope is steep enough that working on it calls for fall protection and usually roof jacks.
12:12 — 45°
Equal rise and run: 45°, a 100% slope and a pitch factor of 1.414, so the surface is roughly 41% larger than the footprint. Seen on A-frames, feature gables and steep architectural styles.
Comments and corrections
Comments are not open yet. There is no comment system connected to this page, and a form that posts nowhere would be worse than none at all. What does work today:
- If a number looks wrong, send the values you entered and they will be checked against the formulas on this page.
- If a section is unclear, say which heading it sits under so it can be rewritten.
For residential roofs in North America, somewhere between 4:12 and 8:12, with 6:12 the single most common figure on new housing. The band is not arbitrary: below about 4:12 the covering choices narrow sharply and the detailing gets less forgiving, and above about 8:12 the material and labour costs climb quickly. A 6:12 roof sits where shingles are comfortable, drainage is reliable, and the roof is still walkable.
Where these numbers come from
The conversions on this page are trigonometric identities, not opinions. The pitch, angle, slope and pitch factor relationships are standard right-triangle geometry, and every table value was generated from the same formulas the calculator runs.
Two things on this page are not mathematical facts, and they are treated as guidance rather than rules:
- Safe measurement practice. Fall-protection requirements depend on where you work and who you work for. In the United States, the Occupational Safety and Health Administration publishes the applicable standards — see osha.gov/fall-protection.
- Minimum slope and installation requirements. These come from the roofing product's published installation instructions and from the building code adopted in your area. They differ by product, by climate and by jurisdiction, so this page does not restate them. Check the manufacturer's data sheet and your local authority.
No claim on this page has been reviewed or endorsed by any code body, manufacturer or trade association.
Frequently asked questions
A 6:12 roof rises 6 units for every 12 units of horizontal run. That is an angle of about 26.565°, a slope of 50%, and a pitch factor of about 1.118. If you measure a rise of 6 inches over a run of 12 inches, the straight-line distance between those two points is about 13.416 inches.
The two words are often used interchangeably, but they are not identical. On this page, pitch means rise per 12 units of horizontal run — 6:12. Slope describes the same relationship as a ratio or a percentage: 6 ÷ 12 = 0.5, or 50%. Angle describes it in degrees. Some technical references define pitch differently, using rise over the full span rather than rise over run. That convention produces a different number for the same roof, so it is worth checking which definition a drawing or specification is using. This calculator uses rise over run throughout.
The pitch factor, also called the pitch multiplier, links a horizontal plan measurement to the sloped surface above it. Multiply a plan distance by the factor to get the sloped length, or multiply a plan area by the factor to get the sloped roof area for one consistent roof plane. For a 6:12 pitch the factor is about 1.118, so 100 sq ft of footprint is roughly 111.8 sq ft of roof surface. That estimate assumes a single flat plane at one pitch — hips, valleys, dormers and overhangs will change the real area.
In most cases, yes. The usual method is to hold a spirit level against the underside of a rafter in the attic, mark a run of 12 inches, and measure the vertical gap at that point. That keeps you off the roof entirely. Reading the pitch from building plans also works when plans are available. Ground-based methods and phone level apps can give a usable estimate, though phone sensors vary between devices. If the roof is steep, wet or in poor condition, have a qualified roofer take the measurement rather than going up.
At exactly 90° the roof plane is vertical and the horizontal run is zero, so rise ÷ run has no finite value — it grows without limit as the angle approaches 90°. Pitch in the form n:12 and the pitch factor 1 ÷ cos(angle) both break down at that point. The calculator therefore accepts angles from 0° up to just under 90°, and shows an explanation instead of a broken result at 90°.
Usually, yes — a steeper roof has more sloped surface above the same footprint, and that is exactly what the pitch factor measures. A 12:12 roof has roughly 41% more surface than its footprint; a 4:12 roof has roughly 5% more. The actual number of bundles depends on the real roof dimensions, the product’s coverage per bundle, the layout, waste from cuts, and the manufacturer’s installation requirements. Pitch on its own cannot give you an order quantity.
Only if every plane over that footprint shares one pitch and the footprint is a simple rectangle. Most houses are not that simple: dormers, intersecting wings and overhangs add plan area that one length × width figure misses, and hips and valleys add cutting waste. Any plane at a different pitch needs its own calculation. For a whole house, measure each plane separately and add the sloped areas together, or use the roof area calculator. Treat any single-figure estimate as a starting point rather than a material order.
Take the tangent of the angle and multiply by 12. A 30° roof gives tan(30°) = 0.5774, so 0.5774 × 12 = 6.93, which is about 6.93:12. Note that this is not 7:12. A true 7:12 roof is 30.26°. Rounding a pitch to the nearest whole number always shifts the angle slightly, which is worth remembering when a drawing specifies one and a protractor reads the other. The pitch chart lists both figures for every common pitch so you can check the pair without doing the arithmetic.
Yes. Rise and run can be entered in inches, feet, millimetres, centimetres or metres, and the rafter length comes back in whichever unit you selected. Pitch itself is unaffected, because it is a ratio. Six units of rise per twelve units of run is 6:12 whether those units are inches or centimetres, so the angle, the slope percentage and the pitch factor are identical in both systems.
There is no single dividing line. Different trade bodies, manufacturers and codes draw the boundary in different places — commonly somewhere between 2:12 and 4:12 — so "low slope" and "steep slope" are shorthand rather than specifications. What matters for a real project is not the label but the minimum slope stated in the installation instructions for the covering you intend to use, together with the requirements of the code adopted where the building is. Those are the figures that decide whether a given roof can take a given product.
The most common reasons are measurement points and age. A rise measured from the top of the wall plate to the top of the ridge is not the same as a rise measured along the rafter line, because the rafter has depth and the ridge has thickness. That alone can shift the apparent pitch by a degree or more. Older roofs also sag and settle, so the pitch on the drawing describes the roof as designed rather than as it stands. Small measurement errors matter more than they look: over a short run, half an inch of misreading can move the result by a whole pitch number. If the two disagree, measure over the longest run you can reach and treat the physical measurement as the one that describes the roof you actually have.
Ready for the next calculation?
Pitch is usually the first number a roof take-off needs. Carry it into the next tool.