Tools logoTools/
Everyday Tools/Fence Calculator

Fence Calculator

Posts, rails, pickets, and concrete bags for a wood fence run.

Runs locally·Free, no signup·Updated May 6, 2026
Loading tool…
How it works

A walkthrough, end to end.

  1. 1

    Enter total fence length and post spacing.

  2. 2

    Enter picket width and spacing for picket count.

  3. 3

    See posts, rails, pickets, and concrete bags.

Reference

Fence materials

posts = ⌈length/spacing⌉ + 1. rails = posts × 2 (or 3 for tall fences). pickets = ⌈length × 12 / (width + gap)⌉.

Use cases

What you can do with this.

Backyard privacy fence

Plan 6-ft picket fence around the yard.

Garden fence

Shorter picket count for a garden border.

Pet enclosure

Quick picket count for a dog run.

Property line

Estimate materials for a long perimeter.

Pasture fencing

Compute posts and rails for an open paddock.

FAQ

Frequently asked.

  • 8 ft is typical for residential. 6 ft is sturdier.

  • A 4×4 in a 9" hole takes ~1 cu ft, or 2 × 60 lb bags.

  • No. All math runs in your browser.

  • Gates replace one section — adjust picket count manually.