CozySpruce

Outdoor & Garden

How Many Fence Posts Do I Need? (Spacing, Corners & Gates)

A straight 100 ft fence needs 18 posts at 6 ft spacing or 14 posts at 8 ft. Here's the post formula, how corners and gates change the count, charts for common fence lengths and how much concrete to set them.

October 22, 20268 min readSave to Pinterest
New wood privacy fence under construction with evenly spaced posts set in the ground and a string line along the top

This post may contain affiliate links. As an Amazon Associate, we earn from qualifying purchases at no extra cost to you.

Short answer: for a single straight fence run, divide the length by the post spacing, round up, and add 1:

  • 100 ft at 6 ft spacing: 100 ÷ 6 = 16.7 → 17, + 1 = 18 posts
  • 100 ft at 8 ft spacing: 100 ÷ 8 = 12.5 → 13, + 1 = 14 posts

Then add one post per gate and work out corners run by run. Here are the details, charts and how much concrete you'll need.

Get posts, rails, pickets and concrete for your fence

Calculate posts, rails, and pickets for your fence project.

The Fence Post Formula

Posts sit at both ends of a run and every "spacing" in between:

Posts = (run length ÷ spacing, rounded up) + 1

  • 6 ft spacing is the common choice for privacy fences: sturdier and less sag in the rails.
  • 8 ft spacing uses fewer posts and suits lighter fences, but 8 ft is generally treated as the maximum for wood rails. Check the length of the rails you plan to buy.

L-shaped fence route marked with stakes, string lines and paint dots on the lawn

Corners: Count Each Straight Run

The formula above is for one straight run. For an L- or U-shaped fence:

  1. Measure each straight side separately.
  2. Use the formula for each side.
  3. Subtract one post for each corner, because neighboring sides share their corner post.

Example: an L-shaped fence with a 60 ft side and a 40 ft side at 6 ft spacing:

  • 60 ÷ 6 = 10, + 1 = 11 posts
  • 40 ÷ 6 = 6.7 → 7, + 1 = 8 posts
  • 11 + 8 − 1 shared corner = 18 posts

Corner and end posts carry more load than line posts, so many builders use a heavier post (for example a 6x6 instead of a 4x4) at corners and gates.

Gates Add Posts

A gate hangs between two posts, and both need to be set extra firmly because the gate's weight pulls on them. But only one of them is extra: the other is the end post of the neighboring fence section. So our fence calculator subtracts the gate opening from the fence length, counts the fence posts as usual, and adds one post per gate.

That's why a gate sometimes doesn't change the total at all: removing a 4 ft opening can drop a whole section from the fence run, and the gate's extra post fills its place. The gate opening also gets no rails or pickets.

Fence Post Chart

These numbers come straight from our fence calculator for a 6 ft privacy fence on one straight run, with a 4 ft gate where noted.

Fence length6 ft spacing6 ft spacing + 1 gate8 ft spacing8 ft spacing + 1 gate
50 ft10 posts10 posts8 posts8 posts
100 ft18 posts18 posts14 posts14 posts
150 ft26 posts27 posts20 posts21 posts
200 ft35 posts35 posts26 posts27 posts

And the rest of the materials for the same 6 ft privacy fence at 6 ft spacing, no gate:

Fence lengthRails (3 per section)5.5 in pickets50 lb concrete bags (2 per post)
50 ft2711020
100 ft5121936
150 ft7532852
200 ft10243770

Building a taller 8 ft fence? Plan on 4 rails per section instead of 3. For a shadowbox fence (pickets on alternating sides), the calculator uses about 1.5 times the privacy picket count, for example 329 pickets for 100 ft instead of 219.

Choosing Fence Posts

The number of posts doesn't change much with the material, but the size and type do:

Post typeTypical useNotes
Pressure-treated 4x4 woodLine posts on most wood fencesLook for lumber rated for ground contact
Pressure-treated 6x6 woodCorners, ends, gate posts, tall fencesStiffer, resists sagging under a gate's weight
Cedar 4x4Line posts where looks matterNaturally rot-resistant heartwood, but still lasts longer kept off direct soil contact
Galvanized steel postLong-lasting alternative to woodWood rails and pickets attach with brackets; very resistant to rot
Vinyl post (often over a wood or metal insert)Vinyl fence systemsUse the spacing the fence system specifies; panels are made to fit it

For prefab fence panels (often 6 or 8 ft wide), set your post spacing to the panel width plus the post, measured center to center, so each panel fits exactly. Measure an actual panel before you dig.

How Deep to Set Fence Posts

4x4 post in a round hole with gravel, a bag of concrete mix and a post level

A common rule of thumb is to bury about one-third to one-half of the post's above-ground height. For a 6 ft fence, that usually means holes around 2 to 3 ft deep, which is why 6 ft fences often use 8 ft posts.

Two more things decide the real depth:

  • Frost line: in cold climates, posts need to go below the frost depth so they don't heave. Your local building department can tell you the depth for your area.
  • Local rules: some towns and HOAs set fence height, setbacks and post requirements. Check before you dig, and call 811 in the US to have buried utilities marked.

How Much Concrete per Fence Post

The fence calculator budgets two 50 lb bags of fast-setting concrete per post, which suits a typical hole around 10 inches across and 2 ft deep. (A hole roughly 3 times the post width is common: about 10 inches across for a 4x4.)

Deeper or wider holes need more. Using our concrete calculator's post-hole mode with standard concrete mix (including 10% extra):

Hole sizeConcrete80 lb bags60 lb bags
10 in wide × 2 ft deep1.1 cu ft23
10 in wide × 2.5 ft deep1.4 cu ft34
12 in wide × 3 ft deep2.4 cu ft56

The post itself takes up a little of that space, so you'll often have a bit left over. For holes deeper or wider than the typical 10 in × 2 ft, use the concrete calculator in post-hole mode for an exact count instead of the two-bags-per-post baseline.

Put a few inches of gravel in the bottom of each hole before setting the post. It helps water drain away from the end of the post, which is where wood fence posts usually rot first.

Cedar privacy fence with a matching wooden gate between two gate posts and a stone path

What You'll Need

Essential

Fiskars

Manual Post Hole Digger

  • ✓Digs clean round holes
  • ✓Fiberglass handles
  • ✓Good for a few dozen holes
Check Price on Amazon
Time Saver

Quikrete

Fast-Setting Concrete Mix, 50 lb

  • ✓Pour dry, then add water
  • ✓Sets in minutes
  • ✓Made for posts
Check Price on Amazon

Johnson Level

Magnetic Post Level

  • ✓Checks plumb on two sides at once
  • ✓Straps to the post
  • ✓Hands-free
Check Price on Amazon

Various

Mason's Line and Stakes

  • ✓Keeps posts in a straight line
  • ✓High-visibility color
  • ✓Reusable
Check Price on Amazon

As an Amazon Associate, we earn from qualifying purchases.

Setting posts in concrete for other projects? See how many bags of concrete a 10x10 slab needs.

The Bottom Line

  • Posts = run length ÷ spacing, rounded up, + 1 for each straight run
  • Count corners run by run and subtract one shared post per corner
  • Each gate adds one post (it hangs between that post and the neighboring fence post); set both extra firmly
  • A 100 ft straight fence needs 18 posts at 6 ft spacing or 14 at 8 ft
  • Bury roughly 1/3 to 1/2 of the post's above-ground height, below the frost line where required, and budget about two 50 lb bags of fast-setting concrete per post

For posts, rails, pickets, screws and concrete in one go, try the free fence calculator.

Try our free Fence Calculator

Calculate posts, rails, and pickets for your fence project.

Keep Reading