Pergola/Trellis Rafter Spacing Calculator
Calculate the number of rafters needed to span a pergola or trellis structure at a given on-center spacing.
Computed in your browser — nothing you enter is uploaded. Figures are presented for United States against IRC 2024, and every formula is cited under regulatory standards below.
Last verified 2026-08-26 · v1.0.0
Rafters needed
8 rafters
Maximum rafter spacing depends on the rafter material, size, and any planned cover/planting load — confirm the spacing against the specific rafter species/size's span table or a designer's calculation for your load case.
At the values currently entered, the rafters needed works out to 8. Figures are shown for United States, where IRC 2024 is the governing residential reference; switch the market above if you are building elsewhere.
Estimated cost — your price
This site holds no price list for this material — local prices vary too much to publish honestly. Enter your supplier's price and the result is costed with it.
[Schema Verified] Computed in alignment with American Concrete Institute (ACI 318-19) formulas and International Residential Code (IRC 2024) spatial boundaries.
Regulatory standards & verification citations
- Rafter count = ceil(Pergola Width ÷ Maximum Rafter Spacing) + 1 — the standard support-count method (identical in principle to this site's joist/stud spacing calculators) applied to pergola or trellis rafter layout.