Find a tool

Fence Calculator

Your fence line, run by run — every post, what hangs between them, and what each hole takes.

An estimate of material — your yard's lumber, local rules and the ground decide the build.

Left side

50' · 600 in · 50 ft · 15.24 m

50 ft

5% covers pickets split by a screw or culled for warp and knots. It is added once, to the pickets — the posts, rails and concrete are counted from the fence itself.

This page recalculates as you type. There is no Calculate button.

Answer

Save imageExcel

Posts

8 posts

50 ft of fence · 7 bays · 8 posts in holes 27" deep

Pickets, with waste 107 pickets
Rails 14 2×4s · 2 a bay
Fence, gates left out 50 ft
Concrete 15 × 50 lb fast-setting
Gravel under the posts 5 × 50 lb bags (0.5 ft³)
Ticked items cost $586.00
More numbers
Post holes 27" deep, 10" across
Widest post spacing 7' 1 11/16" on center
Even gap between pickets 2 7/16" at a 2 1/2" gap
DrawingThe project drawn to scale. Left side: 50' × 3' 6".50'3' 6"Left side

Breakdown

Run or gate Measurements Qty Length Share
Left side 50' Add ×1 50 ft

What to buy

Buying noteCall 811 a few business days before you dig. It is the free national before-you-dig service: the utilities mark their lines, and every post hole needs it.
Buying noteYour frost depth is not set. Where the ground freezes, a post set above the frost line heaves: ask your building department for the depth (IRC Table R301.2(1)) and type it under Assumptions — every hole follows it.

Ways to buy the concrete

The bags for every post hole together, by the shape of the holes. Every way is worked out; pick the one you will buy.

15 × 50 lb fast-setting Bags 15 Left over 0.25 ft³ Weight 750 lb Cost $119.70 Reference price $7.98. Type your store's.

Shopping list

8 8 × 8 ft $108.16 Reference price $1.69. Type your store's.
107 107 × 4 ft $192.60 Reference price $0.45. Type your store's.
14 14 × 8 ft $67.20 Reference price $0.60. Type your store's.
1 1 × 5 lb box (453) $37.97 Reference price $10.97. Type your store's. Reference price $37.97. Type your store's.
1 1 × 5 lb box (309) $32.97 Reference price $32.97. Type your store's.
8 8 × 4×4 caps $63.84 Reference price $7.98. Type your store's. Reference price $12.98. Type your store's.
15 15 × 50 lb fast-setting $119.70
5 5 × 50 lb bags (0.5 ft³) $27.40 Reference price $5.48. Type your store's.
Ticked items $586.00

Untick what you already have. Lumber is priced by the foot, beside its row; the concrete's bags are priced in the table above.

Save imageExcel
How this was worked out

Every number below is yours. Each constant links to the row where you can change it.

Left side 50' 50 ft
Posts 7 bays in 1 runs: 6 line + 2 end + 0 corner + 0 gate 8 posts

Change:Widest post spacing, wood

How deep a post goes 0.5 × 42" out of the ground, or the frost depth 0" where deeper 21" + 6" = 27"

Change:Post in the ground, share of its height aboveYour frost depthGravel in the bottom of a hole

Posts, length 42" + 21" = 63" 8 × 8 ft
Concrete, each post (π ÷ 4 × 10" × 10" − 3 1/2" × 3 1/2") × 17 1/2" 0.671 ft³ × 8 = 5.371 ft³

Change:Hole across, 4×4 postConcrete stops under the ground

Bags of concrete 5.371 ft³ ÷ 0.375 ft³ 14.32 → 15 × 50 lb fast-setting

Change:Yield, 50 lb fast-setting bag

Gravel under the posts π ÷ 4 × 10" × 10" × 6" × 8 2.182 ft³ → 5 × 50 lb bags (0.5 ft³)

Change:Gravel in the bottom of a hole

Rails 7 × 2 = 14 14 × 8 ft

Change:A rail every

Pickets, edge to edge (600" + 2 1/2") ÷ (3 1/2" + 2 1/2") 101 × 4 ft

Change:Gap between picketsGap under the pickets

With the waste for culls 101 × (1 + 5%) 106.05 → 107
Screws 101 pickets × 2 rails × 2 + 14 boards × 2 ends × 2 404 + 56

Change:Screws where a picket crosses a railScrews at each end of a rail

What it comes to 8 × 8 ft × $1.69/ft + 107 × 4 ft × $0.45/ft + 14 × 8 ft × $0.60/ft + 1 × $37.97 + 1 × $32.97 + 15 × $7.98 + 5 × $5.48 $586.00

Assumptions

Every one of these is editable. Change one and the answer changes with it.

