Fence calculator

Chain Link Fence Calculator

A chain link fence calculator that turns your fence length and post spacing into the post count, the mesh length and the top rail length you need, then helps you plan the terminal posts, concrete, gates and ties. Mesh and rail run the full length, so a short measure leaves a gap in the run. Enter the length and spacing and get the full materials list.

  • Free to use
  • No sign-up
  • Formula and sources shown
Chain Link Fence Calculator

Got the number? Save it before it gets lost.

A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.

Save this estimate in the app

Posts needed

11

Mesh needed

100 ft

Top rail needed

100 ft

Turn this result into a priced plan

Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.

Open this calculator in the app

Formula

Mesh & Top Rail = Fence Length; Posts = ceil(Length ÷ Spacing) + 1

Worked example. A 100 ft chain link fence with posts every 10 ft: 100 ÷ 10 = 10, plus 1 = 11 posts. Mesh and top rail both run the full 100 ft.

Mesh and rail follow the fence length; posts follow the spacing. The mesh and the top rail each run the full fence length, and the posts are the length divided by the spacing, rounded up, plus one. A 100 ft fence with posts every 10 ft needs 11 posts, 100 ft of mesh and 100 ft of top rail. Add the terminal posts and gates from the same length before you order.

Key takeaways

  • •Mesh and top rail = fence length. Posts = ceil(length ÷ spacing) + 1 for a straight run.
  • •The maximum line post spacing is usually 10 ft. Closer spacing, such as 8 to 9 ft, is used when the run between terminal posts does not divide evenly.
  • •Some of the posts are terminal posts at the ends, corners and gates, and the rest are line posts. Terminal posts are heavier and take more concrete.
  • •Fabric is sold in rolls, commonly 50 ft long, and in heights such as 4, 5 and 6 ft.
  • •Gates need their own posts and hardware, so subtract the gate opening from the run and add them separately.

How to use the chain link fence calculator

  1. Measure the total fence length in feet along the line, including each corner. Subtract the gate openings.
  2. Enter the total length.
  3. Enter the post spacing in feet. Use 10 ft or less for line posts.
  4. Read the number of posts, the mesh length and the top rail length.
  5. Count the terminal posts: one at each end, one at each corner, and two for each gate. The rest are line posts.
  6. Convert the mesh to rolls and the top rail to pieces using the lengths your supplier sells.
  7. Add concrete with the fence post concrete calculator and gate hardware with the gate planner calculator.

Chain link fence formulas

Posts = ceil[ Fence length ÷ Post spacing ] + 1

Mesh length = Fence length | Top rail length = Fence length

Line posts = Posts − Terminal posts

Mesh rolls = ceil[ Mesh length ÷ Roll length ] | Top rail pieces = ceil[ Length ÷ Piece length ]

Equal spacing = Fence length ÷ ceil[ Fence length ÷ Maximum spacing ]

Top rail pieces are joined with sleeves inside the rail ends, so each piece is slightly longer than the nominal length. Check your supplier's length, often around 10.5 ft.

Chain link fence examples

Example 1: 100 ft fence, posts every 10 ft

  • Posts = 100 ÷ 10 + 1 = 11; mesh = 100 ft; top rail = 100 ft

Example 2: 150 ft fence, posts every 10 ft

  • Posts = 15 + 1 = 16; mesh and top rail = 150 ft

Example 3: 200 ft fence, posts every 10 ft

  • Posts = 20 + 1 = 21; mesh and top rail = 200 ft

Example 4: 85 ft fence, posts every 10 ft

  • 85 ÷ 10 = 8.5, rounded up = 9 sections; posts = 10
  • Equal spacing = 85 ÷ 9 = 9.4 ft

Example 5: terminal and line posts for Example 1

  • Terminal posts = 2 (the two ends); line posts = 11 − 2 = 9
  • Concrete at about one 50 lb bag per line post and two per terminal post = 9 + 4 = 13 bags (a common guide figure; check your fence maker)

Example 6: rolls and rail for Example 1

  • Mesh at 50 ft per roll = 2 rolls
  • Top rail at 10.5 ft per piece = 100 ÷ 10.5 = 9.5, so 10 pieces

Terminal posts and line posts

PostWhere it goesNotes
Terminal (end) postAt each end of the fenceTakes the tension of the mesh; heavier pipe
Corner postAt each change of directionCounts as a terminal post
Gate postOn each side of a gateCounts as a terminal post and carries the gate weight
Line postBetween the terminal postsLighter; set no more than about 10 ft apart

