Calculate hip rafter length, backing angle, and compound miter cuts for hip roof framing. Supports standard and irregular hip roofs.
Hip rafters run diagonally from the wall corner to the ridge on a hip roof, creating the characteristic sloped edges at each end of the building. Calculating hip rafter length requires understanding that the hip travels at a 45-degree angle in plan view while also climbing the pitch of the roof.
This hip rafter calculator computes the line length of a hip rafter from the common rafter run and roof pitch. For equal-pitch roofs (where both roof planes have the same slope), the hip rafter run is the common rafter run times the square root of 2, and the hip pitch per foot is rise per 17 inches of run rather than per 12 inches.
The calculator also provides the backing angle (the bevel cut along the top edge of the hip rafter) and the compound miter angles for the plumb and cheek cuts at the ridge. These are the trickiest cuts in roof framing, and having accurate numbers prevents costly mistakes.
Hip rafter geometry involves compound angles that are difficult to calculate by hand. This calculator gives you the exact rafter length and cut angles, preventing the trial-and-error approach that wastes time and material on hip roofs. Data-driven calculations reduce financial risk by ensuring that material orders, labor estimates, and project budgets reflect actual requirements rather than rough approximations.
Hip Run = Common Run × √2 Hip Line Length = √(Hip Run² + Rise²) Or: Hip Length = Common Run × √2 / cos(pitch angle) Backing Angle = arctan(sin(pitch angle) / √2)
Result: 19'-0″ hip rafter length
With a 12-ft common run and 6:12 pitch, the rise is 6 ft. Hip run = 12×√2 = 16.97 ft. Hip line length = √(16.97²+6²) = √324 = 18.0 ft. Adding overhang on the hip slope brings total to about 19.0 ft.
A hip roof has sloped ends instead of vertical gables. The hip rafter forms the diagonal line where two adjacent roof planes meet. For a rectangular building with equal pitches on all sides, the hip sits at exactly 45° in plan view, making the geometry predictable and the calculation straightforward.
Jack rafters are shorter rafters that run from the wall plate to the hip rafter. They decrease in length at a constant increment (the common difference) as they approach the corner. The common difference equals the jack rafter spacing divided by cos(pitch angle) for each increment.
When the two roof planes meeting at a hip have different pitches, the hip rafter no longer sits at 45° in plan. The geometry requires solving the hip angle from the two different pitches and recalculating the hip length using trigonometry specific to unequal pitches.
The hip rafter travels diagonally in plan at 45° to the common rafters. For every 12 inches the common rafter runs, the hip runs 12×√2 = 16.97″, rounded to 17 inches. So hip pitch is expressed as rise per 17 inches of run.
The backing angle is a bevel cut along the top edge of the hip rafter. Since the hip sits between two sloped roof planes, its top edge must be beveled so sheathing lies flat. The backing angle depends on the roof pitch.
Yes. Dropping the hip means lowering the birdsmouth cut by the backing height amount. This achieves the same result as beveling the top edge but is simpler to execute. The drop distance equals the hip backing height.
The hip rafter connects at the corner of the ridge, typically with a compound cheek cut that fits against both the ridge board end and the last common rafter. Some framers use a plumb cut with a short return.
Hip rafters should be at least one size deeper than common rafters because they carry a larger tributary area. For 2×8 commons, use a 2×10 or 2×12 hip. Always check with span tables or an engineer.
Yes. The overhang adds length along the hip slope. The overhang on the hip is the common rafter overhang times √2 (about 1.414), adjusted for the pitch angle.