Fence Calculator
Sections first, then everything hangs off them
A fence is built in sections between posts, and the section count is the number every other quantity derives from. One hundred feet at 8-foot spacing is 12.5 sections, which rounds up to 13 — the last section simply runs a little short, at about 7.7 feet — and 13 sections need 14 posts, one at each end of every section. Rails multiply straight off the sections: two per section is 26 rails. Pickets are counted across the whole run rather than per section, because they flow continuously past the posts: each picket covers its width plus one gap, 5.5 + 0.5 = 6 inches, so 1,200 inches of fence takes exactly 200 pickets. Concrete follows the posts at roughly one and a half 50-pound bags per standard post hole — 21 bags for this fence. Gates come off the length before any of it: enter the total gate width and the calculator shortens the run, though the gate itself — posts, frame, hardware — is a small project of its own that no per-foot arithmetic covers.
The decisions the materials list cannot make for you
Post spacing is a strength decision wearing an arithmetic costume. Eight feet is the residential standard because rails span it without sagging under a picket fence's weight; six feet is the upgrade for tall fences, windy sites, heavy shadow-box styles and anywhere a fence will be leaned on by life — and the price of the upgrade is visible above if you toggle it: the same 100 feet at 6-foot spacing takes 17 sections and 18 posts. Post depth matters more than either: the rule of thumb is a third of the post's length in the ground — two feet for a six-foot fence — and below the frost line wherever frost heave is real, because a fence that heaves in its first winter leans in its second. Finally, the picket gap is a privacy dial, not a constant: a half inch reads as a friendly boundary, zero gap (board-on-board or a shadow-box build) is what actual privacy costs, roughly a third more pickets than the gapped count above — the calculator's gap field will show you exactly how many.
Frequently asked questions
How many fence posts do I need for 100 feet?
Fourteen, at the standard 8-foot spacing — 100 feet divides into 13 sections (the last runs short, which is normal), and every section needs a post at each end, with corners and ends shared between sections: sections + 1. At 6-foot spacing the same run takes 18 posts, the price of a stiffer fence. What the count assumes is a straight run: corners, ends and gate sides each need their own post, and a fence that turns two corners on its way to 100 feet wants two more posts than the straight-line figure. This calculator counts the straight run honestly and the page says so — pace out your corners before ordering.
How many pickets are in a fence section?
Sixteen in a standard 8-foot section with 5.5-inch pickets and a half-inch gap — each picket covers 6 inches, and 96 ÷ 6 is 16. Across a whole fence the calculator counts the full run at once (200 pickets for 100 feet), because pickets continue past posts and per-section rounding would overstate the order. Privacy styles change the maths fundamentally: board-on-board overlaps pickets and shadow-box alternates them on both faces of the rails, and both consume roughly a third more pickets than a gapped fence of the same length — set the gap to zero here for a first approximation, then add for the overlap.
How deep should fence posts be?
The working rule is one-third of the post's above-ground height, buried — a 6-foot fence wants 2 feet of post in the ground, so 8-foot posts — and never above the local frost line, because frost heave will lift a shallow post a little more each winter until the fence leans. In frost-free country the third-rule alone governs; in cold country the frost line (often 3 to 4 feet) governs instead, and posts get longer to match. The hole should be about three times the post's width, with gravel at the base for drainage: a post rots at the ground line, where water lingers, and drainage is the cheapest years you can add to a fence's life.
How much concrete does a fence post need?
About one and a half 50-pound bags for a standard residential post hole — roughly 10 to 12 inches across and 2 feet deep — so a 14-post fence wants around 21 bags. Deep or wide holes in soft soil can double that, and gate posts, which carry a swinging load forever, deserve the generous end of the range and a hole to match. Some builders set line posts in compacted gravel instead of concrete, trading a little rigidity for drainage and far easier future repairs; corner and gate posts, which carry the fence's tension, get concrete regardless. When in doubt, the bag count is the cheap place to be generous.
Is an 8-foot or 6-foot post spacing better?
Eight feet is the standard because it is sufficient for a normal picket fence: rails span it without visible sag, and it minimises posts, holes and concrete. Six feet is better where the fence is tall (over 6 feet), the site is windy, the style is heavy — shadow-box and board-on-board add real weight — or the fence will be climbed, leaned on or charged by livestock. The materials difference is honest and modest: on 100 feet, 14 posts and 26 rails become 18 posts and 34 rails. What you are buying with the difference is stiffness you will feel every time you push a gate or lean a ladder, which is why fences at 6-foot spacing simply feel more expensive than they cost.
Related tools
Estimating figures last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.