Hip Roof Calculator

House dimensions
Ridge
Batten sizes
Additional calculations

Input Data

House dimensions

mm
mm
mm
mm

Rafter sizes

mm
mm
mm

Batten sizes

mm
mm
mm

Fascia board

mm
mm

Wall plate (Mauerlat)

mm
mm

Counter-batten

mm
mm

Waterproofing

mm
mm
mm

Insulation

mm

Results

Roof

mm
mm
°
°
m²

Rafters

m
m³
Element:Length (mm) Qty:
Side A:
Side B:
Element:Length (mm):Qty:
Ridge
Diagonal rafters

Battens

m
m³

Fascia board

m
m³

Wall plate (Mauerlat)

m
m³

Counter-batten

m
m³

Total lumber

m³

Waterproofing (including overlaps)

m²
m
pcs

Insulation

m³
House dimensions
ft
in
ft
in
ft
in
in
in
in
in
Ridge
ft
in
Batten sizes
in
in
in
Additional calculations
in
in
in
in
in
in
ft
in
in
in

Input Data

House dimensions

in

Rafter sizes

in
in
in

Batten sizes

in
in
in

Fascia board

in
in

Wall plate (Mauerlat)

in
in

Counter-batten

in
in

Waterproofing

in
in

Insulation

in

Results

Roof

ft²

Rafters

ft
ft³
Element: Length (ft/in) Qty:
Side A:
Side B:
Element: Length (ft/in): Qty:
Ridge
Diagonal rafters

Battens

ft
ft³

Fascia board

ft
ft³

Wall plate (Mauerlat)

ft
ft³

Counter-batten

ft
ft³

Total lumber

ft³

Waterproofing (including overlaps)

ft²
ft
pcs

Insulation

ft³
Was the calculator helpful?
No
Share calculator:

About Hip Roof Calculation

The results are approximate. Before use, verify the calculations against the applicable standards and consult a specialist. The developer is not responsible for the consequences of use without project verification.

This Hip Roof Calculator provides rafter design and material calculation for a rectangular building. It calculates the geometry of a hip roof, roof slope angles and areas, rafter system and batten lengths, and the quantities of selected additional materials. The calculation is based on the actual geometry of all four roof slopes, taking into account roof height, ridge length, and eaves overhangs.

The calculator supports Metric and Imperial measurement systems. In Metric mode, linear dimensions are entered in millimetres. Material lengths are shown in metres, roofing and waterproofing areas in m2, and timber and insulation volumes in m3. In Imperial mode, larger dimensions are entered in feet and inches, and smaller dimensions in inches. Enter decimal inch values, for example 1.375 for 1 3/8 inches. Fractions entered with a slash are not supported. Individual dimensions in the results and drawings are displayed in feet and inches, rounded to the nearest 1/8 inch. Total material lengths are displayed in decimal feet, areas in ft2, and volumes in ft3. Roof pitch is expressed as vertical rise per 12 inches of horizontal run. Both measurement systems operate independently, retaining their own input values and results. The underlying calculation formulas are identical, with Imperial dimensions converted to millimetres before calculation and the results converted back for display.

Guidelines and Recommendations

Hip Roof Geometry

Roof plan dimensions. The building dimensions are first increased by the overhang C on both sides. For building length A and width B, the roof plan dimensions are:

Ar = A + 2C

Br = B + 2C

These dimensions define the outer roof outline and are used to calculate roof area, battens, and elements along the eaves.

Ridge length. For standard hip roof geometry, the ridge length is taken as the difference between the longer and shorter building sides:

R = Lmax - Lmin

With this proportion, the horizontal runs of the main roof slopes and the hip slopes are equal, so all four slopes have the same pitch angle. If a different ridge length is specified, it is used when the value is greater than 0, less than the longer building side, and the following condition is satisfied:

H / (Lmax - R) ≤ 5

The horizontal run of a hip slope from the building end to the ridge end is:

D = (Lmax - R) / 2

Main slope angle. For the slopes running along the ridge, the horizontal run equals half of the shorter building side:

α1 = arctan(H / (Lmin / 2))

Hip slope angle. For the end slopes, the distance D is used:

α2 = arctan(H / D)

With the standard ridge length, α1 and α2 are equal. Changing the ridge length changes the hip geometry and may produce different slope angles. In Metric mode, the calculated angles are displayed in degrees. In Imperial mode, the same slopes are expressed as pitch ratios using 12 × tan(α), displayed in the form X:12, where X is the rise in inches per 12 inches of horizontal run.

