Lean-To Roof Pitch Calculator (Shed Slope x:12)

Lean-To Roof Pitch Calculator

Work out the pitch of a single-slope lean-to or shed roof that attaches to a wall. Enter any two of rise, run, pitch, or angle and this tool returns the x:12 pitch ratio, roof angle in degrees, slope factor, grade percent, common rafter length with overhang, high wall height and total roof area in imperial or metric units.

šŸ“Units and Solve Method

šŸŽÆReal Lean-To Roof Presets

šŸ› Lean-To Roof Inputs

Choose what is unknown; the matching fields below activate.

Height the roof climbs from the low wall to the high wall.

Level distance the single slope covers, wall to eave.

Inches of rise per 12 units of run, used when solving rise or run.

Used only when solving from run and angle.

Length of the wall the lean-to runs along, for roof area.

Horizontal overhang past the low wall; converted along the slope.

Height of the lower (eave) wall; high wall equals this plus rise.

Controls rounding on every result card.

Roof Pitch 2:12 rise per 12 of run
Roof Angle 0° from horizontal
Common Rafter 0 slope length incl overhang
Roof Area 0 sheathing to cover

šŸ”¢Formula Snapshot

x:12rise/run Ɨ 12
Īøatan(rise/run)
SFhyp / run
%rise/run Ɨ 100

šŸ“Pitch, Angle, Slope Factor and Grade

Pitch (x:12)Angle (deg)Slope FactorGrade %
0.25:121.19°1.00022.08%
1:124.76°1.00358.33%
2:129.46°1.013816.67%
2.5:1211.77°1.021620.83%
3:1214.04°1.030825.00%
4:1218.43°1.054133.33%
5:1222.62°1.083341.67%
6:1226.57°1.118050.00%
8:1233.69°1.201966.67%
12:1245.00°1.4142100.0%

šŸ Minimum Pitch by Roofing Material

Roofing MaterialMinimum PitchAngleGrade %Best For Lean-To
EPDM / TPO membrane0.25:121.19°2.08%Flat patio covers
Standing-seam metal1:124.76°8.33%Carports, sheds
Corrugated metal panel2:129.46°16.67%Firewood sheds
Asphalt shingles2:129.46°16.67%Attached porches
Rolled asphalt roofing1:124.76°8.33%Utility sheds
Wood / composite shakes3:1214.04°25.00%Greenhouse lean-to
Clay / concrete tile4:1218.43°33.33%Steeper porch roofs

šŸ“Rise per 12 in of Run

PitchRise per 12 in RunRise per 1 ft RunRise per 10 ft Run
0.25:120.25 in0.25 in2.5 in
1:121 in1 in10 in
2:122 in2 in20 in
2.5:122.5 in2.5 in25 in
3:123 in3 in30 in
4:124 in4 in40 in
6:126 in6 in60 in

šŸ“‘Run vs Slope Length (no overhang)

Horizontal RunAt 1:12At 2:12At 3:12At 4:12
6 ft6.02 ft6.08 ft6.18 ft6.32 ft
8 ft8.03 ft8.11 ft8.25 ft8.43 ft
10 ft10.03 ft10.14 ft10.31 ft10.54 ft
12 ft12.04 ft12.17 ft12.37 ft12.65 ft
14 ft14.05 ft14.19 ft14.43 ft14.76 ft
16 ft16.06 ft16.22 ft16.49 ft16.87 ft

šŸ—ƒLean-To Pitch Comparison Grid

PitchAngle (deg)Slope FactorGrade %Rafter for 12 ft RunTypical Lean-To Use
0.25:121.19°1.00022.08%12.00 ftMembrane patio cover
1:124.76°1.00358.33%12.04 ftMetal carport minimum
2:129.46°1.013816.67%12.17 ftLow-slope storage shed
2.5:1211.77°1.021620.83%12.26 ftFirewood shed
3:1214.04°1.030825.00%12.37 ftCarport / attached porch
4:1218.43°1.054133.33%12.65 ftLean-to greenhouse
5:1222.62°1.083341.67%13.00 ftSnow-shedding shed
6:1226.57°1.118050.00%13.42 ftSteep decorative lean-to
8:1233.69°1.201966.67%14.42 ftHeavy-snow region shed

āš™Formula Breakdown

Pitch x:12 = (rise / run) Ɨ 12A single slope with 2 ft rise over 12 ft run gives (2 / 12) Ɨ 12 = 2, written 2:12.
Angle = atan(rise / run)The roof angle in degrees is atan(rise / run) Ɨ 180 / Ļ€. For 2:12 that is atan(2/12) = 9.46°.
Rafter = √(rise² + run²)The common rafter is the hypotenuse. For 2 ft over 12 ft, √(4 + 144) = 12.17 ft before any overhang.
Slope factor = √(rise²+run²) / runMultiply horizontal run by this to get slope length. At 2:12 the factor is 1.0138.
Grade % = (rise / run) Ɨ 100Expressed as a percent, 2:12 equals a 16.67% grade, a common low-slope shed value.
Overhang along slopeA level overhang is multiplied by the slope factor and added to the rafter length.
High wall = low wall + riseThe tall wall where the lean-to attaches equals the low eave wall plus the total rise.
Roof area = slope length Ɨ widthSheathing area equals the sloped rafter run times the width along the wall.

