Free tool: Division 32 fences

Fence estimate calculator: posts, rails, pickets and concrete

For fence contractors and estimators: a material count for one fence line. Need a site plan taken off? Bidmere takeoffs are from $149 and single-trade estimates from $195, ready in 48 hours.

Fixed price in 2 business hours. Pay only after you accept.

  • Fixed price agreed before any work starts
  • Plan review is free
  • You pay only after you accept the price and delivery date
  • Single-trade estimates in 48 hours

Quick answer

Fence posts equal the length divided by the post spacing, rounded up, plus one for an open line. 100 ft at 8 ft takes 14 posts, 39 rails and 219 pickets 5.5 in wide. A 12 in hole around a 4 in post, 36 in deep, takes 2.02 CF of concrete. The result is a count from your inputs, not an estimate from drawings.

Division 32: Fences and gates

Fence calculator

Posts, rails, pickets or panels, gates and concrete per post from the fence length, height and post spacing. Price it at your own unit costs.

Fence line
Example input. Measure along the fence line, gates included.
Each corner starts a new run.
No more than 8 ft for 8 ft rails; 6 ft is stronger. Use your panel width for panels.
Fence style
UFP: three for fences 6 ft tall and higher, two for shorter.
0 for a privacy fence with butted pickets.
Post holes
QUIKRETE pairs a 4 in post with a 12 in hole. Enter your post’s actual size.
QUIKRETE: half the height above ground; UFP: a third of the post length. Your code or frost line may require more.
Your costs (optional)

Enter your own prices. Nothing you type leaves this page.

See results

Results

Bidding a commercial job? Send the plans and get a measured takeoff

Get a fixed quote Fixed price in 2 business hours. Plan review is free. Pay only after you accept.

Need the whole job measured? This calculator covers one area at a time. Send the plans and we return the full takeoff and estimate. Fixed quote within 2 business hours. Plan review is free, and you pay only after you accept.

Get a fixed quote

How to use the fence estimate calculator

  1. Fence line. The total length, gates included, the height above ground and how many straight runs it has. A run ends at each corner.
  2. Post spacing. Center to center. For panels, use the panel width.
  3. Gates. How many, and the width of each opening.
  4. Style. Pickets on rails, or pre-built panels. For pickets, the width and the gap; a privacy fence has no gap.
  5. Post holes. Post size, hole diameter, depth in concrete and the gravel under the post, and the bag you use.

The 100 ft and 6 ft at load are example inputs. Change any field and the counts update at once.

How to calculate fence posts, rails and pickets

ItemFormula
BaysLength less gate openings / post spacing, rounded up, plus one per extra run or gate
PostsBays + gates + 1 for an open line (no +1 when the fence closes on itself)
RailsBays x rails per bay
PicketsLength less gates (in) / (picket width + gap), rounded up
PanelsOne per bay
Concrete per post(Hole area - post area) x depth in concrete / 1,728 = CF
BagsConcrete CF / bag yield, rounded up
Post lengthHeight above ground + depth in concrete

Each run and each gate opening is rounded up to whole bays on its own, so the count can run one bay high on a run that divides evenly. Corner, end and gate posts are counted as posts like any other; buy them heavier if your design calls for it.

Where the default post spacing, depth and hole size come from

  • Post spacing, 8 ft. Redwood privacy fence instructions on Home Depot’s product documents keep posts no more than 8 ft center to center for 8 ft rails and recommend 6 ft for maximum strength. This is installation guidance, not a code limit.
  • Depth. QUIKRETE says the post hole depth should be half the post height above ground: a 9 ft post with 3 ft in the ground for a 6 ft fence. UFP’s wood fencing guide calls a third of the post length in the ground a general rule of thumb and says end, corner and gate posts are stronger set 6 in deeper.
  • Hole and gravel. UFP digs holes 10 to 12 in wide and 6 in deeper than needed, with 6 in of gravel for drainage. QUIKRETE’s calculator pairs a 4 in post with a 12 in hole.
  • Rails. UFP uses three backer rails for fences 6 ft tall and higher and two for shorter fences.

