Metal roofing calculator
Enter the building and the roof. Panels are cut to length from the real slope, and the trim, closures and screws are counted the way the barn designer counts them.
For a lean-to, width is how far the roof runs out from the wall. Gambrel roofs are not covered here: the barn designer prices gambrel roofs.
- Slope length
- 16' 10.375" per slope, panels cut 17' 1" long
- Roof area
- 1,417 sq ft
- Roof panel, 17' 1" long
- 28 panels478.3 linear ft at $2.99 per foot. Summertown Metals price list, Summertown, Tennessee store, Oct 13, 2026
- $1,430.22
- Ridge cap, 10 ft
- 5 piecesLowe's, Atlanta-Edgewood store, Oct 8, 2026
- $174.90
- Eave trim, 10 ft
- 10 piecesBest Buy Metals online store, Knoxville, Tennessee, Oct 13, 2026
- $130.00
- Rake (gable) trim, 10 ft
- 8 piecesBest Buy Metals online store, Knoxville, Tennessee, Oct 13, 2026
- $208.00
- Inside foam closure strips, 3 ft
- 28 pieces7 x 4-pack. Best Buy Metals online store, Knoxville, Tennessee, Oct 13, 2026
- $41.93
- Outside foam closure strips, 3 ft
- 28 pieces7 x 4-pack. Best Buy Metals online store, Knoxville, Tennessee, Oct 13, 2026
- $41.93
- Steel roofing screws, #9 x 1-1/2 in, with washers, box of 250
- 5 boxesSummertown Metals price list, Summertown, Tennessee store, Oct 13, 2026
- $90.75
- Stitch screws for laps and trim, box of 250
- 2 boxesBest Buy Metals online store, Knoxville, Tennessee, Oct 13, 2026
- $72.00
- Total
- 8 of 8 lines priced, before tax and delivery
- $2,189.73
Draw the whole barn in the designerPrice the whole barn
How the Metal Roofing Calculator Works
The calculator uses the same steel rules as our barn designer, so the roof list here matches the roof part of a full plan. It needs six numbers: roof type, width, length, pitch and the two overhangs. Purlin spacing is the seventh, and it only changes the screws.
Panel length from pitch
The slope is longer than half the width of the building. Take the run from the ridge to the outer edge of the eave, overhang included, and multiply it by the square root of 1 plus the pitch over 12, squared. At 4/12 that factor is 1.054, so every foot of run becomes 1.054 ft of panel; at 6/12 it is 1.118. The calculator rounds the cut length up to the next inch and adds 2 in, the allowance the designer uses. Metal Sales lists its Classic Rib panel up to 45 ft and says the panels cannot be end-lapped, so the calculator warns you when a slope runs past that.
Panel count from 36 in coverage
Rib panels are ordered by length and cover 36 in of roof each, not their full width, because each one laps over the rib of the last. Panels per slope is the roof length plus the rake overhang at both ends, divided by 36 in and rounded up. A gable has two slopes, a lean-to has one.
Example: 30x40 at 4/12
The run is 15 ft plus the 12 in overhang, 16 ft, so each slope is 16' 10.375" and each panel is cut 17' 1". The roof runs 40 ft plus 12 in of rake at each end, 42 ft, which takes 14 panels per slope and 28 in all, about 1,417 sq ft of roof. The trim comes to 5 ridge caps, 10 eave trim pieces and 8 rake trim pieces, all 10 ft, and 28 inside closure strips, with the same number of outside strips under the ridge cap.
Metal Roof Cost
Each line in the calculator is priced from a store listing we read, with the store and the date on the line. A line with no read price says not priced yet and stays out of the total. Nothing is averaged or guessed.
Panels per linear foot
Panels are the biggest line. Summertown Metals (Summertown, Tennessee store) lists its 29-gauge, 36 in coverage Tuff Rib panel at $2.99 per linear foot, cut to length, read on Oct 13, 2026. For the example roof that is 478.3 linear ft at $2.99 per foot, or $1,430.22. Color, gauge and freight move the price, so use it to check a quote, not to replace one.
Trim and screws
Ridge cap, eave and rake trim, closure strips and screws are priced the same way, each from the store that listed it, in the pack sizes it sells: the ridge cap at $34.98 a piece, the roofing screws at $18.15 a bag of 250 ($90.75 for the example). Together they add $759.51 to the example roof. Every line in the example has a read price today.
What the total leaves out
The total is the roof steel only, before tax and delivery. It leaves out the purlins that carry the panels, any underlayment or condensation control, and the labor to put it on. We have no named source for an installed price per square foot, so the calculator does not show one. For the whole building, use the pole barn cost calculator.
Screws per Square Foot
Western States Metal Roofing plans about 80 screws per 100 sq ft for 36 in panels with screw lines 24 in apart, and the designer uses the same figure: 0.8 per sq ft. The calculator adds 10% for drops and misses and sells them in bags of 250, so the example roof takes 5 bags. Metal Sales asks for #10-14 wood screws that reach at least 1/2 in past the inside of the purlin, which a 1-1/2 in screw does on a 2x purlin.
The count follows the purlins, because there is a screw line on each one. At 19.2 in the same roof takes a quarter more screws, at 16 in half as many again. The panel maker sets the widest spacing: Union Corrugating rates its MasterRib panel for roof purlins 2 ft apart at most, so the calculator stops at 24 in. Purlin size and spacing depend on the truss spacing and the snow, so work them out in the purlin spacing calculator first and bring the spacing back here. The truss spacing guide covers the layer underneath.
Stitch screws are counted one every 12 in along every side lap, the spacing Metal Sales prints for its panels: about 442 for the example roof, or 2 bags of 250. Check your panel maker's fastener drawing before you order.
Minimum Pitch for Metal Roofing
The residential code sets 3/12 as the least slope for lapped metal panels without lap sealant (section R905.10.2, as the Florida Building Commission quotes it), and Metal Sales and Union Corrugating print the same minimum for their rib panels. Enter less and the calculator stops with that rule instead of a list. Standing seam is a different system with its own rules and is outside this calculator.
Metal Roofing for Sheds, Carports and Lean-tos
The same math covers any roof with one or two slopes. Choose lean-to and the calculator uses one slope, drops the ridge cap and adds the flashing where the roof meets the building wall; width is how far the lean-to runs out from that wall. For a plan to build from, see carport plans, pole barn lean-to plans and small pole barn plans. If you are framing the whole building, how to build a pole barn shows where the roof goes in the order of work.
The builder's plan from the barn designer carries this list for the barn you draw, with every wall panel cut to length too, for $79 once.