Hip Roof Calculator Full calculator ↗
Aerial view of a single-story ranch house with a brown asphalt-shingle hip roof, a hipped carport wing and a concrete driveway

Engineering calculator

Hip roof calculator

A hip runs 1.414 times as far as the common rafters: on a 40 × 24 ft house at 6 / 12 the commons run 12 ft, so each hip runs 16 ft 11⅝ in and is 18 ft 0 in long to the ridge, cut from a 20 ft 2 × 10. The ridge is 16 ft, 64 jacks step down 17⅞ in at 16 in on center, and with 12 in eaves the roof is 1,221 sq ft, 12.21 squares. Enter your roof for every cut, count and check, drawn and framed in 3D.

Enter your roof

Hip roof calculator: the building and the pitch

Walls outside to outside; the ridge runs along the longer wall. Make them equal for a pyramid hip, with no ridge. The overhang is measured level and runs round all four sides.

The framing

Pick the rafter size from IRC Tables R802.4.1(1)–(8) for your lumber, snow load and dead load. The hips are no shallower than the commons' plumb cut (R802.4.3) — in practice one size deeper than the commons; this page cuts and counts them, it does not size them.

Timber hip roof frame on block walls seen from inside, with jack rafters running up to the hips and posts and beams bracing the frame

Based on your result

What you'll need

Set the ridge and the king commons first, then the four hips, then the jacks in pairs from the longest down, so the hips stay straight.

Common and jack rafters
Commons along the ridge, the end kings and every jack
Calculate above
Hip rafters
Four, no shallower than the commons' plumb cut (R802.4.3)
—
Ridge board
At least as deep as the commons' plumb cut (R802.3)
—
Ceiling joists
Across the width, in the bottom third of the rafter height
—
Hurricane ties Amazon
If required by R802.11: one per rafter end on the walls
—
Brace at the ridge
Each hip held at the ridge by a brace down to a bearing wall, unless it is designed to carry that load (R802.4.3)
Per hip
Roof sheathing, 4 × 8
Roof area plus 15 % for the diagonal cuts at the hips
—
Shingles
Three bundles a square, plus 15 % for the hip cuts
—
Hip and ridge cap Amazon
About 33 lin ft a bundle (Owens Corning ProEdge); check yours
—
Rafter square Amazon
Its rafter table gives the hip and jack figures used here
1
Framing nails Amazon
Per the fastening schedule, IRC Table R602.3(1)
As needed

As an Amazon Associate I earn from qualifying purchases.

The maths

How this hip roof calculator works

On a regular hip roof all four planes have one pitch and the hips sit at 45° in plan. So every rafter is a common rafter in disguise: the hip covers √2 times the run, and each jack is a common cut short.

run = width ÷ 2 · k = √(1 + (pitch ÷ 12)²)
ridge = length − width
hip run = run × 1.414 (16.97 per 12)
hip = hip run × √(1 + (pitch ÷ 16.97)²)
jack step = spacing × k
drop = ½ hip thickness × pitch ÷ 16.97
area = (L + 2E) × (W + 2E) × k
volume = W × rise × (3L − W) ÷ 6
  1. 01

    Commons and the ridge

    Half the width is the run of every common: 12 ft on a 24 ft wide house, 13 ft 5 in along the rafter at 6 / 12. The ridge stops one run short of each end wall, so it is the length less the width: 40 − 24 = 16 ft.

  2. 02

    Hip length

    In plan the hip is the diagonal of a square one run on a side, 1.414 times as long: 16 ft 11⅝ in for a 12 ft run. It rises the same 6 ft, so it falls 6 in in every 16.97 in of run and is 18 ft 0 in long to the ridge center line. Take 1 1/16 in off level at the ridge end, half the 45° thickness of a 1½ in king common, and cut a double cheek, the saw at 45°.

  3. 03

    Hip drop and seat

    The hip's top edge is square, but the roof planes slope away on each side, so its corners would stand proud. Drop it — cut the seat deeper — by half its thickness × pitch ÷ 16.97: about ¼ in for a 1½ in hip at 6 / 12. Or bevel the top 18.43° each side instead.

  4. 04

    Jacks

    Each jack stands one spacing further from the king common, so it is one spacing × the common's multiplier shorter than the one before: 16 × 1.118 = 17⅞ in. They run from the wall to the hip face, 1 1/16 in short of the hip center line, with a 45° cheek at the top; four of every length are cut left-hand and four right-hand.

  5. 05

    Area, shingles and volume

    All four planes share one pitch, so the roof is the plan inside the eaves times the multiplier: 42 × 26 ft × 1.118 = 1,221 sq ft, 12.21 squares, 43 bundles with 15 % waste. The attic over a 40 × 24 ft plate line, 6 ft high, holds 24 × 6 × (120 − 24) ÷ 6 = 2,304 cu ft.

