How to Set Fence Posts That Stay Straight

Learn how deep to dig, when to use concrete or gravel, and how to set fence posts that hold up.

Published by TheSiteMath for U.S. contractors and homeowners. Use this page for planning and estimating, then confirm final requirements with local code officials and qualified professionals.

Why Proper Post Setting Matters

Fence posts do most of the work. If they lean, the whole fence follows. Get the hole depth, base, and setting method right before you build the line.

Post Setting Methods Compared

Best for:

  • Privacy fences
  • High-wind areas
  • Gate posts
  • Security fencing

Pros: Maximum stability, long-lasting

Cons: More work, permanent placement

Method 2: Gravel/Crushed Stone

Best for:

  • Low fences
  • Areas with good drainage
  • Temporary installations
  • Frost-heave prone regions

Pros: Easy adjustment, good drainage

Cons: May shift over time

Method 3: Tamped Earth

Best for:

  • Agricultural fencing
  • Very temporary fences
  • Remote locations

Pros: Quick, no materials needed

Cons: Least stable, not recommended for most applications

Tools and Materials

Tools

  • Post hole digger or auger
  • Level (4-foot and torpedo)
  • Tape measure
  • String line
  • Shovel
  • Tamper
  • Wheelbarrow
  • Safety glasses and gloves

Materials

  • Fence posts (wood, metal, or vinyl)
  • Fast-setting concrete (or gravel)
  • Gravel for drainage (2-4 inches)
  • Stakes and string for layout
  • 2×4 lumber for bracing

Step 1: Plan Your Post Layout

Determine Post Spacing

Fence TypeRecommended Spacing
Wood privacy6-8 feet
Wood picket6-8 feet
Chain link10 feet
VinylPer manufacturer
Metal/ornamental6-8 feet

Mark Post Locations

  1. Mark corners first - These are most critical
  2. Mark gate posts - Allow for gate width + hardware (add 3.5”)
  3. Run string line - Stretch between corner posts
  4. Mark intermediate posts - Equal spacing along string
  5. Mark end/terminal posts - Where fence meets structures

Formula for spacing:

Total fence length ÷ desired spacing = number of sections
Round to whole number, then recalculate exact spacing

Example: 64 feet ÷ 8 feet = 8 sections → 64 ÷ 8 = 8 feet exactly

Step 2: Check for Underground Utilities

Important: Call 811 before you dig

  • Free service in all US states
  • Required by law in most areas
  • Utilities marked within 2-3 business days
  • Prevents dangerous (and expensive) accidents

Common underground hazards:

  • Gas lines
  • Electric cables
  • Water/sewer pipes
  • Telecommunications
  • Irrigation systems

Step 3: Dig Post Holes

Hole Depth Rule

General rule: 1/3 of post length below ground

Post Height (Above Ground)Post LengthHole Depth
4 feet6 feet24 inches
5 feet7 feet28 inches
6 feet8 feet32 inches
8 feet10-12 feet36-40 inches

In cold climates: Dig below frost line (check local codes)

Hole Diameter

  • Minimum: 3× post width
  • 4×4 post → 12” diameter hole
  • 6×6 post → 18” diameter hole

Digging Methods

Manual post hole digger:

  • Good for 4-10 posts
  • Hard work but inexpensive
  • Best in sandy/loamy soil

Power auger (one-person):

  • Rent for $50-80/day
  • Good for 10-20 posts
  • Struggles in rocky soil

Power auger (two-person):

  • Rent for $80-120/day
  • Best for large projects
  • Handles most soil types

Pro tip: Augers work best in slightly moist soil. Very dry or wet soil is harder to dig.

Step 4: Prepare the Hole

Add Drainage Gravel

  1. Pour 2-4 inches of gravel in bottom
  2. Tamp firmly
  3. This prevents water from pooling under post

For Wood Posts

Even pressure-treated wood benefits from:

  • Coating end grain with wood preservative
  • Copper naphthenate or similar product
  • Prevents moisture wicking

Step 5: Set Corner and End Posts First

Corner posts take the most stress. Set them perfectly.

Placement

  1. Set post in hole on gravel base
  2. Check height - top should be at finish height
  3. Check plumb with level on two adjacent sides
  4. Brace temporarily with 2×4s staked to ground

Plumb Checking Tips

  • Check two adjacent sides, not opposite sides
  • Use torpedo level for tight spaces
  • Post must be plumb in ALL directions

Step 6: Fill the Holes

Mixing:

  • Use fast-setting concrete (sets in 20-40 minutes)
  • Follow package directions for water ratio
  • Mix in wheelbarrow - don’t pour dry into hole

