Find a tool

Fence Calculators

Posts at the joints, pickets, panels, rails, gates and the concrete in every hole.

These pages count posts, pickets, panels, rails, gates and the concrete in every hole, and read a pool fence against ISPSC 2021 section 305. They are an estimate for planning; your local authority decides whether a fence needs a permit, how tall it may be, and whether a pool barrier passes.

An isometric fence run with one post shaded

Which of these 10 pages is yours

Not sure which one? Start with the Fence Calculator — it handles the general case, and the links under its answer carry your measurements to the next page.

Page The question it answers The number it prints largest
Fence Your fence line, run by run — every post, what hangs between them, and what each hole takes. Prints: Posts
Privacy fence Three sides of a back yard — pickets edge to edge, rails behind, posts at the corners. Prints: Pickets, with waste
Board-on-board Boards on both faces, each lapping the two behind it — how many, and what holds them up. Prints: Pickets, with waste
Picket fence A front-yard picket fence and its gate — the pickets, and the even gap to space them at. Prints: Pickets, with waste
Split rail Rails a bay, posts at each end of them — a split rail fence in the pieces a yard sells. Prints: Rails
Chain link The rolls, the posts and every fitting — counted at each end of the fabric, ends and corners included. Prints: Chain link
Vinyl fence Posts a panel apart — the panels, the posts routed for where they stand, and their caps. Prints: Panels
Post spacing Each run in even bays, none wider than you allow — the spacing to mark out and the posts it takes. Prints: Widest post spacing
Fence gate A gate in a fence line — its posts, its frame, and the hardware it hangs on. Prints: Gates
Fence cost Type your yard's prices — see what the fence costs, row by row. Prints: Ticked items cost

How a fence is measured

A fence is walked, not drawn. List it the way you walk it — a run, a gate, the next run — and the pages treat the list as one line: each part starts where the one before it ends. Say whether it has two free ends or closes on itself.

The height is a select, not a box: it offers only the heights the chosen style is sold at. The style decides what fills the bays — pickets edge to edge, panels by the panel, chain link by the 50 foot roll, split rails by the rail.

Posts stand at the joints

Each run is divided into equal bays no wider than the spacing allowed, and the posts stand at the joints between parts: a corner post where two runs meet, a gate post either side of a gate, an end post at each free end. So 100 feet with posts no more than 8 feet apart is 13 bays of 7' 8 5/16" and 14 posts, where a store's fencing calculator prints 15 for the same 100 feet. A back yard of 50, 100 and 50 feet is 28 posts — 24 inside the runs, two corners, two ends. Added up run by run it would come to 30.

The joint sizes the post too. A wood gate post is a 6×6 in a 12 inch hole where the line posts are 4×4s in 10 inch ones. Chain link fittings are counted where the fabric ends — a tension bar, a rail end, a brace band and three to five tension bands by height — and a corner post holds two ends, so it takes everything twice.

Pickets are counted with a signed gap, (run + gap) ÷ (picket + gap): 219 for 100 feet of privacy fence butted tight, and 267 for board-on-board, the same formula with the gap negative, each board lapping 1 inch. Waste goes on the pickets and nowhere else, so a chain link, panel or split rail page has no waste box: everything it buys is counted from the line.

Holes are counted from their shape

A post goes in half as deep as it stands — a third of its length — on 6 inches of gravel, with concrete around it to 3½ inches below the ground; only split rail is set to the rail maker's depth instead. A 6 foot fence's hole is 42 inches deep and 10 across, 1.247 cubic feet of concrete a post, and the 14 posts of the 100 foot fence take 47 bags of fast-setting mix. A popular calculator buries the same posts 2 feet, a foot shallower. Quikrete's own example of two bags for a 10 inch hole 2 feet deep fills about four fifths of it; the geometry says 2.46.

Where the ground freezes, type the frost depth your building department gives under Assumptions, and no hole stops above it.

Where the numbers come from, and the pool code

The hole depth, the 10 inch hole for a 4×4, the gravel and the gap left at the top are Quikrete's, from its fast-setting mix spec sheet and its post-setting instructions. Chain link spacing, ties and bands are from Home Depot's chain link installation guide; split rail from West Virginia Split Rail's instructions; vinyl and aluminum from the panel makers'. Wood posts 8 feet apart is a convention with no standard behind it. The 5% for culled pickets, the picket gap, the lap, the gate post hole, the screws and Hoover Fence's hinge counts are estimates. Prices are store listings read in October 2026, or our estimates where none was found.