Hip rafter calculator

Hip rafter calculator: what each number means

King commons
The commons that land on the ridge end: one each side at the end of the ridge, and one in the middle of each end wall running into the end of the ridge. The hips fit into the corners between them.
Hip line length
From the outside corner of the walls to the theoretical end of the ridge, along the hip's top edge — before the 1 1/16 in comes off and before the tail.
Hip drop
How much deeper the hip's seat is cut than its plain geometry gives, so the corners of its top edge sit in the roof planes and the sheathing lies flat.
Jack common difference
How much shorter each jack is than its neighbor. It is the same down every hip at a given spacing and pitch.
Side (cheek) cut
The bevel where a hip or jack meets another member at 45° in plan. The framing-square figures — 11 5/16 on 12 for the hip, 10 ¾ on 12 for the jacks at 6 / 12 — come from the same table on the square.

Good to know

Hip roof calculator questions

Multiply the common run by 1.414 for the hip run, then by the hip's length per unit of run, √(1 + (pitch ÷ 16.97)²). On a 24 ft wide house at 6 / 12 that is 12 ft × 1.414 = 16 ft 11⅝ in of run and 18 ft 0 in of hip to the ridge center line. Take 1 1/16 in off level at the ridge, add the tail (a 12 in eave becomes 18 in of hip tail), and the 2 × 10 board is 19 ft 8⅛ in, cut from a 20 ft length.

Lay the jacks out from the king commons at your spacing. Each one's run is the common run less its distance from the king; times the common multiplier it is its length, less half the 45° thickness of the hip, measured level. At 16 in on center and 6 / 12 every jack is 17⅞ in shorter than the last; a 24 ft wide roof has eight lengths, from 11 ft 9 15/16 in down to 1 ft 4 11/16 in, eight of each.

Because all four planes share one pitch, the roof area is the plan inside the eaves times the pitch multiplier: (length + 2 × overhang) × (width + 2 × overhang) × √(1 + (pitch ÷ 12)²). A 40 × 24 ft house with 12 in eaves at 6 / 12 is 42 × 26 × 1.118 = 1,221 sq ft, or 12.21 squares. The hip roof square footage does not depend on where the hips fall.

Three bundles a square for most shingles, plus more waste than a gable — every course is cut at the hips, so this page adds 15 %. 12.21 squares makes 43 bundles. Add hip and ridge cap for the four hips and the ridge (94 ft on the example roof, 3 bundles at about 33 lin ft each), starter strip along every eave, and two layers of underlayment if the pitch is under 4 / 12 (R905.2.2).

Treat the attic as a wedge: width × rise × (3 × length − width) ÷ 6. A 40 × 24 ft house with 6 ft of rise holds 24 × 6 × 96 ÷ 6 = 2,304 cu ft over the plates. When length equals width it becomes a pyramid, width² × rise ÷ 3. That is the gross volume to the top of the rafters; the space you can use is smaller.

At least 2 in nominal thick and no shallower than the cut end of the rafters (R802.4.3) — in practice one size deeper than the commons: a 2 × 8 at 6 / 12 has an 8⅛ in plumb cut, so the hip is a 2 × 10. The code also wants the hip held up at the ridge by a brace to a bearing wall, or designed to carry that load, and below 3 / 12 the hips and ridge must be designed as beams (R802.4.4).

On an L or T where both roofs have one pitch, a valley rafter has the same 16.97 run per foot and the same length per foot as a hip, so the hip line here is the valley line too. It is cut and shortened differently where it meets the ridges, its jacks run up from it to the ridge, and under 3 / 12 it must be designed as a beam (R802.4.4). This page frames a plain rectangle; it does not lay out valleys.

Enter the same length and width. The ridge disappears, the four hips meet at a peak, and four king commons run to the middle of each wall — two meeting at the peak, two butting them. The rest is the same math.

Free calculator by Renovimo

As an Amazon Associate I earn from qualifying purchases.