CalcTrace

Roof Pitch, Rafter and Area Calculator

For a gable or hip roof of one even pitch: convert the pitch between degrees, rise per 12 and percent, then get the rise, the common rafter and hip rafter lengths including the eave overhang, the true sloped surface area and the number of roofing sheets or shingle bundles with a waste allowance.

Last updated .

Your roof

Roof type
m
m

Outside of the wall frames. The span is the side the rafters run across; for a hip roof it is the shorter side.

Enter the pitch as
°
mm

Measure overhangs on plan, from the wall frame to the outside of the fascia or barge.

Roof covering

Count
mm
m

Use the cover width after side laps from the manufacturer's data, not the rolled width.

%

Result

Pitch and framingValue

Area and covering

ItemValue

Rafter lengths are theoretical line lengths from the outer edge of the overhang to the ridge centreline, before deductions for the ridge board and before plumb and birdsmouth cuts. Hips assume every roof face has the same pitch.

Show the working

    Three ways to state a roof pitch

    Pitch is the slope of a roof face, and the trades describe it three ways. Australian drawings usually give degrees. North American practice gives the rise in inches for every 12 inches of horizontal run, written 6/12 or "6 in 12". Percent is the rise per 100 of run, the same measure used for road and drain grades. All three describe the same angle θ:

    rise per 12 = 12 × tan θ   percent = 100 × tan θ   θ = arctan(rise per 12 ÷ 12)

    A 6/12 roof is therefore arctan(0.5) = 26.565° and 50%, and a 22.5° roof is 4.97/12 and 41.42%. A 45° roof is 12/12 and 100%.

    Rise and rafter lengths

    Rise R = (S ÷ 2) × tan θ

    Run with overhang r = S ÷ 2 + o   Rise with overhang H = r × tan θ

    Common rafter = r ÷ cos θ = √(r² + H²)

    Hip or valley rafter = √(2r² + H²)

    S is the building span, o the eave overhang measured horizontally and θ the pitch. R is the height of the ridge above the top of the wall frame; H is the height above the outer edge of the overhang. The common rafter runs square to the wall from the fascia line to the ridge. A hip runs diagonally from the corner: when the two faces that meet at it have the same pitch, it sits at 45° on plan, so its horizontal run is √2 × r, and combining that with the same rise H gives the formula above. The same length applies to a valley between two wings of equal span and pitch. On a hip roof of equal pitches the ridge is the building length minus the span.

    True roof area

    Roof surface area = plan area including overhangs ÷ cos θ

    Each roof face is tilted by θ, so its true area is its area on plan divided by cos θ. Because every face of a single-pitch roof tilts by the same angle, the rule holds for the whole roof however many hips and faces it has. The plan area is (S + 2o) × (L + 2o) for a hip roof and (S + 2o) × (L + 2g) for a gable, where g is the overhang at the gable ends. Sheets or bundles = surface area × (1 + waste % ÷ 100) ÷ cover per sheet or bundle, rounded up.

    Worked example: an 8 m × 12 m hip roof at 22.5°

    1. Pitch. tan 22.5° = 0.41421, so the rise per 12 is 12 × 0.41421 = 4.97 and the pitch is 41.42%.
    2. Rise. Half span 4 m, so R = 4 × 0.41421 = 1.657 m above the wall plate.
    3. Run with overhang. r = 4 + 0.45 = 4.45 m, and H = 4.45 × 0.41421 = 1.843 m.
    4. Common rafter. cos 22.5° = 0.92388, so 4.45 ÷ 0.92388 = 4.817 m.
    5. Hip rafter. √(2 × 4.45² + 1.843²) = √(39.605 + 3.398) = √43.003 = 6.558 m. The ridge is 12 − 8 = 4 m long.
    6. Plan area. (8 + 0.9) × (12 + 0.9) = 8.9 × 12.9 = 114.81 m².
    7. Surface area. 114.81 ÷ 0.92388 = 124.27 m².
    8. Sheets. With 10% waste, 124.27 × 1.1 = 136.70 m². Each 0.762 m × 5 m sheet covers 3.81 m², and 136.70 ÷ 3.81 = 35.88, so 36 sheets.

    The same building with a gable roof and 300 mm overhangs at the gable ends has a plan area of 8.9 × 12.6 = 112.14 m² and a surface area of 121.38 m². The rafters are the same; there are no hips.

    Getting it right on site

    Use the pitch the drawing gives. Mixing degrees with rise per 12 is the classic error: 6° and 6/12 are very different roofs. Percent is easy to confuse with degrees too.

    The hip is flatter than the roof. Because a hip covers more ground for the same rise, its own slope is arctan(tan θ ÷ √2): for a 22.5° roof that is 16.3°. Bevels and plumb cuts on hips use this angle, not the main pitch.

    Order longer than the line length. The figures here are geometric lines. Real rafters need extra for plumb cuts at the ridge, tails and trimming, and the ridge board or beam thickness is deducted on site.

    Sheets and bundles are counted by area. Metal sheets are usually ordered in lengths to suit each run, and hips and valleys create diagonal offcuts, so a cut-heavy hip roof needs a larger waste allowance than a plain gable. Use the cover per sheet and per bundle from the product you are buying. Some asphalt shingles are packed so three bundles cover a 100 ft² "square", 9.29 m², about 3.1 m² each, which is why 3.1 is the example here; check the wrapper. Roof pitch limits for each covering are set by its manufacturer.

    What this does not handle. Faces of different pitches, Dutch gables, skillions, curved roofs and roofs with dormers. For those, work out each plane separately.