Choose a pool under Assumptions and the page reads the fence against section 305 of the 2021 International Swimming Pool and Spa Code, the one edition held, read whole in the text a township publishes. It must stand at least 48 inches with no more than 2 inches under it. A closed face passes the openings check; split rail fails it. Chain link gets no verdict, because the code holds its mesh to 1¾ inches and the usual fabric is woven at 2¼, which the page cannot see; nor does a picket gap between 1¾ and 4 inches, which turns on how far apart the rails are. The gate check never passes: a gate that opens out, closes and latches itself, with a low latch on the pool side, is hardware, not a number.

What these pages do not do

They do not follow a slope: a fence stepped or racked down a hill is worked as if the ground were level. One height is asked for the whole line, so a 4 foot front and a 6 foot back are two pages.

They do not count chain link's bottom tension wire or its hog rings. They put every wood gate on 6×6 posts, even a walk gate that would hang on 4×4s. They buy each post at the shortest length sold that is long enough and leave the offcut; there is no cutting list for posts.

The cost is materials: labor, permits, stain and hauling the dirt away are not on the list. And the pages do not decide whether your fence needs a permit, how tall your town allows it, or whether a pool barrier passes inspection. That is the local authority's call.

What this cluster assumes

47 assumptions: 25 from a data sheet or an agency document, 6 trade convention, 16 derived or single-supplier

Every constant these pages show under Assumptions, on the project each one opens with and on every choice its form offers, with its tier and the document it was read from. Each one is editable on the page that uses it; the waste each page starts at is in its own box, beside the form.

