📅 Updated June 2026 • Full Framing & Material Calculations

Hip Roof Calculator

Calculate hip roof area, common rafter length, hip rafter length, ridge board length, jack rafter spacing, and a complete material takeoff — including pyramid roof detection.

✓ Roof Area & Squares ✓ Hip Rafter Length ✓ Ridge Board Length ✓ Jack Rafter List ✓ Full Material Takeoff
🏠 Step 1 — Building Dimensions
1
Enter Building Footprint (Outer Wall Dimensions)
Pyramid Roof Detected: When length equals width, the ridge board length is zero and the roof forms a perfect pyramid with four identical triangular planes meeting at a single peak.

Measure the outer walls of the building. For a hip roof, the length is the dimension parallel to the ridge board. Enter equal length and width for a pyramid (tent) roof.

📏 Step 2 — Pitch, Overhang & Rafter Spacing
2
Roof Design Parameters
📋 Step 3 — Material Options
3
Material Takeoff Preferences
Sheathing (4×8 panels)
Shingles (bundles)
Underlayment (rolls)
📊 Your Hip Roof Results
🏠

Fill in Steps 1-3 and click Calculate to see your hip roof area, rafter lengths, ridge board, jack rafter list, and material takeoff.

✓ Roof area & squares • Common & hip rafter lengths • Ridge board • Jack rafters • Angles • Material list
Total Hip Roof Area
0 sq ft
0 roofing squares • 4/12 pitch
0
Roofing Squares
0 ft
Ridge Length
0 ft
Common Rafter
0 ft
Hip Rafter
Rise (Peak Height)
0 ft
vertical height of roof above plate
Hip & Valley Factor
0.000
run multiplier for hip rafter length
Common Rafter Angle
0.0°
plumb cut angle from vertical
Hip Rafter Angle
0.0°
shallower than common (diagonal run)
Run (Half-Width)
0 ft
horizontal run of common rafter
Hip Rafter Run
0 ft
run x sqrt(2), diagonal to corner
Framing Member Count Length Each Total Linear Ft Notes
Jack Rafter # Position from Corner Length Notes
Material Qty (exact) Qty (order) Unit
Budget (3-Tab Shingles)
$0
Shingles only at $90-120/square. Use these as a quick hip roof cost calculator for material budgeting.
Premium (Designer)
$0
Shingles only at $180-300/square
💡

Framing Tip: Hip rafters carry concentrated loads from all the jack rafters framing into them, so they are typically cut from deeper or wider stock than common rafters. Consult your structural engineer or building inspector before specifying hip rafter lumber size for any load-bearing application.

Disclaimer: This calculator provides planning estimates based on standard hip roof geometry formulas. All framing dimensions must be verified by a licensed contractor or structural engineer before cutting lumber. Actual lengths require adjustment for ridge board thickness, birdsmouth (seat) cut depth, fascia thickness, and species/grade-specific shrinkage.

Hip Roof Calculator: How to Measure and Calculate a Hip Roof

A hip roof calculator computes the unique geometry of a four-sided roof where all four planes slope upward to a central ridge (or peak), rather than a gable roof where two planes slope to a ridge and the remaining two sides are vertical triangular end walls. Hip roofs are considerably more complex to calculate and frame than gable roofs because they introduce two additional rafter types — hip rafters and jack rafters — that each require their own length formulas and compound miter cuts.

This advanced calculator handles the full geometry: common rafter length, hip rafter length, ridge board length, jack rafter lengths at each spacing position, total sloped roof area, and material quantities. Enter your hip roof measurements — building outer wall dimensions, desired pitch (this hip roof pitch calculator supports 3/12 through 12/12), overhang, and rafter spacing, and the calculator derives every dimension you need to frame or estimate your hip roof.

