Hip Rafter Calculator

Calculate hip rafter length, backing angle, and compound miter cuts for hip roof framing. Supports standard and irregular hip roofs.

ft
:12
ft
in
in
ft
Hip Rafter Run
16.97 ft
diagonal in plan view
Rise
6'-0″
6:12 pitch
Hip Line Length
18'-0″
theoretical to ridge
Adjusted Length
17'-10.9″
shortened 1.1″ for ridge
Total Hip Length
20'-1.9″
with overhang
Backing Angle
17.5°
top edge bevel
Stock Length
21 ft
purchase length
HAP
7.75″
height above plate

Length Breakdown

Main 17'-10.9″
Overhang 2'-3″

Cut Angles

CutAngleNotes
Plumb Cut (top)70.5°From vertical at ridge
Seat Cut (birdsmouth)19.5°Level cut at plate
Side Cut (cheek)45°Compound angle at ridge
Backing Angle17.5°Bevel rip along top edge

Pitch Reference

PitchAngleHip RunHip LengthBacking°
4:1218.4°16.97 ft17'-5.2″12.6°
6:1226.6°16.97 ft18'-0″17.5°
8:1233.7°16.97 ft18'-9.1″21.4°
10:1239.8°16.97 ft19'-8.4″24.4°
12:1245.0°16.97 ft20'-9.4″26.6°
Planning notes, formulas, and examples

About the Hip Rafter Calculator

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.

When This Page Helps

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.

How to Use the Inputs

  1. Enter the common rafter run (horizontal distance from wall plate to ridge center).
  2. Enter the roof pitch (rise per 12 inches of run).
  3. Enter the overhang distance (measured horizontally).
  4. Read the hip rafter line length, total length with overhang, and cut angles.
  5. Use the backing angle to set your saw for the top-edge bevel.
Formula used
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)

Example Calculation

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.

Tips & Best Practices

  • Hip rafters are typically one size deeper than common rafters to maintain structural depth at the hip line.
  • The hip rafter backing bevel is cut along the top edge so the roof sheathing lies flat across the hip.
  • Use a framing square with the 17-inch mark (instead of 12) for hip rafter layout.
  • For equal-pitch roofs, the hip always uses 17 as the run constant on the framing square.
  • Pre-cut and test-fit one hip before cutting all four—compound angles leave no room for error.
  • Some framers prefer to drop the hip rafter instead of backing it, lowering it by the backing height.

Hip Roof Geometry Basics

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 Rafter Layout

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.

Irregular Hip Roofs

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.

Sources & Methodology

Last updated:

Frequently Asked Questions

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