Fence Calculator

Your fence

  1. Type of fence

    Boards side by side with no gaps, nailed or screwed to rails between 4 × 4 posts. A 6 ft fence has 3 rails in every section.

  2. Measure the fence

    Run

    Measure each straight run along the ground. Add a run for each side, and choose “Join end to end” if the runs meet at corners.

    • Wood and vinyl about 8 ft
    • Chain link line posts up to 10 ft
  3. Posts

    Posts go 24 in into the ground: a third of 6 ft above ground.

    Quikrete: bury a third to a half of the height above ground, on 6 in of gravel; go to half for gate posts and windy sites.

  4. Holes

    Quikrete: a hole about 3 times as wide as the post, 6 in of gravel in the bottom, and concrete up to 3–4 in below the ground, topped with soil.

  5. Concrete

    Poured dry into the hole around the post, then soaked with about 1 gallon (3.8 L) of water a bag. It sets in 20–40 minutes, with no mixing.

  6. Prices (optional)

    Enter your pricesUsing example prices

    The defaults are example prices from 2026 store listings. Enter what your store charges.

Your fence needs about

$1,372
estimated materials cost
14
posts
Fence to build (gates taken off)
96 ft
Pickets
231
Rails
40
Bags of 50 lb fast-setting
34
Gravel, 0.5 cu ft bags
9 bags

96 ft: 12 sections of 8 ft

Materials list
  • Posts, 4 × 4 wood (3½ in)14 posts$150

    8 ft long: 6 ft above ground and 24 in in the ground.

  • Rails, 2 × 4 × 8 ft40 rails$159

    3 rows of rail along 96 ft of fence, with 10% extra for cuts.

  • Pickets, 5/8 × 5½ in × 6 ft, dog-ear231 boards$480

    Boards 5.5 in wide, edge to edge, 6 ft tall, with 10% extra.

  • Nails or screws1 box$12

    About one box for every 100 ft of fence; a rough allowance.

  • Gates1 gate$75

    Walk gate, 4 ft wide, with hinges and latch.

  • Fast-setting concrete, 50 lb34 bags$442

    For 14 posts, about 2.4 bags a post, with 10% extra.

  • All-purpose gravel9 bags$54

    6 in in the bottom of each hole, so water drains away from the post.

Total, fence, concrete and gravel$1,372
Per foot of fence$14 a foot
Per post$98 a post

Using example prices. Open “Enter your prices” to use your own.

Find fence and lumber suppliers near you to compare prices.

Open the full fence calculator, with drawings, tables and a guide · Free calculators by PileMath