Pergola Cost & Materials Calculator

Posts, beams, rafters and shade-slat spacing for a freestanding or attached pergola.

Pergola — project drawing PROJECT DRAWING DECKS & STRUCTURES Pergola FOOTPRINT 12 × 10 ft · 120 sq ft MATERIAL Western red cedar CONFIGURATION Freestanding POSTS 4 × 6×6 DIFFICULTY Intermediate BUILD TIME 1.5–2.5 days EST. MATERIALS $1,707–$2,309 MyBuildPlanner
Configure

Pergola calculator

Material
Attachment
Advanced optionsfine-tune the details…
Structure
Post size
Rafter spacing
Shade
Footings
Footing diameter
Estimating

Estimates are planning aids, not a professional quote. Double-check quantities and product coverage — and any local code or permit requirements — before you buy.

Estimated materials$1,707–$2,309
Shopping list ↓
PROJECT SUMMARY

Pergola project summary

Footprint12 × 10 ft · 120 sq ft
Material
Western red cedar
Configuration
Freestanding
Posts
4 × 6×6
Roof
10 rafters @ 16" · 21 slats
Footings
4 piers · 20 bags
Difficulty
Intermediate
Build time
1.5–2.5 days
Estimated materials
$1,707–$2,309

Cost breakdown

Material only · national-average rates
Lumber & Decking$1,250–$1,691
Connectors & Brackets$153–$207
Concrete & Footings$119–$161
Fasteners & Hardware$117–$159
Finishing & Sealant$68–$92
Total$1,707–$2,309

Excludes tools, delivery, tax and permit fees. Labor not included — this is a DIY materials estimate.

Shopping list

Every item · grouped by store section

These are affiliate links: we may earn a commission if you buy through them, at no extra cost to you. It never changes what the calculator recommends — the shopping list comes from your dimensions, not from what pays.

Lumber & Decking

Concrete & Footings

Connectors & Brackets

Fasteners & Hardware

Finishing & Sealant

Tools

✓ required · ○ helpful
  • Post-hole digger or power auger — 4 piers
  • Circular saw
  • Cordless drill / impact driver
  • 4 ft level + post level
  • Tape measure & speed square
  • String line & batter boards — squaring the posts
  • Socket / ratchet set — lag screws
  • Extension ladder or two step ladders — setting beams overhead
  • Quick clamps — holding beams while you fasten
  • Mixing tub or wheelbarrow — concrete

Project notes

  • Estimates are a planning aid, not an engineered design. Confirm post, beam and footing sizes against your local code — many areas require a permit for a permanent pergola.
  • Footings are sized for 12" holes 42" deep (frost depth 36"). Let the concrete cure before loading the posts with beams.
  • Set and plumb all posts first, then mark and cut them to a common height with a water level or laser before the beams go up — it's far easier than trimming overhead.
  • Pre-cut the decorative rafter and beam tails on the ground for a consistent look, and dry-fit one bay before mass-producing the cuts.

About this calculator

How to estimate a pergola

Enter a footprint, post height and material and the whole structure gets laid out: post count and depth, built-up beams, rafters at your chosen spacing, the top shade-slat layer, concrete footings, every bracket and screw — plus tools, a cost range and a realistic build time.

Choose freestanding or attached and the framing adjusts — an attached pergola swaps one beam line for a ledger. Open advanced options to set post size, rafter and slat spacing, overhang, frost depth and waste.

Step by step

How to build a pergola

A step-by-step walkthrough to go with your plan above. Follow the product instructions and any local code or permit requirements as you work.

  1. 1

    Lay out and check for square

    Mark the four post centers with batter boards and string. Measure the diagonals and adjust until they're equal — that's how you know the layout is square before anything goes in the ground.

  2. 2

    Dig and pour the footings

    Auger each pier below your frost line, drop in a standoff post base (or set anchor bolts), and pour the concrete. Let it cure before loading the posts.

  3. 3

    Set and plumb the posts

    Stand each post in its base, brace it with temporary 2×4s, and plumb it on two faces with a post level. Leave the posts long — you'll trim them to height next.

  4. 4

    Mark posts to a common height

    Use a water level or laser to transfer one height mark around every post, then cut them all to the same line. Doing this now beats trimming beams overhead later.

  5. 5

    Build and raise the beams

    Assemble each doubled beam on the ground, then lift it onto the posts and lock it down with post-to-beam brackets. Have a helper — beams are heavy and awkward overhead.

  6. 6

    Install the rafters

    Space the rafters across the beams at your chosen on-center distance, fasten each with a rafter tie, and keep the decorative tails aligned with a string line.

  7. 7

    Add the shade slats

    Lay the top slats across the rafters at your spacing, screwing down through each crossing. A spacer block keeps the gaps consistent and the work fast.

  8. 8

    Brace and finish

    Add knee braces at each post for rigidity, sand any rough edges, and apply two coats of stain or UV sealer to every face — including the tops, where water sits.

Equip the job

Recommended gear for this build

Hand-picked categories that match the shopping list above. Links open a current selection so you can compare brands and prices.

These are affiliate links: we may earn a commission if you buy through them, at no extra cost to you. It never changes what the calculator recommends — the shopping list comes from your dimensions, not from what pays.

Connectors & BracketsHeavy-duty post base brackets (6x6)Standoff bases keep post ends off the concrete so they don't wick water and rot.
$18–28 ea
Connectors & BracketsPergola post-to-beam bracket kitConcealed or decorative brackets that lock beams to posts without toe-nailing.
$12–25 ea
Fasteners & HardwareStructural wood screws (4-6 in)Drive straight into framing for beams and braces — no pre-drilling, no lag wrenches.
$30–50/box
Finishing & SealantExterior wood stain & UV sealerCedar and redwood silver out fast in sun — a UV sealer holds the color far longer.
$35–50/gal
ToolsWater level or rotary laserThe fastest way to mark all posts to one height before cutting them overhead.
$25–120

As an Amazon Associate I earn from qualifying purchases. We may also earn from other retailer links here. This doesn’t change your price and helps keep these planners free.

Keep planning

Related calculators

Decks & Structures

More decks & structures calculators

Answers

Frequently asked questions

What size posts and beams does a pergola need?

Most freestanding pergolas use 6×6 posts with doubled 2×10 or 2×12 beams; 4×4 posts are only really suitable for small, low structures. The planner picks a beam size from your post spacing and defaults to 6×6 posts. Bigger posts also simply look right under a heavy rafter array — undersized posts make the whole thing feel spindly.

How far apart should the rafters and top slats be?

Rafters are typically 16–24 inches on-center; tighter spacing looks more substantial and supports more shade slats. The slats (purlins) on top are what actually create shade — space them 2–4 inches apart for heavy shade or 6+ inches for a lighter, airy feel. The tool counts both for you as you change the spacing.

How much shade does a pergola actually give?

An open slat roof only blocks the sun when it's at an angle, so midday overhead sun still gets through. Closer slat spacing, taller slats set on edge, or running them east–west all increase shade. For full coverage, plan a fabric canopy, shade sail, or polycarbonate panels on top — the slat layer is the structure for it.

Do I need footings and a permit?

A permanent pergola almost always needs concrete pier footings below the frost line for stability, and many jurisdictions require a permit — especially when it's attached to the house. Check local rules before you dig, and call 811 to locate utilities. Freestanding kits on an existing slab are sometimes exempt; confirm locally.