Skip to content

Hip Rafter Calculator

A hip roof from its footprint and pitch: the four hips, the ridge between them…

A hip roof from its footprint and pitch: the four hips, the ridge between them, the common rafters and the jack rafters that step down along each hip.

ft
ft

Pitch

/ 12
in
More options1½ in ridge board · 16 in on centre
in
in

Rafter spacing, on centre

Rafter

ExampleEach hip rafter

22 ft ¼ in

Four hips rising 5 in every 16.97 (3.54/12, 16.4°) and a 12 ft ridge; jack rafters step down 17 5/16 in every 16 in.

Enter yours to see your result.

Hip 22 ft ¼ inRidge 12 ft40 ft × 28 ft walls; dashed: the walls, solid: the eaves
From above: the hips run at 45° from each corner to the ends of the ridge; common rafters fill the middle and jack rafters step down along the hips.
Common rafter
16 ft 2 3/16 in
Hip factor
1.474
Hip rise
5 ft 10 in

An estimate of materials to buy, not engineering or code advice. Check sizes with your supplier and local building department. Terms

My shopping list

Add each part of a job and print one list. It stays on this device.

How this works: 2 sources,

How this works

Method

On a hip roof with the same pitch on every side, each hip runs from a corner of the building at 45° in plan to the end of the ridge. Its run is the common rafter’s run times √2, about 16.97 in for every 12 in of common run, while it climbs the same height, so the hip is flatter than the roof: its pitch is the roof’s pitch over 16.97. Its length is the common run times the hip factor √(2 + (pitch ÷ 12)²). Full method

How it’s tested

3 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.

Limits

An estimate of materials to buy, not engineering or code advice. Check sizes with your supplier and local building department.

Privacy

On your device. Nothing you enter or open leaves this browser. About privacy labels

Changes

  • First published: roof pitch from a rise, a span or an angle, drawn as a gable you can drag, with rafter length, pitch to degrees and hip rafter pages.

Every change on What’s new

How we make toolsReport a mistake

How the hip rafter is worked out

On a hip roof with the same pitch on every side, each hip runs from a corner of the building at 45° in plan to the end of the ridge. Its run is the common rafter’s run times √2, about 16.97 in for every 12 in of common run, while it climbs the same height, so the hip is flatter than the roof: its pitch is the roof’s pitch over 16.97. Its length is the common run times the hip factor √(2 + (pitch ÷ 12)²).

A worked example: a 36 × 24 ft house at 6/12 with 18 in overhangs. The common run is 12 ft (less half the ridge board); the hip factor at 6/12 is 1.5, so each hip is 17 ft 10⅞ in to the ridge and 20 ft 1⅞ in with its tail. The ridge is 36 − 24 = 12 ft, and jack rafters at 24 in centres get 26 13/16 in shorter each.

The jack rafters run from the wall plate up to the hip, parallel to the commons, and each is one spacing times the slope factor shorter than the one before. The hip itself is usually a size deeper than the commons so the jacks’ cuts land fully on it; the cheek cuts where jacks meet the hip are at 45° in plan.

hip = (width ÷ 2 − ridge ÷ 2 + overhang) × √(2 + (pitch ÷ 12)²); jack step = spacing × √(1 + (pitch ÷ 12)²)

Hip factors and lengths by pitch

For a 40 × 28 ft hip roof (14 ft common run), no overhang or ridge allowance; jacks at 16 in on centre.

For a 40 × 28 ft hip roof (14 ft common run), no overhang or ridge allowance; jacks at 16 in on centre.
PitchHip factorHip pitchHip lengthJack step
3/121.4363/16.97 (2.12/12)20 ft 1¼ in16½ in
4/121.4534/16.97 (2.83/12)20 ft 4⅛ in16⅞ in
5/121.4745/16.97 (3.54/12)20 ft 7 11/16 in17 5/16 in
6/121.56/16.97 (4.24/12)21 ft17⅞ in
7/121.537/16.97 (4.95/12)21 ft 5 in18½ in
8/121.5638/16.97 (5.66/12)21 ft 10 11/16 in19¼ in
9/121.6019/16.97 (6.36/12)22 ft 4 15/16 in20 in
10/121.64110/16.97 (7.07/12)22 ft 11¾ in20 13/16 in
12/121.73212/16.97 (8.49/12)24 ft 3 in22⅝ in

Sources

The geometry is exact trigonometry. Code minimum slopes are informational: the roofing maker’s instructions and the code your town adopts decide.

Common questions

How do you calculate a hip rafter length?

Multiply the common run (half the building’s width) by √(2 + (pitch ÷ 12)²). At 6/12 the factor is 1.5, so a 12 ft common run makes an 18 ft hip, before the tail and the ridge allowance.

What does 16.97 mean on a hip rafter?

The hip’s run for every 12 in of common run: 12 × √2 = 16.97 in. On a framing square you lay out the hip with the roof’s rise on the tongue and 17 on the blade.

How long is the ridge on a hip roof?

The building’s length minus its width, when all four sides have the same pitch. A 40 × 28 ft house has a 12 ft ridge; a square house has none, the hips meet at a point.

How much shorter is each jack rafter?

One spacing times the slope factor. At 6/12 with 16 in centres, each jack is 16 × 1.118 = 17.9 in shorter than the last.