ConstructionCalculators

Hip Roof Calculator

Enter the building length, width and pitch to get the hip and common rafter lengths, the ridge, the jack rafters and the roof area.

50 ft30 ft
Roof
ft
ft
in 12

You need

22' 6"hip rafter

4 hips at 19.5° · common rafter 16' 9-1/4" · ridge 20' 0"

Common rafterrun 15' 0", rise 7' 6", line length to the ridge
16' 9-1/4"
Ridgelength minus width
20' 0"
Jack rafters7 each side of each hip, 26‑13/16" apart in length, longest 15' 7‑13/16"
56
Roof area16.77 squares
1,677 sq ft

Hip Roof Rafter Lengths

On a 50 × 30 ft building at a 6/12 pitch, the common rafters are 16' 9-1/4" long and the four hips 22' 6", meeting a 20' 0" ridge. With rafters 24 inches on center, each hip has 7 jack rafters on each side, 56 in all, each 26-13/16" longer than the one before.

Lengths for a 30 ft wide roof by pitch, with the jack common difference at 16 and 24 inches on center:

PitchCommonHipJacks, 24 in
4/1215' 9-3/4"21' 9-9/16"25-5/16"
5/1216' 3"22' 1-3/8"26"
6/1216' 9-1/4"22' 6"26-13/16"
8/1218' 5/16"23' 5-7/16"28-7/8"
10/1219' 6-5/16"24' 7-7/16"31-1/4"
12/1221' 2-9/16"25' 11-3/4"33-15/16"

The lengths are line lengths, measured to the center of the ridge and to the outside of the wall. Take off half the ridge thickness for the commons, about 1 1/16 inch for the hips against a 1½ inch ridge, and add the tails for the overhang.

How a Hip Roof Is Framed

The default roof in plan, every rafter on 24 inch centers:

50 ft30 ft12345
  1. 1Ridge, 20' 0": the length minus the width
  2. 2Hip rafters, 22' 6", from each corner to the ridge
  3. 3Common rafters, 16' 9-1/4", along the ridge
  4. 4Jack rafters, 7 on each side of each hip
  5. 5King common at each end of the ridge

Common and hip rafter lengths on the same 30 ft span, in feet, by pitch:

Common rafterHip rafter
4/12
15' 9-3/4"
21' 9-1/2"
6/12
16' 9-1/4"
22' 6"
8/12
18' 3/8"
23' 5-3/8"
10/12
19' 6-3/8"
24' 7-7/16"
12/12
21' 2-1/2"
25' 11-3/4"
Common rafter, Hip rafter, in feet

How to Calculate Hip Roof Rafters

Everything follows from the run, half the width, and the pitch:

Common = run × slope factor; hip = √(2 × run² + rise²); jack difference = spacing × slope factorRun = 30 ÷ 2 = 15 ft; rise = 15 × 6 ÷ 12 = 7.5 ftCommon = 15 × 1.118 = 16.77 ftHip = √(2 × 15² + 7.5²) = 22.5 ftJack difference = 24 in × 1.118 = 26.83 inRidge = 50 − 30 = 20 ft

Jack rafter lengths for the default roof, to the center of the hip:

JackPositionLength
Jack 12 ft from the corner2' 2-13/16"
Jack 24 ft from the corner4' 5-11/16"
Jack 36 ft from the corner6' 8-1/2"
Jack 48 ft from the corner8' 11-5/16"
Jack 510 ft from the corner11' 2-3/16"
Jack 612 ft from the corner13' 5"
Jack 714 ft from the corner15' 7-13/16"

Each jack keeps the common rafters' spacing, so the same set of lengths repeats on all eight sides of the four hips. Cut one of each as a pattern and mark the rest from it.

Hip Roof Area, Squares and Ridge Cap

A hip roof has the same area as a gable with the same plan and pitch: 1,677 square feet, 16.77 squares, for the default. What changes is the trim. The four hips and the ridge add up to 110 ft of ridge cap, 5 bundles at 25 ft a bundle, and every shingle and sheet along a hip is cut at an angle, so allow about 15% waste instead of 10%.

Order the shingles, underlayment and ridge cap for the whole roof, and count the sheathing panels for the deck.

Hips With Two Different Pitches

The calculator assumes all four sides share one pitch, which puts every hip at 45° in plan. When the ends are steeper or flatter than the sides, the ridge height still comes from the sides, but the ends cover a different run. On the default house with 6/12 sides, the ridge is 7.5 ft up; 12/12 ends reach that height in 7.5 ft of run instead of 15, so the ridge grows from 20 to 35 ft and the hips swing off 45°.

