Menu

Fence Post Calculator

Work out how many posts you need, spacing, concrete per hole, cement bags and cost for wood, vinyl, chain-link and metal fences — with metric and imperial units.

Fence post estimatorResults update as you type
1

Fence layout

Fence length, post spacing and gates

Quick presets
2

Post size and depth

Determines hole size and concrete volume

3

Concrete mix

Bag size and mix ratio

10%
4

Prices (optional)

For a materials cost estimate

Your estimate

Total posts needed-
Concrete volume-
Concrete bags-
Post height (total)-
Gravel per hole-
Total gravel-

Bill of materials

Posts-
Concrete bags-
Gravel-
Concrete m³-

Cost estimate

Total materials-

Planning estimate only. Always check local building code for post depth, frost line and permits before digging.

What Is a Fence Post Calculator?

A fence post calculator turns the total run of your fence into the number of posts, the amount of concrete per hole and the total bags needed. You enter the fence length, spacing, post size and hole depth, and the calculator gives you a complete bill of materials with cost — no guesswork, no wasted trips to the hardware store.

Fence posts are the most important part of any fence. Rails and pickets are visible, but the posts are what keep the whole structure standing straight through wind, frost heave and everyday use. Getting the spacing, depth and concrete right the first time is what separates a fence that lasts 20 years from one that starts to lean after two winters.

Fence Post Formulas Used

Bays = ceil(Fence length ÷ Post spacing)
Posts = Bays + 1 + Corners + Gates
Hole radius r = Hole diameter ÷ 2
Concrete depth = Post depth in ground − Gravel layer
Concrete per hole = π × r² × concrete depth
Total concrete = Concrete per hole × Posts × (1 + wastage)
Bags = Total concrete ÷ bag volume (rounded up)

Worked example: 80 ft of wood fence, 8 ft spacing

  • Bays = ceil(80 ÷ 8) = 10
  • Posts = 10 + 1 = 11, plus 1 gate post = 12
  • Hole: 10 in diameter (0.254 m), 2 ft deep (0.61 m), 4 in gravel (0.10 m)
  • Concrete depth = 0.61 − 0.10 = 0.51 m
  • Volume per hole = π × 0.127² × 0.51 ≈ 0.026 m³ (0.91 ft³)
  • Total (with 10% waste) ≈ 12 × 0.026 × 1.10 = 0.343 m³
  • Bags of 50 lb mix (0.014 m³ each) = ceil(0.343 ÷ 0.014) = 25 bags

Sanity check: one 50 lb bag of concrete mix fills about 0.014 m³ (0.5 ft³). A 10 in × 2 ft hole typically takes 1.5 to 2 bags. If your estimate is far from that, re-check the units.

How to Use the Calculator

  1. 1
    Enter fence lengthMeasure the total run of fence — the distance from the first post to the last post, along the fence line.
  2. 2
    Set post spacingTypical wood and vinyl fences use 8 ft (2.4 m) spacing. Chain-link uses 8 to 10 ft. Metal and heavy-duty fences use 6 to 8 ft.
  3. 3
    Add gatesEnter the number of gates. Each gate replaces at least one post and often needs a thicker end post on both sides.
  4. 4
    Pick post height and depthPost height depends on fence height plus extra below ground. The rule of thumb is one-third of the post in the ground, one-third above — minimum 2 ft (600 mm) below ground.
  5. 5
    Choose post width and concretePost width determines the hole diameter and the concrete needed per hole. Standard rule: hole diameter is about 3× the post width, and concrete fills the hole.
  6. 6
    Read, copy or downloadThe results update live. Copy the summary, download it as text or CSV, or print the page for a PDF.

Post Spacing by Fence Type

Fence typeTypical spacingMetric
Wood privacy / dog-ear8 ft2.4 m
Vinyl / PVC8 ft2.4 m
Chain-link8 – 10 ft2.4 – 3 m
Metal panel / aluminum6 – 8 ft1.8 – 2.4 m
Picket (wood)6 – 8 ft1.8 – 2.4 m
Ranch rail8 – 12 ft2.4 – 3.6 m
Heavy gate post4 – 6 ft1.2 – 1.8 m

Corners and gates: place posts on both sides of every gate and at every corner. Corner and gate posts should be deeper and often thicker than line posts.

Post Depth and Frost Line

The rule of thumb is that one-third of the post length sits underground. But in cold climates, posts must extend below the frost line — the depth to which the ground freezes each winter — to avoid frost heave lifting and twisting them.

