Metal Roofing Calculator: Panels, Ridge Trim & Screws

Figures panel count, panel length, ridge trim, and screws for a gable metal roof from your footprint, pitch, and panel width.

Inputs
ft ×
ft
Results update as you type — no submit
ResultsLIVE
Metal panels
30 panels
each ≈ 15.8 ft long (4.82 m), eave to ridge
Panel length15.8 ft
Ridge cap40 ft
Eave trim80 ft
Rake trim63.2 ft
Screws≈ 1,012
Roof area1,265 sq ft · 12.6 sq
Formula
slope = 15 ft × 1.054 = 15.8 ft
panels = ceil(40 ÷ 3 × 2 × 1.1) = 30
Assumes a straightforward gable (two rectangular planes). Hips, valleys, and dormers add cut waste — confirm with a panel supplier takeoff for a complex roof.
Diagram — roof planNTS
40 ft30 ft30 PANELS · 12.6 SQROOF PLAN · GABLE

Metal roofing goes on as long vertical panels that run from the eave up to the ridge, each covering a fixed exposed width. So the panel count is really a question about the eaves, not the whole roof: how many panel widths fit across the bottom edge of each roof plane, and how long does each panel need to be to reach the ridge.

For a simple gable roof there are two planes. The number of panels across one plane is the eave length divided by the panel's exposed width — commonly 36 inches, though 24 and other widths exist. Double that for the two planes. Each panel is cut to the slope length, which is the half-span (half the building width) multiplied by the slope factor for your pitch. A 4/12 roof over a 30-foot-wide building gives a half-span of 15 feet and a slope length of about 15.8 feet per panel.

From there the trim and fasteners follow. Ridge cap runs the full eave length along the peak. Eave and rake trim run the perimeter edges. Exposed-fastener panels take roughly 80 screws per square — that figure already includes the field screws, the side-lap stitch screws, and the trim screws. The calculator adds your waste allowance to the panel count for off-cuts at hips, valleys, and end walls, then rounds up, because panels and trim are bought whole.

This tool assumes a straightforward gable. Hips, valleys, dormers, and porches change the geometry, so treat the result as a solid starting order and confirm with a panel supplier's takeoff for a complex roof.

Worked example
Eave 40 ft · width 30 ft · pitch 4/12 · panel 36 in · +10% waste
slope length = 15 ft half-span × 1.054 = 15.8 ft per panel
panels across one plane = 40 ÷ 3 = 13.3
total panels = 13.3 × 2 planes × 1.10 = 29.3 → round up to 30
ridge cap = 40 ft · roof area = 1,265 sq ft = 12.6 squares
screws = 12.6 × 80 ≈ 1,012

Divide your eave length by the panel's exposed width to get panels per roof plane, then double it for a gable's two sides. A 40-foot eave with 36-inch panels needs about 13.3 per plane, or 27 before waste. Each panel is cut to the slope length so it reaches the ridge in one piece.

SOURCES Fabral / Union Corrugating / McElroy panel guides · 36 in exposed width · ≈ 80 screws per square
Estimates for planning only — verify before purchase