Roof Hip and Valley Calculator
Find the length of a hip or valley rafter.
Results are estimates for planning. Roof loads, fixings, rainfall and waterproofing details depend on your design and local code, so roofs and drainage should be checked by a qualified designer or roofer before work starts.
How it works
- Enter the half-span (the run of the common rafter) and the pitch.
- The tool finds the common rafter, the rise and the hip or valley length.
- It works when the two roof faces have the same pitch and meet at a right angle.
The formula
Rise = run x tan(pitch) Hip or valley length = square root of (2 x run^2 + rise^2)
Frequently asked questions
Why is a hip longer than a common rafter?
A hip runs diagonally across the corner, so its horizontal run is the run times the square root of 2 (1.414). It rises the same height over a longer run.
Is a valley rafter the same length as a hip?
For equal pitches that meet at 90 degrees, yes. The valley is the inside corner where two roofs meet and the hip is the outside corner.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Roof Rafter Length Calculator
Find the length of common rafters, the ridge height and the number of rafters from the span, pitch, overhang and spacing.
Roof Pitch Calculator
Find the pitch of a roof as a ratio, an angle and a percentage from the building span and the height of the ridge.
Roof Truss Calculator
Find the rise, rafter length and number of trusses for a simple king-post roof from the span, pitch and building length.