Hip Roof Calculator
Calculate hip rafter length, common rafter length, ridge board, and total area from your building dimensions
Last reviewed: November 2026 · Marcus Webb, NRCA-certified roofer
π Calculate Hip Roof
Hip Roof Geometry Explained
A hip roof is a four-sided roof shape in which every wall has a sloping roof plane above it β two triangular end faces and two trapezoidal side faces β all meeting at a continuous ridge at the top. Unlike a gable roof, which has vertical end walls (gables), a hip roof slopes on every side. This gives hip roofs excellent wind resistance, better drainage on all four sides, and a lower visual profile, making them popular in hurricane zones and in traditional architectural styles.
The defining measurements of a hip roof are the common rafter, the hip rafter, and the ridge board. The common rafter runs from the eave at the center of the long wall up to the ridge. The hip rafter runs from the corner of the eave diagonally up to the end of the ridge β it is always longer than the common rafter because its horizontal run is longer. The ridge board connects the two ends and its length equals the building length minus the building width.
How the Calculator Works
This calculator assumes equal pitch on all four faces β the most common configuration for residential hip roofs. Given your building length, width, and pitch, it calculates:
- Common rafter length β from center eave to ridge, using the Pythagorean theorem on the run (half the width) and the rise
- Hip rafter length β from corner eave to ridge end, with a horizontal run of (half-width Γ β2) and the same rise
- Ridge board length β building length minus building width; zero on a square hip (“pyramid” hip)
- Roof area β footprint times the pitch multiplier (β(riseΒ² + 144) Γ· 12)
- Bundles β at 15% waste, which is the standard allowance for a hip roof with four diagonal hip lines and their associated jack rafters
Hip Rafter vs Common Rafter β Why the Hip Is Longer
The hip rafter travels diagonally across the corner, covering more horizontal distance than a common rafter even though both reach the same height. For a building where the width is W, the common rafter run is W/2. The hip rafter run is (W/2) Γ β2 β about 41% longer horizontally. That extra horizontal distance, combined with the same vertical rise, makes the hip rafter the longest piece of lumber in the roof. Hip rafters are typically one to two lumber grades heavier than common rafters because they carry load from both adjacent roof planes.
Reference Table β Hip Rafter Length by Pitch
| Pitch | Common Rafter per ft of Run | Hip Rafter per ft of Run |
|---|---|---|
| 4:12 | 1.054 ft | 1.027 ft |
| 6:12 | 1.118 ft | 1.061 ft |
| 8:12 | 1.202 ft | 1.106 ft |
| 10:12 | 1.302 ft | 1.162 ft |
| 12:12 | 1.414 ft | 1.225 ft |
Jack Rafters and Their Diminishing Length
Jack rafters fill in the triangular sections between the hip rafter and the wall plate β they run parallel to the common rafter but stop short at the hip rafter instead of reaching the ridge. Each successive jack rafter is shorter than the previous one by a fixed amount called the common difference. This common difference equals the rafter spacing multiplied by the rafter unit length (the length per foot of run for that pitch). On a 6:12 pitch with 16-inch on-center spacing, the common difference is approximately 17.9 inches β every jack rafter is that much shorter than its neighbor closer to the corner.
Jack rafters require a compound cut at the top end where they meet the hip rafter. The cut combines a plumb cut (to sit flush against the hip rafter’s face) and a side cut (the angle of the hip rafter’s face as seen from above). Pre-calculating jack rafter lengths before cutting means far less waste and far less time on the roof.
Ridge Board Sizing and Overhang
The ridge board for a hip roof is shorter than the building length. The formula is simple: ridge length equals building length minus building width. This is because each gable end of a gable roof would sit flush at the wall, but on a hip roof the end planes slope back, consuming an amount equal to half the building width on each end. On a 40 Γ 28-foot building, the ridge is 40 β 28 = 12 feet long.
Ridge boards are typically one nominal size wider than the common rafter depth so they provide full bearing when the plumb-cut rafter ends are nailed against them. For example, 2Γ8 common rafters call for a 2Γ10 ridge board. For 2Γ6 common rafters, a 2Γ8 ridge board is standard. The ridge board itself carries no structural load in a conventionally framed roof β it is a nailing surface that holds the rafter pairs in alignment while framing proceeds.
Hip Roof vs Gable Roof β Which to Choose
Hip roofs cost more to frame than gable roofs because of the additional rafter cuts, the diagonal hip members, and the jack rafters. The material cost is similar for the same pitch, but labor hours are roughly 20β30% higher. That said, hip roofs earn back their premium in several ways. They shed wind better than gable roofs, making them the preferred choice in coastal areas and across the Southeast where hurricane loads govern design. They also shed water on all four sides, reducing the chance of water infiltration at a gable end wall. And the lower visual silhouette suits many architectural styles, from craftsman to colonial.
Gable roofs remain the dominant residential choice in lower-wind areas because they are faster and less costly to frame, they provide more attic volume under the end peaks, and ventilation through gable-end vents is straightforward. In most cold-climate regions where snow is the governing load, the simpler gable form is both sufficient and economical.
Frequently Asked Questions
What is a pyramid hip roof and how does it differ?
A pyramid hip roof has no ridge board β it comes to a single point at the apex. This happens when the building footprint is square (length equals width), so the ridge length formula (L β W) gives zero. All four rafter lines meet at one point. Pyramid hips are common on square towers, gazebos, and square bays. The calculator shows “Square hip” when it detects equal length and width.
Does the hip rafter length include the overhang?
The lengths this calculator returns are for the structural rafter span β from the wall plate to the ridge. Overhangs add to both the common and hip rafter lengths. For a standard 12-inch overhang, add approximately 1.05 feet to the common rafter length (for a 6:12 pitch) and about 1.5 feet to the hip rafter length to account for the diagonal corner projection. Confirm overhang dimensions with your building plans before cutting.
Can I use this calculator for unequal pitch hip roofs?
No β this calculator assumes equal pitch on all four faces. An unequal pitch hip roof requires separate calculations for each face, and the hip rafter geometry changes because the ridge is no longer centered over the building. Unequal pitch hip roofs are uncommon in standard residential construction but appear on additions where the addition roof must match an existing but different-pitched main roof.
How many hip rafters does a standard hip roof have?
A standard rectangular hip roof has four hip rafters β one at each corner. Each runs from a corner of the building’s wall plate diagonally up to one end of the ridge board. There are also jack rafters β shorter common-rafter-style pieces that run from the eave up to the hip rafter rather than to the ridge. Jack rafters decrease in length from the common rafter toward the corner in equal increments determined by the rafter spacing.