Pouring:

  1. Fill hole to within 4 inches of top
  2. Re-check plumb as you pour
  3. Tamp/vibrate to remove air pockets
  4. Slope top away from post for water runoff
  5. Keep bracing in place until set (minimum 4 hours)

Amount needed per post:

Hole SizeBags (80 lb)
8” × 24”1 bag
10” × 30”2 bags
12” × 36”3-4 bags

Gravel Method

  1. Add gravel in 4-inch lifts
  2. Tamp each layer firmly
  3. Check plumb after each layer
  4. Crown top to shed water
  5. Fence can be built immediately

Step 7: Set Line Posts

Using String Lines

  1. Stretch string between corner posts at top
  2. Stretch second string at bottom (above concrete level)
  3. Align each post to both strings
  4. This ensures straight, uniform fence

Setting Sequence

  1. Place post in hole
  2. Adjust height to string line
  3. Check plumb on two sides
  4. Fill with concrete/gravel
  5. Move to next post

Step 8: Brace Gate Posts Extra

Gate posts take significant stress. Reinforce them with:

Option 1: Larger Posts

  • Use 6×6 instead of 4×4
  • Deeper hole (add 6 inches)
  • More concrete

Option 2: Steel Post Reinforcement

  • Drive metal T-post alongside wood post
  • Lag bolt together
  • Cover with trim if desired

Option 3: Concrete Collar

  • Pour concrete above ground level
  • Slope away from post
  • Provides extra lateral support

Common Mistakes to Avoid

MistakeProblemSolution
Posts too shallowLeaning, heaving1/3 post length minimum
No drainage gravelPost rot, frost heave2-4” gravel base always
Posts not plumbCrooked fenceCheck two sides, brace until set
Inconsistent spacingPanels don’t fitMeasure twice, dig once
Skipping utility checkDangerous, expensiveCall 811 - it’s free
Rushing concrete curePost shiftsWait 24-48 hours before building

Post Material Guide

Pressure-Treated Wood

  • Life expectancy: 15-20+ years
  • Cost: $8-15 per 8-foot post
  • Pros: Economical, easy to work with
  • Cons: Can warp, requires treatment at cuts

Cedar/Redwood

  • Life expectancy: 15-25 years
  • Cost: $20-40 per 8-foot post
  • Pros: Natural rot resistance, beautiful
  • Cons: Expensive, softer wood

Metal Posts

  • Life expectancy: 25+ years
  • Cost: $15-30 per post
  • Pros: No rot, straight
  • Cons: Rust potential, harder to attach panels

Vinyl Post Sleeves

  • Life expectancy: 25+ years
  • Cost: $30-60 per post assembly
  • Pros: No maintenance, uniform appearance
  • Cons: Requires internal support, expensive

Special Situations

Rocky Soil

  • Use power auger with rock-cutting head
  • May need jackhammer for large rocks
  • Consider surface-mounted post brackets

High Water Table

  • Use all-gravel method
  • Extend gravel below water line
  • Consider composite or metal posts

Sloped Terrain

  • Step fence sections (posts vertical, panels level)
  • Or rack fence panels (parallel to slope)
  • Adjust post heights accordingly

Timeline for Complete Installation

TaskTime (per post)
Layout and marking5-10 min
Digging (manual)20-30 min
Digging (auger)5-10 min
Setting and bracing10-15 min
Concrete setting10-15 min

Example: 20-post fence with power auger

  • Layout: 1 hour
  • Digging: 3-4 hours
  • Setting: 4-5 hours
  • Total: 1 full day

Calculate Your Fence Materials

Need exact fence numbers? Use our Fencing Calculator to find:

  • Number of posts needed
  • Concrete requirements
  • Material costs
  • Labor estimates

Pro Tip: Set posts on a dry day. Fresh concrete holds better, and the work is easier.

How we checked this page

Written by: TheSiteMath Editorial Team
Reviewed by: TheSiteMath editors (formula, source, and update review)
Last reviewed: 2026-03-24
Publisher: TheSiteMath
Scope: U.S. construction material estimating, calculator workflows, and project planning guidance for contractors and homeowners.
What we checked:
  • Formulas checked against trade and source material
  • Verified against: Fence layout and installation best practices, Local permit and code verification recommendations, Current U.S. fence material pricing benchmarks
  • Price ranges used for planning, not as fixed quotes
Methodology:
  • This fencing guides content is scoped for U.S. planning and estimating workflows, not for stamped engineering or permit approval.
  • We review formulas, material assumptions, and practical steps against category-appropriate references before publishing updates.
  • We refresh pages when calculator logic, supplier assumptions, or pricing guidance materially changes.
  • Readers should confirm final dimensions, structural requirements, and local code obligations with qualified local professionals.
Editorial standards: We review pages before publication and update them when formulas or pricing need a fix. If you spot an issue, please contact us .