Calculate Materials for Your Pergola Project
Building a pergola transforms outdoor spaces into shaded retreats, but materials for a 10×12 pergola can cost $800-2,500 depending on lumber quality and design complexity. Ordering short means project delays and extra trips. Ordering excess means returning heavy lumber or storing it. This calculator determines exactly how many posts, beams, rafters, and slats you need based on your pergola dimensions and spacing preferences.
Understanding Pergola Components
Posts: Vertical supports, typically 6×6 pressure-treated lumber. Standard height is 8-10 feet (6-8 feet above ground, 2-3 feet buried). Four posts for most pergolas; six for large spans (12+ feet).
Beams: Horizontal members connecting posts at the top. Use doubled 2×8 or 2×10 boards for strength. Span between posts—maximum span depends on lumber size and load.
Rafters: Cross beams running perpendicular to main beams. 2×6 or 2×8 boards spaced 16-24 inches apart. These create the primary shade structure.
Slats/purlins: Optional top layer running perpendicular to rafters. 1×2 or 2×2 pieces spaced 8-12 inches apart for additional shade. Closer spacing = more shade.
Measuring and Planning Your Pergola
1. Determine size: Standard sizes are 10×10, 10×12, 12×12, or 12×16 feet. Measure your space and account for walkways, furniture underneath, and visual proportion to your house/yard.
2. Calculate post count: Four posts for most rectangular pergolas. Add posts every 8-10 feet for long runs (a 12×24 pergola needs six posts in two rows of three).
3. Beam sizing: 2×8 beams span up to 10 feet. 2×10 beams span up to 12 feet. For longer spans, use doubled beams or add intermediate posts. Undersized beams sag over time.
4. Rafter spacing: 16 inches on-center provides good shade without making the structure feel closed-in. 24 inches on-center is more open and airy. Closer spacing uses more lumber but creates more shade.
Material Selection and Quantities
Pressure-treated pine: Most economical ($3-8 per board foot), lasts 15-20 years, green tint fades to gray unless stained. Requires 6-12 months drying before staining.
Cedar: Naturally rot-resistant ($8-15 per board foot), beautiful color, lasts 20-30 years, costs 2-3× more than treated pine. Stain immediately to prevent graying.
Redwood: Premium choice ($12-20 per board foot), gorgeous color, very rot-resistant, lasts 30+ years. Best for high-end projects in dry climates.
Composite/vinyl: Lowest maintenance, never needs staining, expensive upfront ($15-30 per board foot equivalent), lasts 25+ years. Harder to work with—requires special fasteners.
Installation Best Practices
Set posts in concrete: Dig holes 3 feet deep (below frost line in cold climates), 12-16 inches diameter. Use 2-3 bags of concrete per post. Set posts perfectly plumb and let concrete cure 48 hours before building upward.
Use proper hardware: Don't rely on nails or screws alone. Use joist hangers for rafters, post caps, and structural brackets. Galvanized or stainless hardware prevents rust stains on wood.
Check local codes: Many municipalities require permits for structures over 120 sq ft or attached to houses. Setback requirements (distance from property lines) vary by location. Check before building—fines and teardown orders are expensive.
Orient for shade: North-south rafters provide midday shade on east and west sides. East-west rafters shade from the south during peak sun. Consider sun angles in your location and time of day you'll use the space most.
Common Pergola Building Mistakes
Using 4×4 posts: 4×4s are too small for most pergolas—they flex and wobble. Use 6×6 posts for stability, especially in windy areas or with attached roofs. The extra cost ($20-30 per post) is worth it.
Skipping the ledger board (attached pergolas): If attaching to your house, use a properly flashed ledger board bolted to the house frame, not just the siding. Improper attachment causes water intrusion and structural failure.
Not accounting for lumber dimensions: A "2×6" is actually 1.5×5.5 inches. A "6×6" is 5.5×5.5 inches. Calculate based on actual dimensions, not nominal sizes, or your cuts will be off.
Over-complicating the design: Fancy joinery and decorative cuts look great but dramatically increase difficulty and cost. Simple notched rafters and clean lines create beautiful, sturdy pergolas without advanced woodworking skills.
Materials Needed
Enter dimensions above to see results
Pro Tips
- Use 6×6 posts for pergolas wider than 12 feet for adequate support
- Standard pergola height is 8–10 feet
- Set posts in concrete footings at least 24" deep (below frost line)
- Pressure-treated lumber is essential for ground contact; cedar or redwood for above
- Check local building codes — many areas require permits for pergolas over 200 sq ft
Frequently Asked Questions
Q: How much does it cost to build a pergola?
A: DIY with pressure-treated lumber: $500-1,500 for 10×12. Cedar: $1,200-3,000. Redwood: $2,000-4,500. Composite materials: $2,500-5,000. Kits: $800-3,000 plus assembly. Professional installation adds $1,500-5,000 labor.
Q: Can I build a pergola without sinking posts in concrete?
A: Use post anchors (metal brackets bolted to concrete piers). This keeps wood off the ground (prevents rot) and is easier than setting posts in concrete. However, it's less sturdy in high winds. Not recommended for large pergolas or windy areas.
Q: How do I add a roof or shade to a pergola?
A: Retractable shade canopies ($200-800), outdoor fabric draped between rafters, bamboo shades, or climbing vines (wisteria, grapevines) trained over the structure. For weatherproof roofs, use polycarbonate panels or metal roofing—this may require engineering and permits.
Q: Do I need to seal or stain a pergola?
A: Pressure-treated wood can be left natural (turns gray) or stained after 6-12 months drying. Cedar/redwood should be sealed immediately to preserve color—unsealed, they turn gray within 1-2 years. Re-seal every 2-3 years.
Q: How much shade does a pergola provide?
A: Pergolas with 2×6 rafters at 16" spacing provide 30-50% shade (dappled, not full). Closer rafter spacing (12") or adding slats on top increases shade to 50-70%. For full shade, add fabric canopy or solid roofing.