Hip Roof Calculator: rafters, hips and area

How it's calculated. With equal pitches, hip roof area = plan area with overhangs × √(1 + (pitch/12)²). The ridge is length − width; each hip runs from a corner to the end of the ridge.
40' × 28', 6/12, 12" eaves: 42' × 30' × 1.118 = 1,409 ft² · ridge 12' · hip 22' 6" · 106 rafters
01

Building and pitch

ftin
ftin
/12
in
02

Rafters

Rafter size
Rafter spacing
Grade
03

Roofing and loads

psf
Sheathing
Common rafter length
16' 9¼"
40' 0" × 28' 0" · 6/12 · 2x8 @ 16″
Rafters106 · 20 common · 2 end · 80 jacks · 4 hips
Ridge height (rise)7' 0"
Ridge board12' 0"
Hip rafter22' 6" · 2x10 or deeper
Roof area1,409 ft² · 15.5 squares with waste
OSB sheets48
Drip edge (eaves + rakes)144 ft
Roof dead weight21,131 lb
Rafter run 14' 0" within the 14' 5⅜" maximum (AWC method)

Plan and 3D model

40' 0" × 28' 0" · 6/12 · 2x8 @ 16″
PLAN40' 0"28' 0"DELIMETRA · FT-IN
Drag to rotate · scroll to zoom
run × √(1 + (pitch/12)²) + tailRafter26.6°Slopes14' 5⅜"Max rafter span1,409 ft²Roof area
Your local prices
$
$
$

Prices are not pre-filled: lumber and roofing prices change with the market.

How we calculate

Rafter length is the horizontal run times the slope factor √(1 + (pitch/12)²): a 6/12 roof has a factor of 1.118. The run of a common rafter is half the building width less half the ridge board; the tail adds the eave overhang, also measured horizontally.

Roof area is the sloped surface from the eave edge to the ridge on every face, rakes included. For a hip roof with equal pitches it equals the plan area with overhangs times the slope factor; for a pyramid on a rectangle the end slopes are flatter, and the end overhang is longer so the eaves stay level.

Rafters per slope are the roof length divided by the spacing, plus one. A hip roof has commons under the ridge, one central rafter at each end, four hips and jack rafters on both sides of every hip, each jack shorter by one spacing.

The rafter size is checked by the AWC span method for the species, grade, spacing and snow load, with the dead load of the covering (10, 15 or 25 psf) and L/180, or L/240 with a cathedral ceiling. Hips are at least as deep as the cut end of the rafters framing into them (IRC R802.4.3).

Covering area adds the waste for laps and cuts: 10 % for shingles, metal and tile, 15 % for shakes. A square is 100 ft² of roof.

Rafter length
16' 9¼"

A 40 × 28 ft house with a 6/12 hip roof and 12 in eaves has a 12 ft ridge, four 22 ft 6 in hip rafters and 1,409 square feet of roof: 15.5 squares with waste. It takes 106 rafters at 16 in on center: 20 commons along the ridge, one central rafter at each end, four hips and 80 jacks. The calculator above works out hip and pyramid roofs of any size, with the rafter check and the materials.

How the calculator works

Enter the building length and width, the pitch and the eave overhang. The ridge runs along the longer side. Tick “Pyramid roof” for a roof whose four slopes meet at one point. Then the rafters, the lumber, the snow load and the covering.

Geometry

On a hip roof every slope has the same pitch, so the ridge is as long as the length minus the width: 40 − 28 = 12 ft. Each hip runs from a corner of the eaves up to an end of the ridge. With equal pitches the roof area is simply the plan area including the overhangs times the slope factor: 42 × 30 × 1.118 = 1,409 ft². The two long slopes are trapezoids and the two ends triangles; their sloped heights are measured along the middle of each face, not along the hip.

A pyramid roof on a rectangular building has no ridge. Its end slopes are flatter than its long slopes, because they rise to the same peak over a longer run, and the end overhang is longer so the eave stays at one level all round. The calculator shows both slopes.

Rafters

Common rafters run from the eaves up to the ridge at the spacing, one more than the spaces. At each end a central rafter runs up to the end of the ridge. The four hips carry jack rafters on both sides; each jack is one spacing shorter than the last, so their total length falls quickly toward the corners. The calculator adds up every jack. Hips are at least as deep as the cut ends of the jacks that frame into them (IRC R802.4.3), which on a sloped cut means one size deeper than the commons: 2x10 hips for 2x8 rafters.

Default roof, 16 in o.c.Count
Common rafters20
End central rafters2
Jack rafters80
Hip rafters (22' 6")4

Is the rafter big enough?

The common rafter is checked by the AWC span method for the lumber, the spacing and the loads; its span is the horizontal run, half the building width. A 2x8 Douglas fir-larch No. 2 at 16 in spans 14 ft 5 in under 30 psf of snow and a 15 psf shingle roof, and the run here is 14 ft. Hip rafters carry the jacks and in larger roofs are often engineered beams; the calculator gives their length and the minimum depth.

Materials

Covering adds 10 % for shingles, metal and tile, 15 % for shakes; hip roofs have more cut pieces than gables, so stay on the generous side. OSB or plywood sheathing is counted in 4 × 8 ft sheets with 8 % for the angled cuts along the hips. Drip edge and gutters run along all four eaves, 144 ft here, and hip and ridge caps along the hips and the ridge.

Common mistakes

For a gable roof, use the Rafter Length Calculator; for the span of any rafter, the Rafter Span Calculator.

Questions

How do I calculate the area of a hip roof?

With equal pitches: plan area including overhangs × √(1 + (pitch/12)²). A 40 × 28 ft house with 12 in eaves at 6/12: 42 × 30 × 1.118 = 1,409 ft².

How long is the ridge of a hip roof?

Length minus width when all slopes have the same pitch: 40 − 28 = 12 ft.

How long is a hip rafter?

For the default 40 × 28 ft roof at 6/12 with 12 in eaves, 22 ft 6 in from the eave corner to the end of the ridge.

How many jack rafters does a hip roof have?

Jacks sit on both sides of each of the four hips, one per spacing. The 40 × 28 ft roof at 16 in has 80.

What size should a hip rafter be?

At least as deep as the cut end of the rafters framing into it (IRC R802.4.3), usually one size deeper than the commons: 2x10 for 2x8 rafters.

How is a pyramid roof different?

It has no ridge: all four slopes meet at one point. On a rectangle the end slopes are flatter than the long slopes.

How many squares is a 40 × 28 hip roof?

At 6/12 with 12 in eaves, 14.1 squares, 15.5 with 10 % waste.

Related calculators