Assumption Value Confidence
Widest post spacing, woodPosts of a wood fence no more than 8 ft apart, center to center: the spacing Inch Calculator and Omni both work at, and the length of the 2×4 rail that spans a bay. ≈ in Trade convention
A rail everyOne rail for every 24 in of fence height, never fewer than a top and a bottom one: Inch Calculator's rule - three rails on a 6 ft fence, two up to 4 ft. ~ in Derived or single-supplier
Gap between picketsThe gap between pickets of a picket fence. Omni's fence FAQ works at 2½ in, Inch Calculator at 2 in; no maker read gives one. ~ in Derived or single-supplier
Gap under the picketsPickets stop about 2 in above the ground so they do not wick water; Freedom's vinyl kit sets its panels about 2 in up, and 2 in is the most ISPSC 305.2.1 allows over grass or gravel. ≈ in Trade convention
Screws where a picket crosses a railTwo screws where each picket crosses a rail, the usual nailing of a privacy fence. ~ screws Derived or single-supplier
Screws at each end of a railTwo screws at each end of a rail or a gate board, into the post or the frame. ~ screws Derived or single-supplier
Post in the ground, share of its height aboveQuikrete Fast-Setting Concrete Mix spec sheet, section 5: a post hole one half as deep as the post stands above ground. Quikrete's Setting Posts sheet says the same as one third of the post's length, and so does Home Depot's chain link guide for its posts. ratio From a data sheet or an agency document
Your frost depthYour frost depth, from your building department (IRC Table R301.2(1) is filled in locally). 0 means not given: every hole is then as deep as the post's own rule. Typed in, no hole stops above it. ≈ in Trade convention
Gravel in the bottom of a holeQuikrete Setting Posts, step 2: 6 in of gravel or crushed stone in the bottom of the hole, for drainage. in From a data sheet or an agency document
Concrete stops under the groundQuikrete Setting Posts, steps 4 and 6: fill the hole to 3-4 in below the top, then finish with soil. The middle of the range. in From a data sheet or an agency document
Hole across, 4×4 postQuikrete Fast-Setting spec sheet, section 3: a 4 in post set in a 10 in hole. Its rule of three times the post would make 10½ in for a 4×4. in From a data sheet or an agency document
Hole across, 6×6 postA 6×6 gate post. Quikrete's three times the post would be 16½ in, a hole few dig for a fence; 12 in is an auger's size. ~ in Derived or single-supplier
Yield, 50 lb fast-setting bagQuikrete Fast-Setting Concrete Mix spec sheet. ft³/bag From a data sheet or an agency document

What a 100 foot fence takes

A straight run of 100 feet with posts no more than 8 feet apart is 12½ bays, so it is 13 bays of 7' 8 5/16" each, and 14 posts — always one more post than bays on a run with two free ends. A 6 foot privacy fence carries three 2×4 rails a bay, one for every 24 inches of height: 39 rails, each an 8 foot board. Its 1×6 pickets are 5½ inches wide, so 1,200 inches of fence takes 1,200 ÷ 5.5 = 218.2, rounded up to 219 pickets — 230 with 5% for the ones that split or warp.

Each post goes 36 inches into the ground, half the 72 inches that stand above it, on a 6 inch bed of gravel: a hole 42 inches deep and 10 inches across. The concrete fills it from the gravel to 3½ inches under the ground, around the post: (π ÷ 4 × 10" × 10" − 3½" × 3½") × 32½" is 1.247 cubic feet a post, 17.455 for fourteen, and at 0.375 cubic feet a 50 pound bag of fast-setting mix that is 47 bags. A post 72 + 36 = 108 inches long is bought as a 10 foot 4×4 and cut.

Runs, corners and gates

List your fence the way you walk it. Each run starts where the one before it ends, so the posts stand at the joints: where two runs meet is a corner post, either side of a gate is a gate post, and an open line has an end post at each end. Close the line — a garden or a pool all the way round — and the last run meets the first at a corner, with no ends at all. A back yard of 50, 100 and 50 feet is 27 bays and 28 posts: 24 inside the runs, two corners and two ends. Added up run by run it would come to 30.

A gate takes its own two posts, its hinges, a latch, and on a double gate a drop rod to hold the fixed leaf down. A wood gate is framed on site from the same 2×4s and pickets; chain link, vinyl and aluminum gates are bought made.

Why the holes are deeper than some calculators say

Quikrete's rule is a hole half as deep as the post stands — a third of the post's length — with 6 inches of gravel under it. Inch Calculator buries a 6 foot fence's posts 2 feet, a third of its height, which is a foot shallower. Where the ground freezes, a post set above the frost line heaves: your building department knows the depth, and typed into Your frost depth under Assumptions it sets every hole.

Bags are counted from the shape of the holes, not from a rule of so many a post. Quikrete's own example — two 50 pound bags for a 4 inch post in a 10 inch hole 2 feet deep — fills about four fifths of the hole: the geometry says 2.46 bags.

What this does not do yet

A fence down a slope, stepped or racked, is worked out as if the ground were level, and one height is asked for the whole line. Before you dig, call 811, and ask your town and any homeowners' association how tall a fence may be and where it may stand. We are not connected with any maker, store or supplier named here.