Understanding Wood Fence Components

A wood fence consists of five primary structural elements working together. Posts are the vertical supports that bear the weight of the entire fence; they must be set deep in the ground for stability. Sections are the repeating units between adjacent posts, forming the basic building blocks of your fence.

Within each section, rails are horizontal beams that run between posts and support the vertical pickets or boards. Most residential fences use two rails per section, though three rails provide extra rigidity for taller fences. Pickets are the vertical infill boards that create the visual appearance and screening effect; they serve no structural purpose, so you can choose any attractive timber.

Finally, concrete anchors the posts underground. Proper concrete volume ensures posts resist wind, settling, and lateral pressure over decades of service.

Wood Fence Calculations

The formulas below determine how many materials you need based on total fence length and spacing preferences.

Posts = ⌈(Fence Length ÷ Post Spacing) + 1⌉

Sections = ⌈Fence Length ÷ Post Spacing⌉

Rails = Rails per Section × Sections

Pickets = ⌈Fence Length ÷ (Picket Width + Picket Spacing)⌉

Post Length = Fence Height × 1.5

Concrete (Round Post) = (π ÷ 4) × ((3D)² − D²) × (Post Length ÷ 3) × Posts

Concrete (Rectangular Post) = (3W × 3T − W × T) × (Post Length ÷ 3) × Posts

  • Fence Length — Total linear distance your fence will span
  • Post Spacing — Distance between post centers, typically 6–8 feet (1.8–2.4 m)
  • Fence Height — Visible height of the fence above ground
  • Picket Width — Width of each vertical board or picket
  • Picket Spacing — Gap between adjacent pickets
  • Rails per Section — Number of horizontal beams per section, usually 2 or 3
  • Post Diameter or Dimensions — Width, thickness, or diameter of posts for concrete calculation
  • Post Length — Total height of post including underground portion

Common Wood Fence Planning Pitfalls

Avoid these frequent oversights when estimating materials and sizing components.

  1. Forgetting the underground post depth — One-third of every post must sit below ground. Many builders underestimate post length—if your fence is 4 feet tall, order 6-foot posts, not 4-foot ones. Shallow posts lean or fail in wind.
  2. Miscounting posts at corners and gates — Always add one extra post beyond the simple division formula. Each section needs an ending post; the last post of one section is not the first post of the next. Corners and gate entries require additional planning.
  3. Overestimating picket quantities — Rounding up picket counts is correct, but buying excessive extras is waste. Calculate based on actual section length, not fence length. A 100-foot fence with 8-foot sections has five sections, not unlimited picket needs.
  4. Ignoring local frost lines and soil conditions — Concrete volume varies by soil type and frost depth in your region. Clay and sandy soils require different post-setting depths. In cold climates, bury posts below the frost line to prevent heaving.

Step-by-Step Calculation Walkthrough

Start by measuring your total fence length and deciding on post spacing. Standard residential fences use 6- to 8-foot post spacing; closer spacing adds visual density and structural redundancy.

Divide fence length by post spacing, then round up and add 1 to get the post count. If your fence is 60 feet and posts are 8 feet apart, you need ⌈60 ÷ 8⌉ + 1 = 9 posts.

The number of sections is simply the rounded-up result without the final +1: ⌈60 ÷ 8⌉ = 8 sections. Multiply sections by rails per section to find total rails needed. For pickets, divide fence length by the sum of picket width plus spacing between pickets, then round up.

Finally, determine post length as 1.5 times the desired fence height, and use either the round or rectangular post formula to calculate concrete volume. Account for your local post diameter or cross-section dimensions and the number of posts.

Frequently Asked Questions

What is the correct spacing between fence posts?

Standard post spacing ranges from 6 to 8 feet (approximately 1.8 to 2.4 meters) for residential wood fences. Closer spacing—around 4 to 6 feet—is appropriate for tall fences (6 feet or higher) or areas with strong winds, as it increases lateral stability. Wider spacing reduces post count and material cost but may cause visible sagging in rails and pickets over time. Check local building codes, as some jurisdictions mandate minimum post spacing or maximum span distances.

How deep should fence posts be buried?

Posts should be buried to a depth equal to one-third their total length. For a 6-foot post (a standard size for a 4-foot-tall fence), bury 2 feet underground. This depth provides resistance to wind pressure and frost heave. In areas with harsh winters, bury posts below the local frost line—often 3 to 4 feet—to prevent soil expansion from forcing posts upward. Always use concrete to stabilize the post and prevent water infiltration at the soil line.

How many pickets do I need for my fence?

Divide your fence length by the sum of picket width and spacing gap between pickets, then round up to the nearest whole number. For example, if each picket is 5 inches wide with 2 inches of space between pickets, each picket plus gap occupies 7 inches. A 100-foot fence (1,200 inches) requires 1,200 ÷ 7 = 171 pickets (rounded up). Calculate based on total fence length, not individual sections, to minimize waste and ensure even distribution.

What determines how many rails I need?

Rails per section multiplied by the number of sections gives total rail count. Most residential fences use 2 rails per section, positioned roughly one-third and two-thirds up the fence height. Taller fences (6 feet or higher) often require 3 rails for adequate picket support. If your fence is 60 feet with 8-foot post spacing and 2 rails per section, you need 2 × ⌈60 ÷ 8⌉ = 16 rails. Rails typically measure 2×4 or 2×6 inches in cross-section.

How much concrete do I need to set my posts?

Concrete volume depends on post shape (round or rectangular) and the number of posts. For a round post 6 inches in diameter buried 2 feet deep with 8-foot spacing, use the formula (π ÷ 4) × ((18)² − (6)²) × 2 × post count. Rectangular posts use (3W × 3T − W × T) × depth × count, where W and T are width and thickness. Most suppliers sell concrete in 60-pound or 80-pound bags (approximately 0.5 cubic feet) or cubic yards. Order 10–15% extra to account for spillage and settling.

Should I use 2×4 or 2×6 lumber for rails?

Use 2×4 rails for fences up to 5 feet tall; 2×6 rails for fences 5 to 7 feet tall. The wider board prevents sagging and distributes picket weight more effectively over long spans. If posts are spaced more than 8 feet apart, upgrade to 2×6 regardless of height. Cedar and pressure-treated pine are durable choices; cedar resists rot naturally, while pressure-treated lumber costs less but may require periodic sealing.

More construction calculators (see all)