Fence Estimator

Estimate fence materials — panels, posts, rails and concrete — for any fence length and height. Use this fence estimator to work out the posts, panels, rails and concrete your fence needs.

Fence Estimator

ft

Free to use • No sign-up needed

Set posts 1/3 of their above-ground height deep (minimum 24 inches), on 6 inches of gravel, in concrete.

How to Use This Calculator

  • Measure the total length of the fence in feet.
  • Enter the fence height and the spacing between posts.
  • Choose your fence style and material, if asked.
  • Click Calculate to see how many panels, posts, rails and bags of concrete you need.

How Much Does a Fence Cost?

Fence cost depends on the length, the height and the material. The usual way to price a fence is per linear foot, installed.

  • Chain link: About $10 to $20 per linear foot installed. The cheapest option, and the fastest to install.
  • Wood: About $15 to $30 per linear foot installed. The most common choice, with the most styles.
  • Vinyl: About $25 to $45 per linear foot installed. Costs more up front, but needs almost no maintenance.
  • Aluminum: About $25 to $40 per linear foot installed. Looks like wrought iron, but lighter and rust-proof.
  • Wrought iron: About $30 to $60 or more per linear foot installed. The most expensive, and the most formal looking.

These are installed prices, including materials and labor, and they vary a lot by region, height and access. A 6-foot fence costs more than a 4-foot fence, and a slope adds cost because the panels have to step or rack. Get two or three quotes before you start.

How Many Fence Panels and Posts Do I Need?

The number of panels and posts depends on the total length and the panel size.

  • Panels: Most fence panels are 6 or 8 feet wide. Divide the total fence length by the panel width. A 100-foot fence with 8-foot panels needs about 13 panels.
  • Posts: You need one post at each panel joint, plus one at each end and each corner. A 100-foot fence with 8-foot panels needs about 14 posts. As a rule, buy one extra post and a few extra pickets, because cuts and mistakes happen.
  • Concrete: Each post needs about one 50-pound bag of concrete mix, or half an 80-pound bag, for a standard 2-foot-deep hole.

Gates are separate. A standard walk gate usually adds $150 to $400, and a wide drive gate can add $500 or more, depending on the material and the hardware.

Types of Fences

  • Wood: Warm and natural, and easy to repair one board at a time. Needs staining or sealing every few years, and posts rot over time if they sit in wet soil.
  • Vinyl: Clean white or tan, never needs painting, and washes with a hose. It can crack in very cold weather and is hard to repair if a panel breaks.
  • Chain link: Cheap, strong and see-through. Good for a dog run or a back boundary. Less private, and it does not add much curb appeal.
  • Aluminum: Light, rust-proof and good looking. Strong enough for a pool fence, and it meets most pool codes.
  • Wrought iron: Heavy, formal and very strong. Needs repainting to stop rust, and it is the most expensive to install.

For privacy, wood and vinyl are the usual choices. For a pool, aluminum is the standard. For a dog or a budget boundary, chain link does the job.

Wood vs Vinyl: Which Should You Pick?

Wood costs less up front and is easy to customize. You can change the height, the style and the color, and you can replace a single broken picket in minutes. The trade-off is maintenance. Wood needs staining or sealing every 2 to 3 years, and it can warp, split or rot.

Vinyl costs more up front, but it needs almost no maintenance. It will not rot, warp or need painting. The trade-off is repair. A cracked vinyl panel usually has to be replaced whole, and matching the color years later can be hard.

Over 15 years, vinyl often works out cheaper than wood once you count the staining and repairs. If you plan to stay in the house for a long time, vinyl is worth considering. If the budget is tight now, wood is the safer pick.

Permits, Property Lines and Neighbors

Before you build, check three things.

  • Property line: Get a survey or find your property pins. Building even a foot over the line can mean moving the fence later, at your cost.
  • Local rules: Many towns limit fence height, usually 6 feet in the back yard and 4 feet in the front. Some require a permit. Check with your local building department.
  • HOA rules: If you have a homeowners association, it may limit the material, height and color. Get approval in writing before you buy materials.

Talk to your neighbors too, especially if the fence sits on or near a shared line. A fence is much easier to build when the neighbor knows it is coming.

Common Mistakes to Avoid

  • No survey. Guessing the property line is the most expensive mistake in fencing.
  • Posts too shallow. Posts should be at least 2 feet deep, or one-third of the post height, and below the frost line in cold climates. Shallow posts lean within a season.
  • No concrete around the posts. Concrete holds the post straight and keeps it from rotting in wet soil.
  • Forgetting the gates. A fence with no gate is a wall. Plan the gates and their cost before you order.
  • Not accounting for a slope. A fence on a slope needs stepped or racked panels, which cost more and need more planning.
  • Ignoring drainage. Water pooling at the base of wood posts rots them fast. Grade the soil so water runs away from the fence line.

Bottom Line

Measure the length, pick a material that fits your budget and your maintenance habits, set the posts deep with concrete, and check the property line and the local rules before you build. Use the calculator above to work out how many panels, posts and bags of concrete you need, and what the fence will cost.

Written by the Yard & Bag Editorial Team. Our content is researched and checked against supplier guidance and standard building practice.

Frequently Asked Questions

How much does a fence cost per foot?

Fences are usually priced per linear foot, installed. Chain link runs about $10 to $20 per linear foot. Wood runs about $15 to $30. Vinyl runs about $25 to $45. Aluminum runs about $25 to $40. Wrought iron runs about $30 to $60 or more. A 6-foot fence costs more than a 4-foot fence, and a slope adds cost because the panels have to step or rack. Get two or three quotes before you start.

How many panels and posts do I need?

Most fence panels are 6 or 8 feet wide. Divide the total fence length by the panel width. A 100-foot fence with 8-foot panels needs about 13 panels. You need one post at each panel joint, plus one at each end and each corner, so that same fence needs about 14 posts. Buy one extra post and a few extra pickets, because cuts and mistakes happen. Gates are separate: a standard walk gate usually adds $150 to $400, and a wide drive gate can add $500 or more.

How much concrete per fence post?

Each post needs about one 50-pound bag of concrete mix, or half an 80-pound bag, for a standard 2-foot-deep hole. The calculator above works out the total bags for your fence.

Wood or vinyl fence, which is better?

Wood costs less up front and is easy to customize and repair one board at a time, but it needs staining or sealing every 2 to 3 years, and posts can rot in wet soil. Vinyl costs more up front but needs almost no maintenance: it will not rot, warp or need painting. The trade-off is repair. A cracked vinyl panel usually has to be replaced whole, and matching the color years later can be hard.

Do I need a permit for a fence?

Many towns limit fence height, usually 6 feet in the back yard and 4 feet in the front, and some require a permit. Check with your local building department before you build. Also confirm the property line first: get a survey or find your property pins, because building even a foot over the line can mean moving the fence later at your cost.

Scroll to Top