{{ summaryHeading }}
{{ summaryPrimary }}
{{ summaryLine }}
{{ lengthBadge }} {{ styleBadge }} {{ wasteBadge }} {{ costBadge }}
Run {{ layoutDiagram.spacingLabel }} Post Gate
Fence material inputs
Switch between metric and imperial values; current measurements convert in place.
Choose the closest assembly type, then adjust spacing and material details below.
Use the measured property-line run or the sum of straight runs from your sketch.
Enter the finished fence height above grade.
Use the spacing required by your fence system, wind exposure, and local detail.
Leave 0 for one straight run; add corners, returns, or special end posts here.
Count gate leaves or openings that need a hardware kit.
Use the planned clear opening width for one typical gate.
Use 5-10% for simple straight runs; use more for slopes, returns, and board-on-board work.
%
Use actual board width, not nominal lumber naming.
For board-on-board or shadowbox, keep the visible gap that belongs to one face.
Set the number of horizontal rails between two neighboring posts.
Use the panel or bay width from the supplier spec.
Enter the fabric roll length used by your supplier.
Use the auger diameter or specified footing diameter.
The calculator reports this as the below-grade portion of each post.
The bag count rounds up after total post-hole volume is estimated.
Use square post width or round post diameter.
Two fasteners per board at each rail is common for wood privacy runs.
Use your supplier's top rail stick length.
Enter 0 to omit cost for this component.
$
Enter one price per rail piece.
$
Enter one price per ordered infill unit.
$
Enter one price per bag.
$
Enter 0 when hardware is priced by box instead of each item.
$
Enter 0 when gate hardware is not part of this order.
$
{{ takeoffCaption }}
Component Base quantity Order quantity Basis Estimated cost Copy
{{ row.component }} {{ row.baseDisplay }} {{ row.orderDisplay }} {{ row.basis }} {{ row.costDisplay }}
Estimated material total - - Sum of priced takeoff rows; enter 0 for components priced separately. {{ formatCurrency(analysis.totalCost) }}
Enter a positive fence run, spacing, and concrete yield to build the material takeoff.
{{ layoutCaption }}
Check Status Action Copy
{{ row.check }} {{ row.status }} {{ row.action }}
Layout checks appear when the fence run can be calculated.
Add nonzero prices to show the fence cost mix chart.
Enter a valid fence run and post spacing to compare spacing scenarios.

                    
Customize
Advanced
:

Introduction

A fence estimate becomes unreliable when the line on the site sketch is treated as one continuous board order. Real fences are broken by corners, gates, grade changes, supplier lengths, and structural posts. The measured boundary tells you how far the fence travels, but the purchase list depends on how that distance is split into spans and what each style needs between those spans.

Two lengths matter before any material count starts. The total run is the length walked with a tape, wheel, survey sketch, or plan. The infill run is the part that actually receives pickets, boards, panels, chain-link fabric, or rails after gate openings are removed. Posts follow a different logic because ends, corners, turns, and gates still need support even where normal infill stops.

Total run
The full measured fence line before gate openings are subtracted.
Infill run
The remaining length that receives boards, panels, mesh, or rails.
Section
One span between adjacent posts after the run is rounded so spacing does not exceed the chosen maximum.
Terminal post
A post at an end, corner, direction change, or gate where load, tension, or hardware is higher than on a normal line post.
Waste allowance
Extra order quantity for cuts, rejected boards, slopes, returns, damage, and supplier unit sizes.
Fence run layout terms A fence run diagram showing normal post spacing, infill run, a gate opening, gate posts, and end posts. post spacing infill run gate opening gate posts end end

Fence style changes what the same run length means. Wood privacy fencing counts individual pickets, backer rails, fasteners, posts, concrete, caps, and gate hardware. Shadowbox and board-on-board layouts use more board faces because both sides need coverage. Panel systems round to whole panels and bracket sets. Chain link separates fabric rolls from top rail pieces, ties, terminal posts, line posts, and gates. Split rail fencing counts visible rails per section instead of dense infill.

Post spacing is where cost and structure meet. Wider spacing reduces post holes and concrete, but longer spans have to resist wind, soil movement, rail sag, mesh tension, and gate loads. Tighter spacing costs more and takes longer to dig, yet it may be required for tall fences, exposed sites, curves, slopes, heavy gates, weak soil, or manufacturer instructions.

A clean material list does not settle property, safety, or code questions. Utility marks, local setbacks, frost depth, drainage, easements, permit rules, homeowner-association limits, supplier dimensions, and manufacturer details can override a neat calculation. The useful estimate is the one that turns a measured run into a purchase draft you can check against the actual site before digging or ordering.

