Fence Contractors

Fence Calculator

Calculate posts, rails, pickets, and concrete needed for any fence project.

Total perimeter including all sides
22
Posts (8 ft each)
57
Rails (2x4x8ft)
351
Pickets / Boards
44
Concrete Bags (60 lb)
1
Gates

146 ft of fence with posts every 8 ft = 20 line posts + 2 gate posts = 22 total. 19 sections x 3 rails = 57 rail boards. Picket count includes 10% waste. Gate hardware, post caps, and fasteners ordered separately.

Add this tool to your website

Copy the code below and paste it into your website. Works with any site builder.

<iframe id="tbg-tool-fence-calculator" src="https://www.truebluegrowth.com/embed/fence-calculator" width="100%" height="600" style="width:100%;max-width:100%;min-width:0;border:none;border-radius:12px;display:block;" title="Fence Calculator" loading="lazy"></iframe><script>(function(){var f=document.getElementById('tbg-tool-fence-calculator');if(!f)return;window.addEventListener('message',function(e){if(!e.data||typeof e.data!=='object')return;if(e.data.type!=='tbg:tool_resize'||e.data.slug!=='fence-calculator')return;var h=parseInt(e.data.height,10);if(h>0&&h<20000)f.style.height=h+'px';});})();</script>

Fence materials in 30 seconds

For a standard wood fence, plan one post every 8 feet, plus an extra post at every corner and on each side of every gate. Use two rails for fences under 5 ft tall, three rails for 6 ft and up. Pickets are calculated by total linear feet (in inches) divided by picket-plus-gap width. One bag of fast-set concrete per standard post, two for corner and gate posts. The calculator above does all five at once and adds 10% waste.

How to estimate fence materials

Every fence job follows the same five-step takeoff. Get the linear footage, pick post spacing, count corners and gates, choose picket style, and figure rails. Miss any one of those and you'll end up short or way over-ordered. The calculator above runs the math automatically, but here's how it works under the hood so you can sanity-check the numbers.

8 ft o.c.8 ft o.c.8 ft o.c.railrail

How far apart should fence posts be?

Standard post spacing for residential wood fence is 8 feet on center. Drop to 6 feet for heavy privacy panels, sites with high wind, or sandy/loose soil where posts need extra grip. Chain link runs 10 feet on center. Tighter spacing costs more in posts and concrete but builds a noticeably stronger fence — privacy panels stop sagging, gates don't pull the fence out of plumb, and the whole assembly takes wind better. Spacing math: divide your total fence length by the spacing, round up, and add 1 for the end post.

How deep should fence posts be?

The classic rule is one-third of the post above ground goes below ground. For a 6-foot fence, that means digging 2-foot holes and using 8-foot posts. Frost regions need to go deeper — below the frost line, which is typically 36 inches in the Mid-Atlantic, 42–48 inches in the Upper Midwest, and 60 inches in interior Alaska. Posts set above the frost line will heave every winter and your fence will lean within a few seasons.

Fence heightPost above groundPost in groundTotal post length
3 ft (picket)3 ft1.5 ft4.5 ft (use 5 ft)
4 ft4 ft2 ft6 ft
5 ft5 ft2 ft7 ft
6 ft (privacy)6 ft2.5 ft8 ft
8 ft (privacy)8 ft3 ft11 ft (use 12 ft)

Add 6 inches of gravel below the post for drainage. In frost regions, override the table and dig to local frost depth.

How much concrete per fence post?

For a standard 4x4 post in a 10-inch diameter, 24-inch deep hole, one 50-lb bag of fast-set concrete is the right amount. For a 6x6 post, gate post, or corner post in a 12-inch diameter, 30-inch deep hole, plan on two bags. Fast-set saves time — you can set the post, plumb it, brace it, and move on without the next-day return trip. Standard concrete needs 24 hours before you can hang anything off the post. For large jobs (50+ posts) calculate by volume: a 10-inch round, 24-inch deep hole holds about 0.45 cubic feet, which is roughly one 50-lb bag.

Fence picket spacing and quantity

How you space pickets depends on fence style.

  • Privacy fence — pickets butt tight against each other. If the wood is wet (as pressure-treated lumber usually is), leave a 1/8 inch gap so it doesn't buckle when it dries and shrinks.
  • Shadow box / board on board — alternating pickets on opposite sides of the rail, overlapping by about an inch. Looks the same from both sides.
  • Picket fence — 2.5 to 3 inches of gap between pickets. The gap should match the picket width for a balanced look (e.g., 3.5-inch picket with a 3-inch gap).
  • Spaced board — 1 to 2 inches of gap. Gives privacy without total enclosure, common in modern designs.

