Pergola calculator: posts, beams, rafters and slats

Enter the footprint, how far your beams can span between posts and how far apart the rafters go. This counts the posts, beams, rafters and top slats, spaces them evenly, and turns them into boards to buy.

14 ft long12 ft wideposts 81 1/4" o.c.8 ft posts12"12"
ft

Outside of posts, along the beams

ft

Outside of posts, along the rafters

ft

What your beam can span — from a span table

in

On centre

A 14 ft × 12 ft pergola takes

Posts

6

3 under each beam

Rafters

13

15 7/8" on centre

Beam boards

4 × 16 ft

Top slats

38

Shaded area

224 sq ft

Laying it out

Posts3 under each beam, spread evenly — every gap at or under your 8'
81 1/4" on centre
RaftersFlush with both ends of the beams, the spacing evened out so the last bay is not a stub
15 7/8" on centre
Rafter spanBeam centre to beam centre — check this against a span table for your rafter stock
138 1/2"
Slats38 slats across 168" of rafter, one flush at each end — cut a spacer block to the gap
3" gaps

Material list

6 posts at 96"
6 × 8 ft
4 beam boards at 192"
4 × 16 ft
13 rafters at 168"
13 × 16 ft
38 top slats at 192"
38 × 16 ft

Counts and lengths, not sizes. The beam depth for your post spacing, the rafter depth for the span above, and the post and footing are a span table and your building department's call — this page does not guess them.