Fence calculator

Draw the fence line and set the height, spacing, and gates. You get every post, rail, board, and bag of mix on one list.

1Measure the line

Units

Line 1

200 ft long

Walk the edge. Measure each side, then say which way you turn at the corner.

  1. Side 1ftin
  2. Side 2ftin
  3. Side 3ftin

2Details

Fence heightftin
Post spacingftinCenter to center. Rails come in 8 ft lengths.
inA 1x6 board is 5 1/2 in wide.
Gate widthftin
inBlank uses QUIKRETE’s rule: 3 times the post width.
inBlank uses QUIKRETE’s rule: half the height above ground, plus 6 in of gravel.

Supply list

Posts

29 posts

200 ft of fence, 27 sections, 428 boards.

Fence length
200 ft
Sections
27
Hole
10.5 in by 42 in
Post length
9 ft (buy 10 ft)

Your list

Everything this job needs
Posts, 4x410 ft long. 2 corner, 2 end, 2 gate, 23 line.29 posts
Rails (2x4)3 per section, 8 ft long.81 rails
Boards5.5 in wide, 6 ft long.428 boards
Gate kits (hinges and latch)4 ft openings.1 kit
Fast-setting concrete mix for 29 posts44.9 cu ft (1.66 cu yd)120 bags of 50 lb
Gravel for the hole bottoms (6 in each)8.7 cu ft (0.32 cu yd)15 bags of 60 lb (0.6 cu ft)
  • Line posts are spaced evenly so no gap is wider than your spacing. Each corner and end gets its own post. Each gate adds about one post.
  • Concrete per hole: 1.55 cu ft, from the gravel to the top, minus the post.

Bags or bulk

Fast-setting concrete mix for 29 posts 44.9 cu ft

Buy asHow manyPriceCost
50 lb bag120 bags6,000 lbper bag-
60 lb bag100 bags6,000 lbper bag-
Ready-mix truck2 cu yddeliveredper cu yd-

Bags: 44.9 cu ft divided by 0.375 cu ft is 119.77 bags, so you buy 120. Always round bags up. Ready-mix: plants sell by the cubic yard. NRMCA says to avoid small clean-up loads, so order enough the first time.

Gravel for the hole bottoms (6 in each) 8.7 cu ft

Buy asHow manyPriceCost
60 lb bag (0.6 cu ft)15 bags900 lbper bag-
Bulk (loose)1/2 cu yd1,420 lb*per cu yd-

Bags: 8.7 cu ft divided by 0.6 cu ft is 14.53 bags, so you buy 15. Always round bags up. Bulk: rounded up to the next half cubic yard. Ask your yard what step it sells in.

* Weight is an estimate: volume times 2,840 lb per cu yd.

Car trips

11 trips

By weight: 11 (6,900 lb, 650 lb a trip after the people). By space: 2 (54 cu ft, 48.6 cu ft a trip).

Weight is the limit. Heavy loads hit the payload before the car looks full.

Trips for each vehicle class
VehicleTripsPayloadSpace
Sedan11850 lb13.1 cu ft
Small SUV11850 lb60.8 cu ft
Large SUV51,616 lb108.5 cu ft
Minivan91,050 lb101 cu ft
Compact pickup91,045 lb27 cu ft bed
Full-size pickup81,170 lb52.8 cu ft bed

Check the sticker on your driver's door jamb: "The combined weight of occupants and cargo should never exceed" a number. That number is your payload. Ours are conservative estimates, the lowest of the popular models we checked. Payload 850 lb: Honda CR-V (2025 owner’s manual). Cargo 29.8 cu ft behind the rear seat: Chevrolet Equinox (2025). 60.8 cu ft folded: Ford Escape hybrid (2025). Bags fill about 80% of the space. How we count trips

How to use it

  1. Measure the fence line. With Trace on map, tap each end and corner on the aerial photo. With Sketch by sides, type each side’s Length, then its Turn (Right or Left) and Degrees. Rectangle (all 4 sides) counts the whole perimeter.
  2. Map and sketch lines stay open, with a post at each end. Check Close the loop only if the fence goes all the way around. Use Add another line for a separate run.
  3. Set Fence height and Post spacing.
  4. Pick a Style: Privacy (boards touch) or Picket (gaps between). Set Board width, and Gap between boards for pickets.
  5. Set Rails per section, Gates, and Gate width.
  6. Pick a Post size. Leave Hole width and Hole depth blank to use QUIKRETE’s rules. Mix starts at Fast-setting mix.
  7. Read Your list, then Bags or bulk and Car trips.

Example: three sides of a back yard

The calculator opens with a fence of 50, 100, and 50 ft, with right turns of 90 degrees. The house closes the fourth side, so the line stays open. The fence is 6 ft tall, privacy style, with 8 ft post spacing, 3 rails per section, one 4 ft gate, and 4x4 posts.

The bags weigh 6,900 lb. A Small SUV with Rear seats folded and 200 lb of people takes 11 trips. The payload is a conservative estimate, so check the sticker on your driver’s door jamb. The trips count bags only, not lumber.

Change Style to Picket (gaps between) and Fence height to 4 ft, and the list drops to 294 pickets, 30 in holes, 8 ft posts, and 80 bags of mix.

How the math works

Each side is split into sections no longer than your spacing, so line posts land evenly. A 50 ft side at 8 ft is 6.25 spaces, so it gets 7 sections. Every corner and every end gets a post. Each gate adds one post to the count, and the posts on both sides of the opening are listed as gate posts.

Rails are the sections times Rails per section, in the shortest stock length that spans a section. Boards are the fence length minus the gates, divided by the board width plus any gap, rounded up.

Hole width is 3 times the post, from QUIKRETE’s Concrete Mix data sheet. Hole depth is half the post’s height above ground, from QUIKRETE’s Fast-Setting sheets, plus 6 in of gravel from QUIKRETE’s Setting Posts guide. Concrete fills each hole from the gravel to the top, minus the post. QUIKRETE’s sheet says a 50 lb bag of fast-setting mix makes about 0.375 cu ft. The tool adds up all the holes, then rounds up once.

Common mistakes

What the tool cannot know

It does not see slope, so a fence that steps down a hill may need more boards and posts. It does not know your frost depth, your local code, your HOA rules, or where your property line and buried lines run. Have buried lines marked before you dig. It does not count screws, nails, brackets, or stain, and the car trips leave out the lumber.

If your auger digs a different hole, type its size in Hole width. To figure concrete for posts alone, use the post hole concrete calculator. To trace the line first and see each edge, use trace area on map.

Updated December 2, 2026

Questions

How many fence posts do I need?

One at every corner, one at every end, and enough line posts that no gap is wider than your spacing, plus about one more per gate. Three sides of a yard at 50, 100, and 50 ft with 8 ft spacing and one gate need 29 posts.

How deep should fence post holes be?

QUIKRETE's fast-setting mix sheets say half the post's height above ground, and QUIKRETE's guide adds 6 in of gravel under the post. For a 6 ft fence, that is 36 in of post in the ground and a 42 in hole.

How wide should a fence post hole be?

QUIKRETE says about 3 times the post's width. A 4x4 post is 3.5 in square, so the hole is 10.5 in.

How many bags of concrete per fence post?

For a 4x4 in a 10.5 in hole 42 in deep with 6 in of gravel, the calculator figures 1.55 cu ft per hole. At about 0.375 cu ft per 50 lb bag of QUIKRETE fast-setting mix, that is a little over 4 bags.

Do gates change the board count?

Yes. The calculator takes each gate's width off the fence length before it counts boards or pickets, and adds a gate kit for each gate.