Roofing calculators

Metal roofing calculator

Enter the building footprint, roof type, pitch, overhangs and panel width to get the number of metal roof panels and the length to order, plus screws, ridge cap, eave and rake trim, closures and underlayment.

Section
in/12
ft

Wall to wall, without overhang. E.g. 12' 6"

ft

Shed roof: low eave to high wall. E.g. 12' 6"

Overhangs
in

Horizontal projection past the wall. E.g. 6-1/2"

in

Ignored for hip roofs. E.g. 6-1/2"

Panels
%

5% gable/shed, 15% hip

Metal panels

30 panels

28 + 5% · each 17.89 ft → order 18 ft

Panel length to order
18 ft
Slope length 17' 10-11/16", rounded up to whole feet
Panels before waste
28
2 planes × 14 panels (42.0 ft ÷ 36 in coverage)
Total panel length
536.7 ft
Roof area
1,503 ft²
Roofing squares
15.03 squares
Panel screws
1,203 screws
80 per square for exposed-fastener panels; standing seam uses clips
Ridge cap
5 pieces
42.0 ft in 10 ft pieces
Eave trim
9 pieces
84.0 ft in 10 ft pieces
Rake trim
8 pieces
71.6 ft in 10 ft pieces
Eave closures
84.0 ft
Full eave length
Ridge closures
84.0 ft
Both sides of the ridge
Synthetic underlayment
2 rolls
1,000 ft² per roll
Metal panel layout: 30 panels, 18 ft longOne gable roof plane seen face-on: 42' along the eave, panels 17' 10-11/16" long at 36" coverage.04ridge 42'17' 10-11/16"0236"0342'01One of 2 planes · 14 panels across
Default example: one side of a 40 × 30 ft gable at 6/12 with 12 in overhangs and 36 in panels, drawn to scale. The ridge is highlighted at the top; when the eave is not a whole number of panel widths, a hatched strip marks the last panel cut to width.
  1. 01 Plane width along the eave (L′)
  2. 02 Panel length = slope length (run × slope factor)
  3. 03 Panel coverage width
  4. 04 Ridge line

How metal roof panels are calculated

Metal panels run from the eave to the ridge, so you need two numbers: how long each panel is and how many fit side by side along the eave. Both come from the same footprint and pitch as the roof area calculator.

slope factor = √(1 + (pitch ÷ 12)²)

L′ = length + 2 × rake overhang W′ = width + 2 × eave overhang

panel length = (W′ ÷ 2) × slope factor (gable, hip) W′ × slope factor (shed)

order length = panel length rounded up to whole feet

On a hip roof every side has an eave, so both L′ and W′ use the eave overhang. Panels are counted per side for gable and shed roofs, and by area for hip roofs, where the triangular ends are cut from full panels:

panels per side = L′ in inches ÷ coverage width, rounded up

gable = 2 × panels per side shed = panels per side

hip = roof area ÷ (coverage in ft × panel length), rounded up

panels to order = panels × (1 + waste %), rounded up

A porch or wing at a different pitch goes in as its own section. Each section gets its own panel length and panel count, rounded up separately, because panels of different lengths can't be shared. Screws, trim, closures and underlayment are worked out once on the combined lengths and area.

The accessories follow from the roof area and edge lengths:

squares = roof area ÷ 100 screws = squares × 80

ridge cap = (ridge + hips) ÷ 10 ft eave trim = eaves ÷ 10 ft rake trim = rakes ÷ 10 ft

eave closure = eave length ridge closure = 2 × (ridge + hips)

underlayment rolls = roof area ÷ 1,000 ft²

Worked example: 40 × 30 ft gable roof

