Fence Calculator
Estimate fence cost, posts, rails, and pickets from length, height, and material.
Fence layout
Updates as you typeDimensions
Total length ?
ft
—
Height ?
—
ft
Post spacing
Between posts ?
—
Material
Fence style ?
Gates & rails
Number of gates ?
—
gates
Gate width
—
ft
Rails per section ?
—
rails
Cost per linear ft ?
—
$
Waste factor ?
—
%
Display (optional)
Currency
Layout diagram
Posts, sections, and gates at scale—
Post
Section
Gate
Section-by-section breakdown
| # | Type | Length | Cost | Composition |
|---|
How it's calculated
Sections
⌈ (length − gates × gate_width) / spacing ⌉Posts
sections + 1 + (gates × 2)Rails
sections × rails_per_sectionPickets
⌈ fence_length_in / (picket_width + picket_gap) ⌉Concrete
⌈ posts × 0.6 ⌉ (60 lb bags)Total cost
length × cost_per_ft × (1 + waste)With your inputs
Assumptions
Override to match local practice
Picket width ?
in
Picket gap ?
in
Post-hole depth ?
ft
Post-hole diameter ?
in
Concrete bags per post ?
bags / post