# Purlin Row Spacing Calculator

> Calculate the number of purlin rows needed along a rafter run given a maximum allowable purlin spacing.

Page: https://craftquantities.com/calculators/materials-quantities/purlin-spacing-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.1, sources checked 2026-09-05, 2 published test vectors.

Purlin rows needed: 11 rows for Roof Run Length 19.5 ft and Maximum Purlin Spacing 2 ft, the page's opening figures; on the metric page, 6 m and 0.6 m give 11 rows. Sources are cited below.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Roof Run Length (Along Slope) | `roofRunLength` | 6 m | 19.5 ft | mm, cm, m, in, ft, yd; range 0.01–20 m |
| Maximum Purlin Spacing | `maxPurlinSpacing` | 0.6 m | 2 ft | mm, cm, m, in, ft, yd; range 0.01–1.5 m |

- **Roof Run Length (Along Slope)**: The total distance measured along the roof slope, from eave to ridge, that purlins need to span across.
- **Maximum Purlin Spacing**: The maximum allowable spacing between purlin rows, from the roofing material or structural design.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Purlin rows needed** | 11 rows |
| Bays between purlin rows | 10 |
| Purlin centres up the slope | 0.6 m |

### US customary

| Result | Value |
|---|---|
| **Purlin rows needed** | 11 rows |
| Bays between purlin rows | 10 |
| Purlin centres up the slope | 1.95 ft |

## How it is worked out

The working the page shows, in order: Bays between purlin rows; Purlin centres up the slope; then purlin rows needed.

The method, derived in full:

- [Spacing, Pitch and the Count That Follows](https://craftquantities.com/methodology/spacing-pitch-and-count/): Why a run divided by a spacing gives the number of gaps and not the number of things, why the division rounds up rather than to nearest, and what the leftover bay at the end does to both.

What this calculation does not cover:

- Rows are counted here, purlins are not. A row longer than the stock lengths available has to be made up from more than one piece joined or lapped over a rafter, and the cleats, straps or blocks fixing every purlin-to-rafter crossing sit outside this division, so the answer still has to be turned into lengths and fixings before it becomes an order.
- The run entered is a single slope, eave to ridge, so a duopitch roof takes the figure twice; where one member at the apex serves both faces, the top row produced by the added end row is that same purlin counted once on each side.
- Only one of a purlin's two directions is on this page. The spacing asked for is measured up the slope, across the rows, whereas what each purlin actually spans is the gap between the rafters or trusses beneath it, and that gap is never entered, so bringing the rows closer together does nothing for a section that is too light for the rafter centres it crosses.
- Any maximum spacing from 10 mm (0.39 in) to 1.5 m (5 ft) is accepted and divided into the run without being weighed against the covering it carries, the load resting on it or the wind pulling up on it; that figure has to arrive already settled, from the sheeting or tile manufacturer's span rating or from the structural design.
- A clear, unbroken slope is assumed from eave to ridge. Rooflights, chimneys and dormers interrupt rows and want trimming members around the opening, and any row deliberately shifted to land on a ridge board, a valley or a change of covering is a departure from the even division this count is built on.

A professional must decide:

- Any maximum spacing from 10 mm (0.39 in) to 1.5 m (5 ft) is accepted and divided into the run without being weighed against the covering it carries, the load resting on it or the wind pulling up on it; that figure has to arrive already settled, from the sheeting or tile manufacturer's span rating or from the structural design.

## Sources

As the calculator cites them (sources checked 2026-09-05):

- Number of purlin rows = ceil(roof run length ÷ maximum purlin spacing) + 1, providing intermediate support between widely-spaced rafters or trusses

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**Why add 1 to the ceiling division?**

Because there is always one more row than there are gaps: dividing the run by the maximum spacing counts the gaps, and a row stands at each end of the run as well as between them. The end rows are typically at the eave and at the ridge.

**What sets the maximum allowable purlin spacing?**

The span rating of the roofing it supports — metal panel, tile battens, corrugated sheet — and the structural design for the loads the purlins carry. Always use the value specified by your roofing material manufacturer or structural drawings.

**Is the roof run measured horizontally or along the slope?**

Along the slope — purlins run perpendicular to the rafters up the actual roof surface, so the spacing calculation should use the sloped run length (not the horizontal projection) to get an accurate row count.

## Related calculators

- [Roof Truss Spacing & Count Calculator](https://craftquantities.com/calculators/materials-quantities/roof-truss-spacing-calculator/)
- [Roof Batten Spacing Calculator (Tile Roofing)](https://craftquantities.com/calculators/materials-quantities/roof-batten-spacing-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/purlin-spacing-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/purlin-spacing-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `purlin-spacing-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/purlin-spacing-calculator.json

---
Source: https://craftquantities.com/calculators/materials-quantities/purlin-spacing-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
