Fence Materials Calculator — ft, posts, boards, cost

Dimensions in feet, inches · Posts, rails, boards · Concrete & cost
IRC R301
Switch to Metric version →

How to use this calculator

Enter total fence length and height, choose a fence type (privacy, picket, horizontal, or post & rail), then configure post spacing, sizes, and board dimensions. Results update instantly with posts, rails, boards, concrete bags, and linear feet of lumber.

Fence types — Privacy uses vertical boards with no gaps, Picket adds a gap between boards, Horizontal runs boards flat between posts, and Post & Rail has no infill boards.
Concrete — auto-calculates bags needed per post hole based on post size and depth.
Hardware — optional nails/screws, post caps, and gate hardware.

6 ft privacy 4 ft picket 4×4 posts @ 8 ft 80 lb bag ≈ 0.6 ft³
Fence Type
Fence Dimensions
ft in
5% simple · 10% typical · 15% complex
%
Diagram
Optional sections:
$Material Prices
$
$
$
$
Hardware
lbs
$
$
$
Results
Fence Materials
Posts
pcs
Rails
pcs
Boards
pcs
Concrete Bags (80 lb)
bags
Post Length (total)
lf
Total Linear Feet (all lumber)
lf

Saved Calculations

TimeLengthHeightPostsRailsBoardsConcreteTotal $
No saved calculations

How to Calculate Fence Materials

This fence calculator estimates posts, rails, boards or pickets, concrete bags for post holes, total linear feet of lumber, and optional hardware and cost for four fence styles: privacy, picket, horizontal, and post & rail. Enter total fence length in feet and inches, select height (4, 5, 6, or 8 ft), post spacing (6 or 8 ft o.c.), and board dimensions.

Concrete for Post Holes

Each post hole is calculated as a cylinder: diameter = post width + 4" for 4×4 posts or + 6" for 6×6 posts, depth per your selection (2, 2.5, or 3 ft). Volume is converted to 80 lb bags at approximately 0.6 ft³ per bag. Typical recommendation: 2–3 bags per post for 4×4, 3–5 bags for 6×6.

Board and Picket Count

Privacy fence: boards = (fence length × 12) / board width. Picket fence: pickets = (fence length × 12) / (picket width + gap). Horizontal fence: boards per section = fence height / board width, multiplied by number of sections. Post & rail: no infill boards calculated.

Export & Save

Save calculations to history and export as text, CSV, JPG, or PDF. All estimates are for planning — verify with local codes and a licensed contractor.

Misha Noyr, M.Eng.

Misha Noyr, M.Eng.

Civil Engineer · 15+ yrs · structural design, geotechnics. Full bio →