Hip and Valley Rafter Calculator
Calculate hip rafter, valley rafter, and jack rafter dimensions including lengths, angles, backing bevels, cheek cuts, and shortening amounts for roof
Hip and Valley Rafter Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Hip Length = sqrt((Run x sqrt(2))ยฒ + Riseยฒ)
Worked example โ Hip rafter = 17.99 ft, Common = 13.42 ft, Jack diff = 1.49 ft
Formula
Hip Length = sqrt((Run x sqrt(2))ยฒ + Riseยฒ)
The hip rafter runs diagonally at 45 degrees in plan view. Its horizontal run is the common rafter run times the square root of 2. The hip rafter length is the hypotenuse of a triangle formed by the hip run and the common rise. The hip pitch per 12 inches of run equals the common pitch divided by the square root of 2. Jack rafters decrease in length by a constant difference based on spacing and pitch.
Worked Examples
Example 1: Standard Hip Roof โ 6/12 Pitch
Problem:Calculate hip and valley rafter lengths for a roof with 12 ft common run and 6/12 pitch, 16 in OC jack spacing.
Solution:Common rise = 12 x (6/12) = 6 ft Common rafter = sqrt(144 + 36) = 13.42 ft Hip run = 12 x 1.414 = 16.97 ft Hip rafter = sqrt(287.88 + 36) = 17.99 ft Jack diff = sqrt(1.333ยฒ + 0.667ยฒ) = 1.49 ft
Result:Hip rafter = 17.99 ft, Common = 13.42 ft, Jack diff = 1.49 ft
Example 2: Steep Hip Roof โ 10/12 Pitch
Problem:Calculate for 10 ft common run, 10/12 pitch, 24 in OC spacing.
Solution:Common rise = 10 x (10/12) = 8.33 ft Common rafter = sqrt(100 + 69.44) = 13.02 ft Hip run = 10 x 1.414 = 14.14 ft Hip rafter = sqrt(200 + 69.44) = 16.42 ft Jack diff = sqrt(4 + 2.778) = 2.60 ft
Result:Hip rafter = 16.42 ft, Common = 13.02 ft, Jack diff = 2.60 ft
Frequently Asked Questions
How do you calculate a hip rafter length?
A hip rafter runs diagonally from the ridge to the corner of the building at 45 degrees in plan view. Its horizontal run is the common rafter run multiplied by the square root of 2 (approximately 1.414). The hip rafter length equals the square root of the hip run squared plus the common rise squared. For a building with a 12-foot common run and 6/12 pitch, the common rise is 6 feet, the hip run is 16.97 feet, and the hip rafter length is approximately 18.0 feet before shortening adjustments.
What is the difference between a hip rafter and a valley rafter?
A hip rafter runs from the ridge down to an outside corner of the building where two roof planes meet at a convex angle. A valley rafter runs from the ridge down to an inside corner where two roof planes meet at a concave angle, such as where a dormer or wing intersects the main roof. Mathematically, hip and valley rafters have the same length and angle calculations when both roof sections have the same pitch. The key difference is in the backing bevel direction and the connection details at the ridge and bearing points.
What is the jack rafter difference and how is it calculated?
The jack rafter difference is the consistent length change between consecutive jack rafters spaced equally along the hip or valley. For equal-pitch hip roofs, each jack rafter is shorter than the previous one by a fixed amount that depends on the rafter spacing and roof pitch. The difference equals the square root of the spacing squared plus the rise-per-spacing squared. For 16-inch on-center spacing with a 6/12 pitch, the difference is approximately 17.9 inches. This makes layout efficient because you cut each subsequent jack rafter shorter by the same amount.
What is the hip rafter backing angle?
The backing angle is the bevel cut applied to the top edges of a hip rafter so the roof sheathing sits flat against it. Without backing, the sheathing would sit on the sharp top corners of the hip rafter, creating gaps at the hip line. The backing angle depends on the roof pitch and gets steeper as the pitch increases. For a 6/12 pitch, the backing angle is approximately 14.5 degrees. Some framers drop the hip rafter instead of backing it, which achieves the same result by lowering the rafter seat cut rather than beveling the top edges.
How do you shorten a hip rafter at the ridge?
The hip rafter must be shortened at the ridge because it meets at the intersection of two ridge boards rather than butting directly to the end of one. The shortening amount equals half the diagonal thickness of the ridge board divided by the cosine of the hip rafter angle. For a standard 1.5-inch thick ridge board, the shortening is half of 1.5 times the square root of 2 (about 1.06 inches) measured horizontally, then adjusted along the rafter slope. Always measure the shortening perpendicular to the plumb cut line at the ridge end of the hip rafter.
Why is a hip rafter's unit rise stated per 17 inches instead of per 12?
On a regular hip the rafter runs at 45 degrees in plan, so for every 12 inches of common rafter run the hip travels 12 times the square root of 2, which is 16.97 inches, conventionally rounded to 17. The hip climbs the same vertical distance as the common rafter over that longer horizontal travel, so a 6 in 12 common roof gives a hip of 6 in 17. This is why hip and valley cuts are laid out on the 17 inch mark of the framing square rather than the 12.
What is a cheek cut and why does a hip rafter need a double one?
A cheek cut is the bevel that lets a rafter end sit flat against the member it meets. A jack rafter dies into the side of the hip at 45 degrees in plan and needs a single cheek cut. A hip rafter arrives at the end of the ridge on the 45-degree diagonal, so both of its faces must be bevelled away to fit between the ridge and the two end common rafters, giving a double cheek cut that comes to a point on the centreline of the rafter.
How do you lay out a set of jack rafters on a regular hip roof?
Jacks on a regular hip shorten by a constant amount called the common difference, which equals the rafter spacing multiplied by the common rafter length per unit of run. On a 6 in 12 roof the line length per 12 inches of run is the square root of 144 plus 36, which is 13.42 inches. At 16 inch centres the common difference is 16 x 13.42 / 12, about 17.9 inches. Each successive jack is one common difference shorter than the last, which makes cutting a set fast and self-checking.
What is an irregular or bastard hip and why does the 17 inch rule fail on it?
An irregular hip occurs where the two roof planes meeting at the corner have different pitches or different spans, which happens whenever a smaller wing joins a main roof. The hip no longer bisects the corner at 45 degrees in plan, so its horizontal run is not the common run times the square root of 2 and the 17 inch layout constant does not apply. Each side then has its own run ratio, its own jack common difference and its own cheek cut angle, all derived from the actual plan geometry.
Why does a hip rafter need a backing bevel or a dropped seat cut?
The hip sits on the diagonal, so its square top edges project above the two sloping roof planes that meet along it. Sheathing bridged across those corners would rock. Backing means planing a shallow bevel down each top edge so the two faces lie exactly in their own roof plane; dropping means lowering the birdsmouth seat cut instead so the whole member sinks until its top corners land flush. Backing is cleaner on exposed work, dropping is faster and far more common in production framing.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist ยท Editorial policy
Related Calculators
๐งฎRafter Length Calculator
Calculate rafter length with inputs, formulas, and instant results.
๐งฎConstruction Equipment CO2 Calculator
Calculate carbon footprint construction equipment with inputs, formulas, and instant results.
๐งฎArch Calculator
Calculate arch with inputs, formulas, and instant results.
๐งฎDaylight Autonomy Simple Calculator
Calculate daylight autonomy simple with inputs, formulas, and instant results.
๐งฎDaylight Factor Calculator
Calculate daylight factor with inputs, formulas, and instant results.
๐งฎDoor Area Calculator
Calculate door area with inputs, formulas, and instant results.
๐งฎGlazing Uvalue to Rvalue Calculator
Calculate glazing uvalue to rvalue with inputs, formulas, and instant results.
๐งฎNet to Gross Area Ratio Calculator
Calculate net to gross area ratio with inputs, formulas, and instant results.