Hip Rafter Length Calculator
- The common rafters run half the span: 24 / 2 = 12.00 ft of run, rising 6.00 ft at a 6-in-12 pitch.
- In plan the hip crosses the corner at 45 degrees, so its horizontal length is the run times the square root of 2: 12.00 x 1.41421 = 16.97 ft.
- Combine plan length and rise: the square root of (16.97^2 + 6.00^2) = 18.00 ft - the theoretical length before the ridge shortening and tail cuts a framer applies on site.
This hip rafter length calculator gives you the theoretical length of a hip rafter from the span and pitch, or from the common run. A hip rafter runs from the wall corner to the ridge at 45 degrees in plan, so its horizontal length is the common run times the square root of 2, and the rafter length follows from the pitch. On a 24 ft span at a 6-in-12 pitch, the common run is 12 ft, the plan length is 16.97 ft and the theoretical hip length is exactly 18.00 ft. A 30 ft span at an 8 pitch gives a hip of 23.45 ft, and a 20 ft span at a 4 pitch gives 14.53 ft.
The method behind the answer is the standard framing relationship framers already use on the job: the length per foot of common run, which is 1.500 ft at a 6 pitch, is the number they carry, and multiplying it by any run gives the hip. That is why the result matches the accepted approach for hip rafter layout rather than a shortcut. Treat the figure as the theoretical length before ridge shortening, cheek cuts and tail adjustments are applied on site. This page shows the formula, the step-by-step workings, worked examples and the sources so you can check every number yourself.
Worked examples
24 ft span, 6 pitch
A 24 ft span at a 6-in-12 pitch needs a theoretical hip length of 18.00 ft. (24 ft · 6 in)
| Hip rafter length (theoretical) | 18.00 ft |
| Total rise | 6.00 ft |
| Length per foot of common run | 1.500 ft |
30 ft span, 8 pitch
A 30 ft span at an 8 pitch needs 23.45 ft. (30 ft · 8 in)
| Hip rafter length (theoretical) | 23.45 ft |
| Total rise | 10.00 ft |
| Length per foot of common run | 1.563 ft |
20 ft span, 4 pitch
A 20 ft span at a shallow 4 pitch needs 14.53 ft. (20 ft · 4 in)
| Hip rafter length (theoretical) | 14.53 ft |
| Total rise | 3.33 ft |
| Length per foot of common run | 1.453 ft |
Hip roof geometry
A regular hip roof has four sloping planes that meet at a central ridge. Where two planes intersect, the line of that intersection is a hip rafter, and it runs from a wall corner up to the ridge. Because the roof is regular — the same pitch on every plane — the hip sits at 45 degrees in plan view, the view from directly above. Each roof plane rises at the same rate per horizontal foot, so the hip must travel an equal distance across the plan in both directions to stay on the meeting line. Equal travel in both directions is exactly what a 45-degree line does, which is why the hip appears to split each corner squarely when you look straight down on the drawing.
That 45-degree plan angle is the key to the arithmetic. A 45-degree line in plan forms the diagonal of a square whose sides are the runs of the two adjacent common rafters. For a regular roof those two runs are equal, so the hip's horizontal length is the common run times the square root of 2. The hip rafter also carries the jack rafters — the shorter rafters that step up the roof plane and die into the hip's side — so it is longer and heavier loaded than a common rafter of the same pitch, and it is the member the layout revolves around. A hip rafter length calculator applies this geometry directly: it takes the run and pitch, finds the plan length, and then raises that plan length to the roof slope to get the true length along the rafter.
A worked example makes the relationship concrete. On a 24 ft span at a 6-in-12 pitch, the common run is 12 ft, the plan length is 16.97 ft and the theoretical hip length is exactly 18.00 ft. The same geometry scales to other roofs: a 30 ft span at an 8 pitch gives a hip of 23.45 ft, and a 20 ft span at a 4 pitch gives 14.53 ft. Framers often skip the two-step calculation and carry a single number instead. The length per foot of common run — 1.500 ft at a 6 pitch — is multiplied by any run to get the hip. That multiplier packs the square root of 2 and the pitch into one value you can use on the job without reworking the triangle each time.
Treat every result as the theoretical length. It is measured before ridge shortening, cheek cuts and tail adjustments are applied on site. The hip must be shortened where it meets the ridge to fit against the common rafters, its top end is cut with cheeks that form the intersection of two roof planes, and the tail is adjusted for the overhang and fascia line. Those details depend on the ridge thickness and the framing method, so they are handled by the person cutting the rafter, not by the geometry alone. Use the hip rafter length calculator to get the theoretical length and the per-foot multiplier, then make the site adjustments to match the actual ridge and eave conditions.
How the hip length is calculated
A hip rafter is the diagonal member that runs from an outside wall corner up to the ridge. Because it sits at 45 degrees in plan, its horizontal travel is longer than that of a common rafter in the same roof. The hip rafter length calculator follows the same four steps a framer would use on paper: find the common run, find the total rise from the pitch, stretch the run diagonally in plan, then apply the Pythagorean theorem to the plan length and the rise.
Start with the common run, which is half the building span. On a 24 ft span the common run is 12 ft. Next, turn the pitch into a total rise. A 6-in-12 pitch rises 6 inches for every 12 inches of run, so over 12 ft of run the rise is 6 ft. Now handle the diagonal in plan. Since the hip runs at 45 degrees in plan, its horizontal length is the common run times the square root of 2. For the 12 ft run that gives a plan length of 16.97 ft. Finally, apply Pythagoras: the hip length is the square root of the plan length squared plus the rise squared. With 16.97 ft and 6 ft, the theoretical hip length comes out to exactly 18.00 ft.
That 18.00 ft figure is the number the calculator reports for the 24 ft span at a 6-in-12 pitch. The same method scales to other roofs. A 30 ft span at an 8 pitch gives a hip of 23.45 ft, and a 20 ft span at a 4 pitch gives 14.53 ft. The pitch changes the rise, and the span changes the run, but the sequence of steps stays the same.
Framers often skip the full calculation and carry a single multiplier instead. The length per foot of common run at a 6 pitch is 1.500 ft. Multiply that number by any run and you get the hip length directly: 12 ft of run times 1.500 ft gives 18.00 ft. This is why the per-foot value is the number many crews keep in their heads or on a card in their pouch.
- Common run: half the span — 12 ft on a 24 ft span.
- Total rise: pitch applied to the run — 6 ft at a 6-in-12 pitch over 12 ft.
- Plan length: run times the square root of 2 — 16.97 ft.
- Hip length: square root of plan length squared plus rise squared — exactly 18.00 ft.
- Shortcut: 1.500 ft of hip per foot of common run at a 6 pitch.
The unit-length shortcut
Framers who lay out hips every day rarely run the full calculation from scratch. Instead they carry a small set of numbers in their heads or on the back of a speed square: the hip length per foot of common run for each pitch they work with. That single number is the whole hip rafter length calculator compressed into one multiplier. Once you know it, any hip on that pitch is one multiplication away.
The number comes straight from the geometry. A hip rafter leaves the wall corner and meets the ridge at 45 degrees in plan, so its horizontal run across the plate is the common run times the square root of 2. Add the rise over that plan distance with the Pythagorean theorem and you have the theoretical hip length. Now set the common run to one foot and repeat the arithmetic: the answer is the length per foot of run. It is the same formula you would use for a full roof, just with a run of one.
At a 6-in-12 pitch that multiplier works out to 1.500 ft. Multiply it by any common run and you have the hip. On a 24 ft span the common run is 12 ft, the plan length is 16.97 ft, and 12 times 1.500 gives a theoretical hip length of exactly 18.00 ft. The shortcut and the longhand agree, which is why the table is trusted on the job.
The same check holds at other pitches. A 30 ft span at an 8 pitch gives a hip of 23.45 ft, and a 20 ft span at a 4 pitch gives 14.53 ft. Each of those results is the per-foot multiplier for that pitch applied to the run, nothing more. The table is not a separate method; it is the formula with the run already divided out.
Remember what the number returns. The result is the theoretical length of the hip before ridge shortening, cheek cuts and tail adjustments are applied on site. Use the per-foot figure for fast estimating and rough cutting, then make the final adjustments at the ridge and the tail where the actual framing demands them.
- 6-in-12 pitch: 1.500 ft of hip per foot of common run
- 24 ft span at 6-in-12: common run 12 ft, plan length 16.97 ft, hip 18.00 ft
- 30 ft span at 8 pitch: hip 23.45 ft
- 20 ft span at 4 pitch: hip 14.53 ft
From theoretical to actual
The number a hip rafter length calculator returns is a theoretical length. It measures the rafter along its centerline from the outside corner of the wall to the centerline of the ridge. That is the right starting point, but it is not the cut length of the board. Before you mark and cut, three things change the number: the ridge shortening, the cheek cuts at both ends, and the tail extension for the eaves overhang.
Ridge shortening comes first. A hip rafter does not run to the centerline of the ridge; it stops at the side face, because the common rafters and the ridge itself take up that space. The amount removed is half the ridge thickness, measured along the hip rather than square across it. Because the hip meets the ridge at an angle, that measurement follows the slope of the hip, not the flat thickness of the lumber. Deduct it from the theoretical length before anything else. Skip this step and the hip sits proud of the ridge, and every jack rafter that frames into it lands in the wrong place.
The cheek cuts are where the theoretical number and the real board part ways most often. Both ends of a hip rafter are cut on a bevel, so the saw passes through the member at an angle and the cut face is longer than a square cut would be. At the top, the cheek cuts form the point that meets the ridge. At the bottom, they form the seat and plumb cut at the wall plate. These cuts are laid out from the theoretical line, and the layout marks are what you actually follow with the saw. The calculator gives you the length; the cheek cuts are geometry you strike on the board itself.
The tail extension is the last adjustment. The theoretical length stops at the outside face of the wall, but the rafter has to carry past it to form the eaves overhang. Add the tail run, measured in plan and converted to length along the hip the same way as the main run, and remember that the overhang on a hip is measured to the outside corner of the building, not to a side wall. The tail also needs its own plumb cut and, where the fascia wraps the corner, a mitered end.
This is why the length per foot of common run matters so much in practice. At a 6-in-12 pitch that figure is 1.500 ft, and multiplying it by any run gives the hip. On a 24 ft span at a 6-in-12 pitch, the common run is 12 ft, the plan length is 16.97 ft, and the theoretical hip length is exactly 18.00 ft. A 30 ft span at an 8 pitch gives 23.45 ft; a 20 ft span at a 4 pitch gives 14.53 ft. Treat every one of those numbers as a theoretical length and apply the site adjustments before you cut.
- Ridge shortening: deduct half the ridge thickness measured along the hip.
- Cheek cuts: beveled cuts at the top point and the bottom seat and plumb cut.
- Tail extension: add the overhang, converted from plan to length along the hip.
FAQs
How do you calculate hip rafter length?
Take the common run, which is half the span, and multiply it by the square root of 2 to get the plan length. Then combine that plan length with the total rise using the Pythagorean theorem. On a 24 ft span at 6 pitch, the run is 12 ft and the hip rafter length comes to 18.00 ft.
Why is the hip at 45 degrees?
On a regular hip roof, both slopes have the same pitch. Because the pitches match, the hip bisects the 90-degree corner in plan, which puts it at exactly 45 degrees. That 45-degree plan angle is what lets you use the square root of 2 as a simple multiplier on the common run.
What is the hip length per foot of run?
At a 6-in-12 pitch, the hip length is 1.500 ft of hip per foot of common run. That single multiplier lets you size the hip for any building: just multiply 1.500 by the common run. A larger or smaller span changes only the run, not the per-foot ratio at that pitch.
Is this the cutting length of the rafter?
No. The calculator gives the theoretical length. The framer still shortens the rafter for the ridge thickness and cuts the cheeks and the tail before the board is final. Treat the number as the starting dimension, then adjust for the ridge and the overhang details at the job site.
Does the formula work for unequal pitches?
No. The formula assumes a regular hip with equal pitches meeting at a square corner. If the two roof slopes differ, the hip is irregular, and you must work out the plan angles separately. The simple square-root-of-2 shortcut does not apply once the pitches are unequal.
How long is the hip on a 30 ft span at 8 pitch?
On a 30 ft span at 8 pitch, the hip rafter is 23.45 ft. That comes from a 15 ft run, which is half the 30 ft span, rising 10 ft. Combining the plan length from the 15 ft run with that 10 ft rise by the Pythagorean theorem gives the 23.45 ft result.