Home Lean-to calculator

Barns and buildings · Free calculator

Lean-To Calculator

Plan a lean-to on the side of a pole barn or a standalone lean-to shed. Enter the width, length and wall heights to get the roof pitch, a material list and dimensioned drawings.

  • Material list
  • Drawing
  • Cost range
  • Print or PDF
Where the roof meets the barn, below its eave
Eave on the open side
Usually matches the barn posts
Go below your local frost line
Each end
Roof pitch3.0/12 · 14.0°480 sq ft under roof; lean-to addition about $7,200 – $9,100
Posts6 × 13'
Rafter ledger on the barn40' at 12'
Rafters (8 ft on center)6 × 13'-5"
Roof purlins, 24 in on center8 rows · 320 lin ft
Roof steel (36 in coverage)14 panels × 13'-5"
Roof area536 sq ft
Roofing screws (about 80 per 100 sq ft)429
Eave trim40.0 lin ft
Rake trim (both ends)26.8 lin ft
Flashing where the roof meets the barn40.0 lin ft

Lean-to addition: $15–$19 per sq ft, open or enclosed. Source: HomeGuide: How much does it cost to build a pole barn?, checked 2026-12-04. Screw count: ABC Metal Roofing's average of 80 per 100 sq ft of roof; your wind zone may need more.

480 sq ftdownledger at 12' on the barn40'12'8'
Plan40' × 12', 6 posts 8' on center, rafters dashed, barn wall at the top
40' × 12' = 480 sq ft6 posts, 6 raftersSlopes down to the bottom edge
Scale0246ft
PostRafter / roof edgeBarn wall
BARN12312'9'12'
End elevation3.0/12 pitch (14.0°), 12' high side to 9' low side, against the barn wall
Width 12'High 12', low 9'Pitch 3.0/12
Scale0246ft
Barn wallPostRoof
3/4 viewOpen lean-to on the side of a barn (barn shown for context)
ScaleNot to scale
Prints your inputs, results and drawings on one sheet.

Pole barn lean-to or lean-to shed?

A pole barn lean-to hangs one side of its roof on the barn. You only set posts on the outer, low side. A standalone lean-to shed has posts on both sides and an overhang on both sides. Both have a single sloped roof, so the slope comes straight from the difference in wall heights.

What the calculator assumes

  • One rafter at every post line, posts at the spacing you pick.
  • Roof purlins at 24 inches on center.
  • Metal panels with 36 inches of coverage, one panel length from the high side to the eave.
  • About 80 roofing screws per 100 sq ft, ABC Metal Roofing's average.
  • No wall steel or girts. For an enclosed lean-to, add them from the pole barn calculator.

Lean-to cost

Cost guides put a lean-to addition at $15 to $19 per square foot. A full pole barn shell runs $15 to $40 per square foot in the same guide. For the main building, see the pole barn cost guide. If you want a concrete floor under the lean-to, size it with the concrete slab calculator.

Frequently asked questions

How much does a lean-to cost?

HomeGuide lists a lean-to addition on a pole barn at $15 to $19 per square foot, open or enclosed. A 12 × 40 ft lean-to (480 sq ft) comes to about $7,200 to $9,120. A concrete floor, doors or walls on the open side cost extra.

How do I work out the pitch of a lean-to roof?

Subtract the low wall height from the high wall height to get the rise. Divide the rise by the width and multiply by 12. A 12 ft wide lean-to that drops from 12 ft to 9 ft has a 3 ft rise, which is a 3/12 pitch, or about 14 degrees.

What is the minimum pitch for a metal lean-to roof?

ABC Metal Roofing recommends a minimum slope of 3 inches of rise per foot for its exposed-fastener panels. Lower slopes need a panel made for low slopes. The calculator warns you when your wall heights give less than 3/12.

How wide can a lean-to on a pole barn be?

It depends on the rafter size, the snow load and how low the outer wall can go. A wider lean-to drops lower at the eave for the same pitch, so check that your equipment still clears the low side. Your kit supplier or an engineer sizes the rafters for your area.

How high should the lean-to attach to the barn?

The top of the lean-to roof has to sit below the barn's eave so the barn roof can drain over it. Measure from the ground to just under the barn's eave trim, leave room for the ledger and flashing, and use that as the high wall height.

How many posts does a lean-to need?

Divide the length by the post spacing, round up, and add one. That gives the posts along the low side. An attached lean-to hangs its high side on the barn, while a standalone lean-to shed needs the same number of posts on the high side too.

How many screws do I need for a metal lean-to roof?

ABC Metal Roofing gives an average of 80 fasteners per 100 sq ft (one square) of roof. High-wind areas may need more. Follow the fastening pattern from your panel supplier.

Do I need a permit for a lean-to?

Often yes, especially if it is attached to a building or enclosed. Farm building exemptions vary by state and county, so ask your county building department before you start.

Can I add a lean-to to any pole barn?

The barn posts and frame must carry the extra roof load. Ask the barn's original supplier or an engineer to confirm the posts, and plan where the lean-to ledger fastens to them.

Sources

Prices and sources last checked 2026-12-04.