Free Framing Tool

Hip & Valley Rafter Calculator – Length, Cuts & Angles

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.

Hip runs to a corner; valley runs into one
Full width of building (not half-span)
ft
Rise per 12 inches of run
Horizontal overhang past wall
in
Affects backing angle depth
RAFTER DIMENSIONS
Hip Rafter Length
—
incl. overhang
Common Rafter Length
—
incl. overhang
Unit Length / Ft Run
—
inches
Plumb Cut Angle
—
degrees
Side Cut Angle
—
degrees
Backing Angle
—
degrees
Peak Rise
—
inches
Half Span (Run)
—
feet

What Is a Hip or Valley Rafter?

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.

RIDGE 45° RUN RUN (same distance) HIP RUN = RUN × √2 WALL WALL OUTSIDE CORNER
Plan view: the hip rafter's run is the diagonal of the same run used for common rafters, which is why its unit length uses 16.97" instead of 12".

Hip Rafters

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.

Valley Rafters

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.

How Hip & Valley Rafter Length Is Calculated

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.

PitchCommon Unit Length (in)Hip/Valley Unit Length (in)Plumb CutSide Cut
3/1212.3717.2314.0°34.8°
4/1212.6517.4418.4°34.5°
5/1213.0017.6922.6°34.1°
6/1213.4218.0026.6°33.7°
8/1214.4218.7633.7°32.6°
10/1215.6219.7039.8°31.4°
12/1216.9720.7845.0°30.0°

Plumb Cut, Side Cut, and Backing Angle Explained

Hip and valley rafters require three distinct cuts that common rafters don't, each serving a specific structural or fitting purpose.

Plumb Cut

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.

Side Cut (Cheek Cut)

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.

Backing Angle

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.

Nominal vs. Actual Lumber and Rafter Depth

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.

Common Hip & Valley Framing Mistakes

Planning Your Roof Frame

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.

Frequently Asked Questions
What is the difference between a hip rafter and a valley rafter? ▾
A hip rafter runs from an outside corner of the building up to the end of the ridge board, forming the sloping edge where two roof planes meet at a convex corner. A valley rafter runs from an inside corner (where two roof planes meet in a concave junction) up to the ridge. Both run diagonally at 45 degrees to the building walls and require the same set of plumb, side, and backing cuts. The structural difference is that valley rafters collect and channel water and debris, so proper sizing and flashing are especially important.
How do I calculate hip rafter length? ▾
Hip rafter length is calculated using the unit length method. First find the hip unit length: √(rise² + 16.97²), where rise is the roof pitch in inches per foot and 16.97 is the diagonal of a 12×12 plan square. Then multiply: (half span in inches ÷ 12) × unit length. Add the overhang length separately. Finally, deduct half the ridge board thickness from the top, adjusted for the plumb cut angle. This calculator handles all of that automatically, but always verify the result with a dry layout before cutting.
What is a backing angle on a hip rafter? ▾
The backing angle is a bevel cut along the top edge of the hip rafter, made equally on both sides, that allows roof sheathing to lie flat across the hip without a bump or gap. Without it, the top corners of the hip rafter sit slightly above the plane of the adjacent roof surfaces. Some framers skip the backing cut and instead lower the rafter's seat cut slightly, a technique called "dropping the hip," which achieves the same result. The backing angle is more precise for tight sheathing fits; dropping the hip is faster on site.
Can I use the same pitch for hip and common rafters on the same roof? ▾
Yes, on a standard hip roof, all rafters share the same pitch. The hip rafter appears to have a shallower slope when you look at it along its length, but its actual rise-per-foot-of-common-run is identical to the common rafters. The difference is that it travels a longer diagonal path, which gives it a longer unit length. The plumb cut angle is the same for both hip and common rafters at the same pitch.
What lumber size should I use for hip and valley rafters? ▾
Hip and valley rafters should typically be one lumber size larger than the common rafters on the same roof. If your commons are 2×8, use 2×10 for hips and valleys. The extra depth is needed for two reasons: first, the backing bevel cut removes material from the top edge, and a larger member ensures enough structural depth remains after cutting. Second, hip and valley rafters carry concentrated loads from jack rafters along their entire length, which requires more capacity than a standard common rafter span.