How to Use This Tool:

Start with the measured layout, then adjust the style and supplier details so the takeoff matches the fence you plan to build.

  1. Choose Measurement system first. Switching between metric and imperial converts the current run, height, spacing, gate width, post-hole, and concrete-yield values in place.
  2. Select Fence style. The style sets the starting waste allowance, post spacing, infill method, rail logic, hole dimensions, concrete yield, and starter prices for wood pickets, shadowbox boards, panel systems, chain link, or split rail.
  3. Enter Total fence run, Fence height, Post spacing, Direction changes, Gate openings, and Gate clear width. Gate width is removed from normal infill, while two gate posts and a hardware kit are counted for each gate opening.
  4. Set Waste allowance. Use a lower value for simple straight runs and raise it for slopes, returns, board selection, irregular cuts, damage, or supplier unit sizes that cannot match the estimate exactly.
  5. Fill in the style-specific fields. Picket and shadowbox styles use Board face width, Board gap, Rails per section, and fasteners per board rail. Panel systems use Panel width. Chain link uses Mesh roll length and Top rail piece length. Split rail uses rail count per section.
  6. Open Advanced for post-hole diameter, post-hole depth, concrete bag yield, post face size, and unit prices. Price fields affect the cost mix only; quantities are still counted when a price is zero.
  7. Resolve validation warnings before using the result. Common issues include zero run length, zero post spacing, zero concrete yield, missing style dimensions, or gate openings that equal or exceed the total run.

After the takeoff appears, compare Post Spacing Impact before committing to a spacing choice. A small spacing change near a rounding point can add or remove sections, posts, and concrete bags.

Interpreting Results:

Material Takeoff is the ordering view. It separates base quantity from order quantity so whole-item rounding and waste do not hide the measured need.

  • Fence posts includes line posts, corner or direction-change posts, and two gate posts for each gate opening.
  • Ready-mix concrete bags comes from the post-hole volume after buried-post displacement, with a 20% concrete allowance for gate posts.
  • Gate hardware kits appear only when gate openings are entered, one kit per opening.
  • Post caps are counted as optional finish pieces and are shown without a built-in price.
  • Fence Cost Mix includes rows with nonzero unit prices. A low total can mean some components were intentionally left unpriced.
  • Post Spacing Impact compares the selected spacing with common metric or imperial spacing choices by sections, posts, average spacing, and concrete bags.

Layout Check Plan is the sanity-check view. It calls out the infill run after gates, rounded section count, modeled average spacing, style-specific counting logic, concrete volume, post embedment, waste setting, and local checks for permits and underground utilities.

Treat the result as a purchase draft, not a guarantee. If a supplier sells panels in a different clear width, if the site has a slope, or if gate posts need a larger size than the line posts, update the inputs or split the project into separate runs before buying.

Technical Details:

Fence material math is dominated by rounding because many parts cannot be bought or installed as fractions. Sections round up so no modeled span exceeds the selected maximum spacing. Pickets, boards, panels, mesh rolls, rails, bracket sets, fasteners, concrete bags, and gate hardware also become whole order quantities.

The layout path subtracts gate openings from the measured run, rounds the remaining infill into sections, then adds posts for section endpoints, direction changes, and gates. Concrete is modeled as a cylindrical post hole with the buried post volume removed. Gate posts use the same hole geometry with a 20% concrete allowance because gate loads are usually higher than normal line loads.

Formula Core:

The core equations below show the layout and concrete path before style-specific infill rules are applied.

Linfill=Lrun-(G×Wgate) S=max(1,LinfillDspacing) Pline=S+1+C Ptotal=Pline+(2×G) Vhole=π×(d2)2×h Vpost=max(0,Vhole-min(0.85×Vhole,f2×h)) Vconcrete=Vpost×(Pline+1.2×Pgate)
Fence style material rules
Fence styleInfill ruleOther counted items
Wood privacy picketsPickets are rounded from infill run divided by board width plus gap.Backer rails, fasteners, posts, concrete, gates, and caps.
Shadowbox / board-on-boardBoard count uses the same board-plus-gap spacing with a 1.9 face multiplier.Backer rails, fasteners, posts, concrete, gates, and caps.
Vinyl or prebuilt panelsPanels are rounded up from infill run divided by panel width.Bracket sets, posts, concrete, gates, and caps.
Chain link fabricMesh rolls are rounded from infill run divided by roll length.Top rail pieces, tie wires or bands, posts, concrete, gates, and caps.
Split rail fenceRails are sections multiplied by rails per section.Posts, concrete, gates, and caps.

