Metal Roof Purlin Calculator

Work out how many purlin rows a metal roof needs, the linear feet and the piece count, from the roof length, slope length and spacing.

Quick answer: a 40 ft roof with a 20 ft slope length at 2 ft purlin spacing needs 11 rows — one at each end plus nine between — giving 440 linear feet and 55 pieces at 8 ft.

  • Rows, feet and pieces
  • Actual spacing shown
  • Quantity, not structural design

Inputs and results

Spacing is measured up the slope, and a purlin sits at each end of the run as well as between.

width length plan (footprint) pitch section
Both dimensions are measured on plan, not along the slope.
Purlin rows
11
Linear feet
440
Pieces
55
Actual spacing (ft)
2.00

Rows include the two end purlins; pieces are per row, so a row longer than stock is split.

Show calculation

What this metal roof purlin calculator works out

Purlins are the members that run across a metal roof, square to the slope, carrying the sheeting. They sit on top of the rafters or the trusses, and their spacing is what the sheet actually spans between.

The page takes the roof length, the slope length and the purlin spacing and returns how many rows that needs, the total linear feet of purlin, and how many stock pieces to buy at the length you specify. It also reports the spacing you will actually achieve, which is rarely the round number you typed.

What it does not do: choose the purlin section, gauge or fixing, check the sheet's span capacity, or allow for laps and waste. Those are the questions that decide whether the roof works, and the section below on spacing is where they belong.

What a normal result looks like. A 40 ft roof with a 20 ft slope at 2 ft spacing needs 11 rows and 440 linear feet. In 8 ft pieces that is 55 lengths — and the 11th row is the one people forget, because it is the eave or ridge purlin sitting at the very end of the run.
Galvanised steel purlins fixed across a metal roof frame with profiled roof sheets above.
Purlins run across the roof at a fixed spacing; the calculator counts the rows and linear feet.

What each metal roof purlin input and result means

Four inputs, four results. Two of them are lengths you measure, one is a spacing you choose, and one is a purchasing decision.

The four inputs.
FieldUnitWhat to enter
Roof lengthfeetThe distance the purlins run, parallel to the ridge. It is the member length, not the building footprint dimension, if there is an overhang at each end.
Slope lengthfeetThe distance up the slope from eave to ridge — the rafter length, not the horizontal run. Measured along the roof, not on the plan.
Purlin spacingfeetCentre-to-centre spacing measured up the slope. This is the sheet's span, and it comes from the manufacturer's table, not from a rule of thumb.
Purlin piece lengthfeetThe stock length you can buy. Used to work out how many pieces each row takes.
The four results, and what each one is for.
ResultUnitWhat it means
Purlin rowscountRows across the slope, including the purlin at each end of the run. The number of spacings plus one.
Linear feetfeetRows multiplied by roof length. The total length of purlin, before laps or waste.
PiecescountStock lengths to buy: rows multiplied by the pieces each row needs at your piece length.
Actual spacingfeetThe spacing you get when the rows are spread evenly over the slope. Usually slightly less than the nominal figure you entered, never more.

Counts are whole numbers and are rounded up where the arithmetic demands it — you cannot buy a fraction of a purlin. Linear feet are the exact product of rows and roof length.

How to use the metal roof purlin calculator

Four fields, and the results update as you type. The two lengths are the ones people get wrong, because both have a trap in them.

  1. Roof length is how far the purlins run — parallel to the ridge. If the roof oversails the gable by a foot at each end, add those two feet, or you will come up short at both ends.
  2. Slope length is measured up the roof, not across the plan. It is the rafter length, so a 6:12 roof with a 15 ft run has a slope length of 16.77 ft, not 15.
  3. Spacing is the figure from the sheet manufacturer's span table for your profile, thickness and load. Do not invent a round number here.
  4. Piece length is the stock length you can actually buy. It changes the piece count, not the rows or the linear feet.

Read the rows first, then the actual spacing. If the actual spacing is meaningfully below the nominal one, you have bought a little more than you needed — which is normal, and cheaper than a short last bay.

Metal roof purlin formulas

rows = ceil(slope length ÷ spacing) + 1
linear feet = rows × roof length
pieces = rows × ceil(roof length ÷ piece length)
actual spacing = slope length ÷ (rows − 1)

