Shard Tools

Fence Calculator

Fence - figures update as you type, nothing leaves your browser.

Maintained by Roshan.

Use Fence Calculator

Figures update as you type. Nothing you enter leaves this tab, and no values are stored.

Explore specialized calculators

Find related browser-local tools for nearby tasks without starting another search.

Browse all specialized calculators

About Fence Calculator

A fence calculator works out how many posts and sections a run of fence needs from its total length and the spacing between posts. It is the first sum of any fencing job, and the one most often got wrong by one - because a fence of N sections needs N+1 posts, not N. Getting the post count right before you dig or order saves a frustrating trip back to the yard with one hole already dug and nothing to put in it. The tool divides the length by the post spacing to get the number of sections, then adds one for the closing post. Common spacings are 6 or 8 feet depending on the panel or rail system; closer spacing is sturdier and needed in windy spots or for heavier panels. This counts posts and sections; gates, corners and end treatments add a little to the materials list and are worth allowing for separately.

Using Fence Calculator

  1. Measure one continuous fence run in feet. Use the manufacturer's permitted section span as the spacing input; the calculator does not choose a structurally suitable spacing.
  2. Read sections as the length divided by spacing, rounded up. The post count adds one end post for this open run. A 100 ft run at 8 ft spacing gives 13 sections and 14 posts.
  3. Sketch the final section and the locations of gates and corners before ordering. Measure each independent run and account for shared corner posts when combining their counts.

Where fence calculator helps

Planning a fence

A 100 ft fence at 8 ft spacing needs about 13 sections and 14 posts.

Before you use the result

Questions about Fence Calculator

How many posts do I need for a fence?

One more than the number of sections - a run of N sections needs N+1 posts. The tool adds that closing post automatically.

Is my data saved or uploaded?

No. Fence Calculator calculates the result entirely in this browser; the values you enter are not stored or sent to a server.

Related tools

Deck Calculator

Deck Calculator in your browser. Figures update as you type; nothing is uploaded or stored.

Gutter Calculator

Estimate gutter length and downspout count from your eaves length and spacing. Get instant results in your browser without uploading or storing project data.

Concrete Slab Calculator

Concrete Slab Calculator in your browser. Figures update as you type; nothing is uploaded or stored.

Mulch Calculator

Mulch Calculator in your browser. Figures update as you type; nothing is uploaded or stored.

Loan to Value Calculator

Loan to Value Calculator in your browser. Figures update as you type; nothing is uploaded or stored.