Fence Calculator

Enter your fence length and height to get the posts, rails, pickets and post-hole concrete you need, plus an estimated total cost. Measure in feet and inches, gates are handled separately, and the formula is shown so you can check the math.

Inputs

Enter your measurements

ft / in
ft / in
ft / in
Enter the required hole depth from the product instructions, frost line and local code. QUIKRETE starts from one-half of the post height above ground, so its starting value for a 6 ft fence is 3 ft.
%
Extra concrete for irregular holes and spillage. Set 0 when your measured hole volume already includes the allowance.
ft O.C.
Enter the maximum center-to-center spacing from the project layout or applicable design.
in
Enter the measured dressed width of the selected post.
in
Enter the excavated hole diameter specified for the post position and site.
in
Enter the measured face width of the selected picket.
in
Enter the clear gap used by the project layout; use 0 when the measured layout has no gap.
Enter the number of horizontal rails per section from the fence detail.
Each gate replaces the pickets and rails of one section (posts are unaffected).
$
$
$
$
Leave any price field at 0 to skip that part of the cost estimate.

This is an estimate, not professional advice. Check your inputs and verify the result against your plans and local building code before you build or order. See terms and disclaimer.

How this calculator works

Sections = ceil(Fence length ÷ Post spacing); Posts = Sections + 1Post length to buy = next even length ≥ (Fence height + entered buried depth)Pickets needed = Picket run(in) ÷ (Picket width + Gap)Rails = Sections × Rails per sectionConcrete per hole (ft³) = π × (Hole diameter ÷ 2 ÷ 12)² × Buried depth − (Post width ÷ 12)² × Buried depthConcrete with waste = Total concrete × (1 + entered waste% ÷ 100); bags = Concrete ÷ cited product yield

Enter your dimensions and the result updates instantly. A waste allowance is included so you order slightly over rather than running short.

Worked example

A 100 ft privacy fence, 6 ft tall, with 3 ft entered below grade, 8 ft post spacing and 4x4 posts in 10 in holes. Inputs: Fence length 100 ft, Fence height 6 ft, Post depth below grade 3 ft, Concrete waste allowance 10 %, Post spacing 8 ft O.C., Post size 3.5 in, Post hole diameter 10 in, Picket width 5.5 in, Gap between pickets 0 in, Rails per section 3, Number of gates 0. Result: 219 (about 36 × 80 lb bags).

Materials for common fence lengths

Calculated for a 6 ft privacy fence on 8 ft post spacing with 4x4 posts in 10 in holes. Tap a length to load it in the calculator above.

Fence lengthPosts neededPickets needed80 lb concrete bags
50 ft811021Use →
100 ft1421936Use →
150 ft2032851Use →
200 ft2643766Use →
300 ft3965599Use →

Method & assumptions

A fence run is divided into sections between posts: the number of sections is your fence length divided by the entered maximum post spacing, rounded up, and the post count is one more so both ends are represented. The calculator does not choose a structurally adequate spacing.

Post depth is an input because soil, frost and local requirements control it. The QUIKRETE concrete calculator starts from a hole depth equal to one-half of the post height above ground, then tells the user to check local codes and frost depth. Enter the applicable depth; for a 6 ft fence that starting value is 3 ft. Concrete per hole is a cylinder minus the post volume over the entered depth. Post stock is the height above ground plus that depth, rounded up to the next available even length.

We apply the concrete waste allowance entered by the user before converting to bags and round every bag count up because you cannot buy a fraction of a bag. Set the allowance to zero when the measured hole volume or supplier quantity already covers irregular excavation. Picket count comes from the total run of fence that still needs pickets (a gate opening removes that section's pickets and rails but keeps its two posts) divided by the picket width plus any gap between boards.

The cited QUIKRETE guidance tells users to check local requirements and frost depth. This takeoff therefore leaves depth editable and does not turn its starting ratio into a universal installation rule.

Pro tips and common mistakes

  • Check your local frost depth. QUIKRETE recommends a hole depth equal to half the exposed post height as general project guidance. In freezing climates the hole bottom also needs to sit below the local frost line, so confirm the locally required depth before ordering posts or concrete.
  • Use the specified post schedule. Enter line, end, corner and gate post sizes from the project details; this calculator applies one entered size to the run.
  • Measure each gate opening. The gate input removes whole fence sections. For openings with a different width, split the takeoff into runs or check the pickets and rails manually.
  • Match the concrete product. The bag outputs use the exact yields cited for QUIKRETE No. 1101. Recalculate from the label when another mix is selected.

Frequently asked questions

How many fence posts do I need for 100 feet?
At an entered maximum spacing of 8 ft, a 100 ft fence needs 13 sections and 14 posts, including both ends. At an entered 6 ft maximum, the same run gives 17 sections and 18 posts. Use the spacing specified for the project.
How much concrete do I need per fence post?
A 4x4 post in a 10 in hole buried 3 ft takes about 1.38 cubic feet before waste. With a 10% allowance that is about 1.52 cubic feet, or 3 bags when using the cited 0.60 cubic foot yield for an 80 lb bag. Enter the actual hole, post and product values.
How long should posts be for a 6 ft fence?
Add the required below-grade depth to the 6 ft exposed height. Using the QUIKRETE starting point of half the exposed height gives 3 ft below grade and 9 ft overall, so the next common even stock length is 10 ft. Confirm frost depth and local requirements.
How many pickets do I need for a 100 ft fence?
With the entered 5.5 in picket width and no gap, a 100 ft run needs about 219 pickets. Entering a 2 in gap changes the arithmetic to around 160.
How deep should fence post holes be?
QUIKRETE starts from one-half of the post height above ground and also requires checking local code and frost depth. Enter the controlling depth for the site instead of relying on a universal ratio.

Sources and references

These references and structured source records support the method and material data used on this page.

Related calculators

Related guides

Cite or embed this calculator

Using this in an article or on your own site? Copy a citation, or embed the live calculator for free.

CiteFence Calculator. Calcnaut. https://calcnaut.com/fence-calculator/
Embed<iframe src="https://calcnaut.com/fence-calculator/embed/" width="100%" height="640" loading="lazy" style="border:1px solid #e5e7eb;border-radius:14px" title="Fence Calculator"></iframe> <p style="font:13px/1.5 sans-serif;text-align:center;color:#555">Powered by <a href="https://calcnaut.com/fence-calculator/?utm_source=embed&utm_medium=referral&utm_campaign=calculator-embed" rel="nofollow">Calcnaut</a></p>