Skip to main content
ToolsHub

Fence Calculator

Plan your fence build without surprises. Enter total fence length, post spacing, and picket details to get exact counts of posts, rails, pickets, and concrete bags.

Updated

Files never leave your browser

Post height: 8 ft (6 ft fence + 2 ft buried). Post size: 4x4.

Your material list will appear here

Enter your fence dimensions and click Calculate to see posts, rails, pickets, and concrete needed.

How to use Fence Calculator

The fence calculator estimates the number of posts, rails, pickets and concrete bags needed for any fence length. Enter the total run, post spacing, picket width and rails per bay to get a complete materials list with waste factor.

  1. Enter total fence length in feet.
  2. Set post spacing (6 or 8 ft on-centre is standard).
  3. Enter picket width and gap between pickets.
  4. Choose number of rails per section.
  5. Review posts, rails, pickets and concrete bags.

Your data never leaves your device — 100% private processing.

Post sizing, depth and concrete

Post diameter and depth depend on fence height. For a 6-ft privacy fence, use 4×4 posts set 2 ft deep (or below frost line, whichever is deeper). Use 8-ft posts to allow a 2-ft bury plus a 6-ft above grade. In frost zones (most northern US), set posts 42"+ deep to prevent heaving. Each post hole requires 1–2 bags of fast-setting concrete (50–60 lbs each) depending on hole diameter.

Fence post depth guide
Fence heightPost sizeBury depthPost length needed
3 ft (garden)4×418"~5 ft
4 ft (picket)4×424"~6.5 ft
6 ft (privacy)4×4 or 6×624–30"~8.5 ft
8 ft (tall privacy)6×630–36"~11 ft

Gate framing and hardware

Gates require extra-strong posts (at least 6×6 for a double gate) and gate-specific hardware: heavy hinges (3 minimum for a 6-ft gate), a gate latch, and a drop rod for double gates. Gates wider than 4 ft need diagonal bracing to prevent racking. Allow a 1/2" gap all around for seasonal wood movement.

Worked examples

100 ft privacy fence, 8 ft posts

Inputs: 100 ÷ 8 + 1 posts; 1,200 in ÷ 5.625 in pickets

Result: ≈ 14 posts · ~214 pickets · 2 rails/bay

Concrete for 14 post holes

Inputs: ~2 × 60 lb bags per 4×4 post

Result: ≈ 28 bags fast-setting concrete

Same run at 6 ft post spacing

Inputs: 100 ÷ 6 + 1

Result: ≈ 18 posts (stiffer, more material)

Glossary

On-centre (OC)
Distance from the centre of one post to the centre of the next.
Frost line
The depth below which soil does not freeze; posts must be set below this level.
Picket
The vertical boards forming the fence face; can be flat, dog-eared or pointed.
Racking
Lateral leaning or distortion of a gate or fence panel under side loads.

Related reading

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Related Construction

Explore all Construction.