Reference guide · Rafter lengths, cuts and birdsmouth
Hip rafter calculator: length formula and cuts
By the Mirage Interactive team · Last checked
A hip rafter runs diagonally from the corner of the building up to the ridge. On a regular roof (equal pitches, walls at right angles) its run is the common rafter run times the square root of 2, so it is longer and sits at a lower angle than the common rafters.
The table gives the lengths as factors per foot of common run, so you can multiply by the run of your own roof. The jack rafters between the hip and the eaves each step down by a fixed amount at your spacing.
The short answer
Hip length per foot of common run = square root of (pitch squared + 288) / 12, where pitch is the rise per 12 of run. At 6/12 that is exactly 1.5000.
Common rafter length per foot of run = square root of (pitch squared + 144) / 12. Hip backing angle = arctan(pitch / square root of (pitch squared + 288)).
Tables
Length factors and angles for a regular hip roof by pitch. Angles are in degrees. The second table gives the common difference of jack rafter length in inches along the rafter. Use your browser's print command to print this page: the tables print without the navigation.
| Pitch | Common rafter per ft of run | Hip per ft of common run | Hip angle above horizontal (deg) | Jack cut line on face (deg) | Hip backing angle (deg) |
|---|---|---|---|---|---|
| 3/12 | 1.0308 | 1.4361 | 10.02 | 44.13 | 9.87 |
| 4/12 | 1.0541 | 1.4530 | 13.26 | 43.49 | 12.92 |
| 5/12 | 1.0833 | 1.4743 | 16.42 | 42.71 | 15.78 |
| 6/12 | 1.1180 | 1.5000 | 19.47 | 41.81 | 18.43 |
| 7/12 | 1.1577 | 1.5298 | 22.42 | 40.82 | 20.87 |
| 8/12 | 1.2019 | 1.5635 | 25.24 | 39.76 | 23.09 |
| 9/12 | 1.2500 | 1.6008 | 27.94 | 38.66 | 25.10 |
| 10/12 | 1.3017 | 1.6415 | 30.51 | 37.53 | 26.92 |
| 11/12 | 1.3566 | 1.6853 | 32.95 | 36.40 | 28.54 |
| 12/12 | 1.4142 | 1.7321 | 35.26 | 35.26 | 30.00 |
Source: computed by the site build from the formulas below.
| Pitch | 12 in spacing | 16 in spacing | 24 in spacing |
|---|---|---|---|
| 3/12 | 12.37 | 16.49 | 24.74 |
| 4/12 | 12.65 | 16.87 | 25.30 |
| 5/12 | 13.00 | 17.33 | 26.00 |
| 6/12 | 13.42 | 17.89 | 26.83 |
| 7/12 | 13.89 | 18.52 | 27.78 |
| 8/12 | 14.42 | 19.23 | 28.84 |
| 9/12 | 15.00 | 20.00 | 30.00 |
| 10/12 | 15.62 | 20.83 | 31.24 |
| 11/12 | 16.28 | 21.71 | 32.56 |
| 12/12 | 16.97 | 22.63 | 33.94 |
Source: computed by the site build from the formulas below.
Formulas
- Hip length
- hip length = common run x square root of (pitch squared + 288) / 12
- Pitch is the rise per 12 inches of run. The factor comes from a hip run of 12 x square root of 2 per 12 of common run. This is the theoretical length to the centre line of the ridge, before any allowance for ridge thickness, overhang or tail.
- Hip angle above horizontal
- angle = arctan(pitch / (12 x square root of 2))
- The slope angle of the hip. The plumb cut at the ridge is that angle measured from vertical, which is 90 degrees minus it.
- Hip backing angle
- backing = arctan(pitch / square root of (pitch squared + 288))
- The bevel on each top edge of the hip so the jack rafters lie flat against it.
- Jack rafter
- cut line angle = arctan(12 / square root of (pitch squared + 144)) common difference = spacing x square root of (pitch squared + 144) / 12
- The cut line angle is measured on the top face from the rafter edge. The common difference is the amount each successive jack is shorter, measured along the rafter.
Worked example
A 6/12 regular hip roof, 12 feet of common run
- The common rafter factor is square root of (36 + 144) / 12 = 1.1180, so the common rafter is 12 x 1.1180 = 13.416 feet.
- The hip factor is square root of (36 + 288) / 12 = 1.5000, so the hip is 12 x 1.5000 = 18.000 feet.
- The hip's angle above horizontal is arctan(6 / 16.97) = 19.47 degrees and the backing angle is 18.43 degrees.
- At 16 inch spacing the jack rafters step down by 17.89 inches each.
Things to watch
- These factors are for a regular hip roof: equal pitches, walls at right angles. Irregular roofs, dormers and unequal pitches need their own layout.
- The length is theoretical, to the centre line of the ridge. Subtract half the ridge thickness (along the hip), and add overhang and tail yourself.
- Check the fit on a scrap piece before you cut the run. This page does not check spans, sizes, loads or code compliance.
Related guide: Rafter length and pitch table
More from this family: Birdsmouth cut depth calculator: seat, heel and share of the rafter · Rafter length calculator with overhang and ridge board · Shed roof rafter length calculator: rise, run and rafter length
Skip the arithmetic
Roof Framing Calculator & Cuts
Roof Framing Calculator & Cuts gives hip and valley lengths, side cuts and backing angles for regular roofs, and a jack rafter table at your spacing. One-time purchase · No subscription · Price shown in your store. Works offline, no ads, no account.
Questions
What is the hip rafter length formula?
Common run x square root of (pitch squared + 288) / 12, with pitch as the rise per 12 of run and the length in the same unit as the run.
Why 288?
288 is 2 x 12 x 12. The hip runs along the diagonal of a square, so its run per 12 of common run is 12 x square root of 2.
Is a valley rafter the same?
On a regular roof a valley has the same length factors as a hip. The cuts are mirrored.