In many fence kits, terminal posts stand about 2 in above the fabric height and line posts about 2 in below it, because the top rail sits on top of the line posts. Check your fence maker's chart.

Fabric, top rail and ties

ItemHow to estimateNotes
Mesh (fabric)Fence length ÷ roll lengthRolls are commonly 50 ft; heights such as 4, 5 and 6 ft
Top railFence length ÷ piece lengthOften 10.5 ft pieces with sleeves
Tension bands and brace bandsPer terminal postOne set at each terminal post for the mesh
Tension barsOne per terminal post endThread through the mesh end
Tie wiresAbout every 24 in on the top rail and 12 in on line postsCount by the fence height
Bottom tension wireFence length, optionalKeeps the bottom of the mesh straight
Post caps and rail endsOne per postFit the post pipe size

Typical installation guides show these spacings. Follow the guide for your fence kit.

Mesh heights and uses

Mesh heightTypical use
4 ftFront yards, gardens, small pets
5 ftGeneral residential use
6 ftBackyards, larger dogs, more privacy and security
8 ft or moreCommercial and security fences

Slats and privacy screens can be added to the mesh for more privacy.

Setting chain link posts

  • •Mark the end, corner and gate positions first, then divide the runs between them into equal spaces of 10 ft or less.
  • •Dig the holes to the depth and width the fence maker shows. Terminal posts need larger and deeper holes than line posts.
  • •Set the terminal posts first, plumb, and let the concrete cure before you pull the mesh tight.
  • •Fast-setting concrete is common for fence posts. Many guides use about one 50 lb bag per line post hole and two per terminal post hole. Check the figure for your hole size with the fence post concrete calculator.
  • •Stretch the mesh with a come-along or stretcher bar after the terminal posts have cured.

Estimating chain link fence cost

Cost = Mesh + Top rail + Posts + Fittings + Concrete + Gates + Labor

Example only: a 100 ft fence kit with 11 posts, mesh and top rail may cost several hundred dollars before concrete, gates and tools. Compare the price per foot, and ask whether posts, fittings and gates are included.

Troubleshooting common chain link problems

ProblemLikely causeWhat to do
Sagging meshNot stretched tight, or terminal posts movedReset and brace the terminal posts, then stretch the mesh again
Leaning terminal postsNot enough concrete or depthReset with larger, deeper holes and braces
Rust at cuts or scratchesCoating damagedTouch up the coating, and use galvanized or coated parts
Gaps below the meshUneven groundUse bottom tension wire, or grade the ground first
Gate sagsLight gate postsUse heavier gate posts and a tension brace

Terms explained

TermMeaning
Fabric or meshThe woven wire that forms the fence
Terminal postAn end, corner or gate post
Line postA post between the terminal posts
Top railThe pipe along the top of the fence
Tension barA flat bar that holds the mesh end to a terminal post
Tension wireA wire along the bottom of the mesh
Tie wireA small wire that fastens the mesh to the rail and posts
Brace bandA band that holds the rail brace on a terminal post

Common chain link fence calculator mistakes

  • •Leaving out the terminal posts and treating all posts as the same.
  • •Forgetting the gate posts, which carry the gate weight.
  • •Using a post spacing over 10 ft.
  • •Ordering mesh without allowing for the roll length and the corners.
  • •Forgetting the tension bands, bars, ties and caps.
  • •Pulling the mesh tight before the concrete has cured.

Metric conversions

FromTo
100 feet30.48 metres
10 feet3.05 metres
6 feet1.83 metres
50 lb bagAbout 22.7 kg

Full materials list for a 100 ft chain link fence

A chain link fence is a system of parts that all have to arrive together. The table below lists every part for a straight 100 ft fence, 6 ft tall, with posts every 10 ft and no gates, so you can check your order against it before you buy.

PartQuantityNotes
Mesh (fabric), 6 ft × 50 ft rolls2100 ft of mesh, cut from two rolls
Top rail, 1-3/8 in10 pieces10.5 ft pieces, joined with sleeves
Line posts, 1-5/8 in9Set every 10 ft; 24 in deep is a common guide
Terminal posts, 2-3/8 in2Ends; 30 to 36 in deep in concrete
Tension bars2One per mesh end at each terminal post
Tension bands6 to 83 to 4 per tension bar on a 6 ft fence
Brace bands2One per terminal post for the rail brace
Rail ends2Cap the top rail at each terminal post
Post caps11One per post
Tie wiresAbout 100Every 24 in on the rail, about every 12 in on line posts
Bottom tension wire100 ftOptional; keeps the bottom straight
Concrete, 50 lb bagsAbout 131 bag per line post, 2 per terminal post

