Skip to main content
Fence Planner

Fence Cost Calculator

Lay out your fence run by run, add gates, and price it line by line with numbers from your own supplier or contractor. The estimate you print is built from one consistent set of measurements – and it never fills in a price you did not give it.

Planning estimate only. Results come from the measurements and prices you enter. They are not an engineered design, code or permit advice, or a quote. See how every number is calculated.

Straight 100 ft fence

Loading saved draft…

Step 1 of 7: Name your project

Shown on the printed estimate and used for the saved file name.

Start from an example layout

Pick the closest shape, then change the lengths in the next step. Examples contain no prices.

Units are US feet and inches; money is US dollars. Your project is kept in this browser only – there is no account and nothing is uploaded.

Layout

Top-down fence layout diagram1 run, 100 ft of fence line: 100 ft solid fence and 0 in of gate openings. 14 posts in total: 2 end, 12 line. Shared corners are counted once.
  • End post
  • Corner post
  • Gate post
  • Line post
  • Junction (review) post
  • Fence
  • Gate opening

Not to survey accuracy. Letters mark layout points; small numbers are post numbers from the post schedule; grid lines are 10 ft apart.

Layout described in words
  • 1 run, 100 ft of fence line: 100 ft solid fence and 0 in of gate openings.
  • 14 posts in total: 2 end, 12 line. Shared corners are counted once.
  • Run 1 goes from point A to point B, 100 ft, heading right (→).

Live results

Solid fence
100 ft
100 ft incl. gates
Posts
14
12 line, 2 terminal
Gates
0
none
Concrete
28 bags
16.80 cu ft

Cost

Not provided

5 lines have no price yet, so no project total is shown.

Wood fence · maximum spacing 8 ft

What this fence cost calculator does

Most fence cost estimates start from a single number – total feet – multiplied by a typical price. That hides the things that actually move a fence budget: how many posts the layout needs, whether corners are shared, how much of the line is a gate rather than fence, and how much concrete the holes take. This calculator works the other way round. You describe the fence, it measures and counts, and you supply the prices.

  • Layout: any number of straight runs, joined at shared corners, with gates placed at exact distances.
  • Quantities: solid fence footage, gate openings, every post by type, concrete volume and bags, and – for chain-link – fabric, rolls and top rail.
  • Costs: one line per quantity, each with your unit price, a taxable switch and an optional note about where the price came from.
  • Output: an itemized estimate you can print or save as a PDF, a materials CSV, and a project file you can re-open later.

How to use it

  1. Project. Name the job and, if it helps, start from the example closest to your yard.
  2. Measurements. Enter each straight run’s length in feet and inches and the direction it travels. Start the next run from the end of the previous one to make a corner; the two runs then share one post.
  3. Gates. For each gate, enter the distance from the start of the run to the first gate post and the distance between the two gate posts, centre to centre.
  4. Fence type. Choose wood, vinyl or chain-link and set the longest bay you will allow between posts.
  5. Materials. Check the post counts and enter the hole size you intend to dig so concrete can be worked out.
  6. Costs. Type in your prices. Untick any line that does not apply.
  7. Results. Review the itemized estimate, then print it or download the files.

How the cost is calculated

All money is handled in whole cents, so the totals add up exactly as printed.

line total   = quantity × unit price            (rounded to the cent)
subtotal     = sum of all priced lines
tax          = taxable lines × your tax rate      (rounded to the cent)
contingency  = subtotal × your contingency %      (before tax, not taxed)
total        = subtotal + tax + contingency

Three rules keep the result honest:

  • Gates are never charged as fence. Fence materials and fence labor use solid footage only. Gates and gate labor are separate lines counted per gate.
  • A missing price is not zero. A line without a price reads “Not provided”. While any included line is missing a price, the calculator shows a “partial priced subtotal” and withholds the project total.
  • Nothing is left out quietly. If you untick a line – labor on a do-it-yourself job, for example – it appears on the estimate under “Excluded”.

Worked example

Take a straight 100 ft fence line with one gate whose posts are 4 ft apart, starting 38 ft from one end. The prices below are round numbers chosen only to show the arithmetic. They are not typical or recommended prices.

LineQuantityExample unit priceLine total
Fence materials96 ft solid (100 − 4)$8.00 per ft$768.00
Fence installation labor96 ft solid$12.00 per ft$1,152.00
Gate1$150.00 each$150.00
Subtotal$2,070.00
Contingency reserve, 5% of subtotal$103.50
Tax, 0%$0.00
Estimated total$2,173.50

With an 8 ft maximum spacing the same layout needs 15 posts: 2 end posts, 2 gate posts and 11 line posts. In this simple example the posts, concrete and gate labor lines were unticked, so the estimate lists them as excluded. In a real estimate you would price them.

What you need before you start

  • The length of each straight stretch of fence, measured on the ground.
  • Where each gate goes and how far apart its posts will be set.
  • The fence type and the post spacing your product or installer calls for.
  • The hole diameter and depth you plan to dig – from your installer, product instructions or local requirements.
  • Current prices from the supplier or contractor you would actually use.

What is not included

  • Local price data. The calculator does not look up or estimate prices, labor rates or sales tax by ZIP code.
  • Panel, picket and rail counts for wood and vinyl. These depend on the product and style; price them per foot or add your own lines.
  • Chain-link fittings, tension bars, ties and bracing. Enter a supplier quote as a lump sum.
  • Slopes, steps and retaining walls. The layout is treated as flat ground.
  • Permits, surveys, removal of an old fence, delivery and site clearing – add these as your own cost lines if they apply.
  • Any judgement about whether a design is strong enough or meets code.

Common mistakes

  • Pricing gate openings as fence. A 4 ft gate in a 100 ft line leaves 96 ft of fence to buy, not 100.
  • Counting a corner post twice. Two runs of 40 ft and 60 ft at an 8 ft spacing need 14 posts, not 15: the corner is one post serving both runs.
  • Treating a gate’s nominal width as the post spacing. Hinges and latches need room. Use the post-to-post dimension from the gate manufacturer.
  • Mixing an all-in per-foot price with separate post and concrete lines. If your per-foot price already includes posts and concrete, untick those lines so they are not counted twice.
  • Forgetting a contingency. Rocky ground, an extra post or a mis-cut are common. The reserve is your choice; it is shown as its own line.

References

Every calculator works on the same saved project, so you can move between them without re-entering your layout.