Work out such a roof one plane at a time: commons for the sides at their pitch, commons for the ends at theirs, and the hip as the diagonal between the two runs. The jacks on each side of a hip then have different common differences.

Measuring an Existing Hip Roof

For reroofing, you don't need the framing, only the plan and the pitch. Measure the length and width of the roof from the ground along the eaves, overhangs included, and the pitch with a level and tape at the edge of the roof. Enter those, and the area comes out the same as if you had climbed up and measured every triangle and trapezoid.

Framing Rules for Hips

  • Size: hips and valleys 2 inches nominal or thicker, and at least as deep as the commons' cut end (IRC R802.4.3).
  • Support: braced at the ridge to a bearing partition, or designed to carry the load at that point (R802.4.3).
  • Low slopes: under a 3/12 pitch, the hips, valleys and ridge have to be engineered as beams (R802.4.4).
  • Dropping the hip: deepen the hip's seat cut so its top edges sit in the roof planes, about 1/4 inch for a 2× hip at 6/12; valleys aren't dropped.
  • Uplift: on hip roofs of 5/12 and steeper, the IRC lets you multiply the rafter-to-wall uplift forces by 0.70 (Table R802.11).

The hip's own birdsmouth is cut on its flatter pitch; lay out the seat and heel cuts for it. For a plain gable, use the rafter calculator.

Frequently Asked Questions

How do you calculate the length of a hip rafter?

Take the square root of twice the run squared plus the rise squared. On a 30 ft wide roof at 6/12, the run is 15 ft and the rise 7.5 ft, so the hip is √(2 × 15² + 7.5²) = 22.5 ft. Or multiply the run by the hip factor: 1.5 at 6/12.

What is the hip factor for a roof pitch?

The hip or valley length per foot of common run, √(pitch² + 288) ÷ 12: 1.453 at 4/12, 1.5 at 6/12, 1.563 at 8/12 and 1.732 at 12/12. The 288 is 12² + 12²: the hip covers 16.97 inches of plan for each 12 inches the common rafter covers.

How many jack rafters are in a hip roof?

On each side of each hip, one jack per rafter space from the corner to where the common rafters start: 7 at 24 inches on a 30 ft wide roof, 56 for the four hips. At 16 inches there are 88.

How much shorter is each jack rafter?

By the common difference: the rafter spacing × the slope factor. At 6/12 and 24 inches on center, 26-13/16"; at 16 inches, 17-7/8". The shortest jack is one common difference long, the next two, and so on.

How long is the ridge on a hip roof?

The building length minus its width, when all four sides have the same pitch: 50 − 30 = 20 ft. A square building has no ridge, only four hips meeting at a point.

How do I find the square footage of a hip roof?

The same way as a gable: the plan area, overhangs included, times the slope factor. 50 × 30 × 1.118 = 1,677 square feet at 6/12, 16.77 squares. The hips don't add area; they add cutting waste.

What size should a hip rafter be?

At least 2× stock, and at least as deep as the plumb cut on the end of the common rafters, by IRC R802.4.3, so in practice a size deeper than the commons. Below a 3/12 pitch, the IRC requires hips to be designed as beams.

What angle is a hip rafter?

Flatter than the commons, because it covers more run for the same rise: 19.5° on a 6/12 roof, where the commons are at 26.6°. Its pitch is the common rise over 16.97 inches, 6/16.97 here.

Is a hip roof better than a gable roof?

It has the same roof area on the same plan and pitch, but more ridge cap, more cut waste and more labor. In return, on hip roofs of 5/12 and steeper the IRC lets you multiply the tabulated rafter uplift forces by 0.70 (Table R802.11).

Can a hip roof be framed with trusses?

Yes. Trusses can frame a hip roof as well as a gable. Each truss comes with a design drawing, which the building official must approve before the trusses go up (IRC R802.10.1).

Sources

  • Dunkley, D. (1999, August 1). Efficient rafter cutting. Journal of Light Construction.
  • International Code Council. (2020). 2021 International Residential Code (Sections R802.4.3, R802.4.4, R802.10.1; Table R802.11).
  • Naval Education and Training Command. (n.d.). Roof framing. In Builder (NAVEDTRA training manual, Chapter 2).
  • Swanson Tool Co. (n.d.-a). Cutting a hip or valley rafter. The Blue Book, Pro Reference.
  • Swanson Tool Co. (n.d.-b). Cutting jack rafters. The Blue Book, Pro Reference.

Updated .

Cite this page as:

Daniel, P. Hip Roof Calculator. Available at: https://constructioncalculators.com/hip-roof-calculator/. Accessed: October 28, 2026.