Pergola Cost Calculator
Full pergola project cost: 4 corner posts (or 2 + house wall), 2 main girders, 4-12 cross rafters, optional roof (open lattice / louvered manual or motorized / canvas / metal panel). 5 materials × 6 roof styles × all 50 states.
Inputs
Dimensions
Standard residential — 12″ sonotube buried below frost line, post anchor in wet concrete.
Selected: Western Red Cedar, Open lattice (wood).
Plan-view layout
Top-down diagram showing posts, girders, and rafter spacing.
Project advisories
Western Red Cedar · 25-yr lifespan
Manufacturer dataPremium-look natural wood — weathers to silver-gray, stainable, mid-life span. Maintenance ~$0.45/sqft/yr.
Roof: Open lattice (wood)
Manufacturer specsWood lattice top — partial shade, traditional pergola look, no rain protection. For full rain protection, switch to louvered manual/motorized or metal panel.
Bill of materials
National-median pricing 2026-Q1 (Home Depot/Lowe's/specialty pergola dealers). Regional labor multiplier: 1.22× (Northeast).
Project all-in
Building a deck instead?
DeckMath has 11 deck calculators (material, cost, structural, brand-deep, stain) all IRC 2021 compliant.
Estimates use 2026-Q1 national-median pricing. Expect ±15% variance vs your local market. Pergolas may or may not require permits depending on jurisdiction — call your local building department before starting.
How to use
Three steps. Permit-ready output.
- 01
Enter dimensions + post height
Length × width in feet (typical 10×10 to 16×20). Post height 8-10 ft is standard; 12-14 ft for vaulted or oversized installs (triggers heavier framing).
- 02
Pick a material
Cedar (premium look, 25-yr life), PT pine (cheapest, needs annual stain), aluminum (maintenance-free, longest life, modern look), vinyl (white-only, low-maintenance), composite-veneered (cedar core + composite cap, premium hybrid).
- 03
Pick a roof style
No roof (posts + girders only, cheapest), open lattice (traditional partial shade), canvas (full shade, removable), louvered manual (adjustable, hand-crank, rain protection), louvered motorized (premium, remote control), metal panel (full rain protection).
- 04
Set attachment + footing
Freestanding (4 posts) or house-attached (2 posts, replaces 2 with house-wall ledger). Footing: surface mount (existing slab/deck), sonotube buried (standard, frost-line depth), or concrete pad (premium for heavy structures).
- 05
Add accessories
String / pendant lighting kit ($165), outdoor ceiling fan ($285 + electrician install). Motorized roof requires electrician for the motor circuit.
- 06
Read your project total
Materials breakdown (posts, girders, rafters, roof, footings, hardware), labor (region-adjusted), add-ons, soft costs, contingency. Plus side-elevation diagram.
How we calculate
The math, fully transparent.
The Pergola Cost Calculator estimates the full project cost for a residential pergola — 4 corner posts, 2 main girders, 4-12 cross rafters, optional roof (open lattice, louvered manual or motorized, canvas, or metal panel), footings, hardware, lighting, and labor. Pricing reflects 2026-Q1 retail across cedar, pressure-treated, aluminum, vinyl, and composite-veneered materials. Average 12×16 cedar pergola with louvered manual roof: $5,500-9,500. Same dimensions in motorized aluminum: $14,000-22,000. The calculator's BoM is permit-ready in most US jurisdictions.
IRC references
- IRC 2021 R301 — Wind/seismic loading on outbuildings
- IRC 2021 R403.1.4 — Footing depth + frost line
- AHJ-specific — pergolas may or may not require permit (varies)
Material prices 2026-Q1 (Home Depot/Lowe's/specialty pergola dealers). Aluminum pergola pricing reflects pre-fabricated kit channels (Shadowspec / SOJAG / Sunjoy / Yardistry). Labor multipliers from RSMeans 2026-Q1.
Freestanding pergola has 4 corner posts; house-attached uses the wall as 2 of the 4 supports. Post lf = count × height for material order.
Two main girders run parallel to the long dimension, each with 6″ overhang on both ends. Total lf = 2 × (length + 1 ft).
Rafter spacing depends on material: cedar/PT/vinyl 24″ o.c., aluminum 32″ o.c. Each rafter has 12″ overhang each end. A 16 ft pergola has 9 rafters at 24″ o.c.
Roof installed cost splits ~55% materials, ~45% labor. Open-lattice is just thin lattice strips ($3/sqft material). Metal panel + louvered systems include their own framing as part of installed cost.
Material-specific $/sqft × pergola area. Cedar 18, PT 15, aluminum 25 (kit assembly), vinyl 16, composite-veneer 22. Region multiplier 0.92× South to 1.28× West Coast.
Save your plan
Don’t lose this estimate.
Your inputs are preserved in the URL — email it to yourself or copy the link so you can compare with contractor bids later. No account needed.
Frequently asked
Questions, answered.
Embed this calculator
One line. Any site. Free.
Drop the snippet into your contractor site, blog, or marketing page. Theme matches the parent site automatically.
<!-- Drop into any HTML, WordPress, Webflow, or contractor site -->
<script src="https://embed.deckmath.com/v1.js"
data-deckmath-calc="pergola-cost-calculator"
data-theme="auto"
async></script>Related