CalculatorYard logo
CalculatorYard

/

Pergola Building Guide: Lumber, Sizing, and Design Tips

Pergola Building Guide: Lumber, Sizing, and Design Tips

A pergola adds structure, shade, and visual interest to an outdoor space without the complexity of a fully enclosed structure. It is one of the most rewarding weekend builds for a capable DIYer, but lumber selection, post sizing, and connection hardware all need to be right before you start. An undersized pergola sags, wobbles, or fails; an oversized one wastes money and looks heavy. This guide covers the key structural and aesthetic decisions.

Lumber Selection

Pergola lumber needs to be both structural and attractive, since it is fully exposed to weather and view.

Cedar and Redwood

Cedar is the most popular choice for DIY pergolas. It is naturally rot-resistant, lightweight, machines cleanly, and looks excellent with a clear finish or left to weather to a natural gray. Redwood shares cedar's properties but is more expensive and less widely available outside the western US. Both species hold up well in outdoor applications without pressure treatment.

Pressure-Treated Lumber

Pressure-treated pine costs less than cedar and is structurally strong, but it is heavier, more prone to checking and warping as it dries, and has a less refined appearance. For posts in contact with the ground or set in concrete, always use pressure-treated regardless of species. Direct soil contact will rot cedar within a few years.

Composite Lumber

Composite pergola boards are available and eliminate maintenance entirely, with no sealing, staining, or weathering. They are heavier and more expensive than wood but will look the same in 20 years as they do on installation day. Check that the composite product you choose is rated for structural spans, not just decorative trim.

Standard Sizing Guidelines

Post size depends on height and load. For a standard eight-foot height, 6x6 posts are the right choice. 4x4 posts flex noticeably on a full-height pergola and look undersized on any structure over ten feet wide. Posts taller than ten feet should be 6x6 minimum. Beam size depends on span: for spans up to twelve feet, a doubled 2x8 or a single 4x8 beam is standard. Spans of twelve to sixteen feet call for doubled 2x10 or 4x10 beams. Rafters are typically 2x6 at 16 to 24 inches on center for spans under twelve feet. Purlins (the decorative cross-members on top) are typically 2x4 or 2x6 and run perpendicular to the rafters, spaced 12 to 24 inches apart for shade and aesthetics.

Post Spacing

Typical post spacing is 8 to 12 feet on center, aligned with the beam spans. Longer spans require larger beams. Do not stretch post spacing to save a post without recalculating beam size. A 4x8 beam spanning 16 feet without center support will deflect visibly under its own weight plus any climbing plants or accumulated snow.

Post Footings

Free-standing pergola posts need concrete footings. Dig below the frost line (check your local depth) plus 6 additional inches. The footing diameter should be at least three times the post width. Use a post base hardware connector set in the concrete rather than burying the post itself. This keeps wood above grade and dramatically extends the post's life. Set anchor bolts or post base hardware before the concrete cures and check for plumb. Allow concrete to cure for at least 48 hours before setting posts and loading the structure.

Connections and Hardware

Use structural screws, through-bolts, or engineered connectors at all major joints. Do not rely on toenails or standard wood screws for beam-to-post or rafter-to-beam connections. Structural screws (such as LedgerLOK or Timber Screws) are stronger than conventional screws and do not require pre-drilling in most applications. Through-bolts with washers are required where pergola beams cantilever past posts. Decorative rafter tail cuts, shaped ends with bevels, curves, or notches, are cut before installation and are one of the easiest ways to add a custom look without significant extra work. Templates and a jigsaw make the process fast and consistent across all matching members.

Permits and Attachment to the House

A free-standing pergola may not require a permit in many jurisdictions, but attaching one to the house almost always does. An attached pergola transfers loads to the house structure via a ledger board, and that ledger attachment must meet code requirements similar to a deck ledger: through-bolted into the house framing, properly flashed, and supported by the house structure rather than just the siding. Check local codes before starting and pull a permit if required. Permits for pergolas are typically easy to obtain, and the inspection confirms the structure is safe for people and plants to use.

Build your lumber list with post, beam, rafter, and purlin quantities using our Pergola Calculator.

Calculate lumber needed for a pergola. Enter dimensions for posts, beams, rafters, and hardware quantities.