The calculator opens on a 40 × 30 ft gable roof at 6/12 with 12 in eave and rake overhangs, 36 in coverage panels and 5% extra.

  1. Slope factor: √(1 + (6 ÷ 12)²) = 1.118.
  2. Footprint with overhangs: 42' × 32' = 1,344 ft², so the roof area is 1,344 × 1.118 = 1,503 ft², or 15.03 squares.
  3. Panel length: 16 ft run × 1.118 = 17.89 ft, ordered at 18 ft.
  4. Panels per side: 504 in ÷ 36 in = 14. Two sides make 28, and 28 × 1.05 = 29.4, so order 30 panels (536.7 ft of panel in total).
  5. Screws: 1,502.6 ft² ÷ 100 × 80 = 1,202.1, rounded up to 1,203.
  6. Ridge cap: 42.0 ft ÷ 10 = 5 pieces. Eave trim: 84.0 ft gives 9 pieces. Rake trim: 2 × 32 × 1.118 = 71.6 ft gives 8 pieces.
  7. Closures: 84.0 ft at the eaves and 84.0 ft at the ridge. Underlayment: 2 rolls.

Measuring and ordering tips

  • Measure the building along the walls and the overhangs horizontally from the wall face to the fascia, at one eave and one gable end. The calculator adds the overhangs for you.
  • Check the pitch with a level and tape: measure the rise over 12 in of run on a rafter tail or the roof surface.
  • Panels usually stop about 1 in short of the ridge and run slightly past the eave trim. Those small adjustments normally fit inside the round-up to whole feet, but if the slope length lands just under a whole foot, add a foot.
  • Coverage width is the width each panel covers after the side lap, not its full sheet width. Use the number on the manufacturer's profile sheet.
  • Panels longer than about 40 ft need a splice or a special order and can be hard to ship and handle. Ask the supplier before you settle on full-length panels.
  • For a porch, garage or wing at a different pitch, add it with “+ Add another section” and set its type and pitch. For dormers and valleys, have the supplier draw a panel layout.

Exposed fastener or standing seam

Exposed-fastener panels (classic rib, R-panel, 5V) are screwed through the face into purlins or deck. They are the cheaper choice for barns, sheds and many houses, but most need 3/12 or steeper, and the screw washers need periodic checking. Standing seam panels (usually 12 in to 16 in wide) are held by hidden clips and allow for thermal movement. Low-slope versions with sealed seams can go down to about 1/2:12, so the manufacturer's stated minimum for the exact profile governs. On steep or high roofs, or when you are switching from shingles, a metal roofing contractor can confirm the deck, underlayment and fastening pattern for your wind zone.

Sources

Frequently asked questions

How long should metal roof panels be?

Panel length is the horizontal run of one side, overhang included, times the slope factor. On a 6/12 roof the factor is 1.118, so a 16 ft run needs 17.89 ft panels, ordered as 18 ft because panels are cut to whole feet.

How many screws do I need per square of metal roofing?

Plan on about 80 screws per 100 ft² square for exposed-fastener panels on purlins, strapping or solid deck; manufacturers quote roughly 60 to 100 depending on purlin spacing and wind zone. Standing seam is held down with concealed clips, not through-screws, so follow the manufacturer's clip spacing instead.

How many pieces of ridge cap and trim do I need?

Ridge cap, eave trim and rake trim are sold in 10 ft lengths (some lines use 10 ft 6 in). Divide each edge length by 10 and round up; on a hip roof the ridge cap also covers the hips.

Where do foam closures go on a metal roof?

Closures seal the panel ribs at the eave and along both sides of the ridge (and each hip), keeping out wind-driven rain, insects and birds. They are sold by the lineal foot, so order the eave length plus twice the ridge and hip length.

How much extra metal roofing should I order for a hip roof?

Allow about 15% on a hip roof because every panel that meets a hip is cut on a diagonal, against about 5% on a simple gable or shed. For standing seam on a hip roof, have the supplier work out a panel-by-panel layout before you order.

What is the minimum roof pitch for metal panels?

Most exposed-fastener panels need 3/12 or steeper. IRC 2021 Section R905.10.2 sets 3:12 for lapped, non-soldered metal panels without applied lap sealant and 1/2:12 with lap sealant, and standing seam rated for low slope can go to about 1/2:12; the manufacturer's stated minimum for the profile governs.

Do I need underlayment under a metal roof?

This calculator counts synthetic underlayment at 1,000 ft² per roll, rounded up to whole rolls. Check the panel manufacturer's installation guide for the underlayment type it requires, especially on low slopes.