Formula & constants
Rafters = length × 12 ÷ spacing, plus one. Slats = width × 12 ÷ slat spacing. Posts bear below the frost line on a footing, not on soil. Shade depends on slat spacing and sun angle. All default values are editable — when your supplier's data sheet, product label or local code says otherwise, use that number instead.
Comparing your options
Before you commit to materials, these side-by-side breakdowns cover the decisions that come up with this calculator — cost, lifespan and where each option fails:
- Pergola or Awning or Shade Sail — Best way to shade a patio?
Where this fits in your project
This tool is one step in a larger job. Once these numbers are settled, deck calculator (Deck Calculator), then lumber calculator (Lumber Calculator). Where the two interact, Concrete Column Calculator covers the overlap. For the full sequence see the project workflows, weigh options on the comparison pages, and check local factors in the state guides.
Frequently asked questions
Do pergola beams need to be engineered?
Spans over about 12 feet, and anything in a snow or high-wind region, need a sized member from a span table or an engineer. This takeoff gives quantities only.
How deep should pergola footings be?
Below the local frost line, and deeper where uplift is a concern. A pergola is a sail in high wind.
What slat spacing gives good shade?
Closer spacing gives more shade but less light and more wind load. Six inches on a 1.5-inch slat gives roughly 20% coverage at noon.
Further reading on the blog: Cement pergola · Terrace pergolas · Paver patio pergola shade layout · the complete paving guide
Last verified: — see our methodology.
Planning estimates only — confirm quantities with suppliers and local code before ordering.