šŸ’”Lean-To Pitch Planning Tips

Respect the material minimum: A lean-to that sheds toward its open side should never go below the roofing minimum. Asphalt shingles and corrugated panels want at least 2:12 (9.46°, a 16.67% grade), standing-seam metal handles 1:12, and only fully sealed EPDM or TPO membrane should sit near 0.25:12. Dropping below the minimum voids most manufacturer warranties.
Check headroom at the low wall: On an 8 ft low wall with a 12 ft run at 3:12, the roof rises 3 ft, so the high wall is 11 ft. That extra 3 ft of rise buys clearance for a door or window on the attached side, while the eave still clears a 6 ft 8 in doorway once you subtract the rafter depth and any 12 in overhang along the slope.

The simplest structure is a lean-to roof, which is one plane up against a wall. It’s used for sheds and carports because it’s simple to frame, but simple doesn’t mean forgiving. The slope has to be shallow enough that your materials actualy fit, and steep enough that water runs off. Get that wrong, and you’ll waste lumber and get leaks.

Put two known variables (like rise and run) into the calculator above; it will do the math and give you the rafter length, angle and pitch in one shot. A pitch is simply a ratio of vertical rise to horizontal run. Commonly expressed as an X:12 or a ā€œX over 12.ā€ An example would be a 2:12 pitch means the rise will climb two feet for every twelve feet of horizontal run.

How to Calculate Lean-to Roof Slope and Length

You can do the math easily, just take the rise and divide it by the run and times it by twelve. This is where people mess up. With a gable roof, they only need to know half the length of building (the half run). But with a lean-to, all they need to know is the entire distance between the high wall and the low eave (the full run). Double your calculated pitch if you use the wrong span.

Framing lumber uses the X:12 system, even though most builders think in degrees or percentages. To get the degree of an angle, use some simple trigonometry. Nine point five degrees is about a 2:12 pitch. Small as that sounds, it will move water along just fine for most purposes. And the grade percentage (what the roads have on their signs) tells you exactly the same thing. It’s one hundred times rise over run. So that two-in-twelve roof? It’s a sixteen percent grade.

Know your numbers and they come in handy when checking local building codes, which tend to express things differently or when talking to suppliers. Now we’re going to calculate the ā€œslope factor,ā€ which multiplies the horizontal distance to equal the length along the sloping roof. This is the hypotenuse divided by the run. For a 2:12 pitch, this equals approximately one point zero one four. What does that mean? Well, if you lay your rafter on a table, it’s about fourteen percent longer then when it’s laid out flat between your two wall section. To determine the actual length of your rafter, you’d multiply the run times the slope factor. Without this adjustment, the board will not reach the eave or ridge. With the calculator, this conversion happens automatically; however, knowing what the figure represents helps avoid any goof-ups while cutting on the bench.

And then there are those pesky overhangs. The board will go out at a diagonal on the slope of your roof, but you measure the horizontal distance in the ground as an overhang. So now you must also think about this additional length. So the tool says hey I want my overhang to be so many inches, times the slope factor equals, plus the main rafter length…bingo! That’s how much you need to cut it to get the drip edge you wanted…no guesswork required.

The smallest pitch you can get away with depends on the material. To let water run off properly, asphalt shingles typically need at least a 2:12 pitch. Wind-driven rain will work its way beneath the tabs. Because it has fewer seams and better drainage paths, standing-seam metal can have a slope as low as 1:12. Flat membranes such as EPDM can handle virtually zero slope when installed properly, again, provided all flashing details are perfect. Voiding the manufacturer minimum on your material with a lower pitch means doing so without ever lifting a hammer.

High wall height is just the low wall plus the total rise. In our example, the eave wall was eight feet high; add in a three-foot roof rise, and that attachment point reaches eleven feet. It is more than you might think. You may plot a door or a window on the high wall, only to discover the roof line slices through it. Check it up-front so you don’t patch walls with drywall. A table on the page sets this out for common pitches so you can see what the headroom effect will be before framing.

The geometry doesn’t change with the units. A 2:12 roof remains a 2:12 roof whether you use imperial or metric. Pitch is measured in degrees. Because it is dimensionless, a 2:12 roof will always be the same angle regardless of where you are located (in both Los Angeles and London). The calculator outputs the same length for materials, based off what units you prefer. It will still take the same amount of two-meter boards or twenty-foot studs to build a roof.

There’s no rocket science in building a lean-to; it’s all about the basics. Not too flat: you don’t want rain leaking in. But don’t make it too flat, you don’t want to waste lumber by making it too shallow and wasting headroom. It’s basic geometry, though the cost of being wrong adds up quickly. Begin with what won’t fit, then look at the minimums required for materials, and go from there. Accuracy is critical, as one slope really leans on itself… Double check your rise before nailing down the first plate.

Lean-To Roof Pitch Calculator (Shed Slope x:12)