Skip to main content

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.

Skip to calculator
Construction & Engineering

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 framing.

Last updated: December 2025

Calculator

Adjust values & calculate
Hip / Valley Rafter Length
18.00 ft
19.5ยฐ angle | Hip pitch: 4.24/12
Common Rafter
13.42
ft at 26.6ยฐ
Common Rise
6.00
ft
Jack Rafter Diff
1.49
ft per 16 in OC
Cheek Cut Angle
54.7ยฐ

Shortening and Bevels

Common Shortening at Ridge0.839 in
Hip Shortening at Ridge1.125 in
Hip Backing Angle12.6ยฐ
Hip Run (diagonal)16.97 ft
Framing Tip: All lengths shown are theoretical. Subtract the appropriate shortening amount at the ridge and add for any tail/overhang. Mark and cut the cheek angle on jack rafters where they meet the hip or valley rafter.
Your Result
Hip: 18.00 ft | Common: 13.42 ft | Jack diff: 1.49 ft
Share Your Result
Understand the Math

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.

Last reviewed: December 2025

Worked Examples

Example 1: Standard Hip Roof โ€” 6/12 Pitch

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

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
Expert Insights

Background & Theory

The Hip and Valley Rafter Calculator applies the following established principles and formulas. Structural and construction engineering is governed by fundamental load analysis, material science, and regulatory standards that ensure the safety and durability of built structures. The primary distinction in load analysis is between dead loads โ€” the permanent self-weight of structural elements, finishes, and fixed equipment โ€” and live loads, which represent variable occupancy, furniture, and environmental forces such as wind and snow. These are combined using factored load equations, such as the ASCE 7 formula U = 1.2D + 1.6L, where D is dead load and L is live load. Concrete mix design is governed by the water-cement (w/c) ratio, which is the primary determinant of compressive strength and durability. A w/c ratio of 0.40โ€“0.45 typically yields concrete with 28-day compressive strengths of 30โ€“40 MPa. Common mix ratios by weight for structural concrete are approximately 1 part cement : 1.5โ€“2 parts sand : 3 parts coarse aggregate. Structural steel is characterized by its yield strength (the stress at which permanent deformation begins, typically 250โ€“350 MPa for mild steel) and ultimate tensile strength (typically 400โ€“500 MPa). Mid-span deflection of a simply supported beam under a central point load is given by ฮด = FLยณ / (48EI), where F is force, L is span length, E is Young's modulus, and I is the second moment of area. Building insulation is rated by R-value, a measure of thermal resistance in units of mยฒยทK/W (SI) or ftยฒยทยฐFยทh/BTU (imperial). Higher R-values indicate greater resistance to heat flow. Foundation design depends on the allowable bearing capacity of the underlying soil, which ranges from approximately 75 kPa for soft clay to over 10,000 kPa for bedrock. Drainage gradients for surface water are typically specified as a minimum of 1โ€“2% slope away from building foundations to prevent hydrostatic pressure and water infiltration.

History

The history behind the Hip and Valley Rafter Calculator traces back through the following developments. The history of construction engineering spans thousands of years of accumulated empirical knowledge and, more recently, rigorous scientific analysis. The ancient Egyptians built the Great Pyramid of Giza around 2560 BCE using an estimated 2.3 million stone blocks, demonstrating sophisticated logistics, geometry, and workforce organization. Roman engineers advanced the field dramatically through the use of pozzolanic concrete โ€” a mixture of volcanic ash, lime, and seawater โ€” enabling the construction of the Pantheon dome (43.3 m diameter, completed around 125 CE) and a vast network of aqueducts and roads across the empire. Cast iron emerged as a structural material during the Industrial Revolution, first used prominently in the Iron Bridge at Coalbrookdale, England, completed in 1779. Wrought iron and later steel allowed far greater spans and heights. The Eiffel Tower, completed in 1889, demonstrated the structural possibilities of wrought iron at scale and influenced the development of steel-frame skyscraper construction in Chicago and New York. Reinforced concrete was systematically developed by Joseph Monier, a French gardener, who patented iron-reinforced concrete pots and panels in the 1860s, and later by engineers including Franรงois Hennebique who created the first comprehensive reinforced concrete framing system in the 1890s. The 1906 San Francisco earthquake caused widespread devastation and galvanized the engineering profession to develop seismic design provisions. Subsequent earthquakes โ€” including the 1971 San Fernando and 1994 Northridge events โ€” drove successive improvements in seismic codes, base isolation technology, and ductile detailing of reinforced concrete and steel frames. Building codes became increasingly standardized in the twentieth century, with the International Building Code (IBC) first published in 2000 providing a unified model code adopted across much of the United States. Building Information Modeling (BIM) emerged in the 2000s as a digital workflow integrating architectural, structural, and MEP design into a unified three-dimensional model, fundamentally changing coordination practices across the industry.

Share this calculator

Explore More

Frequently Asked Questions

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.
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.
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.
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.
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.
You may use the results for reference and educational purposes. For professional reports, academic papers, or critical decisions, we recommend verifying outputs against peer-reviewed sources or consulting a qualified expert in the relevant field.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

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.

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.

How do I interpret the result?

Results are displayed with a label and unit to help you understand the output. Many calculators include a short explanation or classification below the result (for example, a BMI category or risk level). Refer to the worked examples section on this page for real-world context.

References

Reviewed by Abdullah, Technical Content Specialist ยท Editorial policy