Metal roofing is ordered in pieces that are cut to length for your roof, so a wrong number cannot be fixed with a trip to the store. A panel that is 4 inches short at the eave is scrap, and a trim piece forgotten at the rake stops the job for a week.
This calculator turns four measurements into an order list: how many panels, how long each one should be, how many screws and how many pieces of eave, ridge and rake trim. It works for a gable or a shed roof with exposed-fastener panels and shows what the last, narrow panel wastes.
What the calculator does
Enter the length of the roof along the ridge, the horizontal run from the wall to the ridge for one slope, the pitch and the eave overhang. The calculator turns the run into slope length with the pitch multiplier, adds the framing overhang and 2 inches beyond the edge, and rounds up to the next inch for the order length. Panels per slope come from the ridge length divided by the coverage width, rounded up, because the last panel is cut narrow rather than skipped.
Screws come from the per lineal foot counts in a published panel installation guide, scaled to your coverage width, with 10% extra for trim and laps. Trim is counted in 10 foot pieces, because 10 foot 6 inch pieces lose about 6 inches to overlap. The chart shows how many screws each row spacing needs, so the cost of fastening more closely is visible before you order.
Scenario 1: a small shed roof
A shed or lean-to roof is the simplest order. Take a 24 foot long roof with a 12 foot run and a 4 in 12 pitch. The slope multiplier is 1.054, so the slope is about 13 feet 8 inches with the framing overhang, and with the 2 inch drip overhang the order length is 13 feet 11 inches. At 36 inch coverage the ridge length divides into exactly 8 panels. The calculator lists 8 panels at 13 feet 11 inches, about 333 square feet of roof, 307 screws at 24 inch rows, 3 pieces each of eave and high side trim and 3 pieces of rake trim.
Small roofs have the least room for error because each panel is a large share of the job. Order the one spare panel at the longest length that MBCI mentions contractors sometimes add for jobsite errors or damage.
Scenario 2: a typical gable
A 40 foot ridge, a 14 foot run on each side and a 6 in 12 pitch is a common gable. Each slope needs 14 panels, because 40 feet is 480 inches and 480 divided by 36 is 13.3, which rounds up. The order length is 17 feet 0 inches. The calculator reports 28 panels in all, 1,355 square feet of roof and 1,428 square feet of panel, so 73 square feet of panel, about 36 per slope, is cut off the last panel. That waste is not a mistake; it is what a 13.3 panel width costs.
Shortening the ridge length by 12 inches, if the design allows it, would remove the narrow last panel from each side. The calculator shows the last panel’s cut width in the plain-language line so you can see when a small layout change saves money.
Scenario 3: a long, steep roof
A 60 foot ridge with a 26 foot run and a 10 in 12 pitch has a multiplier of 1.302. Each slope is 35 feet 4 inches long, so panels are long, awkward to handle and priced by the foot. The calculator lists 40 panels, 4,238 square feet of roof and 3,887 screws at 24 inch rows. At 12 inch rows the count rises to 6,997, which is why the screw spacing in the panel maker’s instructions deserves a look before you buy a box.
Panel length has a ceiling. Metal Sales says the maximum recommended panel length for its PBR panel is 45 feet and to inquire beyond that. If a slope runs past that length, the calculator says so, and the usual answer is a lapped layout with a mid-roof overlap, designed with your supplier.
What changes from the shed to the long roof
| Roof | Panels | Order length | Roof area | Screws at 24 inch rows |
|---|---|---|---|---|
| 24 ft shed, 4 in 12 | 8 | 13 ft 11 in | 333 sq ft | 307 |
| 40 ft gable, 6 in 12 | 28 | 17 ft 0 in | 1,355 sq ft | 1,309 |
| 60 ft gable, 10 in 12 | 40 | 35 ft 4 in | 4,238 sq ft | 3,887 |
Screws grow with area, panel count grows with ridge length and panel length grows with pitch. The three numbers move independently, which is why a rule of thumb per square rarely survives contact with a real roof.
Coverage width is not the width on the sticker
Metal panels have an overall width and a coverage width. The coverage width is what one panel adds to the roof after it overlaps its neighbor. The Lowe’s 5 Rib installation guide says each panel covers 36 inches, and the Metal Sales PBR guide says each panel has a coverage of 36 inches. Using an overall width of, say, 38 inches would undercount the panels by about 5%, a shortage that shows up on the last slope when no time remains to reorder.
Enter the coverage width from your panel’s spec sheet. For narrower panels the count rises quickly: the same 40 foot gable needs 20 panels per slope at 24 inch coverage and 27 at 18 inch.
Screws: where the numbers come from
The Lowe’s guide lists panel screws per lineal foot of roofing at 4.5 for 12 inch spacing, 3.0 for 18 inch and 2.5 for 24 inch, and 190 screws per square at 9 inch spacing falling to 80 per square at 24 inches in its load span table. The calculator scales those per foot counts to your coverage width and adds 10% for trim and laps, so a typical gable at 24 inch rows needs 1,309 and the same roof at 12 inch rows needs 2,357.
Metal Sales fastens its PBR panel field at 12 inches on center with a stitch fastener, puts fasteners at the ridge and high-side eave one inch from the panel end, and requires sealant on sidelaps. Its guide gives no fastener count per panel and says the quantity must meet loading and code requirements. Treat the calculator’s screw count as a purchasing estimate and use your manufacturer’s schedule for the real pattern.
Trim, the order line with the most leftovers
Trim is sold in lengths, and the Lowe’s guide says all of its trim comes in 10 foot 6 inch sections and to allow 6 inches of overlap on all trims. The calculator counts 10 feet of coverage per piece. A 40 foot gable needs 8 pieces of eave trim for the two eaves, 4 of ridge cap and 7 of rake trim for 68 feet of rake edge. Partial pieces are cut from full ones, so the order is always a whole number.
Low slopes add fastening, not panels. Metal Sales requires sidelap sealant and stitch screws on less than 3 in 12 slope, and the calculator flags roofs at or under that pitch. Ask for the low-slope fastening plan in writing.
Questions to put to the supplier before paying
- What is the coverage width of this profile, and does the order use it?
- What length is each panel cut to, and how much eave overhang is included?
- How many spare panels are on the order, and at what length?
- Which fastener schedule applies at 12, 18 or 24 inches, and where are the closer rows near edges?
- Are sidelap sealant, stitch screws, outside closures and trim on the same quote?
- What goes under the panels: felt, synthetic underlayment or purlins over old roofing?
A supplier who answers all six from the spec sheet has measured the roof. One who answers with a price per square has not, and the number in this calculator is a quick way to tell the difference.
Under the panels and over the framing
The Lowe’s guide covers both cases. On a new roof, cover the entire deck with 30 pound felt paper, Typar or equivalent before the panels go on. Over an existing roof, it calls for 2×4 purlins at 24 inches on center to attach the panels. Approved decking in the same guide includes 19/32 inch OSB and 3/4 inch plywood. Those details change the cost of the job more than the panel count does, and they are why a metal roof quote needs a site visit. For whole-job pricing, use the metal roof installation cost calculator, and for the exposed-fastener versus standing seam decision read this comparison.
Worked example: ordering a 40 foot gable and checking a quote
An illustrative example. The numbers are exactly what the calculator shows with the inputs listed.
A homeowner with a 40 foot ridge, 14 foot run, 6 in 12 pitch, 12 inch eave overhang and 36 inch panels on a gable roof gets 28 panels at 17 feet 0 inches. The roof is 1,355 square feet and the panels cover 1,428, so the last panel on each slope is cut down to 12 inches of its 36 inch width. Screws at 24 inch rows come to 1,309 with 10% extra, and trim is 8 pieces of eave, 4 of ridge and 7 of rake.
A supplier quote lists 30 panels at 17 feet 6 inches for the same roof. The calculator’s 28 panels plus one spare is 29, so the quote carries one more spare than expected. The 6 extra inches of length on each panel is about 3% more steel than the 17 feet 0 inches the geometry needs. Both are reasonable questions: the extra panel may be a deliberate margin, and the longer length may be allowing for a bigger drip overhang than the 2 inches assumed here.
Moving the same roof to 12 inch screw rows to match a stricter fastening schedule raises the screws from 1,309 to 2,357, an extra 1,048. The chart in the calculator shows the full spread, so the box count and the labor to drive them are known before the order.
Frequently asked questions
Does this work for standing seam panels?
What coverage width should be entered?
Can metal panels go over old shingles?
Why does the calculator add a spare panel?
What if the slope is longer than 45 feet?
Are hips and valleys included?
Is a 2 inch drip overhang right?
Sources
- Lowe’s: 5 Rib metal roofing system installation guide
- Metal Sales: PBR panel installation guide (12/11 edition)
- Angi: How to measure a metal roof
- MBCI: Measuring for a metal roof, considerations and tips (updated March 21, 2025)
Related calculators and guides
- Metal roof installation cost calculator: whole-job pricing by panel type
- Roofing squares and shingle bundles calculator: the same takeoff for asphalt shingles
- Roof replacement cost calculator: compare metal with other materials
