Skip to content

Fence Calculator (Feet and Inches)

Enter the fence length in feet, the height, the post spacing and any gates to get the number of posts, rails and pickets, the concrete for the post holes in 80 lb bags, and what the materials cost.

Calculator Details

Posts:14 postsSee results ↓

Metres and millimetres, or feet and inches

Total length along the fence line, gates included

Height above ground

Centre to centre; 2.4 m (8 ft) is common, 1.8 m (6 ft) for heavier fences

2 for fences up to about 1.2 m (4 ft), 3 for taller fences

Each gate adds one post

Opening per gate, post to post

Actual width (a 1×6 is 140 mm, 5½ in); 0 for no pickets

0 for a privacy fence

Actual size of a square post (a 4×4 is 89 mm, 3½ in)

About 3 times the post width

Below the frost line where you live; ask your municipality

Your Results

Posts: 14 posts

Posts

14 posts

12 sections of 8 ft + 1 gate · each post 9 ft long

Rails

36

3 per section

Pickets

197

Concrete (80 lb bags)

33

0.547 m³ · 19.33 ft³

Material cost

$1,723.00

Layout

Elevation (not to scale): posts in grey, rails in blue, gates shaded at the end.

Materials list

Materials, quantities and cost
ItemQtyEachCost
Posts14$25.00$350.00
Rails36$8.00$288.00
Pickets197$4.00$788.00
Concrete, 80 lb bags33$9.00$297.00
Total$1,723.00

A 100 ft fence with 1 gate needs 14 posts, 36 rails, 197 pickets and 33 bags of 80 lb concrete (0.547 m³) for 12 sections of up to 8 ft.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

How This Calculator Works

How the Fence Materials Are Counted

Sections = ⌈(length − gates × gate width) ÷ spacing⌉
Posts = sections + 1 + gates · Rails = sections × rails per section
Pickets = ⌈fenced length ÷ (picket width + gap)⌉
Concrete per hole = (π × (hole ÷ 2)² − post²) × depth

Your numbers: 100 − 1 × 4 = 96 ft of fence; ⌈96 ÷ 8⌉ = 12 sections; 12 + 1 + 1 = 14 posts. Concrete: 0.0391 m³ per hole × 14 = 0.547 m³, which is 40 bags of 30 kg or 33 bags of 80 lb, rounded up.

Frequently Asked Questions

How many 80 lb bags of concrete do I need for 14 fence posts?

With 4×4 posts in holes 10 inches wide and 36 inches deep, each hole takes about 1.38 cubic feet of concrete once the post is in it. Fourteen posts need about 19.3 cubic feet, and at 0.6 cubic feet per 80 lb bag that is 33 bags. A wider or deeper hole changes the count quickly, because the volume grows with the square of the diameter.

How long should a 4×4 post be for a 6 ft fence?

The fence height plus the depth in the ground. A 6 ft fence on posts set 36 inches deep needs posts 9 ft long, so most builders buy 10 ft posts and trim them, or 8 ft posts only where the frost line allows a 24 inch hole. The calculator shows the post length for your height and hole depth.

How many pickets do I need for 100 feet of fence?

About 197 pickets of 5½ inches with a ⅜ inch gap, once a 4 ft gate is taken out of the run (96 ft of fencing). Butted tight for a privacy fence the same run takes 210 pickets. Buy a few extra for cuts and split boards.

Do I have to call 811 before I dig fence post holes?

Yes. Federal law set up 811 as the national call-before-you-dig number, and every state requires you to contact its one-call center a few working days before digging so the utilities can mark buried lines. It is free, and post holes 3 ft deep are exactly the kind of digging that hits gas, power and fibre lines.

Counts posts, rails, pickets and premix concrete for a straight fence, and their cost at your prices. Not included: extra posts at corners and ends of separate runs, gate hardware and gate boards, gravel at the bottom of the holes, fasteners, stain, waste and delivery. Bag yields are 0.014 m³ per 30 kg bag (Sakrete Concrete Mix data sheet) and 0.6 ft³ per 80 lb bag (Quikrete Concrete Mix data sheet); fast-setting post mixes yield less per bag. Set the hole depth below your local frost depth (National Building Code of Canada Table 9.12.2.2 for foundations; your municipality publishes local values) and check fence-height by-laws before you build.

Fence Calculator: Posts, Pickets and Concrete in Feet (US)

By FindMySum · Last reviewed

This fence calculator counts the materials for a wood fence measured the way most American yards and lumberyards measure it: the run in feet, the boards and posts in inches, and concrete in 80 lb bags. It splits the run into sections no longer than your post spacing, adds a post on each side of every gate, multiplies the sections by the rails per section, fits pickets of your width and gap along the fenced length, and works out the concrete that fills each post hole around the post.

Worked example: 100 ft of 6 ft fence with one gate

The US page opens on a 100 ft fence, 6 ft high, with posts at most 8 ft apart, one 4 ft gate, three rails per section, 5½ inch pickets with a ⅜ inch gap, and 4×4 posts (3½ inches actual) in holes 10 inches across and 36 inches deep.

  1. Fenced length: 100 − 4 = 96 ft, which is 12 sections of 8 ft.
  2. Posts: 12 sections + 1 + 1 for the gate = 14 posts, each 9 ft long (6 ft above ground, 3 ft below).
  3. Rails: 12 × 3 = 36 rails of 8 ft.
  4. Pickets: 96 ft is 1,152 inches; 1,152 ÷ 5.875 = 196.1, rounded up to 197 pickets.
  5. Concrete: about 1.38 cubic feet per hole, 19.33 cubic feet in all, which is 33 bags of 80 lb.

At the example prices ($25 a post, $8 a rail, $4 a picket and $9 a bag) the materials come to $1,723. Prices vary a lot by region and by lumber grade, so open the advanced inputs and enter what your store charges.

Frost depth and post holes in the US

Hole depth is the one setting the calculator can't choose for you. Building departments base it on the local frost depth, which ranges from a few inches along the Gulf Coast to 4 or 5 ft in Minnesota, North Dakota and northern New England. A common rule is a hole one-third to one-half the post's height above ground, and at least below the frost line so that frost heave can't lift the posts. Gate posts carry more load and are often set deeper or in larger holes. Many homeowners in mild climates set posts in gravel rather than concrete so water drains away from the wood; enter the hole size anyway to see how much concrete you would need if you change your mind.

Permits, setbacks and HOA rules

Most US cities don't require a permit for a fence under 6 ft in a back yard, but many limit front-yard fences to 3 or 4 ft, set a minimum distance from the sidewalk, and require the finished side to face the neighbor. Homeowners associations often go further and specify the material and colour. Check the property line on your plat or survey before you dig: a fence even a few inches over the line can become a dispute, and pins set by a licensed surveyor are the only reliable reference.

For a metric fence in metres and millimetres with 30 kg bags, use the fence calculator.

Sources

This article explains how the calculator works and is general information, not financial, tax or legal advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy