Livestock Fence Calculator

Fence
Height of the top wire above the ground.
Extension guides use 8–12 ft (2.4–3.7 m) for woven and barbed wire, 20–25 ft (6–7.6 m) for high-tensile wire and about 40 ft (12 m) for polywire on fiberglass rods.
For polywire only the two end posts use this material; the line posts are fiberglass rods.
Wire
Woven wire: spacing of the staples on each post. Other fences: average spacing between wire strands.
Check the label: common rolls are 330 ft (≈ 100 m) or 20 rods.
One barbed strand above woven wire stops cattle leaning over it. Leave out for horses.
Used for barbed fences and extra top strands. Standard rolls are 1,320 ft (80 rods, ≈ 400 m).
Prices (optional, USD)
USD each
USD each
4″ wood post or steel post, whichever material you chose.
USD
USD
USD each
hours
USD per hour
Biology Updated 5 Nov 2026

Plans the materials and cost of a straight livestock fence: woven wire, barbed wire, high-tensile (plain or electrified) or electrified polywire. Enter the fence length, height and post spacing and choose wood or steel posts to get the number of brace and line posts, wire rolls or wire length, strands, staples, clips or insulators, springs and strainers, and for electric fences the energizer capacity, ground rods and cut-out switch. Add unit prices and labor in USD to see the total cost and the cost per meter or foot of fence.

  • The fence is a single straight run with one brace assembly at each end; corners, extra braces and gates are not included.
  • Wire spacing is uniform from the ground to the top wire; real woven wire and barbed wire layouts often space wires closer near the ground.
  • Prices are entered by you in USD and are not built in; leave a price blank to leave that item out of the total.
  • Material counts are planning estimates. Check local fence laws and the manufacturer's instructions before building.

Formula

Posts N = ⌊L ÷ s⌋ + 1. Wood fences: 8″ brace posts = 4 (woven, barbed) or 6 (high-tensile), line posts = N − brace posts. Woven rolls = ⌈L ÷ roll length⌉, staples = N × (⌊H ÷ staple spacing⌋ + 1). Barbed strands = ⌊H ÷ wire spacing⌋, rolls = ⌈strands × L ÷ roll length⌉. High-tensile/polywire strands = ⌊H ÷ wire spacing⌋ + 1, wire length = strands × L. Energizer capacity = L × electrified wires × 1.25. Cost = Σ quantity × unit price + hours × labor rate.
  • L is the fence length, H the height of the top wire and s the post spacing. Height and wire spacing are compared in inches, so the result does not depend on the units you type.
  • Brace assemblies sit at both ends of a straight run: two 8″ posts per end for woven and barbed wire, three per end for high-tensile wire, which carries more tension. With steel posts every post is counted as a steel post.
  • Polywire uses two end posts plus N − 2 fiberglass rods; each end post carries one insulator per strand and each rod one clip per strand.
  • High-tensile fences get one tension spring and one strainer per strand. Electric fences need an energizer rated for at least the total length of charged wire plus a 25% reserve, grounding rods and a cut-out switch.
  • Rounding: posts and strands round down, wire rolls round up. Costs only include the items you give a price for.

30 m woven wire fence on wood posts

Inputs
  • Fence type: woven
  • Length: 30
  • Length unit: m
  • Height: 1.2
  • Height unit: m
  • Desired spacing of posts: 2.5
  • Spacing unit: m
  • Post material: wood
  • Vertical spacing of staples / wires: typical
  • Custom spacing: 5
  • Custom spacing unit: in
  • Woven wire length per roll: 10
  • Woven roll unit: m
  • Additional barbed wire strands on top: 0
  • Barbed wire length per roll: 10
  • Barbed roll unit: m
  • Number of electrified wires: 1
  • Grounding or lightning rods: 3
  • Cut-out switches: 1
  • 8″ wood brace post price: 35 USD each
  • Line / end post price: 14 USD each
  • Fiberglass post price: USD each
  • Woven wire price per roll: 20.7 USD
  • Barbed wire price per roll: USD
  • Wire price per unit length: USD
  • Wire price is per: m
  • Staple / clip / insulator price: 0.03 USD each
  • Fiberglass post clip price: USD each
  • Tension spring price: USD each
  • Strainer (ratchet) price: USD each
  • Energizer price: USD
  • Ground / lightning rod price: USD each
  • Cut-out switch price: USD each
  • Labor: 3 hours
  • Labor and equipment rate: 20 USD per hour

