Roof Geometry: Gable, Hip & Shed
Ridge height, common and hip rafter lengths, ridge length and roof surface area from building size and pitch.
How it works — Roof Geometry: Gable, Hip & Shed
Inputs
- W
- Building width (span) (ft)
- θ
- Roof pitch (°)
Formula
- rise = run·tan θ
- A = plan / cos θ
Results
- rise
- Ridge height above the wall plate
- ℓ
- Common rafter length
- A
- Roof surface area
Inputs
Results
Enter your values and press Calculate. The defaults are a worked example.
Formula
rise = run·tan θ · A = plan area / cos θ
Formulas are evaluated in SI units; inputs and results are converted.
Show the math
Worked solution
Press Calculate to see every step with your values substituted.
Assumptions
- Equal pitch on every roof plane; overhangs at the same pitch.
References
- IRC R802 — roof framing
- Carpentry and building construction references for hip and valley geometry
Results are for preliminary design and education. Verify against the governing code and have critical work checked by a licensed professional engineer.
More Architectural tools
- Architectural Shadow Cast & Sun Path Simulator Interactive 3D sun-path and shadow study: see where a building's shadow falls at any time of day on the solstices and equinoxes. Open tool
- Architectural Stair Calculator Riser count and height, tread run, stair angle and the 2R + T comfort rule from the total floor-to-floor rise. Open tool
- Architectural Roof Pitch Calculator Roof angle, pitch in 12, percent slope and rafter length from rise and run. Open tool
- Architectural Wall Area & Paint Calculator Paintable wall area and litres of paint for a rectangular room, net of doors and windows. Open tool