Skip to content

Fence Post Calculator

Posts for a fence of any number of sides at your spacing, counted by kind…

Posts for a fence of any number of sides at your spacing, counted by kind, with the length to buy and the concrete each hole takes.

ft

Gates

1
ft
0

Height

Posts at most

ft
More options3½ in posts · 3 ft in the ground · prices

Posts

in

QUIKRETE’s rule buries a third of the post and adds 6 in of gravel. Where the ground freezes, go below the frost line your building department gives.

Concrete bags

Your prices (optional, each)

$
$
$

ExamplePosts

15posts

80 ft of fence with 1 gate: 13 sections between 15 posts, 1 at corners and 2 at gates.

Enter yours to see your result.

1 · 50 ft2 · 30 ft
From above: 15 posts, sides numbered in the order you entered them, gates drawn open, swinging into the yard.
3 ft in the ground6 ft5 ft 9 in on centre
A stretch of side 1 in elevation: sections of 5 ft 9 in on centre, each post 3 ft into the ground in a 10½ in hole of concrete on 6 in of gravel.
What to buy
Posts15 × 10 ft
Gates1 × 4 ft
Concrete43 × 80 lb
Gravel4.5 cu ft

Concrete per hole and bag sizes: post hole concrete calculator.

An estimate of materials to buy, not engineering or code advice. Check sizes with your supplier and local building department. Terms

My shopping list

Add each part of a job and print one list. It stays on this device.

How this works: 4 sources,

How this works

Method

Each straight side of the fence is cut into sections no longer than the spacing you pick, spread evenly so the last one isn’t a stub, and a post stands at the end of every section. A side of n sections has n + 1 posts; where two sides meet they share the corner post, and a gate splits its side into two stretches with a post on each side of the opening. The calculator sorts the total into corner, end, gate and line posts, since corner and gate posts often get a size up or extra bracing. Full method

Sources

How it’s tested

2 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.

Limits

An estimate of materials to buy, not engineering or code advice. Check sizes with your supplier and local building department.

Privacy

On your device. Nothing you enter or open leaves this browser. About privacy labels

Changes

  • First published: a fence of any shape drawn from above and in elevation, with posts, rails, boards, pickets or panels, gates and concrete.

Every change on What’s new

How we make toolsReport a mistake

How the posts are counted

Each straight side of the fence is cut into sections no longer than the spacing you pick, spread evenly so the last one isn’t a stub, and a post stands at the end of every section. A side of n sections has n + 1 posts; where two sides meet they share the corner post, and a gate splits its side into two stretches with a post on each side of the opening. The calculator sorts the total into corner, end, gate and line posts, since corner and gate posts often get a size up or extra bracing.

A worked example: a closed square-ish yard, 100 by 50 ft, with a 4 ft gate on each short side, posts at most 8 ft apart. The long sides are 13 sections each; each short side is two 23 ft stretches of 3 sections. That is 40 posts all round, 4 of them at the gates and 4 at the corners, and the concrete comes to 114 bags of 80 lb for a 6 ft fence on 4×4s.

Post length follows the height: QUIKRETE puts a third of the post in the ground, so the buried part is half the height above ground. A 6 ft fence wants 9 ft posts (buy 10 and trim) with 3 ft buried; where the ground freezes, the hole should reach below the frost line your building department gives, which can be deeper.

posts = Σ (⌈stretch ÷ spacing⌉ + 1) − shared corners; buried depth = height ÷ 2

A quick count

For one straight run, divide the length by the spacing, round up and add one: 100 ft at 8 ft is 12.5 → 13 sections, 14 posts. Add two posts for every gate in the run.

Posts for a straight run

One run, no gates or corners, with 80 lb bags for 4×4 posts on a 6 ft fence at 8 ft spacing (10% extra).

One run, no gates or corners, with 80 lb bags for 4×4 posts on a 6 ft fence at 8 ft spacing (10% extra).
RunPosts at 6 ftPosts at 8 ftBags at 8 ft
50 ft10823
75 ft141132
100 ft181440
150 ft262057
200 ft352674
300 ft5139111

Sources

Product names are trademarks of their owners; Binary Decimal is not affiliated with any of them. Their instructions and data sheets are cited for the figures printed in them.

Common questions

How many fence posts do I need for 100 feet?

At 8 ft spacing, 14: 100 ÷ 8 = 12.5, so 13 sections and one more post than sections. At 6 ft spacing, 18. Add two for each gate.

How deep should fence posts be?

A third of the post’s length by QUIKRETE’s rule, which is half the fence’s height: 3 ft for a 6 ft fence, 2 ft for a 4 ft one. Go below the frost line where the ground freezes.

Do corner posts count twice?

No. Two sides meeting at a corner share one post, so a fence of three sides has two fewer posts than its sides counted separately.

What size posts should I use?

4×4 (3½ in) posts suit most wood fences up to 6 ft; 6×6 (5½ in) are common for gates, tall fences and windy spots. The calculator’s holes and concrete follow the size you pick.