Pergola Materials Calculator
Quick answer: A pergola needs 2 posts per side for each span plus 1 extra per side: a 16-foot pergola with 8-foot post spacing needs 6 posts, 13 rafters at 16-inch spacing, 12 bags of concrete, and 236 lineal feet of lumber. Enter your pergola size below to get posts, beams, rafters, concrete, and total lumber.
This calculator lists the lumber and concrete for a pergola from its size: post count, beam lengths, rafter count, concrete bags, and total lineal feet. Enter your dimensions and spacing to get a shopping list for the frame.
Enter your numbers
Your results
How to use this calculator
Enter the pergola length and width in feet, the post height, and the largest gap you will allow between posts. Set rafter spacing in inches — 16 inches on center is a safe default — and the concrete bags per post. Results update instantly.
Keep post spacing inside the beam span limits in the reference table below. If you plan a solid roof, reduce post spacing by 25–35% from the open-lattice maximums.
How this is calculated
Posts per side = ceiling(length ÷ max post spacing) + 1. Total posts = 2 × posts per side. Beams = 2 lengths, each as long as the pergola. Rafters = floor(length ÷ rafter spacing in feet) + 1, each as long as the pergola is wide. Concrete bags = total posts × bags per post. Total lumber = beam feet + rafter feet + posts × post height.
Counts are planning estimates for an open-lattice pergola. Beam spans in the reference table are guidance, not engineering specs — local building code governs footings, uplift hardware, and snow loads.
Worked example
A 16 by 12 foot pergola with 8-foot post spacing, 16-inch rafter spacing, and 8-foot posts: posts per side = ceiling(16 ÷ 8) + 1 = 3, so 6 posts in total; beams = 2 × 16 = 32 feet; rafters = floor(16 ÷ 1.333) + 1 = 13, at 12 feet each = 156 feet; concrete = 6 × 2 = 12 bags; total lumber = 32 + 156 + 48 = 236 lineal feet.
Reference data
| Beam size | Max span between posts |
|---|---|
| 2×6 | 10–12 ft |
| 2×8 | 12–14 ft |
| 2×10 | 16–18 ft |
| Double 2×12 | Up to 20 ft |
Post spacing guidance: 8–10 ft at most, 6–8 ft recommended. Under a solid roof, reduce spacing 25–35% from the open-lattice maximums.
Source: EngineerFix, 'How Far Apart Should Pergola Posts Be Spaced?' and DesignCorral pergola beam guide (2026 build); check local building code — spans are planning guidance, not engineering specs.
Method & sources
- EngineerFix: How Far Apart Should Pergola Posts Be Spaced?
- EngineerFix: How Far Apart Should Pergola Rafters Be?
Results are estimates for planning. They are general information, not financial, medical, or professional advice.
Frequently asked questions
How far apart should pergola posts be?
Keep post spacing at 8 to 10 feet at most, with 6 to 8 feet as the recommended range for a sturdy open pergola. The limit comes from beam span: a 2x6 beam spans 10 to 12 feet, a 2x8 spans 12 to 14 feet, and a 2x10 spans 16 to 18 feet.
How many posts does a pergola need?
Count posts per side as ceiling(length divided by max post spacing) plus 1, then double it for both sides. A 16-foot pergola with 8-foot spacing needs 3 posts per side, or 6 posts in total.
How many rafters does a pergola need?
Count rafters as floor(length in feet divided by rafter spacing in feet) plus 1. A 16-foot pergola with rafters 16 inches apart needs 13 rafters, each as long as the pergola is wide.
How much concrete does a pergola post need?
Plan on 2 bags of concrete mix per post for a footing, which is the default in this calculator. A 6-post pergola needs 12 bags. Deep footings, frost lines, and sandy soil can call for more, so check local code for footing depth.
Do I need a permit to build a pergola?
Permit rules differ by location: many areas allow small open pergolas without a permit, while attached pergolas, solid roofs, and larger structures often need one. Check local building code before ordering lumber, since spans in this calculator are planning guidance, not engineering specs.