Quantity formula: total fence length in inches ÷ (picket width + gap) = number of pickets. A 100-ft fence with 5.5-inch pickets butted tight needs 100 × 12 ÷ 5.5 = 218 pickets.

What size lumber should I use for rails?

Rails take all the lateral load from wind and impacts and transfer it to the posts. Underspec the rails and the fence sags or pulls apart at the joints. Use 2x4 rails for fences up to 8 feet between posts. For longer spans or heavy 6-foot privacy panels, step up to 2x6 to prevent mid-span deflection. Number of rails depends on fence height: two rails (top and bottom) for fences under 5 feet; three rails (top, middle, bottom) for 6 feet and up. The middle rail is what keeps tall pickets from cupping or twisting over time.

Ordering extra materials

Always pad your order. Boards split when you nail them, knots blow out under fasteners, miters waste material, and rough lumber sometimes shows up warped past saving. Standard waste factors:

  • Pickets: order 10% extra. 15% if you're cutting decorative tops.
  • Rails: order 5% extra unless your spans are odd lengths that force a lot of cuts.
  • Posts: order exact for straight runs. Add one or two extra for jobs with corners or angles.
  • Concrete: order 10% extra. Rookie holes always come out a bit oversized.
  • Fasteners: never run short — buy a full extra box for any job over 100 ft.

Returning unused lumber costs you 15 minutes. Driving back to the lumber yard mid-job costs you a half-day of crew labor. Always pad up.

Permits and property lines

Most cities require a permit for fences over 6 feet. Some require one for any fence at all. Front-yard fences usually have a height cap of 4 feet under most municipal codes; backyards can go to 6 feet without variance, occasionally 8 with one. Always pull the permit before you dig — getting caught means tearing the fence down. Just as critical: get a property line survey or pull the official plat. Building a fence even 6 inches over the line gives you two bad outcomes: an angry neighbor or a forced removal at your expense.

Common Questions

How long does it take to build a fence?

A two person crew can install about 100 to 150 feet of wood fence per day. A typical backyard fence of 200 linear feet takes 2 to 3 days including setting posts and letting concrete cure overnight.

Do I need a permit to build a fence?

Most cities and counties require a permit for fences over 6 feet tall. Some require permits for any fence. Call your local building department before you start digging. Getting caught without a permit means tearing it down.

What is the cheapest fence to build?

Chain link is the cheapest at $5 to $10 per linear foot installed. For wood, a basic pine picket fence is the most affordable. Pressure treated pine privacy fence runs about $15 to $25 per linear foot.

How long does a wood fence last?

A pressure treated wood fence lasts 15 to 20 years. Cedar goes 15 to 25 years. Untreated pine rots in 5 to 7 years. Staining or sealing every few years adds life to any wood fence.

How many bags of concrete per fence post?

Plan on one 50-lb bag of fast-set concrete for a standard 4x4 post in a 10-inch hole. For 6x6 posts, gate posts, and corner posts that take more load, use two bags. Always order 10% extra in case a hole comes out a bit oversized.

How deep should fence posts be?

Set posts at least one-third of their above-ground height into the ground. For a 6-ft fence with posts that stick up 6 feet, dig 2-foot holes and use 8-foot posts. Frost-prone regions need to go below the frost line — typically 3 to 4 feet in the northern US.

How far apart should fence posts be?

Standard spacing is 8 feet on center for most wood fences. Drop to 6 feet for heavy privacy panels, windy sites, or areas with weak soil. Chain link uses 10 feet. Closer spacing means a stronger fence and slightly more cost.

What size lumber for fence rails?

Use 2x4 rails for most wood fences up to 8 feet between posts. For longer spans or heavier privacy panels, step up to 2x6 rails to prevent sag. Plan on three rails for fences 6 feet and taller — top, middle, and bottom.

Should fence pickets touch or have a gap?

Privacy fences usually butt the pickets tight together, but green pickets shrink as they dry, so leave a 1/8-inch gap if the wood is wet. For traditional picket fences, space pickets 2.5 to 3 inches apart for a classic look.

How much extra fence material should I order?

Order 10% extra on pickets and rails. Boards split, knots blow out, and miters waste material. For posts, order exact unless the layout has angles — running back to the lumber yard for one picket costs more than buying a few extras up front.

Built for fence contractors.

See how a website helps fence contractors close more residential jobs.

Want a website that wins more jobs?

TrueBlueGrowth builds professional contractor websites that convert visitors into leads.

Request a Free Demo