Field Service Cost Compare prices

Home/Calculators/Fence post calculator

Fence post calculator: posts and concrete per hole

You have a fence run in mind and need to know how many posts to set and how much concrete each hole will take before you buy materials. Fence post calculator. Nothing was tested for this page; the numbers come from the formula shown below and the inputs you enter.

CalculatorBuilt 27 November 2026Example inputs, not industry averages

Straight length of fence.
Default 8 feet.
Your planned hole size.
Your planned hole depth.
Actual width of one side of the post.
Check the bag label; yield differs by bag size and product.

Posts needed

—

Concrete per hole, cubic feet
—
Concrete for all holes, cubic feet
—
Bags
—

An estimate from the formula below and the numbers you typed. Check quantities against your plan and your supplier before you order.

Put it into a job estimate

You enter the run length, post spacing, hole diameter, hole depth, post size and concrete yield per bag. You get the number of posts, the concrete volume per hole and the bags to buy.

The automatic calculation needs JavaScript. With scripting off, the fields above do nothing and the result area stays empty. The formula is written out below, so you can do the same arithmetic on paper.

Fence post calculator: how to measure

  1. Measure the total run length in feet along the fence line, from the first post to the last.
  2. Divide the run by your planned post spacing to see the number of sections. Spacing is set by your fence plan and local rules.
  3. Dig and measure one hole: record the diameter and depth in inches. Measure the post side in inches.
  4. Check the yield per bag in cubic feet on the bag label, since yield differs by bag size and product.

Fence post calculator formula, written out

  • sections = run length / post spacing, rounded up; posts = sections + 1
  • hole volume = 3.14159 x (hole diameter / 2) squared x depth
  • post volume in the hole = post size squared x depth
  • concrete per hole = (hole volume - post volume) / 1,728
  • bags = concrete for all holes / yield per bag, rounded up

Fence post calculator worked example

With the inputs already in the form (run length 100, post spacing 8, hole diameter 10, hole depth 30, post size 4, yield per bag 0.6) the result is: posts needed: 14; concrete per hole, cubic feet: 1.086; concrete for all holes, cubic feet: 15.20; bags: 26.

  1. Sections = 100 / 8, rounded up = 13, posts = sections + 1 = 14
  2. Hole = 3.14159 x (10 / 2)^2 x 30 = 2,356.2 cubic inches
  3. Post in the hole = 4 x 4 x 30 = 480.0 cubic inches
  4. Concrete per hole = (2,356.2 - 480.0) / 1,728 = 1.086 cubic feet
  5. Total = 1.086 x 14 = 15.20 cubic feet
  6. Bags = 15.20 / 0.6, rounded up = 26

For rails, pickets and a subtotal, use the fence material and cost calculator. To square a corner, use the right triangle calculator for square corners.

What the fence post calculator assumes

  • Post spacing default is 8 ft. Change it to match your plan.
  • Posts count is sections plus one, so the calculator adds a post at the start and end of the run.
  • Hole depth and post size come from you. This page does not apply frost depth or hole depth rules.
  • The post has to fit inside the hole. Its diagonal is the post size times 1.414, so the hole must be wider than that.

Fence post calculator questions people ask

How many posts does a run need?

Divide the run length by the post spacing and round up to get the sections. Add one for the end post. A 100 ft run at 8 ft spacing gives 13 sections, so 14 posts.

How is the concrete per hole worked out?

The calculator finds the hole volume, subtracts the volume of post sitting in the hole, and converts to cubic feet. Divide the total by the yield on the bag label and round up.

Will the post fit in the hole?

Check the diagonal of the post first. A square post of a given size has a diagonal of that size times 1.414, and the hole has to be wider than that for the post to sit inside.

What does this calculator leave out?

Gates, corners, a gravel base and frost depth rules are not included. Hole depth rules vary by area, so check local rules and your fence plan, then adjust the numbers you enter.

This calculator belongs to the framing and roofing calculators. To price the whole job, not just this part, use the job costing calculator and the pricing guide below.

How this site makes money. Affiliate links on this site are marked before you click them, and a commission will never change a price, a test result or a ranking. Details in the affiliate disclosure.