Fence materials calculator
Estimate outputs: Fence sections, Fence posts, Horizontal rails, Fence boards or pickets, Concrete for post holes. Adjust Fence length, Height, Maximum post spacing to match your project.
Estimate outputs: Fence sections, Fence posts, Horizontal rails, Fence boards or pickets, Concrete for post holes. Adjust Fence length, Height, Maximum post spacing to match your project.
Inputs and units
Use the units shown beside each field. Replace the sample values with your measurements and the figures on the selected product packaging.
| Parameter | Example input |
|---|---|
| Fence length | 30 m |
| Height | 1.8 m |
| Maximum post spacing | 2.5 m |
| Board face width | 10 cm |
| Rails per section | 2 |
| Hole diameter | 30 cm |
| Hole depth | 80 cm |
| Post diameter | 10 cm |
| Waste allowance | 8 % |
Formula and assumptions
Fence sectionsceil(Fence length / Maximum post spacing)
Fence postsFence sections + 1
Horizontal railsceil(Fence sections × Rails per section × (1 + Waste allowance / 100))
Fence boards or picketsceil(Fence length × (1 + Waste allowance / 100) / (Board face width / 100))
Concrete for post holesπ × max(0, (Hole diameter / 200)² - (Post diameter / 200)²) × Hole depth / 100 × Fence posts × (1 + Waste allowance / 100)
ceil = round up; floor = round down; max = the greater value. Trigonometric angles are converted from degrees to radians.
Allowance is applied before rounding to whole packages. Whole units are rounded up; displayed decimals are rounded only for readability.
Project lists use simplified rectangular geometry. They do not include every fixing, fitting, accessory or labor cost.
Worked example
Sample values are examples, not product specifications. Run the calculation again with your own measurements.
| Result | Calculation |
|---|---|
| Fence sections | 12 |
| Fence posts | 13 |
| Horizontal rails | 26 |
| Fence boards or pickets | 324 |
| Concrete for post holes | 0.7057 m³ |
Related calculators
Related tools use separate measurements. Check their inputs before transferring quantities.
These are quantity estimates. Confirm product coverage, site conditions and required dimensions before ordering.