Fence Cost Lab · planning tools

Fence post calculator.

Count fence bays, shared corner posts and gate supports without duplicating the same post at a boundary.

Fence posts calculator

Results update as you type. Units: feet for layout, inches for hole and post dimensions, cubic feet for concrete.

Your fence path

One connected, open path. Enter segments in order from one end to the other. Split at each corner and gate. Run lengths exclude gate openings; adjoining runs share one corner post.

feet
Spacing & spare posts
feet on center; verify supplier layout
whole number; no holes or concrete for spares
Concrete dimensions & allowanceCurrent example: 10 in hole · 30 in fill · 0.6 cu ft/bag

Enter your planned hole dimensions, not a recommended footing size. All geometry defaults are examples. The post is assumed to occupy the full concrete depth; gravel below that depth is excluded.

inches; round, uniform holes
inches; exclude any gravel base
inches; measured size, not nominal size
inches
cubic feet per bag; use your product label
percent; applied to net volume once

Planning quantities only—not a structural design, permit check or contractor quote. Confirm spans, post types, hole dimensions and build details with your supplier and local requirements.

Your takeoff

live estimate

14 installed posts, 13 fence bays, 30 concrete bags.

14installed posts
13fence bays
30concrete bags
Total path / fence only100 / 100 ft
Gate openings0 · 0 ft
End / corner / gate posts2 / 0 / 0
Intermediate line posts12
Posts to buy14 (0 spare)
Concrete holes14 · installed posts only
Concrete volume + allowance17.72 cu ft

Per-segment check

Segments, lengths and fence bays
SegmentLengthBays
1 · Fence100 ft13

Shared corner and gate-boundary posts are counted once. This is an open path, not a closed loop, branching layout or disconnected set of fences. Different corner/gate post specifications may affect the quote.

Each run is rounded up separately. This assumes the final bay can be sized to fit; confirm whether your panel can be cut or requires a custom size. No picket, fastener or footing design is inferred.

See the formulas & worked example ↓
Check the arithmetic

How to calculate fence posts

Count bays run by run, then count the shared boundary posts. This avoids counting a corner or gate-boundary post twice.

Formulas used

Fence bays = Σ ceil(run length / bay width or spacing)

Installed posts = fence bays + gate openings + 1

These post counts apply to a single non-empty, connected open path. A zero-length project has zero installed posts. Every shared boundary is counted once.

Concrete is calculated from installed holes, minus the embedded post volume. Spare posts do not receive concrete. See concrete geometry →

Worked example · not a quote or design

100 ft path, 4 ft gate

An open path of 48 ft fence + 4 ft gate + 48 ft fence is 100 ft overall but only 96 ft of fencing. At 8 ft maximum spacing, the two fence runs need 6 + 6 = 12 bays. Add one gate edge and one end vertex: 14 installed posts, including 2 gate posts—not 16.

Try the inputs above ↑

Before you order materials

  • Choose spacing from your supplier or an appropriate design. This tool does not determine safe spans or structural loads.
  • An end gate adds an outer gate support, while its inner support is already the fence-run end post.
  • End, corner, gate and intermediate line posts sum to the installed count. Some products use different post types and foundations for these positions.

Scope: level, regular bays along a single connected open path; identical cylindrical holes and solid posts. No closed loops, branches, disconnected runs or structural sizing. Calculation model updated October 1, 2026.

Common questions

Understand the estimate.

Why is each run rounded up separately?

A 9 ft run at 8 ft maximum spacing needs 2 bays. Two such runs need 4 bays, even though rounding the combined 18 ft length would give only 3. A corner cannot be ignored when allocating bays.

Can I enter a closed perimeter?

Not in this version. The model is one connected open path. A closed loop, branching layout or several disconnected fences requires a different endpoint calculation; do not simply sum their lengths here.