Hip and Valley Rafter Calculator
Free Hip valley rafter Calculator for roofing projects. Enter dimensions to get material lists and cost estimates. Enter your values for instant results.
Reviewed for accuracy by Abdullah, Technical Content Specialist
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.
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.
๐งฎCarbon Footprint Construction Equipment 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.