Electric Fence & Wire, Posts & Energizer
Keeps out cattle
“The best tip on this tool is probably in the comments already.
Enter your field area or perimeter and the number of strands to size a solar/electric fence — total wire length, perimeter, the number of posts and the energizer joules to keep crops safe.
Size your fence
Next: buy ~1,018 m of wire, 36 posts and a ~0.5 J energizer (solar for off-grid); keep the line clear of vegetation and earth it well.
Estimates assume a square field (perimeter = 4√area); actual shape, terrain and target animal change strands/energizer — follow local rules (some areas restrict elephant fencing voltage).
Electric fence — key facts
- Deters
- cattle, boar, nilgai, elephants
- Shock
- safe pulsed, not continuous
- Wire length
- perimeter × strands
- Perimeter (square)
- ≈ 4 × √area
- Energizer
- sized to total wire length
- Keep clear
- vegetation drains the charge
- Earthing
- good earth stakes = strong shock
- Privacy
- Runs in your browser; nothing uploaded
A few strands of wire beats a night of guarding
Wild boar, nilgai, cattle and even elephants can flatten a standing crop in a single night. A solar or mains electric fence puts a safe, pulsed shock on the line that teaches animals to keep away — far cheaper than a solid wall and far less exhausting than guarding the field after dark. The trick is sizing it right: enough wire and strands for the perimeter, an energizer with the joules to drive the whole length, and enough posts to carry it.
This tool gives the total wire length, perimeter, number of posts and the energizer joules from your field area or perimeter and the strands you plan to run. Use it to budget materials and pick the right energizer. Build it well — keep the line clear of vegetation, earth it properly, and follow your local rules. Pair it with the Bird Netting, Trap Crop and Pheromone Trap tools for an all-round crop-protection plan.
Buy the right wire
Total metres from perimeter and strands.
Size the energizer
Joules to drive the whole fence length.
Count the posts
Estimate line and corner posts to budget.
Stop crop raids
Deter boar, nilgai, cattle and elephants.
Frequently Asked Questions
How does an electric fence protect crops?+
A solar or mains energizer sends a brief, high-voltage pulse along the fence wires. An animal touching the line gets a sharp but safe shock, learns to respect the fence, and stays away. It is a psychological barrier as much as a physical one — far cheaper than a solid wall — and it deters cattle, wild boar, nilgai, blue bull and even elephants when properly built.
How do I size the fence wire?+
Total wire length is the perimeter multiplied by the number of strands (lines) you run. The tool computes the perimeter from your field area or takes a perimeter you enter, then multiplies by the strands to give the total metres of wire to buy. More strands deter a wider range of animals but use more wire.
How is the perimeter found from area?+
For a roughly square field, perimeter ≈ 4 × √area — so a one-hectare (10,000 m²) square field has a perimeter of about 4 × 100 = 400 m. The tool uses this to estimate the perimeter when you only know the area. If your plot is long and narrow, enter the actual perimeter for a more accurate result.
What size energizer do I need?+
Energizers are rated in joules of output, and you size them to the total length of wire (and vegetation load). As a rule of thumb you allow a margin of joules per kilometre of total wire, then round up to the next available unit. The tool suggests the energizer joules for your wire length; always choose a unit a little larger than the bare minimum.
How many posts will I need?+
Posts are spaced along the perimeter — commonly every few metres on flat ground, closer on curves and corners. The tool divides the perimeter by a typical spacing and adds corner posts to estimate the count. Corners and gates take stronger strainer posts, so plan a few heavy-duty posts in addition to the line posts.
Why must the line be kept clear of vegetation?+
Grass, weeds and branches touching a live wire drain the charge to earth, weakening the shock the animal feels and running down a solar battery. Keeping a clear strip under the fence — by slashing, spraying or a clearance pass — keeps the voltage on the line high and the deterrent strong. Vegetation load is the most common reason a fence stops working.
Why does earthing matter so much?+
The shock circuit is completed through the ground: the pulse travels from the energizer along the wire, through the animal, into the soil, and back to the energizer's earth stake. Poor earthing — too few stakes or dry, sandy soil — means a weak shock. Use enough galvanised earth stakes in moist ground for the fence to bite, especially in dry climates.
Is a solar electric fence safe?+
Yes — a compliant energizer delivers a very short, low-energy pulse that is unpleasant but not dangerous to animals or people. It is the timing and voltage, not sustained current, that deters. Always use a purpose-built fence energizer, never mains wiring direct to a fence, fit warning signs, and follow your local rules on fence construction and signage.
Will it stop large wildlife like elephants?+
Properly designed electric fences are widely used to deter elephants, nilgai and wild boar from raiding crops, but large animals need a robust build — strong posts, the right strand heights, a high-joule energizer and excellent earthing. For elephants in particular, follow the designs and regulations recommended by your local forest or wildlife authority.
How accurate are these figures?+
They are solid planning estimates. Actual wire, posts and energizer needs depend on your field's exact shape, terrain, the animals you face, strand layout and vegetation. Use the tool to budget materials and pick an energizer size, add a sensible margin, and follow local rules and good fencing practice when you build.
Related farming tools
1900+ free tools, zero sign-up
Calculators, developer & SEO utilities, data, content, hardware and farming — all instant, private and in your browser.
Metal Roofing
Open FarmingTissue Test Sufficiency Diagnosis Calculator
Free tissue-test sufficiency calculator. Paste your leaf-analysis numbers, pick the crop and growth stage, and
Open Dev & SEOPayment Gateway API Documentation Generator
Generate a complete, payment-specialized API documentation page from a small config: authentication, Create Pa
Open NicheOffice Energy & Carbon Calculator
Compute office annual kWh and tCO2e by climate zone, square footage, HVAC system and occupancy with a live flo
Open ContentImage to EPS Converter
Convert images to EPS, the encapsulated PostScript format trusted for print, logos and scalable vector artwork
Open HardwareCPU GPU Compare Pro
Compare any two CPUs or GPUs side by side: metric-by-metric table with the winner highlighted, the performance
Open ProductivityPassword Strength Tester
Open ProAll 112 Techniques (Dharanas)
Browse the meditation techniques (dharanas) of the Vigyan Bhairav Tantra by method — breath, sound, void, ligh
Open CalculatorMulch Calculation
Open FarmingUrea Briquette Deep Placement Calculator
Free urea briquette deep placement calculator. Enter your nitrogen rate and area to get the urea super-granule
Open Dev & SEOPostman Collection to Docs Converter
Turn a Postman collection into clean, shareable API documentation: endpoint references, parameter breakdowns,
Open NicheProduct Carbon Footprint Calculator
Compute a product's complete cradle-to-grave tCO2e with a 5-phase lifecycle ribbon. Material extraction, manuf
Open ContentImage to GIF Converter
Convert images to GIF, lightweight, universally supported graphics and simple animations.
Open HardwareHardware Benchmark Database Pro
Searchable, sortable CPU and GPU database: normalized performance index, perf-per-dollar and perf-per-watt, ti
Open ProductivityPassword Tools
Test password strength against real standards (NIST 800-63B, OWASP ASVS), check against known breaches via k-a
Open ProFind a Meditation Technique by Mood & Time
Tell us how you feel and how long you have — get matched Vigyan Bhairav Tantra techniques for anxiety, restles
Open CalculatorSheathing Calculator
Open FarmingUrea Volatilization Loss Calculator
Free urea volatilization loss calculator. Enter your urea rate and the conditions to estimate the nitrogen and
Open Dev & SEOREST Endpoint Visualizer
Paste an OpenAPI 3 spec and get a visual map of every endpoint: grouped by resource, with colour-coded HTTP me
Open NicheRemote Work Carbon Calculator
Quantify the carbon shift from in-office to remote / hybrid work with a live home-vs-office balance scale. Use
Open ContentImage to HDR Converter
Convert images to HDR, the high dynamic range format used for lighting, rendering and 3D scenes.
Open HardwareHardware Specifications Explorer
Faceted CPU & GPU specification explorer: filter by type, brand, process node, release year and TDP, then read
Open ProGuided Practice
A distraction-free guided meditation session for any Vigyan Bhairav Tantra dharana — breath-paced timer, optio
Open Calculator