Last verified · v1.0
Calculator · construction
Board On Board Fence Calculator
Estimate pickets, posts, rails, and total cost for a board-on-board fence with regional lumber price adjustments by US state.
Inputs
Total Estimated Material Cost
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
How the Board on Board Fence Calculator Works
A board-on-board fence — also called a shadow box fence — uses alternating pickets on opposite sides of the horizontal rails, creating a visually identical appearance from both sides and eliminating gaps without building a solid wall. Accurately estimating materials requires accounting for the net coverage each board provides rather than simply its face width, because every picket overlaps its neighbors on each side.
The Master Formula
The calculator applies the following formula to compute total cost C:
C = Ms · ( ⌈24L / (2W − 2O)⌉ · Pb + (⌈L / S⌉ + 1) · Pp + ⌈L / S⌉ · R · Pr )
Variable Definitions
- L — Total fence length in linear feet
- W — Actual board width in inches (e.g., 5.5 in for a nominal 1×6 picket)
- O — Overlap per side in inches; how far each face board extends over the adjacent inner board
- S — Post spacing on-center in feet (8 ft is the residential standard)
- R — Number of horizontal rails per section (2 for fences under 5 ft, 3 for 6-ft privacy fences)
- Pb — Retail price per picket board
- Pp — Retail price per post (typically a 4×4×8 or 4×4×10)
- Pr — Retail price per 8-ft horizontal rail (typically a 2×4×8)
- Ms — State-level cost multiplier reflecting regional lumber price variation
Board Count: Net Coverage Logic
The most critical calculation is the number of picket boards. Because each board overlaps its neighbor on both sides, the net linear coverage per board equals W − O inches. Converting total fence length to inches (multiply by 12) and dividing by net coverage yields the board count. The formula ⌈24L / (2W − 2O)⌉ simplifies to ⌈12L / (W − O)⌉ — the unfactored form makes the per-side symmetry explicit.
Example: For a 100-ft fence using 5.5-in actual-width boards with 0.75-in overlap per side: net coverage = 5.5 − 0.75 = 4.75 in. Boards needed = ⌈1,200 / 4.75⌉ = ⌈252.6⌉ = 253 boards. Adding a 10% waste buffer brings the purchase quantity to 279 boards.
Post Count: One More Than the Sections
For a straight fence run, the number of sections equals ⌈L / S⌉ and the post count equals ⌈L / S⌉ + 1, since one post anchors each end and one post separates each interior section. For a 100-ft fence at 8-ft on-center spacing: ⌈100 / 8⌉ = 13 sections, requiring 14 posts. Each gate opening requires one additional dedicated post.
Rail Count: Sections × Rails per Section
Each section between two posts receives R horizontal rails. Total rails = ⌈L / S⌉ × R. A standard 6-ft privacy fence uses 3 rails per section (top, middle, and bottom). For the 100-ft example: 13 sections × 3 rails = 39 rails. Fences 4 ft and under typically use 2 rails per section, reducing rail count to 26 for the same run.
Regional Cost Multiplier
Lumber prices vary significantly by state due to transportation distances, local supply chains, and regional demand cycles. The state multiplier Ms adjusts base material cost to reflect local market conditions. According to the Lowe's Fence Materials Buying Guide, wood privacy fence material costs typically range from $7 to $15 per linear foot depending on region and species selection. Pacific Northwest states often carry lower multipliers due to proximity to timber sources, while landlocked or high-demand states may see multipliers above 1.10 to 1.15.
Practical Design Guidelines
- Use pressure-treated, ground-contact-rated lumber for all in-ground posts; untreated lumber deteriorates within 3–5 years at grade level.
- Standard board overlap runs 0.5 to 1.0 inch per side; wider overlaps improve privacy but increase board count and cost proportionally.
- Order 5–10% extra boards to cover warped pickets, defects, and end cuts at section boundaries.
- For a 6-ft fence at 8-ft post spacing, use minimum 10-ft posts (2 ft in ground, 8 ft above grade), as outlined in The Home Depot How to Build a Fence guide.
- Industry professionals at Hoover Fence recommend always rounding material counts up to the nearest whole unit to eliminate mid-project shortfalls.
Why Accurate Calculation Matters
Underestimating by even 0.25 inches of overlap across a 150-ft fence produces a shortfall of 8–12 boards. Overestimating by the same margin wastes $40–$80 at current lumber prices. The ceiling function applied throughout this calculator eliminates fractional shortfalls by rounding up to whole boards, posts, and rails, ensuring the estimate covers every inch of the planned fence line without unnecessary surplus.
Reference