Lean-to Roof Pitch Calculator

Use the lean-to roof pitch calculator to find the slope from two wall heights, or set a pitch to get the outer wall height.

Lean-to planning

Plan your lean-to geometry

What do you want to find?

Find outer wall height selected.

ft
in
ft
in
:12

Fraction precision

rounding for Imperial results

Quick Presets

Outer wall height6 ft 0 inHeight at the low end before roof framing.
Pitch4:12
Angle18.43°
Slope33.33%
Vertical drop4 ft 0 in
Roof-line length12 ft 7.75 in
  • Imperial results round to the nearest 1/8 in. Metric results round to the nearest millimetre.
  • Roof-line length excludes overhangs, birdsmouth, and end cuts. It is not a finished rafter cut length.
  • Planning geometry only. This calculator does not size framing or connections, check loads, approve roofing products, or replace local code and professional review.

Lean-to geometry profile

Geometry illustration only, not a framing or construction drawing.
Lean-to geometry profile: high wall 10 ft 0 in, low wall 6 ft 0 in, horizontal span 12 ft 0 in, and pitch 4:12.High wall: 10 ft 0 inLow wall: 6 ft 0 inHorizontal span: 12 ft 0 inVertical drop: 4 ft 0 inRoof-line: 12 ft 7.75 in at 4:12

How to read the results

Pitch, angle, and slope percent describe one slope in different formats. The three dimensions of your current example are vertical drop, outer wall height, and roof-line length.

Pitch

4:12

Angle

18.43°

Slope percent

33.33%

The same slope in three formats, using the 4:12 example.

What each slope format means

Pitch
Rise per 12 horizontal units. A 4:12 pitch rises or falls 4 units for every 12 units of run.
Angle
The slope in degrees from horizontal.
Slope percent
Vertical change ÷ horizontal span × 100.

Project dimensions

Vertical drop
The height difference between the two wall reference points.
Outer wall height
The low-wall reference height required by the entered high wall, span, and pitch.
Roof-line length
The straight slope between the two reference points, computed as the hypotenuse of the triangle.

Pitch and headroom move together

With the high-wall point and span fixed, a steeper pitch creates more vertical drop and lowers the outer wall. A shallower pitch preserves more outer-wall height and headroom. There is no universal ideal pitch: the usable choice also depends on the roofing assembly, drainage details, loads, local code, and the clearance your project needs. The material table below shows the minimum slopes to weigh before you pick a pitch.

Minimum roof slope by material

Reference minimums for every material in the lean-to roof pitch calculator, with the code or manufacturer source for each. The manufacturer's installation instructions and your local code take precedence.

MaterialMinimum slopeSource
Metal panels3:12(14°)ICC 2024 IRC R905.10.2
Asphalt shingles2:12(9.5°)ICC 2024 IRC R905.2.2
Corrugated metal3:12(14°)ICC 2024 IRC R905.10.2
Polycarbonate panels1.5:12(7.1°)Palram Suntuf installation guide
EPDM/TPO membrane1/4:12(1.2°)ICC 2024 IRC R905.12.1

Reference values only. Confirm each product's installation instructions and the applicable local code before purchase.

Which mode fits your measurements?

Use the lean-to roof pitch calculator to plan one slope. Pick the mode that matches the three numbers you already know, and you get pitch, angle, slope percent, drop, and roof-line length in one pass.

Use Find roof pitch

Choose this mode when you know the high wall height, low wall height, and horizontal span. The calculator subtracts the wall heights to find the vertical drop, then reports the roof pitch and its equivalent angle and slope percent.

Use this mode

Use Find outer wall height

Choose this mode when you know the high wall height, horizontal span, and target pitch. The calculator finds the vertical drop across that span and subtracts it from the high wall to give the required outer wall height.

Use this mode

Use Find attached wall height

Choose this mode when you know the low-wall clearance, horizontal span, and target pitch. The calculator adds the rise across the span to the clearance and returns the attached wall height that keeps it.

Use this mode

