RoofGenius

Hip Roof Calculator

A hip roof slopes down to the eaves on all four sides. Enter the length and width of the building at the walls, the pitch and the overhang to get the roof area, the ridge and hip lengths, the common and hip rafter lengths, and a shingle count.

Hip roof area, hips, ridge and rafters

Outside of the walls
If you enter it larger than the length, the two are swapped
Wall to fascia, measured level
15% is typical for a hip roof

This is for a regular hip roof on a rectangle: all four planes have the same pitch and the eaves are level all the way around. Dutch hips (a small gable at the top), hips with steeper ends, and L- or T-shaped hip roofs with valleys need to be split into sections. See how to measure a hip roof below.

Hip roof formulas

Outline = (length + 2 × overhang) × (width + 2 × overhang) Roof area = outline × √(pitch² + 144) ÷ 12 (pitch multiplier) Run = outline width ÷ 2 Ridge = length − width (0 on a square: a pyramid hip) Each hip = run × √(pitch² + 288) ÷ 12 (hip/valley factor), 4 hips Common rafter = run × pitch multiplier Eave perimeter = 2 × (outline length + outline width)

Why area is just outline × multiplier. Every plane of a regular hip roof tilts at the same angle, so the whole roof is the flat outline stretched by one factor. The triangles and trapezoids don't need separate math, and a hip roof has exactly the same area as a gable roof on the same rectangle at the same pitch. The roof area calculator uses the same formula.

Why the ridge is length minus width. Each end plane rises at the same pitch as the long sides, so it has the same horizontal run: half the width. The ridge therefore stops half the width in from each end, which leaves length − width. The overhang adds the same amount to both, so it cancels out.

Why hips use a different factor. A hip runs diagonally across the corner. For every 12 inches of common-rafter run it covers about 16.97 inches of level run (12 × √2) while rising the same height, so it is longer than a common rafter. That is the hip/valley factor: 1.5 at 6/12, 1.7321 at 12/12.

Worked example

40 × 28 ft house, 12 in overhang, 6/12 pitch. Outline = 42 × 30 = 1,260 sq ft. Roof area = 1,260 × 1.1180 = 1,408.7 sq ft (14.09 squares).
Ridge = 40 − 28 = 12 ft. Run = 30 ÷ 2 = 15 ft. Each hip = 15 × 1.5 = 22' 6", so 90 LF of hips. Eaves = 2 × (42 + 30) = 144 ft.
Common rafter = 15 × 1.1180 = 16' 9-1/4" (15' 7-13/16" from the wall line to the ridge line, plus a 1' 1-7/16" tail). Hip rafter = 21' 0" + 1' 6" tail = 22' 6". Total rise to the ridge = 14 × 6 ÷ 12 = 7' 0".
Check it plane by plane: each hip end is a triangle, 30 × 15 ÷ 2 = 225 sq ft flat × 1.1180 = 251.6 sq ft. Each long side is a trapezoid, (42 + 12) ÷ 2 × 15 = 405 sq ft flat × 1.1180 = 452.8 sq ft. 2 × 251.6 + 2 × 452.8 = 1,408.7 sq ft, the same answer.
Order: with 15% waste, 16.20 squares → 49 bundles at 3 per square. Hip and ridge cap: 12 + 90 = 102 LF, about 5 bundles at 25 LF each. Drip edge and starter: 144 ft of eaves.

Hip/valley factor by pitch

Hip factor and lengths for a 30 ft wide outline (15 ft run)
PitchPitch multiplierHip/valley factorCommon rafter, 15 ft runHip, 15 ft run
3/121.03081.436115' 5-9/16"21' 6-1/2"
4/121.05411.453015' 9-3/4"21' 9-9/16"
5/121.08331.474316' 3"22' 1-3/8"
6/121.11801.500016' 9-1/4"22' 6"
7/121.15771.529817' 4-3/8"22' 11-3/8"
8/121.20191.563518' 5/16"23' 5-7/16"
9/121.25001.600818' 9"24' 1/8"
10/121.30171.641519' 6-5/16"24' 7-7/16"
12/121.41421.732121' 2-9/16"25' 11-3/4"

Multiply the run (half the outline width) by the factor. Lengths are to the ridge centerline, before any ridge-board deduction. The pitch to degrees chart lists the factors for every pitch from 1/12 to 24/12.

How to measure a hip roof

