Reviewed and updated: August 2026
Calculate hip or valley rafter length, plumb cut angle, side cut angle, and backing angle for any roof pitch and building span.
Enter your building span, roof pitch, overhang, and lumber size to get a complete set of framing dimensions. Always verify calculated lengths on site before cutting.
In any gable roof, common rafters run perpendicular from the wall plate to the ridge board. Hip and valley rafters are different: they run at a 45-degree angle to the building corners and carry a unique set of forces and cutting challenges that common rafters don't.
A hip rafter runs from a building corner up to the end of the ridge board, forming the sloping edge (the "hip") where two roof planes meet at an outside corner. Hip roofs have four hip rafters, one at each corner. Because the hip rafter runs diagonally, it is always longer than a common rafter on the same roof, and its top must be beveled (backed) so that roof sheathing lies flat on both sides.
A valley rafter runs from an inside corner (where two roof planes meet in a valley) up to the ridge board or a supporting header. Valleys occur when a dormer, addition, or intersecting wing meets the main roof. Valley rafters carry significant water and debris load and must be properly sized and flashed. Like hip rafters, they run diagonally at 45 degrees and require the same set of compound cuts.
The starting point for any hip or valley rafter calculation is the unit length: how many inches of rafter length there are for every 12 inches of common rafter run. For a common rafter, this is simply the hypotenuse of the rise and 12: √(rise² + 12²). For a hip or valley rafter, the run per foot is not 12; it's 16.97 inches, because the rafter travels diagonally across a 12×12 plan square.
Hip/valley unit length = √(rise² + 16.97²)
This is where the traditional "17" shortcut comes from: carpenters use 17 as a close approximation of the diagonal of a 12×12 square (actual: 16.97"). The full rafter length is then:
Hip/valley length = (half span ÷ 12) × unit length
The half span (run) is half the building width. The result is the theoretical length; you still need to adjust for ridge thickness, tail cut, and HAP (height above plate) to get the actual cut length.
| Pitch | Common Unit Length (in) | Hip/Valley Unit Length (in) | Plumb Cut | Side Cut |
|---|---|---|---|---|
| 3/12 | 12.37 | 17.23 | 14.0° | 34.8° |
| 4/12 | 12.65 | 17.44 | 18.4° | 34.5° |
| 5/12 | 13.00 | 17.69 | 22.6° | 34.1° |
| 6/12 | 13.42 | 18.00 | 26.6° | 33.7° |
| 8/12 | 14.42 | 18.76 | 33.7° | 32.6° |
| 10/12 | 15.62 | 19.70 | 39.8° | 31.4° |
| 12/12 | 16.97 | 20.78 | 45.0° | 30.0° |
Hip and valley rafters require three distinct cuts that common rafters don't, each serving a specific structural or fitting purpose.
The plumb cut is the vertical cut at the ridge end and the tail end of the rafter. "Plumb" means it's perfectly vertical when the rafter is installed. The angle is determined by the roof pitch; steeper roofs have a larger plumb cut angle. For a hip rafter at 6/12 pitch, the plumb cut is approximately 26.6°.
Plumb cut angle = arctan(rise ÷ 12), same formula as a common rafter.
The side cut, sometimes called the cheek cut, is a bevel cut made at the top of the hip or valley rafter so it fits flush against the ridge board. Because the rafter approaches the ridge diagonally, the end must be cut at an angle in plan view. The side cut angle depends on both the pitch and the diagonal run geometry.
Side cut angle = arctan(12 ÷ unit length per foot of hip run)
In practice, most carpenters make the side cut with the saw tilted to the plumb cut angle and the base plate rotated to the side cut angle simultaneously: a compound cut.
The backing angle is a bevel cut along the top edge of the hip rafter that allows roof sheathing to lie flat on both sides of the hip without a gap or hump. Without backing, the top corners of the hip rafter protrude above the plane of the adjacent roof surfaces. The backing angle is cut equally on both sides of the top edge, forming a shallow ridge.
Backing angle = arctan(sin(hip slope angle)), where the hip slope angle is the hip rafter's own angle of incline, arctan(pitch ÷ 16.97), not the common rafter's plumb cut angle. Using the common plumb angle in this formula is a widely repeated approximation that happens to land close to correct for shallow-to-medium pitches, but it is measurably wrong and the error grows at steeper pitches; for a 6/12 roof it is about 1 degree off. A 6/12 hip's slope angle is 19.47°, and the true backing angle works out to 18.43°.
Alternatively, some framers drop the hip rafter slightly (drop the seat cut) to achieve the same effect without beveling the top edge; this is called "dropping the hip." Both methods are valid; backing is more precise for sheathing but takes more time at the saw.
The backing angle cut depth depends on actual lumber width, not nominal. A 2×8 is 7.25 inches wide, not 8 inches. Using the wrong width when laying out the backing bevel will leave the sheathing plane slightly off.
Hip and valley rafters are typically one size larger than common rafters on the same roof: if commons are 2×8, use 2×10 for hips and valleys. The extra depth provides room for the backing bevel without cutting into the structural portion of the member, and it provides additional load capacity for the concentrated forces at roof corners and valleys.
Hip and valley rafter calculations are one part of a complete roof framing plan. You'll also need common rafter count and length, jack rafter lengths and spacing, ridge board length, and hardware for connections at the ridge and plate. Always confirm calculated dimensions with a dry layout before committing to cuts on full-length lumber.
Need help estimating total project cost? Read our project cost estimation guide.