Fence Cost & Material Calculator

A 20 ft fence run with a 4 ft gate leaves 16 ft to fill. Choose panels or individual pickets, then enter your prices for a material estimate.

Choose the length unit before entering measurements. Changing units keeps the entered numbers; it does not convert them. Use decimal feet, not inches, in feet mode. Concrete price remains per cubic metre.

Same length unit as runs. Use the selected metres or decimal feet; switching units keeps this number.
Same length unit. Use the selected metres or decimal feet; switching units keeps this number.
Use the selected metres or decimal feet; switching units keeps this number.
Only subtract posts already counted twice.
Same length unit. Use the selected metres or decimal feet; switching units keeps this number.
Same length unit. Use the selected metres or decimal feet; switching units keeps this number.
Post displaces concrete. Use the selected metres or decimal feet; switching units keeps this number.
Pickets/panels/rails, not posts or gates.
Fence run 1
Selected length unit. Use the selected metres or decimal feet; switching units keeps this number.
Selected length unit. Use the selected metres or decimal feet; switching units keeps this number.

Calculate even fence picket spacing

Measure the clear space where each set of pickets will be mounted. Enter a known picket count to find the actual gap for one span, or enter a maximum gap to find the fewest full-width pickets for each measured span. Count gates and posts in the material estimate above.

Subtract the combined board widths from the clear span, then divide the space left by the number of gaps. With 58 six-inch pickets across an unobstructed 36 ft span and no end gaps, the 57 internal gaps are about 1.474 in each. When posts or openings interrupt the layout, enter each clear span separately and add spare boards after combining the counts.

Changing the unit keeps the entered numbers. Convert your measurements before calculating.

Across 36 ft of clear span, six-inch boards with no end gaps need at least 58 full-width pickets to keep each gap at or below 1.5 in. With 57 pickets the gaps would be about 1.607 in.

If posts divide the same 36 ft into clear 10 ft, 12 ft and 14 ft spans, enter 120 first, then 144 and 168 on separate lines. The calculator finds 17, 20 and 23 pickets, with 66 to buy after adding 10% spares.

About this tool

Plan fence runs, gates and shared posts, then estimate panels or pickets, rails, concrete and material cost. Choose feet or metres before entering lengths. Changing the unit selector keeps the entered numbers; it does not convert them.

How many fence panels or pickets do I need?

  1. Enter the full length of each straight run, its gate count and the width per gate. The calculator deducts gate openings before counting materials. For panels, enter the maximum post spacing. For individual pickets, also enter the board width and the gap you want.
  2. Use metres or decimal feet throughout, including for post and hole dimensions. In feet mode, a 4-inch post is ⅓ ft. Enter about 0.3333. If you switch units, convert your measurements and re-enter them.
  3. Subtract a shared post only when the same physical post was counted twice.
  4. Concrete price stays per cubic metre even for a feet-based layout. Verify supplier prices, boundaries, utilities and the required structural details separately.

How the calculation works

For each run: net length = run length − gate count × gate width. Spans = ceiling(net length ÷ maximum spacing). Run posts = spans + 1 when fence remains, plus two gate posts per gate. Pickets = ceiling((net length + gap)/(picket width + gap)), then round waste upward. Deduct explicitly shared posts. Concrete = posts × (π × hole diameter² ÷ 4 − square post width²) × depth × concrete allowance.

Worked example

A 10 m run with one 1 m gate leaves 9 m of fence. With 2 m maximum spacing, five spans require six fence posts plus two gate posts. At 10% panel allowance, buy six panels. Subtract one shared post only if your actual layout counts it twice.

How many pickets do I need for 36 feet of fence?

Plan for 58 pickets before waste, or 64 to buy with a 10% allowance, for a straight 36 ft run with no gate, 6-inch boards and 1½-inch gaps.

Divide the run plus one gap by the combined width of a board and a gap, then round up. Use the actual measured width of your pickets. The result shows pickets to buy and the count before allowance separately. The example uses decimal feet and illustrative settings for posts, rails and prices.

Open the 36-foot picket example

Calculate exact spacing for those 58 pickets

How many dog-ear pickets do I need?

Measure the full width of a board below the clipped corners. Suppose your dog-ear pickets measure 95 mm wide and you want gaps no wider than 20 mm. One uninterrupted 36 ft clear span is 10,972.8 mm. With no end gaps, it takes 96 full-width pickets. With 10% spare, buy 106.

For the exact layout, 96 boards occupy 9,120 mm. Divide the remaining 1,852.8 mm into 95 gaps of about 19.50 mm. With 95 boards, the 94 gaps would be about 20.72 mm. Measure from post face to post face and treat each clear span separately.

Open the 95 mm picket purchase estimate

Check the even gaps for your actual span

Count pickets separately when posts interrupt the run

If you have three clear spans of 12 ft each, count each one separately. With six-inch pickets, no end gaps and a maximum 1.5-inch gap, each span needs 20 pickets. Nineteen pickets leave 18 gaps of about 1.667 in. Twenty leave 19 gaps of about 1.263 in.

That is 60 pickets before waste, or 66 to buy with a 10% allowance. The uninterrupted 36 ft example uses 58 before waste. Measure between the faces that bound each span and enter the clear lengths after excluding posts and gate openings. This example compares picket counts. Check post and rail spacing for your fence separately.

Compare three 12-foot spans in the material estimate

Assumptions and limitations

This is a materials model, not a surveyed layout or structural design. A gate splits the fence; use separate runs for more accurate post layouts. Shared-post deductions are manual. Panel prices include rails; individual-picket mode estimates separate rails. Post dimensions must fit the circular holes.

Confirm property boundaries, utilities, wind requirements, permitted heights and supplier spacing. Holes, corner assemblies and hardware can differ by site. Labour, delivery, caps, fixings and permits are excluded unless reflected in your entered prices.

Common questions

Why are gate posts separate?

Gate openings generally need support posts. This model counts them separately; subtract a shared post when an adjacent run already counts the same physical post.

Are rails counted with panels?

No. Panel mode assumes rails are included in the panel price. Picket mode estimates rails per span.

Guide updated 2026-11-21. Calculation method and source dates remain separate.

Method reviewed 2026-10-08. Calculation standards · Report an issue