The extra row is the one at the end of the run — the eave purlin or the ridge purlin. Without it the last bay of sheet has nothing to fix to, which is the single most common omission in a purlin takeoff.

Dividing the slope length by the number of gaps rather than the number of rows gives the actual spacing. It is always slightly less than the nominal figure, because the rounding up that produced the extra row is absorbed across the whole run instead of leaving a short bay at one end.

The piece count is a separate multiplication: each row needs enough stock lengths to cover the roof length, rounded up. A 40 ft row in 8 ft pieces takes five, whatever the row count. Because purlins are long, continuous members, thermal movement becomes worth thinking about on a big roof — the calculate metal roof thermal expansion figures show how much a run moves between seasons.

What actually sets the purlin spacing

Spacing is not a design preference. It is the distance the sheet can span between supports without deflecting too far or oil-canning, and it comes from the manufacturer's span table for a specific profile, thickness and fixing pattern.

Three things push that number down. A thinner gauge spans less. A wider pan or a deeper profile usually spans more, but not always in the way you expect. And the load matters: wind uplift on a large low roof can govern over snow, particularly near corners and edges where uplift is highest.

This is also why the panel layout and the purlin layout have to be decided together. Panel widths, the position of the last pan and the fixing line all sit on top of the purlin grid, and the metal panel layout estimator works out the panel side of that. Get the panels right and the purlins wrong and nothing lines up at the verge.

Colour is not usually thought of as a structural input, but on metal it feeds back into both movement and heat. A dark roof runs hotter, moves more, and the calculate metal roof color and heat figures show the difference that makes on a long run.

Do not use a round number because it is convenient. If the sheet's table says 1.35 m or 4 ft 6 in for your profile and load case, use it. Rounding down to 4 ft costs an extra row on every slope; rounding up overloads the sheet and shows as oil-canning within a season.
Completed dark grey standing-seam metal roof on a modern house under a blue sky.
The purlin layout is hidden under the finished standing-seam roof — which is why it is worth getting right on paper.

Worked metal roof purlin examples

Example 1 — 40 ft roof, 20 ft slope, 2 ft spacing

Rows
ceil(20 ÷ 2) + 1 = 11
Linear feet
11 × 40 = 440 ft
Pieces at 8 ft
11 × ceil(40 ÷ 8) = 11 × 5 = 55
Actual spacing
20 ÷ 10 = 2.00 ft

The nominal spacing happens to divide the slope exactly, so the actual spacing matches it. That is the tidy case, and it is not the usual one.

11 rows; 440 ft; 55 pieces

Example 2 — 52 ft roof, 24 ft slope, 1.5 ft spacing, 10 ft pieces

Rows
ceil(24 ÷ 1.5) + 1 = 17
Linear feet
17 × 52 = 884 ft
Pieces at 10 ft
17 × ceil(52 ÷ 10) = 17 × 6 = 102
Actual spacing
24 ÷ 16 = 1.50 ft

Longer pieces cut the piece count without touching the rows or the footage: the same 884 ft in 8 ft lengths would need 119 pieces instead of 102.

17 rows; 884 ft; 102 pieces

Example 3 — when the spacing does not divide cleanly

Inputs
40 ft roof, 22 ft slope, 2.5 ft spacing, 8 ft pieces
Rows
ceil(22 ÷ 2.5) + 1 = 10
Actual spacing
22 ÷ 9 = 2.44 ft
Linear feet
10 × 40 = 400 ft
Pieces at 8 ft
10 × 5 = 50

Nine gaps for ten rows, so the real spacing is 2.44 ft rather than 2.5. Half a foot short across the whole roof is exactly the kind of difference that turns into a visible short bay if you set out from the nominal figure instead of the actual one.

10 rows; 400 ft; 50 pieces

What spacing costs

The same 40 ft roof with a 20 ft slope, buying 8 ft lengths. The piece count is per row, so it moves with the rows.

Purlin quantity against spacing, 40 ft roof, 20 ft slope, 8 ft pieces.
Spacing Rows Actual spacing Linear feet Pieces
1 ft211.00 ft840 ft105
1.5 ft151.43 ft600 ft75
2 ft112.00 ft440 ft55
2.5 ft92.50 ft360 ft45
3 ft82.86 ft320 ft40