Quick Reference: For a 40 x 28 ft building at 6/12 pitch with 12-inch overhangs, a hip roof has a ridge board of about 12 ft, common rafters of about 9.4 ft, hip rafters of about 13.3 ft, and a total sloped area of roughly 1,460 sq ft (14.6 roofing squares). Hip roofs use 10-15% more framing lumber than equivalent gable roofs due to the four hip rafters and their associated jack rafters.

RIDGE Hip Rafter Common Rafter Hip Rafter Jack Rafters Jack Rafters Building footprint (plan view from above)
Hip roof plan view: the ridge board runs along the center (green), four hip rafters run diagonally from each corner to the ridge ends (orange), common rafters fill the long sides perpendicular to the ridge, and jack rafters fill the triangular end sections between the hip rafters.

Hip Roof vs Gable Roof: When to Use Each

Understanding the fundamental difference between a hip roof and a gable roof helps explain why the hip roof calculator needs to compute so many more values than a basic gable roof calculator. In a gable roof, two sloped planes meet at a central ridge, and the two end walls are vertical triangular “gables” that require no roof framing — just wall framing. In a hip roof, all four sides slope upward, eliminating vertical gable end walls and replacing them with two additional triangular sloped planes framed with hip rafters and jack rafters.

Gable Roof 2 sloped planes Vertical gable wall Hip Roof 4 sloped planes Hip rafter
Gable roofs have vertical triangular end walls with two sloped planes. Hip roofs eliminate the vertical end walls, replacing them with two sloped triangular end planes framed by hip rafters — making hip roofs more wind-resistant but more complex to frame.

Hip Roof Advantages

The hip roof angle calculator in the results above gives you both the common rafter angle and the shallower hip rafter angle for your selected pitch. Hip roofs are the preferred choice in regions with high winds, hurricanes, or severe thunderstorm exposure, because all four sloped sides shed wind pressure more evenly than a gable roof’s vertical end walls, which act as sails in high-wind events. FEMA studies of hurricane damage in Florida and along the Gulf Coast have consistently found that hip-roofed homes sustain less wind damage than equivalent gable-roofed homes, even when both use the same roofing material and fastener schedules. Many coastal and southern building codes now incentivize or require hip roofs or reinforced gable construction for new residential buildings in high-wind zones.

Hip Rafter Calculator: Understanding the Diagonal Run

The defining geometric feature that any hip rafter calculator or hip rafter length calculator must handle is that the hip rafter does not run perpendicular to the ridge like a common rafter — it runs diagonally from each corner of the building to the end of the ridge board at a 45-degree angle (in plan view). This diagonal path means the horizontal run of a hip rafter is the half-span of the building multiplied by the square root of 2 (approximately 1.414), since the diagonal of a square with sides equal to the common rafter run is always that run times the square root of 2.

Run = Span / 2 Run = Span / 2 Hip Run = Run x 1.414 Key formulas: Common Rafter Run = Building Width / 2 Hip Rafter Run = Common Run x sqrt(2) Hip Rafter Length = sqrt(HipRun^2 + Rise^2) Hip & Valley Factor = sqrt((pitch/12)^2 + 2)
The hip rafter runs diagonally across the corner of the building, so its horizontal run equals the common rafter run times sqrt(2) ≅ 1.414. This is why the hip rafter is always longer than the common rafter for the same rise, and why it has a shallower apparent pitch angle despite the same rise.
Common Rafter Run = Building Width / 2 Rise = Run x (Pitch / 12) Common Rafter Length = sqrt(Run^2 + Rise^2) Hip Rafter Run = Common Rafter Run x sqrt(2) [= Run x 1.41421356…] Hip Rafter Length = sqrt(HipRun^2 + Rise^2) Hip & Valley Factor = sqrt((Pitch/12)^2 + 2) [multiply by common run to get hip rafter run-line length] Ridge Board Length = Building Length – Building Width [for equal-pitch hip roof where all sides meet at same height] Example: 40 ft long x 28 ft wide, 6/12 pitch Run = 28 / 2 = 14 ft Rise = 14 x (6/12) = 7 ft Common Rafter = sqrt(14^2 + 7^2) = sqrt(245) = 15.65 ft Hip Run = 14 x 1.414 = 19.80 ft Hip Rafter = sqrt(19.80^2 + 7^2) = sqrt(441.1) = 21.0 ft Ridge Length = 40 – 28 = 12 ft

