BuildHowMuch

Home / Deck & Yard / Fence Calculator

Fence calculator · posts, pickets & concrete

Fence Calculator: Posts, Rails, Pickets and Cost

Enter the length and style of your fence to get every post, rail and picket, the concrete and gravel for each post hole, and what the materials will cost.

Fence style

Wood pickets on 2×4 rails between 4×4 posts.

Layout

Each corner or gate side adds one post. Gates themselves are not included.

Posts and waste

10%

Recommended: 10% extra lumber (Inch Calculator's guidance) for split, warped or knotted boards and miscuts. Posts and concrete are counted exactly.

Your fence materials list

—

Estimated materials cost

—

—

Shopping list

Store sizes, rounded up

    Cost estimate

    Average prices — change to your local price

    Fence elevation

    The first sections of your fence, to scale.

    Prices collected September 17, 2026Post holes: QUIKRETE and Sakrete post-setting guides · Rails and waste: Inch Calculator · Prices: Home Depot, Fence Authority, Split Rail Fence Store, County Line FenceSources

    6 ft privacy fence materials by length

    Posts 8 ft apart, three 2×4 rails per section, 5½ in pickets with no gap, 10% extra rails and pickets, 50 lb concrete bags in 10½ × 24 in holes.

    Privacy fence materials by length
    Fence lengthPostsRailsPickets50 lb bags
    50 ft82412232
    100 ft144324156
    150 ft206336180
    200 ft2683481104
    300 ft39126721156

    How the fence calculator works

    Sections = length ÷ post spacing, rounded up
    Posts = sections + 1 + corners and gate sides
    Rails = sections × rails per section (1 per 24 in of height) + extra %
    Pickets = length (in) ÷ (picket width + gap), + extra %
    Concrete per post = (π × (hole ÷ 2)² − post²) × depth

    Example

    A 100 ft, 6 ft privacy fence with posts 8 ft apart has 13 sections and 14 posts, 43 rails with 10% extra, and 241 pickets.

    Posts, holes and concrete

    QUIKRETE and Sakrete both size a post hole at about three times the post's width — 10½ in for a 4×4, whose actual size is 3½ in — with gravel in the bottom for drainage. Sakrete sets the depth at about a third of the above-ground height, so a 6 ft fence needs holes about 2 ft deep and 8 ft posts. The calculator subtracts the post from the hole volume, adds 10% and rounds up to whole bags; it also counts 0.5 cu ft bags of gravel for a 6 in base under each post.

    What's not included

    Gates and gate hardware, post caps, fasteners, stain and tools are not counted. Check property lines, HOA rules and local fence height limits, and call 811 before you dig. To compare with hiring a pro, see fence cost per linear foot.

    Frequently asked questions

    How many fence posts do I need?

    Divide the fence length by the post spacing, round up to get the number of sections, and add one post. A 100 ft fence with posts 8 ft apart has 13 sections and 14 posts. Add an extra post for every corner and on both sides of each gate.

    How many pickets do I need for a 100 ft privacy fence?

    With 5½ in wide pickets butted together, 1,200 in ÷ 5.5 = 218.2, so 219 pickets; with 10% extra for splits and bad boards, buy 241. If you leave a gap between pickets, divide by the picket width plus the gap instead.

    How many bags of concrete per fence post?

    For a 4×4 post in a hole three times its width (10½ in) and 2 ft deep, the concrete around the post is about 1.03 cubic feet — 4 bags of 50 lb mix or 2 bags of 80 lb mix with 10% extra. Sakrete's own guide says about two bags of its Fast Setting Concrete per hole for a standard 6 ft fence; the difference comes down to hole size, so measure yours.

    How deep should fence posts be?

    Sakrete recommends a hole about one third of the post's above-ground height — about 2 ft for a 6 ft fence — and 4–6 in of gravel in the bottom. QUIKRETE's rule is one third of the total post length plus 6 in for gravel, and at least 6 in below the frost line. Local codes and frost depth can require more.

    How many rails does a fence need?

    A common rule is one rail for every 24 in of fence height, so a 6 ft privacy fence gets three rails and a 4 ft picket fence gets two. Split rail fences typically use two or three rails set into mortised posts.

    Sources

    Prices are national shelf prices and cost-guide ranges read on September 17, 2026. The calculator uses the typical price (the median of the shelf prices we saw) and shows the low–high range; type your own local price to update the total.

    All sources for this page (23)

    Coverage, yield and building specs

    Prices

    Estimates for planning purposes only, not professional construction advice. Check local building codes and your product's instructions before you build. Prices are national averages collected from public retail listings and cost guides and will differ in your area. BuildHowMuch is independent and not affiliated with, endorsed by or paid by any retailer or manufacturer mentioned on this page. Nothing you enter is stored or sent anywhere.

    Related calculators