Going from 2 ft to 1.5 ft spacing adds 160 ft of purlin and 20 pieces. Going from 2 ft to 3 ft saves 120 ft but pushes the actual spacing to 2.86 ft, which most profiles will not span. The table shows the quantity; the manufacturer's span table decides which rows you are allowed to use.

Metal roof purlin limitations

  • Quantity only. No purlin section, gauge, fixing or span check. Those come from the sheet manufacturer and the applicable steel design standard.
  • One rectangle, one slope length. A roof with two different slopes, or an L-shaped plan, is several calculations.
  • No laps or waste. Purlins lap over supports, and each lap consumes stock. Allow for it in the order.
  • No edge details. The closure strip at the eave and ridge, and the verge and barge trim, are separate items — the metal roof closure strip estimator covers the first of those.
  • No trim or flashing. Ridge, verge, apron and barge are counted by the metal roof trim calculation.
  • No fixing design. Screw type, length, spacing and the number per square metre are set by the manufacturer for the profile and the wind zone.

Roof Pitch Resources and Guides

Reference values for the pitches that drive these numbers.

Frequently asked questions

Because purlins sit at both ends of the run as well as at the intermediate spacings. Without the extra row the first or last panel has nothing to fix to.

No. It is a quantity take-off. Purlin size, gauge and fixing are structural decisions that need the applicable code and a qualified designer.

The spacing after the rows are rounded up. It is the figure to use when checking the panel fixing schedule.

Yes. Slope length is the distance up the roof from the lowest purlin to the highest, and if the roof oversails the eave that extra length still needs supporting. Measure along the finished roof surface rather than between the wall lines.

Horizontally, across the slope, parallel to the ridge. That is why the page asks for roof length separately from slope length: the purlins are as long as the roof, and there are as many of them as the slope needs. A member running up the slope instead would be a rafter, and the rafter calculator handles those.

Because the row count is rounded up, then the slope is divided by the number of gaps rather than the number of rows. Ten rows make nine gaps, so a 22 ft slope at 2.5 ft nominal gives 2.44 ft actual. It is always less than the nominal figure and never more, which is the safe direction — but it is the number to set out from, not the one you typed.

Round only at the end, and round purchase quantities up. Rounding intermediate values can move the final figure by a visible amount on a large roof.

It depends on the system. Standing seam and most profiled metal sheets fix straight to purlins. Some systems use battens over a sarking layer or over a warm-roof deck, and a few use both, with the batten counter-battened to create a drainage and vent cavity. Follow the manufacturer's detail for the system you are installing rather than assuming; the quantities here assume the sheet fixes directly to the purlin.

Enough to cover every joint where one length meets the next over a support. The lap length itself comes from the manufacturer or the fixing detail, but the practical effect is that a row needing five pieces does not come out of exactly five times the roof length. Add the laps to the linear feet before you convert to pieces, or add roughly one lap length per joint.

It can. Wind uplift peaks at the edges and corners of a roof, so some profiles require a closer purlin spacing in the edge zone than in the field. If your manufacturer's table has a separate edge-zone column, the rows near the eave and verge may need to be tighter than the rest. This page assumes one uniform spacing across the slope.

Yes, and it is common on agricultural and industrial buildings where the purlins span between trusses or portal frames rather than sitting on closely spaced rafters. The quantity arithmetic on this page is identical either way; what changes is the purlin section, because the span between supports is much longer and the member has to be designed for it.

Where these numbers come from

The row count is the slope length divided by the spacing, rounded up, plus one for the end purlin. Linear feet and pieces follow from the roof length and the piece length.

Spacing and piece length are yours, and the spacing in particular should come from the sheet manufacturer's span table rather than from a convenient round number. This page does not reproduce any span table, and it does not size the member.

  • Your own measurement of the roof length and the slope length, taken along the finished roof surface.
  • The purlin spacing from the profile manufacturer's table for your load case.
  • The stock lengths available from your supplier.

Laying out the panels?

The panel layout calculator uses the same roof length and slope.

Scroll to Top