Roof Area

Slope factor. To convert the horizontal projection of a roof slope into its actual inclined area, the following factors are used:

K1 = √((Lmin / 2)2 + H2) / (Lmin / 2)

K2 = √(D2 + H2) / D

The factor represents the ratio between the inclined slope length and its horizontal projection. Increasing the roof height increases both the factor and the actual roof surface area.

Total area of the four slopes. The two main slopes are treated as trapezoidal surfaces, while the two hip slopes are treated as triangular surfaces. The overhang is added to the outer edges of each slope. The resulting formula is:

Sr = ((R + D + C)(Lmin + 2C)K1 + (Lmin + 2C)(D + C)K2) / 1000000

All linear dimensions in this formula are expressed in millimetres, regardless of the selected measurement system. The result is converted to m2 and rounded upward to 0.1 m2. In Imperial mode, the calculated area is subsequently converted to ft2 and displayed to one decimal place.

Rafter System

Common rafter spacing. The specified spacing is used to arrange rafter groups on each roof slope. The outermost spaces may differ from the entered spacing so the rafters remain symmetrical and a single narrow leftover section is not created at one edge.

Even rafter distribution. If a maximum permitted spacing Smax is specified, the calculator first determines the available length along the longer roof side while accounting for rafter thickness S2:

Lavail = max(Ar, Br) - S2(1 + √2)

The number of spaces is then rounded upward so the actual spacing does not exceed the selected maximum:

N = ceil(Lavail / Smax)

S = floor(Lavail / N)

Rafter lengths. For each element, its horizontal plan length is determined first and then converted into an inclined length using the factor for the corresponding roof slope. An additional geometric correction related to the rafter width S1 is included:

Lraf = ceil(LplanK + S1√(K2 - 1))

Each rafter length is rounded upward to the nearest millimetre during calculation. In Imperial mode, individual rafter lengths are displayed in feet and inches, rounded to the nearest 1/8 inch. If the main and hip slopes have different pitch angles, the corresponding rafters use different factors K1 and K2.

Hip rafters. The calculator includes four diagonal hip rafters running from the roof corners to the ridge ends. Their horizontal projection without the overhang is calculated first:

G = √((Lmin / 2)2 + D2)

Kh = √(G2 + H2) / G

The full hip rafter length also includes the roof overhang in both horizontal directions:

Lh = ceil(√((Lmin / 2 + C)2 + (D + C)2)Kh + S1√(Kh2 - 1))

Total rafter material. The total length includes common and shortened rafters, four hip rafters, and the ridge element. Timber volume is calculated from the total length and rafter cross-section:

Vraf = Lraf.mm × S1 × S2 / 1000000000

The formula gives the volume in m3. In Imperial mode, the total rafter length is displayed in decimal feet and the timber volume in ft3.

Battens

Batten arrangement. The battens are calculated from the actual roof slope geometry. The first row is placed at the eaves, and subsequent rows are positioned using the specified spacing O3. The length of each row follows the hip roof shape at that position, so rows become shorter as they approach the ridge.

First batten spacing. If a separate first spacing is enabled, only the distance between the first and second batten rows uses this value. After the second row, the regular spacing O3 is used again. For some metal tile roofing systems, a first spacing of approximately 280-300 mm (about 11-12 in) is commonly used with a regular spacing of about 350 mm (approximately 14 in), but the exact value should be taken from the roofing manufacturer's installation instructions.

Row near the ridge. After the regular rows are positioned, the remaining distance is checked. If the free section exceeds the greater of 120 mm (approximately 4.72 in) or the batten width O1, an additional row is placed closer to the ridge.

Total length and volume. The lengths of all battens are added together. In Metric mode, the displayed total length is rounded to the nearest whole metre. In Imperial mode, it is displayed in decimal feet to two decimal places. The timber volume is calculated from the original total length in millimetres:

Vbat = Lbat.mm × O1 × O2 / 1000000000

The calculated volume is expressed in m3 internally and converted to ft3 for Imperial results.

Additional Timber Elements

Fascia board. Its length is calculated from the full outer perimeter of the roof including the overhangs:

Lfas = 2(Ar + Br)

The volume is determined by multiplying the length by the specified board width and thickness.

