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,724–$2,332 MyBuildPlanner
Configure

Pergola

Advanced optionsframing, footings, finishing…
Structure
Shade
Footings
Estimating

Estimates are planning aids, not an engineered design. Confirm spans, footings and setbacks against your local code and permit before buying.

Estimated materials$1,724–$2,332
Shopping list ↓
PROJECT SUMMARY

Pergola

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,724–$2,332

Cost breakdown

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

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

Materials

ItemQty
Posts — 6×6 Western red cedar2 per beam line · ~8 ft above grade4 × 12 ft
Beam plies — 2×12 Western red cedar2 × 2-ply built-up beams · 12.0 ft post spacing4 × 16 ft
Rafters — 2×6 Western red cedarcut to 12.0 ft · 16" on-center10 × 16 ft
Shade slats — 2×2 Western red cedar21 slats at 6" spacing across the top38 × 8 ft
Knee brace stock — 4×4 Western red cedar8 braces (2 per post) · ~24" each2 × 8 ft
Concrete — 80 lb bags4 piers · 12" dia × 42" deep20 × bags
Exterior stain / UV sealertwo coats on all faces2 × gal

Hardware & fasteners

ItemQty
Post bases (standoff)4 × ea
Post-to-beam brackets4 × ea
Rafter / hurricane tiesties each beam crossing20 × ea
Structural connector screws≈ 264 screws (brackets, braces, slats)3 × 100 ct box

Shopping list

Grouped by store section

Lumber & Decking

Concrete & Footings

Connectors & Brackets

Fasteners & Hardware

Finishing & Sealant

Tools

✓ required · ○ helpful

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 planner

How the Pergola Builder works

Give the Pergola Builder a footprint, post height and material and it lays out the whole structure: 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 high-level walkthrough of the build. Pair it with your plan above and always confirm spans, footings and setbacks against your local code.

  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.

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

Keep planning

Related builders

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.