These are rules of thumb from installation guides. Local codes, frost depth and soil may require deeper or wider holes, and the calculator lets you change every one.

Worked example: 100 ft of 6 ft privacy fence

  • Posts at 8 ft: 100 / 8 = 12.5, so 13 bays and 14 posts
  • Rails: 13 bays x 3 = 39 rails, 8 ft long
  • Pickets, 5.5 in wide and butted: 1,200 in / 5.5 = 218.2, so 219 pickets
  • Concrete: a 12 in hole around a 4 in post, 36 in deep, holds 2.02 CF; 14 posts take 28.32 CF, or 76 bags of 50 lb fast-setting mix at 0.375 CF a bag
  • Posts: 6 ft + 3 ft = 9 ft long

Add one 4 ft gate and the fence length less the gate is 96 ft. The calculator counts 13 bays and 15 posts, two of them gate posts. If the gate sits in the middle, 48 ft either side, each side needs only 6 bays: that is the one-bay allowance for rounding each run on its own.

What this fence calculator does not cover

  • Slopes, steps and racking on uneven ground
  • Chain link fabric, tension wire and fittings
  • Ornamental metal, vinyl brackets and post caps
  • Demolition and haul-off of an old fence
  • Permits, surveys and utility locates

The result is a material count from the numbers you enter, not an estimate from drawings. For a site plan with several fence types, gates and grade changes, send the drawings for a measured takeoff. See landscaping and site estimating and quantity takeoffs.

How to cite this calculator

Cite it by name, URL and the date you used it, for example:

Bidmere, “Fence estimate calculator: posts, rails, pickets and concrete”, https://bidmere.com/tools/fence-calculator/, accessed [date].

The counts are arithmetic on your inputs; the defaults for spacing, depth, hole size and bag yield come from the installation guides and data sheets listed below.

Before you send plans

Common questions about handing off the work

Why no default cost per foot?

Lumber, panels and labor vary by market. Price it at your own supplier quotes.

Can I bid from these numbers?

For a simple straight fence. Grade changes and mixed fence types need a full takeoff.

Who sets the final price?

You do. Bidmere prices quantities at your rates.

Questions

Frequently asked questions

How many fence posts do I need?

Divide the fence length by the post spacing and round up for the number of bays, then add one post for an open line. 100 ft at 8 ft is 13 bays and 14 posts. Each gate adds a post, and each extra run may add a bay.

How far apart should fence posts be?

The redwood fence instructions cited here keep posts no more than 8 ft center to center for 8 ft rails and recommend 6 ft for maximum strength. For panels, set posts at the panel width.

How deep should a fence post be?

QUIKRETE says half the height above ground, so 3 ft for a 6 ft fence. UFP calls a third of the post length a general rule of thumb. Your local code and the frost line can require more.

How many bags of concrete per fence post?

A 12 in hole around a 4 in post, 36 in deep, holds about 2.02 CF. At 0.375 CF per 50 lb bag of QUIKRETE Fast-Setting Concrete Mix, that is 5.4 bags, so plan on 6 per post.

How many pickets for a fence?

Divide the fence length in inches by the picket width plus the gap. 100 ft of 5.5 in pickets with no gap takes 219 pickets before waste.

Can Bidmere estimate my fence job?

Yes. Send the site plan for a free plan review and a fixed quote within 2 business hours. Takeoffs are from $149 and single-trade estimates from $195, ready in 48 hours after you accept.

For your website

Embed this calculator

Get a fixed quote

Share the project basics. You get a fixed price and delivery date within 2 business hours. Plan review is free, and you pay only after you accept.

A sentence or two is enough. Leave private rates out of this box.
Add details (optional)
Share a view-only link if you have one. It lets us quote faster; you can also send documents after we reply.
Prefer a call? Leave a number and a time
Optional. We still reply by email, and call only if you ask here.

Preparing the form…

* Required. We reply by email within 2 business hours. Plan review and quotes are free.

Sources

Fixed price in 2 business hoursGet a quote