Every yard, by the numbers.
100% free tools About

YARD RULER / FENCE AND DECK POST CALCULATOR

Fence and Deck Post Calculator

Enter the hole size, the post size, and either a post count or a fence length and spacing. The calculator returns the number of posts to buy and how many 50, 60, or 80 pound bags of premix will fill the holes.

Free. No signup.

SET THE POSTS

Know how many posts, and how many bags.

Count a fence run, then turn hole size and post size into cubic feet and bags of premix. Works for deck footings too.

⌂ Calculated on your device

Defaults match a 48 foot privacy-fence run. Leave the height blank if you only need the bag count. All three bag sizes are shown; the size you pick is the one called out in the note.

—
posts
—
cu ft per hole
—
total cu ft
—
suggested post length
Bag sizeYieldBags to buy
50 lb0.375 cu ft—
60 lb0.45 cu ft—
80 lb0.60 cu ft—
POSTS FIRST

Count the run, then the bags.

A straight run is the length divided by the spacing, plus one, so both ends are covered.

HOLE MINUS POST

Only the concrete is counted.

The calculator subtracts the post and any gravel in the bottom, then rounds the job total up to whole bags.

FENCE OR DECK

Posts in the hole, or a solid pour.

Switch to solid footing when the post sits on top of the concrete instead of in it.

How post-hole concrete is calculated

A post hole is a cylinder. The volume in cubic feet is pi times the radius squared times the concrete depth, with the diameter and depth entered in inches and then divided by 1,728, the number of cubic inches in a cubic foot. If the post sits in the pour, the post volume for that same depth is subtracted. A 4x4 is 3.5 by 3.5 inches actual; a 6x6 is 5.5 by 5.5 inches actual. Any gravel in the bottom of the hole is not concrete, so it is taken off the hole depth first.

Bags of premix

A 50 pound bag of premix yields 0.375 cubic feet, a 60 pound bag yields 0.45 cubic feet, and an 80 pound bag yields 0.60 cubic feet. The calculator adds up the concrete for every hole, then divides by the yield and rounds the job total up to a whole bag. Rounding up per post, rather than once for the job, usually buys extra bags. Real holes are rarely perfect cylinders, so many people also add about 10 percent and return what they do not open.

Counting posts on a fence run

For one straight run, divide the length by the spacing and add one post so both ends are covered. A 48 foot run with posts 8 feet apart is 6 sections and 7 posts. If the length does not divide evenly, the calculator adds a section instead of stretching the last gap past your target spacing, because rails are often a fixed length. A 50 foot run at 8 feet on center is 7 sections and 8 posts, at about 7.14 feet on center. A corner shared by two runs should not be counted twice. A gate usually needs its own posts, often a larger size.

A worked example

A 48 foot run of 6 foot privacy fence, with 4x4 posts set 8 feet on center, uses 7 posts. Each hole is 10 inches across and 36 inches deep, with 6 inches of gravel in the bottom, leaving 30 inches of concrete around each post. The hole is 1.36 cubic feet and the post occupies 0.21 cubic feet, so each hole needs 1.15 cubic feet of concrete. For all 7 posts that is 8.06 cubic feet, which is 22 of the 50 pound bags, 18 of the 60 pound bags, or 14 of the 80 pound bags. A 6 foot fence with 30 inches of post in the concrete wants a post at least 8.5 feet long, so a 10 foot post is the usual buy.

How to use the fence and deck post calculator

  1. Choose whether the post sits in the concrete or the footing is poured solid.
  2. Enter the hole diameter and depth, and any gravel at the bottom.
  3. Pick a 4x4, a 6x6, or a round post size, unless you are pouring a solid footing.
  4. Enter how many posts you have, or the fence length and the spacing you want.
  5. Read the post count, the cubic feet of concrete, and the bag counts. Buy a little extra if your holes are rough.

This is a planning estimate. It does not replace local code, frost-depth rules, or the post size your fence or deck actually needs. Call 811 before you dig.

Fence and Deck Post Calculator FAQ

How many bags do I need for one 4x4 post?

It depends on the hole, not a single rule of thumb. A 4x4 in a 10 inch hole with 30 inches of concrete uses about 1.15 cu ft, which is 4 of the 50 lb bags, 3 of the 60 lb bags, or 2 of the 80 lb bags if you round that one hole up. Tight 8 inch holes use less; 12 inch holes use more. Use the calculator for your actual diameter and depth.

Do I subtract the post, and what about gravel?

Yes, subtract the post if it will occupy space in the pour. If you add a gravel drainage layer and stand the post on it, only the concrete depth is filled, and only that depth of post is subtracted. For a solid footing with no post in the hole, do not subtract a post.

How many posts do I need for a fence run?

For one straight run, divide the length by the spacing and add one. A 48 foot run with posts 8 feet apart needs 7 posts. If the length does not divide evenly, the calculator adds a section so the spacing stays at or under your target. Corners shared by two runs are one post, not two. Plan extra or larger posts for gates. This page does not count rails or pickets.

Will this work for deck footings, and how deep should I dig?

Use solid-footing mode for a full pour, or post-in-the-hole mode if the post is set in the concrete. Depth and diameter for a deck are often set by local code and the frost line, not by the calculator. Call 811 before you dig, and check your building department for footing size and depth.

Yard Ruler Free yard & landscape calculators
Calculated on your device. General-purpose planning estimates — not engineering, electrical, or professional advice.
☕ Buy Me a Coffee
Yard Ruler is made by Yard Socket LLC, the same folks behind Yard Socket. When we mention our own products, we’ll always say so.