Free job estimators

Fence Post Depth Calculator

Work out how deep to dig fence and deck posts below the frost line, the post length needed and the concrete to fill the holes, for your local frost depth.

Used to format prices in the quote, profit, change order and travel calculators.
Posts & Footings

Fence Post Depth Calculator

Work out the dig depth, the post length and the concrete for fence and deck posts, using the frost depth for your area.

Hole depth is your local frost depth plus the margin below it. Concrete is the cylinder formula — π × radius² × depth — times the number of posts, divided by the bag yield.

Planning estimate only. Frost depth, post embedment, footing size and drainage are set by your local code and vary by jurisdiction. Confirm the required depth with your building department before you dig; this is not a structural design.

More free contractor calculators

Paint calculatorConcrete calculatorFence calculatorDeck calculatorRoofing calculatorMulch calculatorQuote calculatorProfit calculatorChange Order calculatorTravel Fee calculatorHourly Rate calculatorJob Hours calculatorMowing calculatorWashing calculatorSnow calculatorCleaning calculatorFence Fix calculatorAssembly calculatorHandyman calculatorMoving calculator

What frost depth decides

Water in the ground expands when it freezes, and that expansion lifts whatever sits in it. A post set above the frost line is pushed up a little each winter and settles unevenly each spring, which is how a fence goes out of line and a deck step starts to move. Setting the base of the post below the frost line puts it in soil that never freezes, so the post stays where it was put.

The frost depth is a property of the location, not of the post. It depends on how cold the winters are, how long the cold lasts and what the soil is made of: clay holds water and moves more, sand and gravel drain and move less. That is why the same fence specification can be correct in one county and wrong in the next.

Where the number comes from

There is no single national number, and we do not publish one, because a wrong figure here becomes a failed footing rather than a rounding error. In the United States, the residential code ties minimum footing depth to the air freezing index, the accumulated measure of how cold a winter is, and every local jurisdiction adopts, amends or replaces that rule. Your building department is the authority for the depth that applies where you are digging.

Ask them for two things: the required footing depth and whether they require an inspection of the holes before the concrete goes in. The second answer changes the schedule of the job far more than the first.

Depth, diameter and drainage

Depth is the number that stops the heave; diameter is the number that carries the load and holds the post upright. A hole roughly three times the post width, or about ten to twelve inches for a four by four, is a common starting point, but a loaded deck post or a gate post carries far more than they look like they do, and those are the ones to check with an engineer rather than a rule of thumb.

Drainage matters as much as depth. A hole that fills with water rots the post from the bottom up regardless of how deep it is. A few inches of gravel at the base, concrete crowned above the surrounding ground so water runs away, and ground that slopes away from the post will outlast a deeper hole in a wet spot.

Concrete is a cylinder

A post hole is a cylinder, so the volume is π × radius² × depth. With inches that is diameter² × 0.7854 × depth divided by 1,728 for cubic feet, which is why the calculator asks for the hole diameter rather than the post size: a twelve inch hole around a four inch post uses over three cubic feet at four feet deep.

Bag yields vary by product — an eighty pound bag of concrete mix is usually around 0.6 cubic feet, a sixty pound bag around 0.45 — so the yield is an input rather than an assumption. Round the bag count up: being short of concrete with the holes dug is a worse problem than one spare bag, and a spare bag is cheap.

Worked example

Worked example: twenty 4x4 fence posts, 36 in frost depth

Inputs: Frost depth 36 in (90 cm). Additional depth below the frost line 12 in (30 cm). Post height above ground 4 ft (1.2 m). Hole diameter 12 in (300 mm). Twenty posts. Bag yield 0.6 cu ft.

  1. Hole depth = 36 + 12 = 48 in (4 ft).
  2. Post length = 4 ft above ground + 4 ft in the ground = 8 ft.
  3. Radius = 6 in = 0.5 ft; volume per hole = π × 0.5² × 4 = 3.14 cu ft.
  4. Twenty holes = 3.14 × 20 = 62.8 cu ft.
  5. Bags = 62.8 ÷ 0.6 = 104.7, rounded up to 105 bags.

Each post needs a four foot hole and an eight foot post, and each hole takes just over three cubic feet of concrete. Across twenty posts that is about 62.8 cubic feet, or 105 bags of an eighty pound mix — a good reason to price a ready-mix delivery for a run that long.

Common mistakes

Guessing the frost depth

Using a friend's number from a neighboring county, or last year's job, is how a fence ends up heaving. The figure comes from the local building department, not from a blog.

Digging the right depth and leaving water in it

A deep hole in a wet spot still rots the post. Gravel at the base, concrete crowned above grade and ground that drains away are part of the detail, not extras.

Sizing the hole from the post

A four inch post in a four and a half inch hole has almost no concrete around it. The hole diameter does the work, and it is usually far bigger than the post.

Units and conversions

Inches and centimetres are used for frost depth, the margin below it and the hole diameter; feet and metres for the post height. Concrete volume is shown in cubic feet in the US and cubic metres elsewhere, and the bag yield field takes cubic feet or litres to match the bag you are actually buying.

Data sources and calculation logic

  • International Code Council — The residential code ties minimum footing depth to the air freezing index; local amendments govern and your building department is the authority.

Guide reviewed 2026-10-24. The formulas above are the formulas the calculator runs; the "how this is calculated" note on the calculator states the same steps in short form. Every formula, source and exclusion is listed on the methodology page.

Frequently asked questions

How deep should fence posts be?

Deep enough to sit below the frost line with the margin your local code requires. In cold climates that often means four feet or more, which is why an eight foot post is common for a four foot fence.

Is two feet deep enough?

Only where the frost depth is shallow. Two feet in a climate with a three foot frost depth leaves the base in soil that freezes, and the post will move.

How many bags of concrete per post?

For a twelve inch hole four feet deep, about 3.14 cubic feet, which is roughly six eighty pound bags at 0.6 cubic feet each. A deeper or wider hole takes proportionally more.

Should there be gravel in the hole?

A few inches at the base helps drainage and keeps the post from sitting in water. It does not replace depth: it sits on top of the bottom of the hole, not instead of it.

Does this calculator design my footing?

No. It converts a depth your code supplies into a dig depth, a post length and a concrete quantity. Load-bearing posts, gates, deck ledgers and anything on a slope need a proper design.

All results are planning estimates. Verify measurements, product coverage, job costs, applicable tax and local requirements before ordering materials or sending a formal quote. Paint starts at 350 sq ft per gallon, within Sherwin-Williams' typical 350–400 sq ft range. Roofing starts at 3 bundles per square; GAF notes products vary, so check the exact package.