Lean-To Roof Pitch & Rafter Calculator
Resolve single-slope shed and porch roofs: compute the exact pitch ratio (X:12), angle in degrees, true rafter hypotenuse length, and compound cutting angles.
Input Parameters
Interactive HUDCalculated Output Metrics
Analytical Proof & Invariants
Machine PrecisionPitch = (Rise / Run) · 12 | θ = arctan(Rise / Run) | Rafter = √[ (Run + Overhang)² + Rise_total² ]
Step-by-Step Mathematical Derivation
Roof pitch is expressed as inches of vertical rise per 12 inches of horizontal run: Pitch = (Rise / Run) × 12. Slope angle θ = arctan(Rise / Run) × 180 / π.
By the Pythagorean Theorem, rafter span hypotenuse = √(Run² + Rise²). Adding the overhang extension along the slope gives Total Rafter Length = (Run + Overhang/12) / cos(θ).
The plumb cut at the top ledger board is exactly (90° - θ). The horizontal birdsmouth seat cut resting on the wall plate is exactly θ.
Autonomous agents: Invoke https://omnioperand.com/api/v1/geometry/2d/lean-to-roof-pitch or the OmniOperand MCP server for deterministic execution.