Skip to content
The Concrete Calculator logo The Concrete Calculator

Fence Calculator: Posts, Rails, Pickets & Concrete Bags

This fence calculator turns the length of your fence line into a complete materials list: posts, rails, pickets and the bags of concrete needed to set each post. Choose the fence height, post spacing and rails per section, and it sizes the post holes for you.

Based on standard wood-fence framing and post-setting practice Last updated: November 26, 2026

Fence Calculator

Enter your dimensions and units, every result updates instantly as you type.

Estimated fence materials

0
0

Estimates only. Post holes are sized 10 in wide and one third of the fence height deep plus 6 in (at least 24 in), for 4×4 posts. Add one extra post per gate. Check local frost depth and property-line rules before you dig.

Did we solve your problem today?

Fence materials by fence length

6 ft privacy fence, posts every 8 ft, 3 rails per section, 5.5 in pickets with no gap, no gates.

Fence lengthPostsRails (8 ft)Pickets80 lb concrete bags
50 ft82111016
100 ft143921928
150 ft205732840
200 ft267543752
300 ft3911465578

Add one post per gate and 5–10% extra pickets for cuts and damaged boards.

How the Fence Calculator works

  1. 1

    Enter your dimensions

    Type the length, width and thickness of your slab, footing or pad and choose your units, feet, inches or meters.

  2. 2

    Get instant volume

    See the result in cubic yards, cubic feet and cubic meters, plus weight, the moment you type, no page reloads.

  3. 3

    Buy the right amount

    We convert volume into the exact number of 40, 60 and 80 lb bags, truck loads and cost so you order without waste or shortfalls.

The formula

Posts = ceil(Length / Spacing) + 1 + Gates

  • ·Sections = Length ÷ post spacing, rounded up
  • ·Rails = Sections × rails per section
  • ·Pickets = (Length × 12) ÷ (picket width + gap), rounded up
  • ·Concrete per post = hole volume − post volume

A hole 10 in across and 30 in deep holds about 1.15 ft³ of concrete around a 4×4 post: about 2 bags of 80 lb mix or 4 bags of 50 lb fast-setting mix.

Worked examples

Example 1: 100 ft privacy fence, 6 ft high, posts every 8 ft

  1. Sections = 100 / 8 = 12.5, round up to 13
  2. Posts = 13 + 1 = 14 (+1 for a gate = 15)
  3. Rails = 13 x 3 = 39
  4. Pickets = 1,200 / 5.5 = 218.2, round up to 219
  5. Concrete = 2 x 80 lb bags x 15 posts = 30 bags

Result: 15 posts, 39 rails, 219 pickets and about 30 bags of 80 lb concrete

Example 2: 50 ft picket fence, 4 ft high, 2 in gaps

  1. Sections = 50 / 8 = 6.25, round up to 7
  2. Posts = 7 + 1 = 8
  3. Rails = 7 x 2 = 14
  4. Pickets = 600 / (3.5 + 2) = 109.1, round up to 110

Result: 8 posts, 14 rails and 110 pickets

Fence calculator FAQs

How many fence posts do I need?

Divide the fence length by the post spacing, round up to get the number of sections, then add one. A 100 ft fence with posts every 8 ft has 13 sections and needs 14 posts, plus one more for each gate.

How far apart should fence posts be?

Wood fence posts are usually set 6 to 8 feet apart. 8 ft spacing is standard and matches 8 ft rails; use 6 ft in high-wind areas or for heavy privacy panels.

How many pickets do I need for a fence?

Multiply the fence length in feet by 12 to get inches, then divide by the picket width plus the gap. A 100 ft privacy fence with 5.5 in pickets and no gap needs about 219 pickets.

How many bags of concrete do I need per fence post?

A typical 4×4 post in a 10 in wide, 30 in deep hole needs about 1.15 ft³ of concrete, which is about 2 bags of 80 lb concrete or 4 bags of 50 lb fast-setting mix.

How deep should fence post holes be?

A common rule is one third of the fence height plus about 6 inches, and never less than 24 inches. For a 6 ft fence that is about 30 inches. In cold climates, dig below the local frost line.

How many rails does a fence need?

Fences up to 4 ft usually use 2 rails per section. Fences 5 to 6 ft use 3 rails, and 8 ft fences often use 4 to keep the pickets from warping.

Do I need concrete for every fence post?

Concrete is standard for corner, end and gate posts and is widely used for all posts. Some builders set line posts in compacted gravel for drainage, but gate posts should always be set in concrete.

How do I calculate fence length?

Measure each straight run of the fence line and add them up. Measure along the actual line you will build, and subtract the width of any gates if you are counting pickets.