Fence Calculator: How Many Panels, Posts & Pickets Do I Need?

Enter your fence length and gate details to get the exact materials to buy — panels, posts, pickets, rails, concrete and cost, in feet or metres.

Weathered wooden picket fence with a closed gate in a garden

Quick answer

A 50 ft fence with one 4 ft gate needs about 106 pickets, 10 posts and 16 rails. Subtract the gate width from the total length, divide by the picket width plus gap for pickets, divide by the post spacing for sections, add one post per section, then add 10% waste.

Results update live as you type. Assumes one straight run — for corners, run the calculator once per side and add the totals. Concrete assumes one 50 lb (23 kg) bag per post.

Your fence estimate

106 pickets

46 ft of fencing after gates · exact 96.0 pickets

Posts needed
10
Sections / panels
8
Rails needed
16
Estimated cost
$596.00

How we calculated it

How the fence calculator works

First we subtract the gate openings from the total length to get the length of fencing you actually build. Dividing that by the post spacing gives the number of sections (panels), and the posts are one more than the sections, plus an extra post for each gate. Dividing the fencing length by the picket width plus its gap gives the picket count, then we add your waste allowance and round up.

Fencing length = Total length − Gates × Gate width
Sections = Fencing length ÷ Post spacing (rounded up)
Posts = Sections + 1 + Gates
Pickets = Fencing length ÷ (Picket width + Gap) × (1 + Waste)

In metric, standard panels are 1.8 m wide and pickets are usually 140 mm with a 6 mm gap. Rails are counted per section — two rails suit most fences up to 5 ft (1.5 m) tall, three rails for taller privacy fences. Concrete is estimated at one 50 lb (23 kg) bag per post.

Worked example

A 50 ft fence with one 4 ft gate, 6 ft post spacing, 5.5 in pickets, a 1/4 in gap, 2 rails per section and 10% waste: 50 − 4 = 46 ft of fencing → 46 ÷ 6 = 8 sections, 10 posts → 552 in ÷ 5.75 in = 96 pickets → 96 × 1.10 = 106 pickets to buy, plus 16 rails and 10 bags of concrete — $596 at $3 per picket, $15 per post and $8 per rail.

White picket fence with red and yellow tulips in a planter

Tips for buying fence materials

Measure each straight run separately — corners share a post, so running the calculator per side and adding the totals avoids double-counting. Buy pickets from the same batch so the colour and thickness match, and keep a few spares from the waste allowance for future repairs. If you are buying ready-made panels instead of pickets, the sections count is your panel count — just check the panel width matches your post spacing.

Fence calculator FAQs

How many fence panels do I need for a 50 ft fence?

A 50 ft fence with one 4 ft gate needs 8 panels if you use standard 6 ft panels: 50 minus 4 leaves 46 ft of fencing, and 46 divided by 6 is 7.7, rounded up to 8 sections. You also need 10 posts — one more than the number of sections, plus an extra post for the gate.

How many pickets do I need for a 50 ft fence?

A 50 ft fence with one 4 ft gate needs about 106 pickets if you use 5.5-inch pickets with a 1/4-inch gap and 10% waste. The exact count is 96 pickets across the 46 ft of fencing; the waste allowance covers cuts, knots and spares.

How far apart should fence posts be?

Standard fence panels are 6 ft wide, so posts every 6 ft is the most common spacing. You can stretch to 8 ft for light picket fences, but the fence will flex more and sag sooner. For tall privacy fences or windy spots, stick to 6 ft spacing.

How many bags of concrete do I need per fence post?

Allow one 50 lb (23 kg) bag of fast-setting concrete per post for a standard post hole. A 50 ft fence with 10 posts needs about 10 bags. Deep holes in soft soil can take two bags per post, so buy one or two spare bags.

How much waste should I add when buying fence pickets?

Add 10% waste for a standard straight fence — it covers offcuts, split ends and the odd warped picket. Raise it to 15% if the fence has lots of corners, slopes or angled cuts, or if you want matching spares for future repairs.

How much does a 50 ft fence cost?

The pickets, posts and rails for a 50 ft fence cost about $596 at $3 per picket, $15 per post and $8 per rail (106 pickets, 10 posts, 16 rails). A full DIY build typically runs $900–$2,500 once you add concrete, gate hardware, screws and stain. Enter your own prices in the calculator for your estimate.