Waste is applied to cut-prone or supplier-rounded materials such as pickets, boards, rails, fasteners, panels, bracket sets, mesh rolls, top rail pieces, and ties. It is not applied to the basic post count, concrete bag count, gate hardware count, or post caps. That separation keeps structural counts tied to the layout while still giving infill materials a buffer.

Fence input boundaries and effects
InputBoundaryEffect
Total fence runMust be positive.Sets the measured length before gate openings are removed.
Gate openingsTotal gate opening must be less than the run.Reduces infill and adds two gate posts per gate.
Post spacingMust be positive.Controls section count, line posts, average spacing, and concrete quantity.
Waste allowanceClamped from 0% to 40%.Raises applicable order quantities after base quantities are calculated.
Post-hole diameter and depthBoth must be positive.Control concrete volume and estimated post length.
Unit pricesZero is allowed.Items with zero price can still be counted, but they do not appear in the cost chart.

Spacing comparison uses common values plus the selected spacing: 1.5, 1.8, 2.1, 2.4, 2.7, and 3.0 m in metric mode, or 5 through 10 ft in imperial mode. Each scenario repeats the same section, post, and concrete rounding path, so it is useful for spotting a spacing that saves several holes without exceeding the modeled maximum span.

Accuracy Notes:

Use the result as a takeoff draft, not as a site-ready construction plan. Fence work depends on local and site-specific facts that a calculator cannot see.

  • Contact 811 or the local utility-locate service before digging post holes where that service applies.
  • Check local code, setback, height, frost, wind, soil, drainage, and permit requirements before setting post depth or spacing.
  • Match supplier dimensions. A nominal panel width or board size may not equal the installed clear span or actual face width.
  • Confirm gate framing, latch clearance, swing direction, slope, and post size before buying gate posts or hardware.
  • Split complicated projects into separate runs when style, height, spacing, slope, gate size, or supplier system changes along the boundary.

Worked Examples:

Wood privacy run with one gate

A 30 m run with one 1 m gate leaves 29 m of infill. At 2.4 m maximum post spacing, the layout rounds to 13 sections and a modeled average spacing of about 2.23 m. With two direction changes and one gate, total posts are 13 + 1 + 2 + 2, or 18 posts before pickets, rails, fasteners, concrete bags, hardware, and caps are added.

Pickets with a waste allowance

If that same 29 m infill run uses 140 mm board faces with a 6 mm gap, each board-plus-gap step is 146 mm. The base picket count is 29 m divided by 0.146 m, rounded up to 199 pickets. With 10% waste, the order quantity becomes 219 pickets.

Panel system near a rounding edge

A prebuilt panel fence with a 2.4 m panel width rounds the infill run up to whole panels. If a small layout change pushes the run past the next panel or section boundary, the order may need one more panel, one more set of brackets, and another post.

Chain link with supplier lengths

A chain-link run separates mesh rolls, top rail pieces, ties, terminal posts, line posts, gate fittings, and concrete. Updating mesh roll length and top rail piece length keeps the count aligned with the supplier instead of assuming every component is sold by the same linear measure.

FAQ:

Does the run length include gates?

Yes. Enter the full Total fence run, then enter Gate openings and Gate clear width. Gate openings are subtracted from infill, while gate posts and hardware are added separately.

Why did post count rise when spacing changed only a little?

Section count is rounded up from infill run divided by Post spacing. Crossing a rounding point adds a section and usually adds a post.

Why are some components shown as not priced?

A component can be counted with a unit price of zero. Enter the relevant price fields in Advanced if you want Fence Cost Mix and total cost to include that item.

Should waste be applied to posts and concrete too?

The calculation keeps posts, gate hardware, post caps, and concrete tied to the layout count. Add a manual buffer outside the calculator if your project needs spare posts, extra bags, or backup hardware.

Can this replace permit or utility checks?

No. The estimate reminds you to verify permit, setback, height, homeowner-association, and underground-utility requirements because those rules are local and site-specific.

Glossary:

Infill run
The fence length left for panels, boards, mesh, or rails after gate openings are removed.
Post spacing
The maximum distance between adjacent posts along the infill run.
Direction change
A corner, return, or turn in the fence line that adds a post to the layout.
Gate opening
The clear width reserved for a gate, subtracted from normal infill and paired with gate posts and hardware.
Waste allowance
A percentage added to applicable order quantities for cuts, damage, selection loss, irregular layout, and mistakes.
Concrete bag yield
The mixed concrete volume expected from one bag.

References: