DeckMath
Pergola estimator · 2026 retail

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.

2026-Q1 retail5 materials6 roof stylesPlan-view diagramHouse-attached or freestandingAll 50 states
5·Materials
6·Roof styles
$/sqft·Live update
<2s·Live calc

Inputs

Dimensions

ft

ft

ft

Area · 192 sq ft

Standard residential — 12″ sonotube buried below frost line, post anchor in wet concrete.

Selected: Western Red Cedar, Open lattice (wood).

192 sq ft Western Red Cedar pergola with Open lattice (wood). Project total $6,445 to $8,460.
Pergola · Western Red Cedar·Northeast
$6,445 – $8,460$34–$44 /sq ft installed
1612' · 9 ft posts25-yr lifeOpen / partial shade
Posts
36 lf @ 9 ft each
Girders
34 lf total
Rafters
126 lf total
Roof area
Open lattice (wood)

Plan-view layout

Top-down diagram showing posts, girders, and rafter spacing.

16′ × 12′ · freestanding
16′ length · 2 girders × 1712′ width · 9 rafters4 posts (9′)2 girders9 rafters

Project advisories

Western Red Cedar · 25-yr lifespan

Manufacturer data

Premium-look natural wood — weathers to silver-gray, stainable, mid-life span. Maintenance ~$0.45/sqft/yr.

Roof: Open lattice (wood)

Manufacturer specs

Wood 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

Footings — Sonotube + concrete (frost line)
4 footings × $175 each (concrete + post anchor)
4.0 footing
$700
Lattice top (1×2 strips)
192 sqft of lattice covering — adds 30% partial shade at noon
192 sqft
$576
Western Red Cedar 2×6 rafters (cross beams)
9 rafters × 14 ft (incl. 12″ overhang each end) at 24″ o.c. = 126 lf
9.0 rafter
$529
Western Red Cedar 6×6 posts
4 posts × 9 ft height = 36 lf
4.0 post
$450
Western Red Cedar 4×6 girders (main beams)
2 × 17 ft (incl. 6″ overhang each end) = 34 lf
2.0 girder
$289
Post anchors + hurricane ties + lag bolts + screws
4 ABU/PB anchors · 9 H1 ties · 2 bolt sets
15 pc
$189
Materials subtotal
$2,733

National-median pricing 2026-Q1 (Home Depot/Lowe's/specialty pergola dealers). Regional labor multiplier: 1.22× (Northeast).

Project all-in

Materials (posts + girders + rafters + roof + footings + hardware)
Western Red Cedar · 6 line items
$2,541 – $2,733
Labor (installed)
Northeast · 1.22× national
$3,584 – $4,638
Add-ons
Electrician (only when fan / motorized roof included)
$0 – $0
Soft costs
Permit · demo (only if included)
$320 – $320
Contingency reserve (10%)
Industry-standard cushion
$769
Project total (low – high)
Plan around the high. Get 3 contractor bids — DeckMath should land within ±15%.
$6,445$8,460

Building a deck instead?

DeckMath has 11 deck calculators (material, cost, structural, brand-deep, stain) all IRC 2021 compliant.

Browse

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.

  1. 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).

  2. 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).

  3. 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).

  4. 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).

  5. 05

    Add accessories

    String / pendant lighting kit ($165), outdoor ceiling fan ($285 + electrician install). Motorized roof requires electrician for the motor circuit.

  6. 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.

Post count + linear feet
posts = 4 (freestanding) or 2 (attached); lf = posts × postHeightFt

Freestanding pergola has 4 corner posts; house-attached uses the wall as 2 of the 4 supports. Post lf = count × height for material order.

Girder linear feet
2 × (lengthFt + 2 × 0.5 ft overhang)

Two main girders run parallel to the long dimension, each with 6″ overhang on both ends. Total lf = 2 × (length + 1 ft).

Rafter count + linear feet
rafters = floor(length × 12 ÷ spacing) + 1; lf = rafters × (width + 2 ft overhang)

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
roofArea × installedPerSqft × (0.55 materials + 0.45 labor)

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.

Total labor
(materialLabor × area + roofLabor × roofArea) × regionMult

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>