Skip to content
FigureWright

Fence Post Calculator

Find how many posts your fence needs, how far apart they end up, and how much concrete sets them.

Your fence

Units

Measure along the fence line, including gate openings.

Maximum distance between post centers. 6–8 ft is typical.Maximum distance between post centres. 1.8–2.4 m is typical.

Corners & gates

Places where the fence changes direction.

The opening between the two gate posts.

Open: two free ends. Closed: encloses an area and returns to its start.

Concrete

Optional: bags of concrete for the post holes.

About three times the post width is a common rule of thumb.

Often a third to a half of the post’s above-ground height. Local frost depth and rules may require more.

A 4×4 post actually measures 3½ in; a 6×6 is 5½ in.Measure the post itself: a 100 mm post is 10 cm.

Yields are typical for pre-mixed concrete. Check the figure printed on your bag.

Results update as you type. Fractions like 5 1/2 work too.

Your estimate

Imperial unitsMetric units
Total posts
24
21 if runs divide evenly
Sections
22
Average spacing
6 ft 7⅝ in
on center
Concrete bags
59
50 lb bags
6 ft 7⅝ in22 sections
10 in 24 inconcrete
Posts along the line (straightened out), and one post hole to scale

Fence line

Total fence line
150 ft
Gate openings
− 4 ft
Fenced length
146 ft
SectionsAcross 4 separate runs.
22
Average post spacingOn center, with posts spread evenly.
6 ft 7⅝ in

Posts

End posts
2
Corner posts
2
Gate postsOften upsized (e.g. 6×6) to carry the gate.
2
Line postsPosts along the straight runs.
18
Total postsAs few as 21 if every run divides evenly by the spacing.
24

Concrete

Concrete per hole
0.92 ft³
Total concrete
22.1 ft³
50 lb bags per hole
2.46
50 lb bags58.92 rounded up to whole bags.
59
  • Post and bag counts are rounded up to whole units; spacing is not rounded.
  • Corners and gates split the fence into 4 runs. Each run is rounded up on its own, so the total allows up to one extra section per run.
  • Concrete assumes the post reaches the bottom of the hole. A gravel base reduces it slightly.

A planning estimate, not a contractor quote. Fence rules, permitted heights, post depth and setbacks vary by location. Check with your local building authority before you build.

What this post calculator does

It works out the number of sections and posts for a fence line, splits the posts into end, corner, gate and line posts, and gives you the actual spacing once the posts are spread evenly. Tick the concrete option to add the volume of concrete and the number of bags for your hole size.

Why post spacing matters

Posts carry everything: the rails, the boards or panels, wind load and the weight of any gate. Wider spacing means fewer posts and holes, but longer rails that can sag and sections that flex in the wind. Rails also come in stock lengths, and 8 ft spacing lets an 8 ft board span one section with little waste.

The spacing you enter is a maximum. Your runs rarely divide exactly, so the calculator rounds up to whole sections and then spreads the posts evenly. That’s why the actual spacing is usually a little less than the number you typed.

How the post count is calculated

sections = ⌈ fenced length ÷ max spacing ⌉ + (runs − 1)
posts = sections + gates + 1   (open run)
posts = sections + gates       (closed loop)

  • Fenced length is the total length minus gate openings.
  • Runs are the straight stretches between corners and gates. Each is rounded up separately, which can add one section per extra run.
  • A run of n sections needs n + 1 posts. Neighbouring runs share their corner post; the two runs either side of a gate don’t share, because the opening sits between them.
  • A closed loop finishes where it started, so its first and last posts are the same post.

How the concrete is calculated

concrete per hole = π × (hole diameter ÷ 2)² × depth − post area × depth
bags = ⌈ concrete per hole × posts ÷ bag yield ⌉

The post is assumed to reach the bottom of the hole. Bag yields are the typical figures for pre-mixed concrete (an 80 lb bag makes about 0.60 ft³; a 25 kg bag about 11.7 litres). The exact yield is printed on the bag.

Worked example

The calculator opens with a 150 ft fence, posts at most 8 ft apart, two corners and one 4 ft gate:

  1. Fenced length: 150 − 4 = 146 ft.
  2. Two corners and one gate make four runs.
  3. Sections: 146 ÷ 8 = 18.25 → 19, plus 3 for the extra runs = 22.
  4. Posts: 22 + 1 gate + 1 = 24 posts (as few as 21 if every run divides evenly).
  5. Concrete: 10 in × 24 in holes around 3½ in posts hold 0.92 ft³ each; 24 × 0.92 = 22.1 ft³ ÷ 0.375 ft³ = 58.9 → 59 × 50 lb bags.

Frequently asked questions

How far apart should fence posts be?

Wood fences are commonly built with posts 6 to 8 ft (1.8 to 2.4 m) apart on center. Closer spacing makes a stiffer fence and suits tall fences, windy sites and heavy materials. Pre-built panels set the spacing for you, so use the manufacturer’s on-center figure.

Why does the calculator give a range of post counts?

It knows your total length but not the length of each straight run. If every run happens to divide evenly by your spacing, you need the lower number. If not, each run needs a partial section, which can add a post per run. Buying to the higher figure means you won’t come up short.

How deep should fence posts go?

A common rule of thumb is a third to a half of the post’s above-ground height (about 2 ft or 60 cm for a 6 ft fence), but soil, wind and frost depth all matter, and some areas set a minimum. Check your local requirements; this calculator uses whatever depth you enter.

How many bags of concrete per fence post?

For a 10 in × 24 in hole around a 4×4 post, about 0.92 ft³ of concrete: roughly two and a half 50 lb bags or one and a half 80 lb bags. Wider or deeper holes need more; enter your own sizes for an exact figure.

Are gate posts different?

Gate posts carry the swinging weight of the gate, so they are often a size up (for example 6×6 instead of 4×4) and set deeper. The calculator counts two gate posts per gate; choose “separate post beside each” if you plan independent gate posts next to the fence posts.

How these numbers are worked out, and their limits, is explained on the methodology page.