Assumption Value Confidence
Yield, 50 lb fast-setting bagQuikrete Fast-Setting Concrete Mix spec sheet. 0.375 ft³/bag From a data sheet or an agency document · source
Yield, 40 lb bagQuikrete Concrete Mix 1101 data sheet. 0.3 ft³/bag From a data sheet or an agency document · source
Yield, 50 lb bagQuikrete Concrete Mix 1101 data sheet. 0.375 ft³/bag From a data sheet or an agency document · source
Yield, 60 lb bagQuikrete Concrete Mix 1101 data sheet. 0.45 ft³/bag From a data sheet or an agency document · source
Yield, 80 lb bagQuikrete Concrete Mix 1101 data sheet. 0.6 ft³/bag From a data sheet or an agency document · source
Yield, 90 lb bagExtrapolated at 0.0075 ft³ per lb from the 80 lb bag of the 1101 data sheet, which lists no 90 lb bag. ~ 0.675 ft³/bag Derived or single-supplier
Board-on-board overlapHow far each board of a board-on-board fence laps the two behind it. Omni's board-on-board calculator laps about a quarter of the board's width. ~ 1 in Derived or single-supplier
A tension band everySame guide, p. 4: 3 tension bands to an end post of a 4 ft fence, 4 for 5 ft, 5 for 6 ft - a band for every foot of fabric less one; a corner post twice. ≈ 12 in Trade convention · source
Tension bands, at leastSame guide: never fewer than 3 tension bands at an end post. 3 bands From a data sheet or an agency document · source
Line post below the fabricSame manual: a line post stands 2 in below the top of the fabric, where the top rail rides over it. 2 in From a data sheet or an agency document · source
Top rail lapHow far one swaged 10 ft 6 in top rail slips into the next. ~ 6 in Derived or single-supplier
End post above the fabricChain link installation manual Home Depot hosts, pp. 2-3: an end, corner or gate post stands 2 in above the fabric. 2 in From a data sheet or an agency document · source
A tie down a line post everySame guide, p. 4: a tie every 12 in down each line post (step 14 says 12-16 in). 12 in From a data sheet or an agency document · source
A tie along the top rail everyHome Depot Chain Link Fence Installation & Gate Guide, p. 4: a tie every 24 in along the top rail. 24 in From a data sheet or an agency document · source
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. ≈ 2 in Trade convention · source
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. 0.5 ratio From a data sheet or an agency document · source
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. ≈ 0 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. 6 in From a data sheet or an agency document · source
Hinges a leafA pair of hinges to a gate leaf up to 5 ft high: Hoover Fence's wood gate hinge pages. ~ 2 hinges Derived or single-supplier
Hinges a tall leafThree hinges to a leaf 6 ft high or taller: Hoover Fence's wood gate hinge pages. ~ 3 hinges Derived or single-supplier
A leaf is tall fromThe gate height from which a leaf hangs on three hinges: 6 ft (Hoover Fence). ~ 72 in Derived or single-supplier
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. 10 in From a data sheet or an agency document · source
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. ~ 12 in Derived or single-supplier
Hole across, aluminum postForgeRight aluminum fence instructions, p. 2: holes about 8 in across. 8 in From a data sheet or an agency document · source
Hole across, chain link line postChain link line posts: 6 in holes in the installation manual Home Depot hosts; Home Depot's own guide says 4-6 in. ≈ 6 in Trade convention · source
Hole across, chain link end postChain link end, corner and gate posts: 8 in holes in the installation manual Home Depot hosts; Home Depot's own guide says 6-8 in. ≈ 8 in Trade convention · source
Hole across, split rail postA split rail post's hole; the rail maker gives a depth and no width. ~ 10 in Derived or single-supplier
Hole across, vinyl postFreedom vinyl fence kit instructions, p. 2: a 10 in hole for a 5×5 post. Veranda's instructions say the same. 10 in From a data sheet or an agency document · source
Post spacing, aluminum panelsForgeRight aluminum fence installation instructions (2016), p. 1: posts 72½ in on center for its 6 ft sections. 72 1/2 in From a data sheet or an agency document · source
Post spacing, vinyl panelsA 6×8 vinyl privacy panel (Veranda Linden) is 91 in wide between 5 in posts: 96 in on center. Freedom's kit instructions space posts at the panel's width plus the post's. ~ 96 in Derived or single-supplier · source
Post spacing, wood panelsA pre-built 6×8 wood panel is 8 ft long, its ends meeting on a post's center. ~ 96 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. ~ 2 1/2 in Derived or single-supplier
Pool barrier, gap at the groundISPSC 2021 section 305.2.1: no more than 2 in between grass or gravel and the bottom of the barrier (4 in over concrete). 2 in From a data sheet or an agency document · source
Pool barrier, at leastISPSC 2021 section 305.2.1: the top of a pool barrier at least 48 in above grade, measured outside it. 48 in From a data sheet or an agency document · source
Pool gate latch, inside belowISPSC 2021 section 305.3.3: a latch release lower than 54 in goes on the pool side, at least 3 in below the top of the gate. 54 in From a data sheet or an agency document · source
Pool barrier, narrow openingISPSC 2021 sections 305.2.5 and 305.2.7: 1¾ in between pickets where the rails are less than 45 in apart, and the most a chain link opening may be. 1 3/4 in From a data sheet or an agency document · source
Pool barrier, widest openingISPSC 2021 section 305.2.2: no opening a 4 in sphere passes; 305.2.6 holds pickets to 4 in where the rails stand 45 in or more apart. 4 in From a data sheet or an agency document · source
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. ~ 24 in Derived or single-supplier
Screws where a picket crosses a railTwo screws where each picket crosses a rail, the usual nailing of a privacy fence. ~ 2 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. ~ 2 screws Derived or single-supplier
Widest post spacing, chain linkHome Depot Chain Link Fence Installation & Gate Guide (2026), p. 4 and step 3: line posts no more than 10 feet apart. 120 in From a data sheet or an agency document · source
Post spacing, split railWest Virginia Split Rail installation instructions: 11 ft rails lapped 6 in into each post, so posts stand about 10 ft 3 in on center. 123 in From a data sheet or an agency document · source
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. ≈ 96 in Trade convention
Split rail post in the groundWest Virginia Split Rail: post holes 24-30 in deep, backfilled with tamped earth. The deep end, which puts a 3-rail fence on a 7 ft post. 30 in From a data sheet or an agency document · source
Split rail post, acrossA split rail post is a split log about 5 in across; taken as square for the hole it fills. ~ 5 in Derived or single-supplier
A split rail everySplit rail is sold two rails for a fence about 3 ft high and three for about 4 ft; one rail for every 18 in of height gives the same. ~ 18 in Derived or single-supplier
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. 3 1/2 in From a data sheet or an agency document · source

Code editions these pages read

  • ISPSC 2021 — 305.2.1, 305.2.2, 305.2.5, 305.2.7, 305.3

Estimates for planning. A licensed trade or engineer signs off the work, and your local authority has the last word on which edition applies.

Every Fencing calculator 10

Read at the source

Every constant on this site carries the tier it sits in and the document it came from. These are the documents, read in the text and not quoted from another calculator.

  • ISPSC