You can get everything this calculator needs without climbing on the roof.

  1. Length and width. Tape the long wall and an end wall at the siding or foundation. House plans or the county assessor's sketch work too; check one wall to be sure.
  2. Overhang. Measure level from the wall to the face of the fascia, under a long side and under an end. Hip roofs usually have the same overhang all around. If they differ, measure the outline fascia to fascia instead, enter it as the length and width, and set the overhang to 0. Area, ridge and hips come out the same.
  3. Pitch. In the attic, hold a level against the underside of a common rafter, mark 12 inches along the level and measure up to the rafter: that is the rise per 12. From a ladder at the eave, a level and tape on the shingles do the same job. Finding your roof pitch covers both methods.
  4. Check that it's a regular hip. From the ground, the ridge should end about half the building width in from each end wall (14 ft in on a 28 ft wide house), and from above each hip should split its corner at 45°. In the attic, the rafters on the end walls should have the same rise per 12 as the side rafters. If the ridge is clearly longer or shorter than length − width, the ends are pitched differently: measure each plane with the multi-section roof calculator.
  5. Add wings separately. A garage or porch with its own hip roof is its own rectangle. Where two hip roofs meet you get valleys, which add cutting waste and ice-barrier footage.

Stay off steep, wet or two-story roofs unless you have fall protection. Every measurement above can be taken from the ground, a ladder at the eave, or the attic.

Hip roof vs gable roof: what changes in the order

Same house as the example, 40 × 28 ft at 6/12 with 12 in overhangs, built both ways:

Material differences, same footprint and pitch (cap at 25 LF per bundle)
Gable roofHip roof
Roof area1,409 sq ft1,409 sq ft
Typical waste10%15%
Shingle bundles (3 per square)4749
Ridge42 ft12 ft
Hips090 ft
Hip and ridge cap42 LF (2 bundles)102 LF (5 bundles)
Eaves84 ft144 ft
Rakes67.1 ftNone
  • Waste goes up. Every course is cut at a hip on both ends, and the offcuts are rarely long enough to reuse. RoofGenius uses 15% for hip roofs and 10% for simple gables; the waste factor calculator adjusts for extra hips and valleys.
  • More cap, less ridge. Hips are covered with the same hip and ridge cap as the ridge, so cap footage usually rises even though the ridge gets shorter. The drip edge and ridge cap calculator takes the exact coverage from the wrapper.
  • No rakes. There is no rake trim, and starter goes on the eaves only, but the eaves (and gutters) run around all four sides.
  • Short ridge, less ridge vent. A short ridge leaves little room for ridge vent, so hip roofs often add other exhaust vents to balance the soffit intake. Size it from the vent maker's net free area figures.

For framers

  • Plumb cuts: commons use the rise on 12 of a framing square; hips use the rise on 17, because a hip covers about 17 in of level run for each 12 in of common run.
  • Jack rafters get shorter by the same amount each step: on-center spacing × pitch multiplier. At 16 in on center and 6/12 that is 17-7/8".
  • Deductions: the lengths here run to the ridge centerline. Shorten commons by half the ridge thickness (measured level), and shorten hips for where they meet the ridge and the commons. Hips also need 45° side cuts at the top.
  • Rafter and hip sizes come from your code's span tables or an engineer. For a single rafter with cut angles and a ridge-board deduction, use the rafter length calculator.

Frequently asked questions

How do you calculate the area of a hip roof?

Multiply the outline (length plus two overhangs, times width plus two overhangs) by the pitch multiplier. A 40 × 28 ft house with 12 inch overhangs at 6/12 is 42 × 30 = 1,260 sq ft × 1.118 = about 1,409 sq ft, or 14.1 squares. This works when all four planes have the same pitch.

How long is a hip rafter?

Half the outline width times the hip/valley factor for the pitch. At 6/12 the factor is 1.5, so a roof 30 ft wide at the fascia has hips of 15 × 1.5 = 22.5 ft. Lengths are to the ridge centerline, before deductions.

How do you find the ridge length of a hip roof?

On a regular hip roof, ridge length is the building length minus the building width. A 40 × 28 ft house has a 12 ft ridge. A square building has no ridge: the four hips meet at a point (a pyramid hip roof).

Does a hip roof need more shingles than a gable roof?

The area is the same at the same pitch, but a hip roof needs more waste (about 15% instead of 10%) and more hip and ridge cap. On a 40 × 28 ft house at 6/12 that is 49 bundles instead of 47, and 102 LF of cap instead of 42.

What if the ends of my hip roof are steeper than the sides?

Then it is not a regular hip roof: the ridge is not length minus width and the hips do not sit at 45°. Measure each plane separately and add them up, for example with the multi-section roof area calculator.

Last reviewed 2026-10-20. Results are estimates for planning; confirm quantities with your supplier and requirements with your local building code and the manufacturer's instructions.