Quantities are for a straight run with no corners or gates. Add a terminal post at each corner and two at each gate, and add the gate hardware separately.

Mesh gauge and coating compared

Mesh gauge is the wire thickness, and smaller numbers mean thicker wire. A 9-gauge mesh is thicker and stronger than an 11-gauge mesh, and an 11.5-gauge economy mesh is thinner still. For a backyard fence with children or large dogs, 9-gauge or 11-gauge is the usual choice. The diamond size is usually 2 in. Coatings matter too: galvanized mesh is zinc-coated steel and is the standard, while vinyl-coated mesh adds a color layer over the galvanized wire and resists rust a little longer.

Check the coating on cut ends and scratches. A cut wire exposes bare steel, and rust starts there first. Touch up any damage with a cold-galvanizing spray or a coating made for the fence, and use galvanized or coated fittings so the whole system matches.

MeshWireBest for
11.5-gauge economyThinnestLight use, temporary fences
11-gauge residentialMediumMost backyards, pets
9-gauge heavyThickestLarge dogs, security, commercial
Vinyl-coated (over 9 or 11 gauge)Same wire, color coatColor match, extra rust protection
AluminizedMediumDrier climates, bright finish

Gauge and coating are listed on the roll label. Confirm the height and the roll length, commonly 50 ft, before you order.

Chain link vs wood privacy fence

Chain link and wood solve different problems. Chain link is cheaper per foot, needs almost no upkeep, and lasts for decades, but it gives no privacy on its own. A wood privacy fence blocks the view and the wind, but it costs more, needs stain or paint, and the boards warp and rot over time.

Chain linkWood privacy
PrivacyNone, unless slats are addedFull
UpkeepVery littleStain every 2 to 3 years
LifeDecades, no rot15 to 20 years is common with care
WindLets wind throughCatches wind, needs strong posts
Cost per footLowerHigher
Best forDogs, pools, boundariesPrivacy, backyards, noise

Privacy slats or screens can be woven into chain link mesh for partial privacy. Use the fence stain calculator to work out the stain for a wood fence.

Planning a chain link fence with corners and a gate

Example 1: 150 ft run with a 4 ft gate, posts every 10 ft

  • Fence line after the gate = 150 − 4 = 146 ft
  • Sections = 146 ÷ 10 = 14.6, rounded up = 15; posts = 16
  • Terminal posts = 2 ends + 2 gate posts = 4; line posts = 12
  • Mesh = 146 ft, so 3 rolls of 50 ft; top rail = 146 ft, so 14 pieces of 10.5 ft
  • Concrete = 12 × 1 + 4 × 2 = 20 bags of 50 lb (a common guide figure)

Example 2: a square yard, 100 ft × 100 ft, closed loop, no gate

  • Total length = 400 ft; mesh = 8 rolls of 50 ft
  • Top rail = 400 ft, so 39 pieces of 10.5 ft
  • Sections = 400 ÷ 10 = 40; a closed loop needs 40 posts
  • Terminal posts = 4 corners; line posts = 36
  • Concrete = 36 × 1 + 4 × 2 = 44 bags of 50 lb (a common guide figure)

Measure each straight side on its own and round each side up to whole sections, because a corner post belongs to two sides at once. Subtract every gate opening from the run before you count the mesh, and add the gate posts and hardware with the gate planner calculator. Save the full list to your project in the BuildCova app so the mesh rolls, rail pieces and post counts are in one place at the supplier.

Related fence tools

Assumptions

  • •10 ft is a common maximum post spacing for residential chain link. Commercial or taller fences often use closer spacing.
  • •Counts posts for a straight run with the end posts included. It does not separate terminal posts from line posts or add gate posts, corners, bracing or other hardware.
  • •Mesh and top rail are assumed to run the full fence length, with no allowance for laps, gate openings or waste.

Sources✓ Verified

  • Chain link fence installation guides (fence maker and retailer instructions). Line posts no more than 10 ft apart, terminal post spacing, tie wire spacing, top rail and fabric dimensions.
  • ASTM F567, Standard Practice for Installation of Chain-Link Fence. Installation practice for chain link fences.
  • ASTM F668 and ASTM F1043. Specifications for coated chain-link fabric and for strength and coatings of steel framework.
  • Your local building department and homeowner association. Fence height, location and permit rules.

