Fence Calculator
Plan one straight fence run, including an optional gate.
The interactive calculator loads above this explanation when JavaScript is available.
How to use the fence calculator
Plan one straight fence run, including an optional gate. Enter the known values, choose units where offered, and read the live result and breakdown.
Worked example
This example uses the following inputs. Currency amounts are illustrated in USD.
- Total run including gate
- 20 m
- Gate opening
- 1 m
- Maximum bay width
- 2 m
- Fence height
- 1.8 m
- Price per post
- 15 USD
- Price per bay / panel
- 40 USD
- Post-hole diameter
- 0.3 m
- Post-hole depth
- 0.6 m
- Square post width
- 0.1 m
Posts needed: 12 posts
Method
Subtract the gate from the run, divide by maximum bay width and round up. Posts = bays + 1, plus one for a gate. Hole concrete excludes the square post volume.
What to watch for
One straight run, with an optional gate at one end. Adjacent runs may share corner posts: calculate those separately to avoid duplication.
Assumptions and references
One straight run, with an optional gate at one end. Adjacent runs may share corner posts: calculate those separately to avoid duplication.
Equal bays may need cut panels. Gate, fasteners, labour and delivery are not priced. Hole dimensions are entered assumptions, not structural recommendations.
Formula implementation: v0.8.0. Examples are checked against the calculation engine; specialist professional review is not claimed. How we check calculations.
Report a problem with this calculator
Guide: quantities to a material estimate →