Frequently Asked Questions
How does the Hip & Valley Rafter Length (√(144+144+Rise²)/12), Jack Rafter Decrement & Backing Angle Calculator calculate results?
It evaluates CommonFactor = √(12² + Pitch²)/12; HipFactor = √(17² + Pitch²)/12; JackDiff = (Spacing_in / 12) × CommonFactor directly in your browser and updates three custom SVG visualizations in real time.
Why is the hip factor for a 6 in 12 roof exactly 1.5?
The hip runs 16.97 inches for every 12 inches of common run, and rises 6 inches over that distance. The square root of 288 plus 36 is exactly 18, and 18 divided by 12 is 1.5. So on any 6 in 12 regular hip roof, the hip line length is the common run times 1.5. The default 14 foot run gives 21 feet.
Should I enter the span or the run?
Enter the full span, the building width from the outside of one wall plate to the outside of the other. The page divides it by two to get the run. If you type the run instead, every length on the page will come out half as long as it should. The interpretation sentence shows the run it used, so check it.
Do I cut the rafters to the lengths shown?
Not directly. The page gives theoretical line lengths to the center of the ridge with no overhang. Subtract half the ridge thickness from the commons and jacks, and a larger allowance from the hip, then add any overhang. Lay out and test one common rafter before cutting the rest, so you catch any input mistakes early.
Why does the jack difference not change with the span?
The difference depends only on rafter spacing and pitch. Each jack has 16 inches less run than its neighbour at 16 inch centers, whatever the building width, and the length difference is that run times the common rafter factor. The span sets how many jacks there are and how long the longest is, not the step between them.
Is a valley rafter the same length as a hip?
On a regular roof where both planes have the same pitch, yes. Both run along the 45 degree diagonal in plan and rise the same height, so the same factor applies. If the two roof planes have different pitches, the valley does not sit at 45 degrees in plan and this page's figure no longer applies.
What angle do I set on the saw for the hip plumb cut?
The page reports the hip slope, 19.47 degrees on the default, which is the angle off square most framers set for the hip's plumb and seat cuts. You can also lay it out with 6 and 17 on a framing square. The cheek or side cut where the hip meets the ridge is a separate compound angle the page does not report.
How many jack rafters will a hip need?
Divide the run by the spacing and round down to get the jacks on each side of the hip between the corner and the last common. A 14 foot run at 16 inch centers gives ten full spaces. Jacks come in pairs, one on each face, so a single hip typically needs double that number, before counting any at the ends.
Why does the page refuse a pitch of zero?
The hip and valley lengths only make sense on a sloping roof, so the engine accepts a pitch above 0 and up to 24 in 12. Zero, or anything above 24, returns a message instead of a result. A flat roof has no hip or valley rafters in the usual sense. Check the pitch is entered as inches of rise per 12, not as degrees.
Does rafter spacing change the hip or common length?
No. Changing the spacing from 16 to 24 inches leaves the hip at 21 feet and the common at 15.65 feet on the default. Only the jack rafter difference changes, from 17.89 to 26.83 inches, because wider spacing puts more run between neighbouring jacks. The hip and common depend on run and pitch alone.
Why does the printed formula use 17 when the result uses 16.97?
Seventeen is the rounded hip run per foot printed on many framing squares. The engine uses the exact value, the square root of 288 inches squared. On the default the rounded figure would give a hip of about 21.03 feet instead of 21, a difference of under half an inch over the whole rafter, which is within normal layout tolerance.
Does a steeper roof make the jack difference larger?
Yes. The jack difference is spacing times the common rafter factor, and that factor grows with pitch. At 16 inch centers, 4 in 12 gives 16.87 inches, 6 in 12 gives 17.89 inches, 8 in 12 gives 19.23 inches and 12 in 12 gives 22.63 inches. The extra length is the slope a steeper rafter has to cover.
A 21 foot hip on a 28 foot span at 6 in 12
With its starting values the page frames a regular hip roof over a building 28 feet wide, pitched at 6 in 12, with rafters at 16 inches on center. Half the span gives a common rafter run of 14 feet. The result reports a hip or valley rafter line length of 21 ft (252 in), a common rafter line length of 15.65 ft, a jack rafter difference of 17.89 inches and a hip rafter pitch angle of 19.47 degrees.
Every one of those numbers is a line length or angle measured along the theoretical center lines of the framing. They are what you would get on a perfect drawing with members of zero thickness meeting at a single point. The real cut lengths are slightly different once you allow for the ridge board, the thickness of the hip and any overhang, and the page does none of that. The figures are the starting point a framer lays out from, not the final dimension to pull on the saw.
The roof is also assumed to be regular, meaning both roof planes that meet at the hip have the same pitch, so the hip runs at 45 degrees in plan. Unequal pitches need a different calculation.
Why the hip runs 16.97 inches for every foot
A common rafter climbs 6 inches for every 12 inches of level run. The hip sits on the diagonal of a square, so for every 12 inches the common rafter travels, the hip travels the diagonal of a 12 by 12 square in plan. That diagonal is 12 times the square root of 2, about 16.97 inches. The hip still climbs the same 6 inches over that longer run, because it reaches the same ridge height.
So the hip's own slope is 6 in 16.97. The engine gets the length per foot of common run from the square root of 12 squared plus 12 squared plus the rise squared, which is the square root of 288 plus the pitch squared, divided by 12. For 6 in 12 that is 288 plus 36, whose square root is exactly 18, so the hip factor is 18 over 12, or 1.5. Multiply by the 14 foot run and you get 21 feet.
The same answer comes out of the three-dimensional route. The diagonal plan run of the hip is 14 times the square root of 2, about 19.80 feet. The total rise is 14 times 6 over 12, which is 7 feet. The square root of 19.80 squared plus 7 squared is 21 feet. Both methods agree, and that agreement is a good check on any figure the page gives you.
The page's printed formula uses 17 squared in place of 288, and that is the rounded figure many framing squares carry. It gives a hip of about 21.03 feet on the default rather than 21, a difference of well under half an inch.
Checking the common rafter and the hip angle
The common rafter factor is the square root of 12 squared plus the pitch squared, divided by 12. At 6 in 12 that is about 1.118, and 14 feet times 1.118 gives the 15.65 ft line length the page reports. This is the length from the outside of the wall plate to the center of the ridge, measured along the top edge line of the rafter.
The 19.47 degree figure is the slope of the hip from horizontal, the angle whose tangent is 6 over 16.97. The page labels it as the hip rafter slope angle, measured from horizontal. In practice it is also the angle you would set on a saw or speed square to cut the hip's plumb and seat cuts, laid out with 6 and 17 on the framing square. The common rafter at 6 in 12 is steeper, at about 26.6 degrees, because it reaches the same height over a shorter run.
Changing the pitch shows the pattern. At 8 in 12 on the same span, the page gives a common rafter of 16.83 ft, a hip of 21.89 ft, a jack difference of 19.23 inches and a hip angle of 25.24 degrees. At 12 in 12 the hip grows to 24.25 ft, the common to 19.8 ft and the hip angle to 35.26 degrees.
Stepping down the jack rafters
Jack rafters run from the wall plate up to the hip, each one shorter than the last as they approach the corner. On a regular hip each jack sits on a common rafter line, so its length is its own run times the common rafter factor. If jacks are spaced 16 inches apart, each one is 16 inches shorter in run than its neighbour and 16 times 1.118, or 17.89 inches, shorter in length. That is the jack rafter difference the page reports.
Starting from the corner, the shortest jack at 16 inches of run is 17.89 inches long on its line, the next 35.78, then 53.67, 71.56 and 89.45 inches, then about 8.95 feet, and so on, each adding the same 17.89 inches until you reach a full common. With a 14 foot run, there are ten full 16 inch spaces before the common rafter at the end of the hip.
Switching to 24 inch centers changes the difference to 26.83 inches, and 19.2 inch centers gives 21.47 inches. The hip and common lengths do not change with spacing. Only the jack step does, because spacing sets the run difference between neighbouring jacks.
The same difference applies to valley jacks, which run from a valley rafter up to the ridge. In both cases they come in pairs, one on each side of the hip or valley, with opposite cheek cuts.
Span and pitch, the only inputs that move the lengths
The span you enter is the full building width, measured from the outside of one wall plate to the outside of the opposite one. The page halves it to get the run. Entering the run by mistake halves every length. With a 17 ft span the page gives a 9.5 ft common and a 12.75 ft hip. With a 42 ft span it gives a 23.48 ft common and a hip of 31.5 ft (378 in).
Because the hip factor depends only on the pitch, every length scales directly with span. Double the span and every rafter doubles. That makes it easy to sanity check: on any 6 in 12 roof the hip should always be exactly 1.5 times the run.
Pitch is entered as inches of rise per 12 inches of run. A 6 in 12 roof is 6, not 0.5 and not 26.6 degrees. The page accepts a pitch above 0 and up to 24 in 12. A pitch of 0 or anything over 24 returns a message instead of a result, and so does a span or rafter spacing of zero. Typing 0.5 meaning a half pitch is accepted, but it describes an almost flat roof, so check the interpretation sentence repeats the pitch you meant.
Shortening, overhang and cuts the page leaves to you
The line lengths assume the rafters meet at the center of the ridge. In a real frame the common rafter is shortened by half the ridge board thickness, measured level. The hip loses more, because it meets the ridge and the end common rafters at an angle, and is usually shortened by half the 45 degree thickness of the ridge. The page does not apply either deduction.
Overhang is not included either. If the rafters run past the wall, add the overhang run times the relevant factor to each member: the common factor for commons and jacks, and the hip factor for the hip.
The result lists only the hip slope, not any compound cut. Side or cheek cuts on the jacks and the hip, and any backing or dropping of the hip so the roof sheathing sits flat, need to be worked out separately or taken from the tables on a framing square.
Finally, a valley on a regular roof has the same line length as a hip of the same run and pitch. That only holds when both roof planes share the same pitch and the valley runs at 45 degrees in plan.
Using the numbers on a real roof
Measure the actual span from plate to plate once the walls are up, rather than relying on the plan dimension, because walls are rarely exactly to drawing. Enter that span and the pitch from the drawings and note the four outputs.
Lay out one common rafter first, apply the ridge shortening and any overhang, cut it and test it in place. If it fits, the pitch and span are right and you can trust the hip and jack figures that came from the same inputs. Then lay out the hip from its line length, apply its own shortening and check it against the 21 foot figure on the default or whatever your run gives.
For the jacks, cut the longest pair first and step down by the jack difference each time. Mark each jack's length on the hip as you go, so a slip in one cut does not travel down the line. Keep the stack in order, since the pairs on either side of a hip are mirror images and easy to mix up.