Skip to content
DeviceCheckHub

Fence Calculator

Enter each side of your fence and its gates to get the posts, rails, pickets, concrete and gravel, with post holes sized from QUIKRETE’s instructions, a drawing of one section and a shopping list.

Your fence

  1. Side 1

Sides join end to end, so each corner shares a post. Feet and inches work, such as 50' 6". Each side can have up to 10 gates, set between sections.

Posts and rails

Leave the depth empty to bury a third of each post, as QUIKRETE’s instructions give: half the fence’s height. Posts come in stock lengths of 8, 10, 12, 14, 16 ft.

Pickets

A 1x6 picket is 5½ in wide, a 1x4 3½ in and a 1x8 7¼ in. Shadowbox and board-on-board pickets go on alternate faces of the rails, each overlapping the next.

Concrete and prices

A 50 lb bag of QUIKRETE Fast-Setting Concrete Mix makes about 0.375 cu ft, an 80 lb bag of concrete mix 0.6 and a 60 lb bag 0.45. Rail boards include the gate frames; nails, screws and gravel are counted but not priced.

What to buy

219 pickets

for 100 ft of 6 ft privacy fence

Shopping list for the fence
QtyItemDetails
Worked out for 100 ft of fence: 14 posts, 39 rails, 219 pickets.

One section

Seen from the side: two posts in their holes, with gravel at the bottom and concrete to 3 in below the ground, the rails between them and the pickets in front. Not to scale for the pickets’ thickness.

Post spacing compared

Sections, posts, rails and concrete bags for the fence above at each post spacing
At mostSectionsPostsRailsBags

Closer posts make a stiffer fence and cost more posts, holes and concrete.

How the fence calculator works

A wood fence is a row of posts set in the ground, with rails running between them and pickets fastened to the rails. Enter each side of the fence as a straight run; the sides join end to end, so a corner is one post shared by two sides, and a closed fence also joins its last side back to the first. Each side is split into the fewest equal sections no wider than the post spacing you choose, and its gates are set between sections. A side with no gate has one more post than it has sections.

A straight 100 ft fence with posts at most 8 ft apart has 13 sections of 7 ft 8¼ in and 14 posts. At 6 ft high with 3 rails per section it takes 39 rails, and edge to edge in 1x6 pickets, 219 pickets. Its 14 posts take 19.9 cubic feet of concrete, 54 bags of 50 lb fast-setting mix, and 4.21 cubic feet of gravel.

Posts and post holes

The calculator follows QUIKRETE’s instructions for setting posts: the hole is 3 times the post’s width across, a third of the post’s length goes into the ground, and 6 in of gravel or crushed stone in the bottom of the hole drains water away from the post. Burying a third of the post leaves two thirds above the ground, so a fence’s posts go half its height into the ground: 3 ft for a 6 ft fence, on a 9 ft post bought as a 10 ft one. You can enter a shallower or deeper depth; where the ground freezes, the bottom of the hole should be below the frost line, and your building department can tell you where that is.

Wood posts are usually pressure-treated 4x4s, which are 3½ in square, so their holes are 10½ in across. Gate posts and fences on windy sites often use 6x6s, 5½ in square, in 16½ in holes. Set the two end posts first, run a string between their tops, and line up and level every post between them to it.

Concrete and gravel

The concrete fills the hole around the post, from the gravel up to 3 in below the ground, and soil fills the rest so water runs off. The calculator works out the volume of the hole less the post itself: a 4x4 set 3 ft deep takes 1.42 cubic feet, about 3.8 bags of 50 lb fast-setting mix. QUIKRETE Fast-Setting Concrete Mix is poured dry into the hole and soaked with about a gallon of water per bag; it sets in 20 to 40 minutes, and holes deeper than 2½ ft are filled in two lifts. Its data sheet gives 0.375 cubic feet per 50 lb bag, and its own example, a 3 in post in a 9 in hole 30 in deep, takes 0.66 cubic feet, two bags, by the same sum. Ordinary concrete mix yields 0.6 cubic feet per 80 lb bag and 0.45 per 60 lb bag.

Rails and sections

