Free · No sign-up · US units

Fence calculator & cost estimator

Enter your fence length to get a material list (posts, rails, pickets or panels, concrete) and a sourced cost range for wood, vinyl, chain link or aluminum.

Your fence

Enter sides in order, including gate openings.

Side 1
Material

Style changes wood picket spacing. Panel counts use the entered post spacing.

Your estimate

150 ft · 6 ft tall · Wood

Installed cost $2,550–$5,550 materials + labor
Materials only (DIY) $1,050–$2,550

Material list

Posts
20
Rails
63
Pickets
377
Concrete bags 50 lb, rounded per hole
80
Fence area one side, sq ft
900

Includes 10% extra on pickets, rails and fabric

How the price is calculated

Fence cost = the selected per-foot rate × total entered length, including gate openings. Gate charges are separate when a matching sourced price is available. Permits, removal, tax and delivery are excluded. Installed rates already include materials and labor. No gate charges are added. Wood rates cover privacy style; the picket setting changes counts, not prices.

Planning quantities, excluding special hardware. Confirm the layout before ordering.

Fence layout

  • End posts 2
  • Corner posts 0
  • Line posts 18
  • Gate posts 0
Side 1 · 150 ft7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′7.9′

Each side uses the same scale. Shared corner posts appear on both adjoining rows and count once. Gates split each side into equal runs; each run uses equal bays no wider than your post spacing.

Measure the line

Walk the property line and add up every run, including gate openings. This fence calculator splits it into equal bays.

Get the material list

Count individual boards or size panel bays, plus posts and 50 lb concrete bags per hole.

Compare the budget

As a fence cost estimator, it keeps material-only and installed ranges separate, each with its source.

Before you order

Cost guides and calculators

How to measure for the fence calculator

Draw the fence route before measuring. Mark each corner, each end and every gate opening. Enter adjoining sides separately so the calculator can share corner posts. Include openings in each side's length; enter the gate count as well so the tool can deduct their width from the material runs. Do not deduct the opening yourself and enter it again.

Measure along the proposed line. A lot-size label does not tell you how much fence you need, and an existing wall or fence may form part of the enclosure. For a panel system, use the manufacturer's layout spacing instead of assuming that its visible panel width equals the post-center distance.

BayBay Gate Bay Measure the whole side, including the opening
Fence bays end at posts; a gate interrupts the fence run and has its own supporting posts. Diagram is not to scale.

Leave the closed-loop setting off when the fence ends at a house or another boundary. Use it only when the sides connect all the way around and the last side shares a corner with the first. The layout sketch helps check post types, but it is not a survey or an installation drawing. Uneven gate positions need a measured post layout before ordering.

Worked example: a wood privacy run

Choose an illustrative 100 ft straight run, 6 ft high, without gates, and 8 ft maximum post spacing. The estimate gives 13 bays and 14 posts. Equal bays are about 7.69 ft long, so none needs to exceed the maximum spacing.

With the tool's side-by-side privacy-board assumption, the result is 244 pickets and 43 rail pieces. Pickets round up within each bay, not across the entire side. The list excludes spare boards, fasteners, caps and gate components. Confirm the board width and the required framing before placing a material order.

The same length gives a materials planning range of $700–$1,700 and an installed range of $1,700–$3,700. Both come from the wood privacy rates, not from multiplying the board count by a guessed board price. Removal, permits, tax, delivery and finishing remain separate.

Example prices: Fixr wood privacy rates · . Dimensions are example inputs. The Lowe's wood fence guide describes the board width and spacing reference; this example uses a single, side-by-side privacy face, not its shadowbox pattern. Footing assumptions are explained below.

How to use the fence cost estimate

Compare the material-only result with a supplier order, or the installed result with a contractor's proposal. The installed rate already includes labor. Do not add the labor table to it again. The estimator prices the full entered length, including openings, then adds matching sourced gate charges where available. Read the price note to see which gate costs still need a separate quote.

The material quantity list and the dollar estimate serve different tasks. Changing post spacing can change the number of posts or panels, while the per-foot budget stays the same. Height and style also do not select a new rate. Use the material guides to check what the saved sources actually cover, then give a local installer the height and product specification you want priced.

Check these details before ordering

  • Use actual board width for wood; nominal lumber names are not face dimensions.
  • Check panel widths and post connections with the selected vinyl or aluminum system.
  • For chain link, price terminal hardware as well as fabric, posts and rail.
  • Check gate supports, hardware and infill separately from the fence-run quantities.
  • Allow for cuts or damaged pieces based on the order and supplier guidance; no waste percentage is added here.

When the estimate needs a separate layout

Board-on-board wood, horizontal infill, mixed panel systems and unusual gate positions need their own takeoff. Sloped ground can change panel transitions and post lengths. The equal-bay model cannot establish those details or approve a pool barrier, retaining structure or footing design. Use the result as a starting list for the supplier or installer.

Before digging, use the utility-locate service and follow your state's waiting and response instructions. Confirm your boundary and local requirements separately; the diagram cannot locate either.

How the quantities are calculated

Gate openings are deducted from each side's length, then the remaining fence on that side is divided into equal runs between gates. Each run uses whole bays no longer than your post spacing. Add bays + gates + 1 for each side, then subtract shared corner posts: one fewer than the number of sides for an open fence, or one per side for a closed loop. Uneven gate positions need a separate layout.

Wood privacy uses 5.5 in pickets with no gap; picket style uses 3.5 in pickets with 2 in gaps. Pickets are rounded up in each bay. Wood rails use two rows through 4 ft high and three above 4 ft. Vinyl and aluminum use one panel per bay with rails included; chain link uses net fence length in fabric and one top rail span per bay. Confirm stock lengths before ordering rails.

Concrete assumes a 12 in hole around a 3.5 in square wood or vinyl post, or an 8 in hole around a 2.375 in round metal post. These are planning assumptions, not product specifications. Concrete depth starts at one-third of the above-ground height, with a separate 6 in gravel base. The 50 lb bag yield is 0.375 cubic feet; each hole is rounded up separately. Use the post depth tool to enter local frost depth and the actual post dimensions.

Fence square footage is net fence length × height for one side. The waste allowance adds extra pickets, rails and fabric, rounded up, without changing posts, panels, concrete or area. Fasteners, caps, tension hardware, gate materials and finish are excluded. Cost ranges use sourced per-foot rates × total entered length, including gate openings, separately from these counts. Matching sourced gate charges are added where available; the result states which gate costs are excluded. Installed rates already include labor.

Concrete reference: QUIKRETE post-setting guide and 50 lb mix yield . Check product instructions and local requirements for the final footing design.

Common questions

Does fence length include the gates?

Enter the full length of each side including openings, then enter its gates. The calculator deducts openings from material runs while keeping the full entered length as the cost-rate basis.

Can I calculate fence length from my lot area?

Area alone does not determine a boundary length. Draw the sides you plan to fence and measure each one, excluding walls or existing fence that will stay.

Why does the price stay the same when I change height?

The tool uses broad sourced per-foot rates. Height changes the quantity assumptions, but a height-specific product and installation price still needs a matching quote.

Does the list include everything I need to buy?

No. Check fasteners, caps, terminal fittings, gate assemblies, finish and any spare material with your supplier before ordering.