Purlin Calculator
Calculate purlin size, spacing, row count, and total material for metal roof panel support including wood 2x4/2x6 and steel C-purlin options with fastener quantities
Determine purlin size based on roof area, rafter span, and load
Quick presets
Count
11 pieces
24" spacing • 21.7 ft length
Professional Calculator
Extended parameters for precise calculations
Estimated Materials
60 bundles
Roof Area
1,792 sq ft
Squares
17.9
Detailed Breakdown
How to Use This Calculator
Sizing tab: Enter the roof slope length (ridge to eave), building width, and metal panel type. The panel gauge and profile determine the maximum purlin spacing — thinner panels need closer spacing. Select the combined design load (dead + live + snow) for your region. The calculator cross-references the panel type and load to recommend a purlin material and size. For standard residential pole barns with 4-foot truss spacing and 29-gauge corrugated panels, wood 2x4 purlins at 24-inch OC are typical.
Layout tab: Choose the purlin spacing and material to calculate the number of rows per roof plane and the total linear footage. The calculator includes ridge and eave rows automatically. Select the rafter or truss spacing so the tool can verify that the chosen purlin size is adequate for the span. The waste factor accounts for splicing (purlins must be joined over a rafter) and cutting waste at gable ends.
Cost tab: Select the purlin grade or steel gauge, fastener type, and whether to include panel-to-purlin screws in the estimate. The calculator determines the number of fastener connections (each purlin-to-rafter crossing needs fasteners) and produces a complete cost estimate including lumber or steel, structural fasteners, and optionally the metal roofing screws. State-based pricing adjusts for regional lumber and steel costs.
The Formula
Purlin Row Count (per roof plane) Rows = floor(Slope Length x 12 / Purlin Spacing OC) + 1 (for eave) + 1 ridge row shared between planes Total Rows (gable roof) = 2 x Rows per plane — 1 (shared ridge row)
Total Linear Footage Total LF = Total Rows x Building Width x (1 + Waste%)
Purlin Size Selection If Rafter Spacing <= 4 ft and Load <= 25 PSF: 2x4 wood If Rafter Spacing <= 6 ft and Load <= 25 PSF: 2x6 wood If Rafter Spacing <= 6 ft and Load <= 50 PSF: 2x6 wood or 4" steel C-purlin If Rafter Spacing > 6 ft: steel C-purlin (4" for <=12 ft, 6" for <=18 ft)
Fastener Count Purlin-to-rafter connections = Total Rows x (Building Width / Rafter Spacing + 1) x 2 fasteners per connection Panel-to-purlin screws = Roof Area / 100 x 80 screws per square
Material Cost Wood purlins: Total LF x Price per LF (2x4: $0.50-$0.80, 2x6: $0.80-$1.30) Steel C-purlins: Total LF x Price per LF (4": $2.00-$3.50, 6": $3.00-$5.00) Fastener cost = Count x Price per fastener State multiplier applied to all costs
Example Calculation
Tom is building a 20 x 40 ft pole barn in Indiana with trusses at 4-foot OC and 29-gauge corrugated metal roofing. The roof pitch is 4/12 with a slope length of approximately 10.5 feet per side. Combined load is 25 PSF (no significant snow).
Step 1: Purlin Size
• Rafter spacing: 4 ft, Load: 25 PSF
• 2x4 SPF #2 wood purlins are adequate (max span 6 ft)
Step 2: Row Count
• Slope length: 10.5 ft per side
• Rows per side: floor(10.5 x 12 / 24) + 1 = floor(5.25) + 1 = 6 rows
• Total rows (both sides): 2 x 6 - 1 (shared ridge) = 11 rows
Step 3: Total Linear Footage
• Each row: 40 ft long
• Subtotal: 11 x 40 = 440 LF
• With 10% waste: 440 x 1.10 = 484 LF
Step 4: Lumber Pieces
• Using 16-ft 2x4s: 484 / 16 = 30.3 → 31 boards
• 8-ft 2x4s for remainders: add 3 boards = 34 total pieces
Step 5: Fasteners
• Purlin-to-rafter connections: 11 rows x (40/4 + 1) = 11 x 11 = 121 connections x 2 screws = 242 structural screws
• Panel-to-purlin screws: (10.5 x 2 x 40) / 100 x 80 = ~672 screws
Step 6: Cost (Indiana)
• 2x4 purlins: 484 LF x $0.60/LF = $290
• Structural screws: 242 x $0.25 = $61
• Panel screws: 672 x $0.10 = $67
• Total purlin system: $418
Frequently Asked Questions
What size purlins do I need for a metal roof?
What is the correct purlin spacing for metal roofing panels?
What is the difference between C-purlins and Z-purlins?
Can I install metal roofing directly to rafters without purlins?
How do I calculate the total linear feet of purlins needed?
Related Calculators
Metal Roofing Calculator
Calculate metal roof panel count, trim, and total cost
Roof Truss Spacing Calculator
Determine optimal truss OC spacing for your roof structure
Roofing Screw Calculator
Calculate the number of self-drilling screws for metal panels
Pole Barn Roofing Calculator
Estimate all materials for a pole barn metal roof
Lumber Calculator
Calculate board-feet and cost for framing lumber