QUIKRETE’s fence designs suggest dividing a fence into equal sections of 6, 8 or 10 ft, so standard precut 2x4 rails fit with little cutting, and using a shorter section for a gate. The calculator gives each section 3 rails for a 6 ft fence, one for every 2 ft of height and never fewer than two, which you can change. Rails are counted in stock lengths: one board per section, or where it wastes less, one board across two sections with its joint on a post, as a 12 ft board does across two 6 ft sections. On a slope, the posts stay plumb and the rails tilt with the ground, which makes them longer than the section.

Pickets and fasteners

Pickets are counted along the fence, gates included. A privacy fence has them edge to edge; a spaced picket fence leaves a gap between them; and a shadowbox or board-on-board fence puts them on alternate faces of the rails, each overlapping the next, so the fence looks the same from both sides and still blocks the view. Along 100 ft, 1x6 pickets take 219 edge to edge, 161 spaced 2 in apart and 267 overlapping 1 in. Fasteners are counted at 2 per picket at each rail, which you can change; use corrosion-resistant nails or screws in treated wood.

Gates

A gate hangs between two posts on a section line. The calculator takes the gates out of each side’s length before splitting the rest into sections, counts the gate’s pickets with the others, and lists a frame of 2x4s for each gate, one per rail and a diagonal brace, with a set of hinges and a latch.

Before you dig

Check your property line, and any zoning rules, homeowner association rules or deed restrictions on a fence’s height, look and setback. The model International Residential Code exempts fences not over 7 ft high from a building permit in its Section R105.2, but many cities and counties require one anyway. 811 is the free national before-you-dig service: call or submit a request a few business days before you dig, and buried utility lines are marked for free.

Privacy

Everything is worked out in your browser. Nothing you type is sent to this website; your numbers are saved only on this device.

Frequently asked questions

How many posts do I need for a 100 ft fence?

With posts no more than 8 ft apart, a straight 100 ft fence has 13 sections of 7 ft 8¼ in and 14 posts, one more post than sections. At 6 ft it takes 18 posts and at 10 ft 11. Each corner shares one post between two sides, and each gate adds a post, since it hangs between two.

How deep should fence posts be?

QUIKRETE’s instructions for setting posts bury a third of the post’s length, which leaves two thirds above the ground: for a 6 ft fence that is 3 ft in the ground on a 9 ft post, cut from a 10 ft one. The hole goes 6 in deeper for gravel, and where the ground freezes, below the frost line.

How much concrete do I need per fence post?

A 4x4 post set 3 ft deep in a 10½ in hole, with concrete to 3 in below the ground, takes 1.42 cubic feet: about 3.8 bags of 50 lb fast-setting mix, so 4, or 3 bags of 80 lb concrete mix. A 6x6 in a 16½ in hole takes 3.51 cubic feet. QUIKRETE’s own example sets a 3 in post in a 9 in hole 30 in deep with two 50 lb bags.

How many pickets do I need for a 100 ft fence?

With 1x6 pickets, which are 5½ in wide, a 100 ft privacy fence with the pickets edge to edge takes 219. Spaced 2 in apart it takes 161, and a shadowbox fence with pickets on alternate faces overlapping 1 in takes 267. Add any gates, which take pickets across their width too.

How far apart should fence posts be?

QUIKRETE suggests dividing the fence into equal sections of 6, 8 or 10 ft, so standard precut rails fit with little cutting, and using a shorter leftover section for a gate. Rails are usually 2x4s, and 8 ft on center is the most common spacing for a wood fence.

How many rails does a fence need?

The calculator uses one rail for every 2 ft of height and never fewer than two: 2 for a 3 or 4 ft fence, 3 for a 6 ft fence and 4 for an 8 ft one. A 100 ft fence 6 ft high with 8 ft sections takes 39 rails.

Do I need a permit to build a fence?

In the model International Residential Code, Section R105.2 exempts fences not over 7 ft high from a building permit. Cities and counties often add their own zoning rules on height, setbacks and permits, and homeowner associations and deeds can restrict fences too, so check before you build.

How big should a fence post hole be?

QUIKRETE makes the hole 3 times the post’s width: 10½ in across for a 4x4, which is 3½ in wide, and 16½ in for a 6x6. It goes a third of the post’s length deep plus 6 in for a gravel base.

Last updated · About DeviceCheckHub