Job calculator

Metal roofing calculator

Enter the length along the ridge, the width from eave to eave, the pitch, the overhang and your panel’s coverage width. Purlin spacing, screws and trim lengths are under Advanced.

Measurements

Example values. Replace them with yours.

Read as 40 ft 0 in

ft-in

Read as 30 ft 0 in

ft-in

Read as 4 in 12

in 12

Read as 12 in

in

One product's figure: 36 in

in

Pitch is the rise in inches for every 12 in of run: type 6 for a 6/12 roof. The roof pitch tool works it out from a rise and a run. Gable roofs: panels run from eave to ridge on both slopes.

Buy list

40 ft 0 in × 30 ft 0 in building, 4/12 pitch, gable roof

  1. 28
    panelsmetal roof panel, 36 in coverage, 16 ft 10-3/8 in longOrder cut to length. Shorter stock panels lap 6 in where they join.
  2. 1,120
    screwsroofing screws with sealing washers
  3. 5
    piecesridge cap, 10 ft 0 in
  4. 9
    pieceseave trim, 10 ft 0 in
  5. 7
    piecesgable trim, 10 ft 0 in

Estimate only, not engineering advice. Values marked Example are not recommendations: adjust them to your local building code, permit requirements and the products you buy.

The working

  1. Footprint with the overhang(40 ft + 2 × 1 ft) × (30 ft + 2 × 1 ft) = 1,344 sq ft
  2. Pitch factor√(1 + (4 ÷ 12)²) = 1.05409
  3. Roof area, every slope1,344 sq ft × 1.05409 = 1,416.7 sq ft
  4. Panel length, eave to ridge32 ft ÷ 2 × 1.05409 = 16.865 ft
  5. Panels per slope, rounded up42 ft ÷ 36 in = 14 panels
  6. Both slopes2 × 14 = 28 panels
  7. Purlin rows on one panel16.865 ft ÷ 24 in = 8.43 → 9 spaces, plus the eave row = 10 rows
  8. Screws28 panels × 10 rows × 4 = 1,120 screws
  9. Ridge cap, rounded up42 ft ÷ 10 ft = 4.2 → 5 pieces
  10. Eave trim, rounded up2 × 42 ft ÷ 10 ft = 8.4 → 9 pieces
  11. Gable trim, rounded up4 × 16.865 ft ÷ 10 ft = 6.75 → 7 pieces

Assumptions and sources

FigureUsedSourcePulled
Panel coverage widthOne product's figure. Profiles vary; use your panel's coverage, not its overall width.36 inHome Depot Canada listing for Westman Steel 36-inch x 8-feet Tough Rib Roofing Panel, model 2902628TR2026-11-17
Purlin spacingOne guide’s maximum for fastening direct to wood, with screws at every purlin.24 inBest Buy Metals, Tuff-Rib Install Guide2026-11-17
End lap between panelsFor slopes of 3/12 or more.6 inBest Buy Metals, Tuff-Rib Install Guide2026-11-17
Screws per panel at each purlin4Example value, change it under Advanced as per design requirements.
Ridge cap and trim piece length10 ft 0 inExample value, change it under Advanced as per design requirements.