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

ft
ft

Count

11 pieces

24" spacing • 21.7 ft length

PRO

Professional Calculator

Extended parameters for precise calculations

sq ft

Estimated Materials

60 bundles

Roof Area

1,792 sq ft

Squares

17.9

Detailed Breakdown

Roof Area1,792 sq ft
With Waste1,971 sq ft
Roofing Squares17.9
Bundles60
How to Use This Calculator
The Purlin Calculator helps you determine the correct purlin size, spacing, row count, and total material for a metal roof support structure. Unlike the Metal Roofing Calculator (which estimates panels and trim) or the Roof Truss Spacing Calculator (which focuses on primary framing), this tool specifically addresses the secondary framing members that bridge between rafters or trusses to support metal roof panels.

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
The purlin calculator uses these formulas:

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
Example: 20 x 40 ft Pole Barn — Wood 2x4 Purlins at 24" OC

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?
The required purlin size depends on the span between rafters or trusses and the load the roof must carry. Wood 2x4 purlins are adequate for spans up to 6 feet with standard residential loads (25 PSF combined). This covers most pole barns with trusses at 4-foot OC. For rafter spacings of 6-8 feet, upgrade to wood 2x6 purlins. For spans beyond 8-10 feet (common in commercial post-frame buildings), steel C-purlins are required — 4-inch C-purlins for spans up to 12 feet and 6-inch C-purlins for spans up to 18 feet. In heavy snow regions with loads exceeding 40 PSF, reduce the maximum spans by 20-25% or move to the next larger purlin size.
What is the correct purlin spacing for metal roofing panels?
Purlin spacing depends primarily on the metal panel gauge and profile. Light 29-gauge corrugated panels require purlins at 24-inch OC maximum. Standard 26-gauge corrugated panels can span 36 inches between purlins. Structural profiles like standing seam and R-panel (PBR) in 26-gauge can span 48 inches, and in 24-gauge they can reach 60 inches. These maximums assume standard load conditions of 20-25 PSF combined load. Higher wind or snow loads reduce the allowable span — always check the panel manufacturer load-span table for your specific conditions. Additionally, purlins are always required at the ridge, eave, and any panel end laps regardless of spacing.
What is the difference between C-purlins and Z-purlins?
C-purlins have a symmetrical C-shaped cross section and sit flat on horizontal surfaces. They are the standard choice when the purlins are installed on flat-topped trusses or beams. Z-purlins have an asymmetrical Z-shaped cross section with flanges that angle in opposite directions, allowing them to lay flat against sloped rafter top chords without requiring beveled bearing blocks. On a pitched roof, a C-purlin would tilt at the roof angle unless a wedge-shaped block is added, while a Z-purlin naturally conforms to the slope. Z-purlins also nest together for efficient shipping and allow continuous multi-span installation by lapping at supports. For residential metal roofing over wood rafters, C-purlins or wood purlins are more common because the wood rafter already provides a flat nailing surface.
Can I install metal roofing directly to rafters without purlins?
Yes, if your rafters or trusses are spaced at 24 inches OC or less and the roof has solid sheathing (plywood or OSB), metal panels can be attached directly to the sheathing with self-drilling screws. Many residential metal roofing installations over existing asphalt shingle roofs also skip purlins by screwing through the metal panels and old shingles into the sheathing and rafters below. However, purlins are recommended even in these cases because they create an air gap between the metal and sheathing that reduces condensation, provides a thermal break, and allows minor sheathing unevenness to be corrected. Purlins are essential when rafter spacing exceeds 24 inches, when there is no solid sheathing, or when the panel manufacturer requires a specific support spacing.
How do I calculate the total linear feet of purlins needed?
To calculate total purlin linear footage: First, determine the number of purlin rows by dividing the slope length (ridge to eave) by the OC spacing and adding 1 for the eave and 1 for the ridge row. For example, a 20-foot slope at 24-inch OC gives 20 x 12 / 24 + 1 = 11 rows per side, or 22 rows for a gable roof. Then multiply the number of rows by the building width — 22 rows x 40 feet = 880 linear feet. Add the waste factor (typically 10% for splices and cuts): 880 x 1.10 = 968 LF. Finally, determine how many boards or steel pieces you need based on available lengths. For wood, 2x4s come in 8, 10, 12, 14, and 16-foot lengths. Optimize by choosing lengths that minimize waste and ensure splices fall over a rafter.

Related Calculators

Related Guides & Resources