RegionFrost depthMinimum post depth
Southern US0 – 6 in2 ft
Mid-Atlantic18 – 30 in2.5 – 3 ft
Northern US36 – 48 in3.5 – 4 ft
Canada48 – 72 in4 – 5 ft

Check your local building code for the exact minimum. Fences over 6 ft tall, or carrying a gate, often need a deeper footing than a line fence.

Concrete per Hole

The hole diameter should be about 3 times the width of the post for a solid anchor — for example, a 10 in hole for a 4×4 post. Larger holes hold more concrete but resist overturning better.

Post sizeHole diameterDepthApprox. bags (50 lb)
4×4 (3.5 in square)10 in2 ft1.5 – 2
4×410 in3 ft2 – 3
6×6 (5.5 in square)12 in3 ft3 – 4
Metal 2 3/8 in8 in2 ft1 – 1.5

Use fast-setting concrete mix (no mixing required) or standard mix. Add a gravel layer 4 to 6 in at the bottom of the hole for drainage, and slope the concrete cap away from the post so water runs off.

Common Mistakes

  1. Spacing too wide. Spacing more than 8 ft makes rails sag and pickets bow.
  2. Posts too shallow. Posts above the frost line heave and lean after the first winter.
  3. Hole too narrow. A hole the same width as the post has almost no resistance to overturning.
  4. No gravel at the base. Without drainage, water pools and rots wood posts from below.
  5. Concrete cap slopes toward the post. Water sits against the post and rots it. Always slope the cap away.
  6. Forgetting corner and gate posts. These carry much more load and should be deeper and thicker.
  7. Skipping the permit. Many areas require a permit for fences over 6 ft or near a property line.
  8. Not checking for buried utilities. Always call the local utility locating service before digging.

Frequently Asked Questions

How many fence posts do I need?▾

Divide the total fence length by the post spacing, then add 1 for the end post. If your fence is 80 ft long with posts every 8 ft, you need 80 ÷ 8 + 1 = 11 posts. Add 1 extra per gate.

What is the standard fence post spacing?▾

For wood and vinyl fences, 8 ft (2.4 m) is standard. For chain-link, 8 to 10 ft. For metal or heavy-duty fences, 6 to 8 ft. Always follow your local building code and the manufacturer’s guidance.

How deep should fence posts be?▾

The rule of thumb is one-third of the total post length below ground, or at least 2 ft (600 mm). In cold climates, posts must extend below the frost line — usually 30 to 48 inches. Taller fences and heavier gates need deeper posts.

How much concrete do I need per fence post?▾

A standard 4×4 post in a 10-inch diameter hole, 2 ft deep, needs about 1.5 to 2 bags of 50 lb concrete mix. Deeper or wider holes need more. Our calculator works out the volume per hole and the total bags.

Should I use concrete or just soil for fence posts?▾

Concrete anchors the post firmly, resists frost heave and prevents wobble — especially important for gates and corners. For short fences in mild climates, tamped gravel or soil can work, but concrete is more durable.

How many bags of concrete for 20 fence posts?▾

If each hole needs about 1.5 bags of 50 lb mix, 20 posts need about 30 bags. Deeper posts, larger diameter holes or heavier posts will need more. The calculator gives you the exact total.

How far apart should fence posts be for chain-link?▾

Chain-link fence posts are usually spaced 8 to 10 ft (2.4 to 3 m) apart, with heavier terminal posts at the ends and corners.

How many fence posts per 100 feet?▾

For 8 ft spacing: 100 ÷ 8 + 1 = 13.5, so 14 posts. For 10 ft spacing: 11 posts. For 6 ft spacing: 17.7, so 18 posts.

How tall should a fence post be?▾

Post length = fence height + depth in the ground + 6 inches (150 mm) for the top rail or cap. For a 6 ft fence with 2 ft below ground, use a 9 ft post.

Do I need a permit to build a fence?▾

In most areas, yes, for fences over 6 ft (1.8 m), fences near property lines, or fences in front yards. Check with your local council or building authority before digging.

How do I set a fence post?▾

Dig a hole 3× wider than the post and deep enough to pass the frost line. Add 4 to 6 inches of gravel at the bottom for drainage. Position the post, check plumb, and fill with concrete. Slope the concrete slightly away from the post so water runs off.

Can I use this calculator for chain-link, metal or vinyl fences?▾

Yes. Choose the post spacing that matches your fence type, enter the post width and hole diameter, and the calculator gives you post count, concrete volume and cost for any style of fence.