DeckPlanner
Home/Outdoor living/Pergola rafters

Pergola rafter calculator

A pergola is mostly a quantity problem with one design number hidden inside it: how much shade the rafters make. That number is the rafter width divided by the spacing, and it is the only thing separating a pergola you sit under from a pergola you sit beside.

Your pergola

The direction the rafters are spaced along.
Width the rafters cross.
Closer spacing means more shade.
2×6 on edge = 1.5″ face. 2×4 flat = 3.5″.
Past the beam, for a shadow line.
Posts are counted at two per beam.

How this is calculated

Worked example

16 ft long, 12 ft span, 16″ spacing, 1½″ rafters, 1 ft overhang each end, two beams:

Note that 9.4% is not a defect. A pergola is a shade structure by degree, and most people who want more shade need either 2×4 laid flat at 12″ centres (29%) or a louvered roof.

Shade is a design decision with arithmetic attached

RaftersSpacingShadeFeel
2×2 on edge, 1½″ face24″6%A frame with almost no shade
2×6 on edge, 1½″ face16″9%The classic look; dappled at best
2×4 flat, 3½″ face16″22%Noticeable shade at midday
2×4 flat, 3½″ face12″29%A usable sitting area in summer
2×6 flat, 5½″ face12″46%Half shade, half sun

Orientation changes when you get the shade, not how much. Rafters running east–west shade the midday sun; north–south shade morning and evening and let the noon sun through. Decide which hours you use the space before choosing a spacing.

What the rafter count does not settle

Questions people actually ask

How many rafters for a 16 foot pergola?

At 16″ on centre, 13 rafters — 12 spaces plus one. At 12″ it is 17, and at 24″ it is 9. The count grows with the length, not with the span.

What spacing gives the most shade?

The narrowest spacing with the widest face. Shade is face width divided by spacing, so 3½″ rafters at 12″ centres give 29% and 5½″ at 12″ gives 46%. Below about 8″ spacing a pergola starts to behave like a solid roof, including its wind and snow loads.

Should rafters run along the house or away from it?

Away from the house, usually, so the beams run along the house and the rafters span the shorter distance. It also decides when the shade falls: rafters perpendicular to the house shade the midday sun if they run east–west.

Do I need a permit for a pergola?

Often yes, particularly if it is attached to the house or over a certain height or area. An attached pergola loads the house frame, which makes it a structural addition rather than a piece of furniture.

Can a pergola sit on a deck?

Yes, but the posts need blocking in the deck frame and a base that transfers load into a joist or beam rather than into the decking. A post sitting on boards will crush them.

Related

More in Outdoor living

Related reading