Fence Calculator

Posts, rails, pickets or panels, gates, postcrete/concrete bags, and total fence budget.

Last verified: · Methodology

Project Dimensions & Inputs

US · $
Quick Presets

Material & Code Specifications

Editable Regional Rates (USD)

Adjust to local quotes
17 Posts & 273 Pickets
17 posts
15 bays · 45 rails · 34 concrete bags
Estimated Installed Range
$4,759 – $6,382
Fence Elevation & Bay LayoutFENCE ELEVATION & BAY LAYOUT17 posts · 15 bays · 120 ftGATE8.0 ft OC6.0 ftTotal Run: 120.0 ft (15 bays)
AWPA U1 (UC4A / UC4B)PASS

Specify AWPA UC4A/UC4B ground-contact pressure-treated posts to prevent soil-line decay.

IRC R301 / Zoning HeightPASS

Fence height 6.0 ft aligns with standard 6 ft residential rear-yard zoning.

Material Takeoff & Cut List

AWPA U1 · IRC R301
Material / ItemQuantityField Notes
Fence Posts17 posts15 bays at 8.00 ft OC + 1 gate(s)
Pickets (privacy, incl. 10% waste)273 picketsNet panel run 116.0 ft
Horizontal Rails45 rails3 rails per bay
Post-Setting Concrete34 bags2 bags per post

Estimated Cost Breakdown

Low–High Range: $4,759 – $6,382
Budget Low
$4,759
Mid-Range Est.
$5,408
High / Complex
$6,382
Materials:$2,048 (38%)
Labor:$3,360 (62%)
Line ItemQtyRateSubtotal
Fence Posts (4×4 / 100×100 mm)17 posts$20$340
Horizontal Rails45 rails$8.50$383
Fence Pickets / Boards (privacy)273 pickets$3.40$928
Walk / Drive Gates & Hardware1 gates$185$185
Post Concrete Bags (80 lb)34 bags$6.25$213
Post Digging & Fence Installation Labor120.0 ft$28$3,360
Mid-Range Total$5,408

About the Fence Calculator

Standards: AWPA U1 · IRC R301 · BS 1722 · BS 8417

Fence takeoffs go wrong when crews divide perimeter length by eight and forget terminal end posts, extra gate posts, and overlapping picket geometry. Running short on posts or pickets mid-day stalls an entire concrete pour.

This Fence Calculator prices posts, rails, pickets or panels, gates, and concrete bags for privacy, picket, shadowbox, panel, and chain-link fences across US, UK, and Canadian regional spacing defaults.

How This Calculation Works (Formulas & Standards)

Fencing quantities separate gate openings from the remaining structural run so posts, rails, and infill boards never double-count the gate leaf.

Net Fence Bays & Total Posts

Bays = ceil((Run_total - Gates × GateWidth) / PostSpacing); Posts = Bays + 1 + Gates

Every contiguous fence run requires Bays + 1 posts, and each gate opening replaces a shared line post with two dedicated hinge and latch posts (+1 post per gate).

Horizontal Rails

TotalRails = Bays × RailsPerBay

Low 3–4 ft picket fences take 2 rails per bay, whereas 5–6 ft privacy fences require 3 rails per bay to prevent picket cupping and mid-height twist.

Picket or Feather-Edge Board Count

Pickets = ceil(((NetRun_in / (Width_in + Gap_in)) × StyleFactor) × (1 + wastePct / 100))

Standard dog-ear privacy uses a 1.0× style factor; shadowbox alternating-board fences apply a 1.80× multiplier for double-sided overlap, plus 10% defect and cut waste.

Pre-Mixed Post Concrete

ConcreteBags = TotalPosts × BagsPerPost

Standard 4×4 line posts consume roughly two 50–60 lb bags (or 2 × 20 kg Postcrete sacks in the UK), with deeper frost or gate holes adjusted upward.

Standard dressed widths: 1×6 fence picket = 5.5 in (140 mm) actual; 1×4 picket = 3.5 in (89 mm); UK 6 ft waney-lap/closeboard panel = 1.83 m wide.

Worked Example: 160 ft Cedar Privacy Fence With One 4 ft Gate