Formula reviewed November 2026.

The mesh and the top rail each equal the fence length, and the posts are the length divided by the spacing, rounded up, plus one. A 100 ft fence with posts every 10 ft needs 100 ft of mesh, 100 ft of top rail and 11 posts.

11 posts at 10 ft spacing, including the two end posts. Add corner and gate posts if the fence has them.

No more than about 10 ft between line posts. If a run does not divide evenly, space the posts equally at a smaller distance, such as 9.4 ft for an 85 ft run.

21 posts at 10 ft spacing. For a fence with corners or gates, add the extra terminal posts.

A terminal post is an end, corner or gate post. It takes the tension of the stretched mesh and carries the gate, so it is heavier and set deeper than a line post.

One at each end, one at each corner, and two for each gate. A straight 100 ft fence with no gate has 2, and the other 9 posts are line posts.

Many installation guides use about one 50 lb bag per line post and two per terminal post. A 100 ft fence with 2 terminal and 9 line posts would use about 13 bags. Check your fence maker.

Commonly 50 ft rolls, in heights such as 4, 5 and 6 ft. Order enough rolls to cover the length with a little to spare.

Often about 10.5 ft pieces with sleeves, so that each piece reaches a little past one post. Check your supplier's length.

Terminal posts are usually about 2 in taller than the mesh and line posts about 2 in shorter, plus the part in the ground. Check your fence maker's chart.

It depends on the post, the soil and the frost line. Many guides show roughly 18 to 30 in, with terminal posts deeper. Follow your fence maker and local practice.

Most residential chain link fences use a top rail for strength and a neat top. Some use a top tension wire instead. Check what your fence system calls for.

Measure each straight side, add them for the total length, and count a terminal post at each corner. Divide each side into equal spaces of 10 ft or less.

Often you must follow local rules on height and placement, and some areas require a permit. Check with your local building department and any homeowner association.

3 rolls of 50 ft. 150 ÷ 50 = 3 exactly. For a run that does not divide evenly, round up to the next whole roll.

16 posts at 10 ft spacing, including the two end posts. Add a terminal post at each corner and two at each gate.

Converters to use with the Chain Link Fence Calculator

Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.

Browse all converters

More fence calculators

Fence Stain CalculatorFenceFence Stain CalculatorA fence stain calculator that turns your fence length, height and number of coats into the gallons of stain or sealer you need for one face of the fence, then helps you adjust for both sides and your product's coverage. Rough wood drinks stain, so a guess leaves the last section bare. Enter the fence size and coats and get the gallon count.Gate PlannerFenceGate PlannerA gate planner calculator that turns the number of gates and the width of each into the gate posts, hinges and latch sets you need, then helps you plan the opening, the posts and the sag prevention. A gate with the wrong hardware sags on its hinges within months. Enter the gate count and widths and get the hardware list before you build.Wood Fence CalculatorFenceWood Fence CalculatorThis wood fence calculator turns your fence length and height into an exact shopping list: pickets, rails, posts, concrete bags and the materials cost. It counts by the real picket width, so a 1x6 counts as 5.5 in, not 6 in, and it compares cedar, pine and redwood before you commit to a species. Order what the job needs, nothing you will return.Picket Fence CalculatorFencePicket Fence CalculatorThis picket fence calculator counts exactly how many pickets your fence needs. Enter the fence length, the picket width and the gap between pickets, and get the picket count with waste, plus posts, rails, concrete bags and the materials cost, with pointed, flat-top and dog-ear picket options and a gap comparison built in. The gap is what most people forget, and it changes the count.Privacy Fence CalculatorFencePrivacy Fence CalculatorThis privacy fence calculator works out exactly what a 6 ft solid privacy fence needs. Enter the fence length and height, choose wood or vinyl, and get the picket or panel count, posts, rails, concrete bags and materials cost, with a wood-vs-vinyl comparison and height options from 4 ft to 8 ft built in. Solid means no gaps, so every board counts and the wind load is real.Home Depot Fence CalculatorFenceHome Depot Fence CalculatorThis Home Depot fence calculator counts a panel fence the way the store sells it. Enter your fence length and this independent estimator counts the 6x8 ft panels, posts and bags of concrete you need, prices them at typical big-box panel prices, and shows an installed cost range, so you can walk into the store with a shopping list instead of a guess. It is not affiliated with or endorsed by The Home Depot.

Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.