Bin 23 · Fences

Fence calculator

A 100 ft fence with posts no more than 8 ft apart needs 13 sections and 14 posts, spaced 7.69 ft on center. With 3 rails per section that is 39 rails. The fence calculator also counts pickets and the concrete for every post hole.

Yard Calculator editorial teamUpdated 5 sources

Calculator

Fence materials

Posts, rails, pickets, concrete

Fence line

Rails and pickets

Post holes

You need

14 posts

Sections
13 over 100 ft
Post spacing
13 × 7.69 ft on center
Rails
39, each about 7.69 ft
Pickets or boards
219
Concrete for posts
14 cu ft = 24 × 80 lb or 38 × 50 lb bags
Gravel under posts
2.55 cu ft

Formula. Sections per side = side length ÷ maximum spacing, rounded up. Posts = sections + 1 (open fence) or sections (closed loop). Pickets = side length ÷ (picket width + gap), rounded up. Concrete per hole = (3.1416 × diameter² ÷ 4 − post width²) × (hole depth − gravel).

How many fence posts do I need?

Divide each side by the maximum post spacing, round up to whole sections, and add one post for an open fence. A closed loop needs one post per section, because the last side ends on the first post.

posts = sections + 1, where sections = length ÷ maximum spacing (rounded up)

A 100 ft run with posts no more than 8 ft apart is 100 ÷ 8 = 12.5, so 13 sections and 14 posts, spaced 7.69 ft apart so every section is equal. Each corner of a multi-sided fence is rounded separately and shares one post. The fence post spacing guide covers how to choose the maximum spacing.

Posts for a straight fence (open at both ends)
Fence length6 ft max spacing8 ft max spacing10 ft max spacing
50 ft1086
100 ft181411
150 ft262016
200 ft352621
300 ft513931

Fence pickets and boards: how many?

Rails = sections × rails per section, and pickets = fence length ÷ (picket width + gap), rounded up. A wood preservative maker's installation guide uses three rails when pickets are 60 inches or longer, with the top and bottom rails within 6 inches of the picket ends, and centers each line post where the rails meet.[1] Because rails meet on a post, the rail length sets the post spacing.

  • Privacy fence: enter a gap of 0. A 100 ft run of 5.5 inch boards takes 1,200 ÷ 5.5 = 218.2, so 219 boards.
  • Spaced pickets: add the gap to the width. 3.5 inch pickets with a 2 inch gap on 100 ft take 1,200 ÷ 5.5 = 219 pickets.
  • Wire fence: choose no rails and leave the picket width blank.

How deep should fence posts be?

For wood fence posts, bury at least a third of the post and never less than 2 ft, with the bottom of the hole a few inches below your local frost line.[1] The same guide puts 4–6 inches of packed gravel at the bottom of each hole and finishes the concrete above the soil line, sloped to shed water.[1]

Published post setting depths
PostDepthSource
Wood fence post (residential)at least ⅓ of post length, not less than 2 ft, below frost line[1]
Wood line post, woven wire farm fenceat least 24 in (post at least 6 ft long)[2]
Steel line post, woven wire farm fenceat least 18 in (post at least 5½ ft long)[2]
Wood corner and brace postat least 36 in, or 30 in in concrete (6 in top, 8 ft long)[2]
Wood line post, standard farm fenceat least 20 in (post at least 6 ft long)[3]
Corner, gate, end and pull posts30–36 in[3]

Concrete for fence posts

Each hole takes about 1 cu ft of concrete at 10 inches across and 30 inches deep, with 4 inches of gravel and a 3½ inch post. The concrete fills the hole above the gravel, less the space the post takes up. To add gate posts, footings or a slab to the same order, use the concrete calculator.

concrete per hole = (3.1416 × diameter² ÷ 4 − post width²) × (depth − gravel)

For the 14 posts in the example that is 14 cu ft. An 80 lb bag of standard concrete mix yields about 0.60 cu ft and a 50 lb bag about 0.375 cu ft,[4] so the job takes 24 bags of 80 lb, or about 1.7 per post. Heavier jobs are easier to compare in the concrete cost calculator, and the concrete weight page lists bags per cubic yard.

Gravel for drainageAt 4 inches deep in a 10 inch hole, each post takes about 0.18 cu ft of gravel. For larger quantities, the gravel calculator converts to yards and tons.

Wire farm fences

Field fences use much wider spacing than wood fences. NRCS specifications allow line posts up to 14 ft apart for conventional woven wire and 25 ft for high-tensile fixed-knot wire in Kentucky,[2] and a general maximum of 20 ft for standard fences in Missouri, with corner bracing wherever the fence turns 25 degrees or more.[3] Enter that spacing as the maximum, choose no rails, and the calculator counts the posts. Lengths convert to meters exactly.[5]

Common fence calculator mistakes

The most common mistake is forgetting the last post: an open fence always needs one more post than it has sections.

  • Measuring the gap instead of on center. Spacing runs from the center of one post to the center of the next.
  • Rounding sections down. That makes every section longer than your rails. Always round up and space the posts evenly.
  • Setting posts too shallow. Bury wood posts at least a third of their length and not less than 2 ft, below the frost line.[1]
  • Skipping gravel. Put 4–6 inches of packed gravel at the bottom of each hole.[1]
  • Too few rails on a tall fence. Pickets 60 inches or longer use three rails.[1]

Frequently asked questions

How many boards do I need for a privacy fence?

Divide the fence length in inches by the board width, with no gap: 100 ft of 5.5 inch boards is 1,200 ÷ 5.5 = 218.2, so 219 boards.

How many fence posts do I need for 100 feet?

14 posts with an 8 ft maximum spacing (13 sections of 7.69 ft), or 11 posts with a 10 ft maximum (10 sections of exactly 10 ft).

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

Divide 1,200 inches by the picket width plus gap: 219 boards of 5.5 inches butted together, or 219 pickets of 3.5 inches with 2 inch gaps.

How many bags of concrete per fence post?

For a 10 inch hole 30 inches deep with 4 inches of gravel and a 3½ inch post, about 1 cu ft, which is 1.7 bags of 80 lb mix.[4]

How deep should fence posts be?

At least a third of the post's length and not less than 2 ft for wood fence posts, below the frost line.[1]

Sources

  1. Building a Fence (treated wood installation guide) · Viance, wood preservative manufacturer (TreatedWood.com), n.d.
  2. Practice Specification: Fence (Code 382), Woven Wire · USDA Natural Resources Conservation Service, Kentucky, November 2023
  3. Practice Specification: Fence (Code 382), barbed, woven and suspension · USDA Natural Resources Conservation Service, Missouri, September 2008
  4. QUIKRETE Concrete Mix No. 1101 data sheet (yields, unit weight, strength) · The Quikrete Companies, 2022
  5. NIST Handbook 44, Appendix C: General Tables of Units of Measurement · National Institute of Standards and Technology, 2026 edition