Wall plate. The wall plate calculation uses the building perimeter without the roof overhang. Four wall plate widths are deducted from the total length to account for corner joints:

Lwp = max(0, 2A + 2B - 4Wwp)

The volume is calculated from the wall plate length, width, and thickness.

Counter battens. Their total calculated length is taken as equal to the total calculated length of the rafter system. The volume is calculated from this length together with the counter batten width and thickness.

Total timber volume. The main total always includes the rafter system and battens. Fascia board, wall plate, and counter battens are added when their corresponding calculations are enabled:

Vtotal = Vraf + Vbat + Vfas + Vwp + Vcb

Material lengths are displayed in metres in Metric mode and decimal feet in Imperial mode. Timber volumes are displayed in m3 and ft3, respectively.

Waterproofing

Material area. The calculated roof area Sr is used as the base value. Additional material for overlaps is included in both the roll length and width directions. For roll length Lroll, roll width Wroll, and overlap N, the following relationship is used:

Sw = Sr(1 + N / Wroll + N / Lroll)

The waterproofing area is rounded to 0.1 m2 in Metric mode. In Imperial mode, the corresponding area is displayed in ft2 to one decimal place. The calculated number of rolls is determined from the area of one roll:

Qroll = Sw / (LrollWroll / 1000000)

In this formula, roll dimensions are expressed in millimetres and the waterproofing area in m2. The resulting number of rolls is also used to determine the total length of roll material. This length is displayed in metres or decimal feet, depending on the selected measurement system.

Insulation

Insulated area. Insulation is calculated from the roof slope geometry above the building outline without the eaves overhang. The area is determined separately for the two main slopes and the two hip slopes:

Sins = ((R + D)LminK1 + LminDK2) / 1000000

Insulation volume. For insulation thickness Tins in millimetres:

Vins = Sins × Tins / 1000

The insulation volume is calculated in m3 and displayed in m3 for Metric or ft3 for Imperial.

Practical Guidelines

Rafter spacing. Timber pitched roofs often use rafter spacing of around 600 mm (approximately 24 in). The actual value depends on the span, timber cross-section, insulation layout, and design loads.

Roof overhang. Values of approximately 300-700 mm (about 12-28 in) are common for many low-rise buildings. A larger overhang increases the external roof dimensions, roofing area, fascia board length, and batten consumption.

Waterproofing overlap. Overlaps of around 100-150 mm (approximately 4-6 in) are common for many roofing membranes. The required overlap depends on the membrane type, roof pitch, and the manufacturer's installation requirements.

Related European standards. Timber member size and spacing are designed according to Eurocode 5 EN 1995-1-1 "Design of timber structures - Part 1-1: General - Common rules and rules for buildings". Roof loads are determined with reference to Eurocode 1 EN 1991-1-3 "Actions on structures - Part 1-3: General actions - Snow loads" and EN 1991-1-4 "Actions on structures - Part 1-4: General actions - Wind actions".

FAQs

How does ridge length affect hip roof geometry?

Increasing the ridge length reduces the horizontal run of the end hip slopes and makes them steeper when the roof height remains unchanged. Reducing the ridge length increases the hip run. Ridge length therefore affects not only the roof drawing, but also slope angles, rafter lengths, roof area, and batten requirements.

Why are hip rafters longer than common rafters?

A hip rafter runs diagonally in two horizontal directions at the same time, so its plan projection is longer. The calculator first determines this diagonal projection, then includes roof height and the eaves overhang. Four hip rafters are included, one from each roof corner to a ridge end.

When should I use fixed rafter spacing or even rafter distribution?

Fixed spacing is useful when rafter positions need to match insulation widths, sheathing modules, or another construction grid. Even distribution is useful when the main requirement is to stay within a specified maximum spacing while distributing the rafters more uniformly across the roof.

When is a separate first batten spacing required?

A separate first spacing is used for roofing systems where the distance between the first and second batten rows differs from the regular batten spacing. This is common with some metal tile roofing profiles. The correct value depends on the specific roofing product and should normally be taken from the manufacturer's installation layout.

How does the roof overhang affect material quantities?

The overhang increases the external roof dimensions and therefore increases the roofing area, batten lengths, hip rafters and other elements in the eaves zone, as well as the fascia board length. The overhang is not added to the insulation calculation because insulation volume is based on the roof geometry above the main building outline.