A homeowner fences 160 linear ft around a backyard at 6 ft height using 5.5 in cedar pickets spaced with a 1/8 in (0.125 in) shrinkage gap, 8 ft post centers, 3 rails per bay, one 4 ft walk gate, 2 bags of concrete per post, and a 10% picket cull allowance.

  1. Subtract the 4 ft gate opening from the gross run: 160 - 4 = 156 linear ft of framed fence.
  2. Calculate bays and posts: ceil(156 / 8) = 20 bays; TotalPosts = 20 + 1 + 1 gate post = 22 posts.
  3. Calculate 2×4×8 ft horizontal rails: 20 bays × 3 rails = 60 rails.
  4. Compute pickets with 10% waste: (156 × 12) ÷ (5.5 + 0.125) = 1,872 ÷ 5.625 = 332.8 net pickets × 1.10 = 366.08, rounded up to 367 pickets.
  5. Total concrete bags: 22 posts × 2 bags = 44 bags (plus 2 extra bags recommended for heavy gate hinge/latch footings = 46 bags).
Takeoff Summary: Material takeoff calls for 22 pressure-treated posts, 60 rails, 367 cedar pickets, 1 walk gate with hardware, and 44–46 bags of concrete. Installed project budgets average $5,200–$6,800 depending on terrain and disposal.

Field Notes & Common Jobsite Mistakes

Field Note 01

Drop to 6 ft Bays for Solid Privacy Fences in High Wind

A solid 6 ft fence catches wind like a sail under IRC R301 gusts. Narrowing bays from 8 ft to 6 ft cuts rail sag and post bending load.

Field Note 02

Verify AWPA UC4A Ground-Contact Stamps on Posts

Above-ground UC3B lumber decays quickly at the soil collar. Confirm end-tags specify UC4A or UC4B ground-contact retention before pouring.

Field Note 03

Crown Concrete Collars Above Finished Soil

Slope the top of each concrete footing slightly away from the wood post so rainwater drains outward rather than pooling against fibers.

Field Note 04

Buy 10% Extra Pickets to Cull Warped Boards

Bundles routinely contain bowed or split pickets; keeping 10% spare lets you reserve twisted boards for short trim cuts.

Regional Standards & Material Notes (US · UK · Canada)

United States (US · Imperial)

United States residential fences typically use 4×4 (3.5×3.5 in) AWPA UC4A treated pine or cedar posts at 6–8 ft centers, 2×4 rails, 5.5 in dog-ear pickets, and 50 lb or 60 lb fast-setting concrete bags. Most municipal codes limit backyard privacy fences to 6 ft and front-yard fences to 3–4 ft.

United Kingdom (UK · Metric)

United Kingdom fencing relies heavily on factory 1.83 m (6 ft) wide closeboard or overlap panels dropped between 100×100 mm UC4 treated posts (BS 8417) or slotted concrete posts, alongside traditional site-built featheredge using 125 mm boards overlapped 25 mm and set with 20 kg Postcrete.

Canada (CA · Hybrid Metric)

Canada builds primarily with 4×4 or 6×6 pressure-treated SPF or Western Red Cedar posts set 48–60 in deep below regional frost lines, using 30 kg concrete bags and galvanized ring-shank nails or coated deck screws to resist seasonal heave and heavy snow drift pressure.

Frequently Asked Questions

How far apart should fence posts be placed?

Most wood privacy and picket fences space posts 6 to 8 ft (1.83 to 2.4 m) on center. Use 6 ft centers in windy exposures or on sloped lots, and 8 ft centers on sheltered flat ground with 2×4 structural rails.

How much concrete do I need per fence post?

Plan on two 50 lb or 60 lb bags (or 1.5–2 bags of 80 lb mix / 2 × 20 kg Postcrete bags in the UK) for a standard 4×4 line post in a 10 in hole, and add an extra bag for corner and gate posts.

Should I space wood fence posts 6 feet or 8 feet apart?

Eight-foot spacing lowers post and concrete cost by roughly 20%, but six-foot spacing produces stiffer rails that resist sagging and wind blow-downs over 15–20 years.

Do I need post caps for wooden fence posts?

Flat cut post tops expose open end-grain that wicks rainwater downward like straws and accelerates core splitting. Fitted metal, cedar, or copper post caps shield end-grain and significantly slow top-down rot.

Engineering Verification: Last verified on against AWPA U1, IRC R301, BS 1722, BS 8417.