Hip Roof Ridge Length Calculator

The hip roof ridge length calculator formula is simpler than most homeowners expect: for a regular hip roof where all four sides have the same pitch, the ridge board length equals the building length minus the building width. This is because the two triangular hip end sections each consume exactly half the building width (one run on each end) of the total roof length before the ridge begins. For a 40 x 28 ft building, the ridge is 40 – 28 = 12 ft. When length equals width, the ridge length is zero and the roof becomes a pyramid.

Jack Rafter Calculator: The Decrement System

Jack rafters are the shorter rafters that fill the triangular sections between each hip rafter and the ridge. They run parallel to common rafters but decrease in length by a fixed increment as they step closer to the corner of the building. Using a jack rafter calculator, this decrement equals the rafter spacing multiplied by the pitch factor (the same pitch factor used to find common rafter length from run). Every successive jack rafter, moving one spacing interval closer to the corner, is shorter by exactly this decrement.

Hip Roof Area Calculator: Four-Plane Geometry

Calculating hip roof area with a hip roof area calculator requires accounting for all four sloped planes: two trapezoidal planes (the long sides) and two triangular planes (the hip ends). The most reliable approach for this hip roof square footage calculator is to compute the total area using the footprint method: multiply the effective footprint area (including overhangs) by the pitch factor. This works because the pitch factor converts horizontal plan area into sloped surface area regardless of how many planes the roof has, as long as all planes share the same pitch — which is the standard assumption for a regular hip roof.

Pyramid Roof Calculator: The Special Case

When a building’s length equals its width, the ridge board length drops to zero and the four hip planes meet at a single central peak instead of a ridge. This creates what is commonly called a pyramid roof, hip roof tent, or pavilion roof. The pyramid roof calculator mode in this tool detects this automatically when you enter equal length and width values and adjusts the outputs accordingly: the ridge length shows zero, the framing table omits the ridge board, and all four rafter sets become identical triangular planes. Pyramid roofs are common on residential additions, gazebos, and bay window projections.

Hip Roof Framing Calculator: Complete Step-by-Step

A full hip roof framing calculator workflow proceeds in this order: set the ridge board first (supported by temporary posts or a structural beam), install the four hip rafters at each corner diagonally to the ridge ends, then install the common rafters along both long sides, and finally fill in the triangular end sections with jack rafters spaced at your chosen on-center spacing. Each successive jack rafter is cut shorter by the decrement value, so a set of four jacks at 24-inch spacing will each be shorter than the previous by the same fixed amount.

PitchCommon Pitch FactorHip & Valley FactorHip Rafter Angle
3/121.0311.43614.0°
4/121.0541.45318.4°
5/121.0831.47422.6°
6/121.1181.50026.6°
7/121.1581.53030.3°
8/121.2021.56433.7°
9/121.2501.60136.9°
10/121.3021.64239.8°
12/121.4141.73245.0°
1.414
Factor by which common rafter run is multiplied to get hip rafter run (sqrt of 2)
10-15%
Extra framing lumber a hip roof uses compared to an equivalent gable roof
4
Hip rafters in every regular hip roof — one running diagonally from each corner
L – W
Simple formula for ridge board length: building length minus building width
Hip roof calculator diagram showing a completed hip roof home with four sloped planes meeting at a central ridge

Related Roofing Calculators & City Guides

Frequently Asked Questions

How do I calculate hip roof area?

+
Multiply your effective footprint area (including overhangs) by the pitch factor for your roof pitch. The pitch factor is the square root of (1 plus the pitch ratio squared), where pitch ratio is rise over 12. For a 6/12 pitch the factor is 1.118. A 42 x 30 ft effective footprint at 6/12 gives 42 x 30 x 1.118 = 1,409 sq ft of sloped roof area.