What to measure

A lean-to roof is one slope, so it is also called a shed roof, skillion roof, or mono-pitch roof. Measure three numbers and the calculator does the rest.

High wall

Measure at the point where the roof line meets the existing building.

Low wall

Measure at the outer roof edge.

Span

Measure horizontally between the two wall reference points, not along the roof.

Measure span horizontally

A tape laid along the roof follows the longer slope line. Enter the level distance instead, or the calculated pitch will be wrong.

Keep the reference points consistent

Use the same top-of-wall reference for both heights. Do not measure one wall to its framing plate and the other to finished roofing. If the walls sit on different foundations or plates, add that level difference to the heights you enter.

What the calculator leaves out

Wall thickness, roof layers, flashing, overhangs, and framing cuts.

In Find roof pitch, a wrong wall height or span changes the slope. An incorrect span in Find outer wall height changes the drop, outer wall height, and roof-line length. Recheck the measurements before layout.

For an existing roof where the wall heights are not available, use the roof pitch measurement guide.

Why is my answer wrong?

Most wrong answers come from describing a different triangle than the one shown in the profile.

  • The wall direction is reversed

    Enter the higher attachment wall as the high wall and the lower outside wall as the low wall. If the outside wall is higher, this calculator's downward lean-to direction does not match the project.

  • Slope length is entered as span

    Use the level horizontal distance between walls. If you measured along the roof, take a horizontal measurement instead before calculating.

  • Wall heights use different reference points

    Measure both heights to matching structural points. Correct for different slab, foundation, or plate levels before entering the values.

  • Feet, inches, and metric values are mixed

    Use one measurement system for all three dimensions. In Imperial mode, put whole feet and remaining inches in their separate fields. Switch to Metric before entering metres.

Once the numbers line up, check what the result can and cannot cover in Before you build.

How the calculator works

Two right-triangle equations cover all three modes.

Pitch from the two walls

pitch = (high − low) × 12 ÷ span

Outer wall from a pitch

low = high − (pitch × span ÷ 12)

High wall from clearance and pitch

high = low + (pitch × span ÷ 12)

Wall heights and span to pitch

Suppose the high wall is 10 ft, the low wall is 7 ft, and the span is 12 ft. The drop is 3 ft, which is a 3:12 pitch, or 14.04 degrees and 25 percent.

High wall, span, and pitch to outer wall

Start with a 10 ft high wall, a 12 ft span, and a 4:12 pitch. The roof drops 4 ft across the span, so the outer wall reference is 6 ft high.

Clearance, span, and pitch to high wall

For a 6 ft clearance at the low wall, a 12 ft span, and a 4:12 pitch, the roof rises 4 ft. The attached wall reference is 10 ft high.

Can I build from these numbers?

These numbers give you the slope and the geometry, not the structure. Framing, loads, drainage, and approvals each need their own check.

What still needs its own check

Roofing product

The minimum slope depends on the exact product, laps, seams, underlayment, and installation instructions. ICC 2024 Chapter 9 lists requirements by assembly, and the manufacturer's instructions take precedence.

Snow and wind

Pitch alone cannot predict snow movement or structural safety. Snow, wind, drifting, roof loads, framing, and connections all matter. FEMA and ASCE provide load guidance, but a project still needs a local code check and professional review when required.

Framing and connections

The ledger that attaches the lean-to to the existing building must be flashed and anchored into the wall framing. Rafter sizes, bearing, and connection details follow the local code.

Drainage and gutters

Water flows to the low side, so plan the gutter and downspout there. Keep at least the material's minimum slope so water moves instead of pooling.

Permits

Most areas require a permit for a roof addition. Check with the local building department before ordering materials.

Roof-line length is not a finished rafter cut length. For cuts and layout, use the rafter length calculator.

Lean-to Roof Pitch FAQ

Straight answers from the lean-to roof pitch calculator on geometry, materials, and what still needs a permit or a professional.

Related Tools

More roof slope calculators and references for the rest of your lean-to or addition project.