Posts every 2.5 m along 30 m give ⌊30 ÷ 2.5⌋ + 1 = 13 posts: 4 are 8″ wood brace posts and 13 − 4 = 9 are 4″ line posts. Three 10 m rolls of woven wire cover 30 m. The 1.2 m (47.2 in) fence takes ⌊47.2 ÷ 4⌋ + 1 = 12 staples per post, 13 × 12 = 156 staples. Cost: 4 × $35 + 9 × $14 + 3 × $20.70 + 156 × $0.03 + 3 h × $20 = $140 + $126 + $62.10 + $4.68 + $60 = $392.78, or $392.78 ÷ 30 = $13.09 per m.

Sources & references

  • Estimated Costs for Livestock Fencing (Ag Decision Maker File B1-75)
    Iowa State University Extension and Outreach · Retrieved 5 Nov 2026

    Materials and 2024 costs for a 1,320 ft woven, barbed (5 strands), high-tensile non-electric (8 strands, 20 ft spacing, 6 brace posts, one spring and strainer per strand), high-tensile electrified (5 strands) and polywire fence; labor at $20/h; cost per foot.

  • Basics for Livestock Fencing
    University of Massachusetts Amherst Center for Agriculture, Food, and the Environment · Retrieved 5 Nov 2026

    Fence choice by species (sheep and goats, cattle, horses; barbed wire never recommended for horses) and energizer requirements.

Frequently asked questions

How far apart should livestock fence posts be?
Iowa State University's Ag Decision Maker budgets use 12 ft (3.7 m) for woven and barbed wire, 20 ft (6 m) for high-tensile non-electric wire, 25 ft (7.6 m) for electrified high-tensile wire on steel T-posts and 40 ft (12 m) for polywire on fiberglass rods. Closer spacing costs more posts but suits rough ground, crowded pens and animals that push on fences.
How much does a livestock fence cost per foot?
Iowa State's 2024 budget for a 1,320 ft fence, including labor at $20 per hour, came to about $2.34 per foot for woven wire, $1.99 for 5-strand barbed wire, $1.92 for 8-strand high-tensile non-electric, $1.21 for 5-strand electrified high-tensile and $0.25 for single-strand polywire. Local prices vary, so enter your own unit prices.
Which fence is best for sheep, goats, cattle or horses?
All the fence types here can hold cattle. Sheep and goats are best held by woven wire or electrified high-tensile wire set close to the ground, pigs by woven wire, and horses by woven wire or highly visible smooth wire. Barbed wire is not recommended for horses because they can be badly cut if they become tangled.
How big an energizer does an electric fence need?
Multiply the fence length by the number of charged wires and add about 25% as a reserve. A 4-mile fence with 3 electrified wires has 12 miles of hot wire, so choose an energizer rated for at least 15 miles. Good grounding matters as much as energizer size.

Related calculators

Fence Calculator Estimates the materials for a fence: how many posts, sections, rails and pickets you need, how long the posts must be, and how much concrete sets them in the ground. Enter the fence length, the spacing between posts and the fence height, then the rail count, picket size and post size. Works in metres and centimetres or in feet and inches, with concrete in cubic metres or cubic yards. Cattle per Acre Calculator Estimates how many cattle a pasture can carry from its area, the forage it grows and the share of that forage the herd may graze. Choose the type of animal (each is converted to animal units, where a 1,000-lb cow with calf is 1 AU), then either pick your annual rainfall and pasture condition for a typical forage yield or enter a measured yield. The result is the number of head, the stocking rate in cattle per acre and acres per head, and the available animal unit months (AUMs) for the grazing period you set. Horse Weight Calculator Estimates how much an adult horse or pony weighs from four tape measurements: height at the withers, neck circumference, girth and body length. It uses the University of Minnesota equations of Martinson and colleagues, with separate constants for Arabians, ponies and stock horses, and also works out the ideal body weight for the horse's frame from its height and length alone, so you can see how far above or below ideal it is. A second mode applies the classic heart girth × girth × length ÷ 330 tape formula, with divisors for yearlings and weanlings. Enter measurements in inches or centimetres; results appear in kilograms and pounds.