What is a hip rafter and how is its length calculated?

+
A hip rafter is the diagonal rafter running from each corner of the building up to the end of the ridge board. Its length is calculated using the Pythagorean theorem applied to the hip rafter run (which equals the common rafter run times the square root of 2) and the roof rise. Hip rafter length equals the square root of (hip rafter run squared plus rise squared).

How do I calculate ridge board length for a hip roof?

+
For a regular hip roof where all four sides have the same pitch, the ridge board length equals the building length minus the building width. For a 40 x 28 ft building the ridge is 12 ft. When length equals width the ridge is zero and the result is a pyramid roof.

What is the hip and valley factor?

+
The hip and valley factor is a multiplier you apply to the common rafter run to get the hip rafter run-line length. It equals the square root of ((pitch/12) squared plus 2). For a 6/12 pitch it is 1.5. For a 4/12 pitch it is approximately 1.453. This factor accounts for the diagonal path of the hip rafter across the corner of the building.

What are jack rafters and how long should they be?

+
Jack rafters are the shorter rafters that fill the triangular end sections between the hip rafter and the ridge. They run parallel to common rafters and shorten by a fixed decrement for each step toward the corner. The decrement equals the rafter spacing multiplied by the common rafter pitch factor. At 24-inch spacing with a 6/12 pitch factor of 1.118, each successive jack is about 2.24 ft shorter than the previous one.

How is a hip roof different from a gable roof for framing purposes?

+
A gable roof requires only common rafters and a ridge board. A hip roof adds four hip rafters (one per corner running diagonally) and sets of jack rafters to fill the triangular end sections. Hip roofs typically use 10-15% more framing lumber than equivalent gable roofs, require compound miter cuts on the hip and jack rafters, and have more complex ridge-to-hip connections.

Why is the hip rafter angle shallower than the common rafter angle?

+
The hip rafter climbs the same total rise as a common rafter but travels a longer horizontal distance (run x sqrt(2) instead of just run). Since the rise stays the same but the run increases, the slope angle (rise over run) is shallower. A 6/12 common rafter has a 26.6 degree slope, while the hip rafter on the same roof has a slope of about 19.5 degrees. This is why hip rafter plumb cuts and seat cuts must be laid out differently from common rafter cuts.

What is a pyramid roof?

+
A pyramid roof (also called a hip tent or pavilion roof) occurs when the building footprint is square — length equals width. In this case the four hip planes all meet at a single peak rather than a ridge board, making the ridge length zero. All four sides are identical triangular planes. Pyramid roofs are common on gazebos, square additions, and bay window projections.

Are hip roofs better for high-wind areas?

+
Yes. Hip roofs consistently outperform gable roofs in high-wind research because all four sides slope aerodynamically rather than presenting vertical end walls that act as wind sails. FEMA post-hurricane damage assessments have found hip-roofed homes sustain significantly less damage than gable-roofed homes in the same storm. Many coastal building codes in Florida, Texas, and the Gulf Coast region require or incentivize hip roof construction for new residential buildings in high-wind zones.

How many more shingles does a hip roof need than a gable roof?

+
For the same building footprint and pitch, a hip roof has essentially the same total sloped surface area as a gable roof — both are calculated by the same footprint times pitch factor formula. However, a hip roof needs significantly more ridge cap shingles because it has four hip lines plus the ridge, compared to just the ridge line on a gable roof. Budget for roughly 10-15% more ridge cap material on a hip roof than you would on an equivalent gable roof.

Sources & Data

  • National Roofing Contractors Association (NRCA) – Roofing Manual, 2026 Edition
  • American Wood Council (AWC) – Span Tables for Joists and Rafters, 2026
  • FEMA – Home Builder’s Guide to Coastal Construction, Hurricane Wind Resistance