Fence Calculator
Pricing a fence means counting pickets by the hundred. This fence calculator estimates individual pickets for board-on-board privacy and spaced picket styles, or 8-ft panels for the pre-built route, at the fence height you enter. It also counts line and gate posts, rail lumber, and the concrete bags needed to set every post — plus post length, hole depth and diameter, the gravel base per hole, fastener count, a waste allowance, and an optional material cost from prices you enter. Just enter your total linear footage and gate count for a complete shopping list.
Total linear feet, including gates.
6 ft is the standard privacy height; check local limits first.
Panel style counts panels instead of pickets.
Actual width — “1×6” pickets are 5.5″.
Horizontal rails each section needs.
8 ft is standard for wood fences.
Each gate needs its own posts and hardware.
Cutting and damaged-unit allowance; 5% is typical for straight runs.
Your supplier price — one picket, or one 8-ft panel for panel style.
Your supplier price for one post.
Your supplier price for one 8-ft rail board.
Your supplier price for one 50-lb bag of concrete mix.
Enter measurements to see results
Fill in the fields and your results will update instantly — no button needed.
How it works
Pickets: fence length in inches ÷ picket width, rounded up. Board-on-board privacy gets a ×1.25 overlap allowance (rule of thumb); spaced pickets use ×1.0 because the gaps are intentional. The panel style skips pickets entirely: panels = ⌈length ÷ 8⌉. The waste allowance multiplies the count last: × (1 + waste%).
Posts: ⌈length ÷ post spacing⌉ + 1 + gates — one post per section, plus the end post, plus one extra post per gate.
Post length: fence height + bury depth, rounded up to the next whole foot. Bury depth is ⅓ of the fence height with a 2 ft minimum (rule of thumb) — so a 6-ft fence needs 8-ft posts, and an 8-ft fence needs 11-ft posts. Holes are 10 in diameter with 6 in of gravel at the bottom; gravel per hole is π × (5/12 ft)² × 0.5 ft ≈ 0.27 ft³.
Rails: posts × rails per section × 8 ft of rail lumber (one 8-ft rail run per post position). Concrete: 1 fifty-pound bag per post, about 0.375 ft³ each (rule of thumb). Fasteners: 2 screws per picket per rail, or 8 screws per panel (rule of thumb).
Cost (optional): each line is quantity × the price you enter — pickets/panels, posts, 8-ft rails, and concrete bags. The total appears only when all four prices are entered, and it covers materials only: gate hardware, delivery, labor, and tax are excluded.
Worked examples
100-ft privacy fence, 6 ft high, board-on-board, 5.5″ pickets
Pickets: ⌈1200 ÷ 5.5⌉ = 219 single-layer, × 1.25 overlap × 1.05 waste = 287.44 → 288. Posts: ⌈100 ÷ 8⌉ + 1 + 1 gate = 15. Rails: 15 × 2 × 8 = 240 linear ft (30 eight-foot rails). Concrete: 15 fifty-pound bags. Post length: 6 + 2 ft bury = 8 ft; holes 2 ft deep, 10 in wide, with 4.09 ft³ of gravel total. Fasteners: 288 × 2 × 2 = 1,152 screws. At $2.50 per picket, $12 per post, $6 per rail, and $5 per bag, materials come to $1,155.
64-ft run with pre-built 8-ft panels, one gate
Panels: ⌈64 ÷ 8⌉ × 1.05 waste = 8.4 → 9. Posts: ⌈64 ÷ 8⌉ + 1 + 1 = 10. Rails: 10 × 2 × 8 = 160 linear ft (panels still need rails or mount to posts per the panel design). Concrete: 10 bags. Post length: 6 + 2 ft bury = 8 ft; gravel base 2.73 ft³; fasteners 9 × 8 = 72 screws — plus a hinge and latch kit for the gate.
How to measure
- Walk the fence line with a tape or measuring wheel and record the total linear feet, including gates.
- Mark gate locations first — each gate needs its own posts and hardware.
- Measure picket width at the store; “1×6” pickets are actually 5.5 inches wide.
- Measure fence height from the ground at the highest point of a slope — stepped fences need the tallest pickets on the downhill runs.
- Check for slope: stepped fences need slightly longer pickets on the downhill runs.
- Call 811 (US) before you dig — post holes and buried utilities do not mix.
Assumptions & limitations
Planning estimate
- Board-on-board overlap at ×1.25 and one 50-lb concrete bag per post (≈0.375 ft³) are rules of thumb; rocky or sandy soil changes concrete needs.
- Bury depth (⅓ of fence height, minimum 2 ft), 10-in hole diameter, and 6 in of gravel per hole are rules of thumb for 4×4 posts; frost depth and local code can require deeper holes.
- Fasteners at 2 screws per picket per rail (8 per panel) are a rule of thumb — screws, nails, and brackets vary by product.
- Rail math assumes 8-ft sections between posts; wider post spacing needs longer rails.
- Gate frames, hinges, and latches are not counted — allow one hardware kit per gate. Cost totals use only prices you enter and exclude gate hardware, delivery, labor, and tax.
- This is a planning estimate only — not a substitute for code compliance or professional design. Check local fence height limits, setback rules, and HOA requirements before building.
Frequently asked questions
With standard 5.5″ pickets: ⌈1200 ÷ 5.5⌉ = 219 pickets for a single layer. Board-on-board privacy needs about 25% more for the overlap, plus the 5% waste allowance — roughly 288. Spaced picket styles use the base count plus waste. Enter your exact length above.
Divide the fence length by the post spacing, round up, add 1 for the end post, and add 1 per gate. A 100-ft fence with 8-ft spacing and one gate needs ⌈100 ÷ 8⌉ + 1 + 1 = 15 posts. Corner and gate posts should be set deeper with more concrete.
Post length is fence height plus bury depth, rounded up to the next whole foot. Bury ⅓ of the fence height with a 2 ft minimum: a 6-ft fence needs 8-ft posts (6 + 2), a 4-ft fence needs 6-ft posts, and an 8-ft fence needs 11-ft posts (8 + 2.67, rounded up). Posts are sold by the foot, so always round up.
One 50-lb bag (about 0.375 ft³) per post is the standard rule of thumb for a typical 8–10″ hole. Corner, gate, and end posts take more — use two bags there. In loose or sandy soil, dig a bigger hole rather than skimping on concrete.
Eight feet on center is the standard for wood privacy fences — it matches 8-ft rails and pre-built panels with no cutting. In high-wind areas, 6-ft spacing makes a sturdier fence. Spacing wider than 8 ft lets the rails sag.
Concrete is the default for gate, corner, and end posts, which take the most stress. For line posts in well-drained soil, tamped gravel or packed soil works fine and makes future post replacement easier. Either way, keep the post base below the frost line.