Skip to content

Hole Volume Calculator - Round & Rectangular Holes

Calculate excavation volumes for cylindrical and rectangular holes. Free calculator for post holes, foundations, and trenches with formulas and examples.

Hole Volume Calculator

Hole Shape
Enter values to see results

Formula: V = π × r² × h

Loading calculator...
📚

Documentation

What is a hole volume calculator?

A hole volume calculator finds how much material fills, or must be dug out of, a cylindrical or rectangular hole. It multiplies the hole's dimensions using standard geometry formulas. The result helps with ordering concrete, renting a dumpster, or estimating how much soil a job will produce.

How to use this calculator

Pick the hole shape, then pick a unit of length: meters, centimeters, feet, or inches. Enter every dimension in that same unit. The calculator does not convert between units. It reads the numbers in the unit shown on each field and reports the volume in the matching cubic unit, rounded to two decimal places. Meters give cubic meters, inches give cubic inches, and so on.

A cylindrical hole needs a radius and a depth. A rectangular hole needs a length, a width, and a depth. Every dimension must be greater than zero; a zero or negative entry produces a prompt for a positive value instead of a result. The diagram beside the fields labels only the dimensions that have been entered.

How to calculate the volume of a cylindrical hole

A cylindrical hole, such as a post hole or a well, is shaped like a short tube. Its volume comes from the formula for a cylinder:

V=π×r2×hV = \pi \times r^2 \times h

  • VV is the volume
  • π\pi is approximately 3.14159
  • rr is the radius, the distance from the center of the hole to its edge
  • hh is the depth of the hole

Most people measure across the top of a hole, which gives the diameter, not the radius. The radius is half the diameter. A hole measured at 12 inches across has a 6-inch radius. The calculator asks for the radius, so halve the measurement first. Written with the diameter (DD) instead, the formula becomes:

V=π×D24×hV = \pi \times \frac{D^2}{4} \times h

How to calculate the volume of a rectangular hole

A rectangular hole, such as a foundation trench or a pool excavation, uses a simpler formula:

V=l×w×dV = l \times w \times d

  • ll is length
  • ww is width
  • dd is depth

Real excavations rarely have perfectly straight walls. Building codes often require sloped sides on deep trenches for safety, so the actual dug volume can exceed this simple calculation. The OSHA excavation standard sets slope requirements for trenches over 5 feet deep in the United States.

Worked example

Cylindrical hole: fence post

A fence needs 20 post holes, each 30 cm across (15 cm radius) and 60 cm deep.

With centimeters selected, radius 15 and depth 60 give:

V=π×152×60=42,411.5 cm3V = \pi \times 15^2 \times 60 = 42{,}411.5 \text{ cm}^3

That is 0.0424 cubic meters per hole. For 20 holes the total is about 0.85 cubic meters of soil, roughly 1.1 cubic yards.

Rectangular hole: shed foundation

A shed base needs a gravel bed 2.5 m long, 2 m wide, and 0.4 m deep.

V=2.5×2×0.4=2 m3V = 2.5 \times 2 \times 0.4 = 2 \text{ m}^3

That is about 2.6 cubic yards of gravel.

Rectangular hole: irrigation trench

A 500-foot irrigation trench is dug 12 inches (1 foot) wide and 18 inches (1.5 feet) deep.

V=500×1×1.5=750 ft3V = 500 \times 1 \times 1.5 = 750 \text{ ft}^3

Dividing by 27 (cubic feet per cubic yard) gives about 28 cubic yards of soil.

Cylindrical hole: tree planting

A tree with a 24-inch root ball needs a hole roughly 48 to 60 inches across and about 24 inches deep. With inches selected, the calculator reports cubic inches:

  • 48 inches across (24-inch radius), 24 inches deep: π×242×24≈43,429 in3\pi \times 24^2 \times 24 \approx 43{,}429 \text{ in}^3, about 0.71 cubic meters
  • 60 inches across (30-inch radius), 24 inches deep: π×302×24≈67,858 in3\pi \times 30^2 \times 24 \approx 67{,}858 \text{ in}^3, about 1.11 cubic meters

A mid-sized hole, 54 inches across, holds about 54,965 cubic inches, close to 0.9 cubic meters of soil.

Converting between volume units

The calculator reports one unit: the cube of the unit chosen for the inputs. Converting the answer to another unit is a separate step, done with the factors below.

FromToMultiply by
Cubic meters (m³)Cubic centimeters (cm³)1,000,000
Cubic meters (m³)Cubic feet (ft³)35.3147
Cubic meters (m³)Cubic inches (in³)61,023.7
Cubic feet (ft³)Cubic meters (m³)0.0283168
Cubic feet (ft³)Cubic inches (in³)1,728
Cubic inches (in³)Cubic centimeters (cm³)16.3871
Cubic yards (yd³)Cubic meters (m³)0.764555
Cubic yards (yd³)Cubic feet (ft³)27

How to measure a hole accurately

For a cylindrical hole, measure the diameter across the widest point, then halve it to get the radius. Drop a tape measure straight down for the depth. For a tapered hole, measuring the narrowest point suits concrete estimates, since concrete fills every part; measuring the widest point suits soil removal, since it accounts for all the dug material.

For a rectangular hole, measure length and width at the top, and take several depth readings if the bottom is uneven, then average them. Keep every measurement in the same unit before calculating.

Where hole volume calculations are used

Foundation footings and utility trenches for water, gas, and electrical lines need a volume estimate to plan concrete or backfill. Pool excavations for an average in-ground pool remove tens of cubic yards of soil. In landscaping, tree and shrub planting holes, pond digs, and French drains all rely on the same two formulas. In agriculture, vineyard and orchard posts add up fast: a 5-acre vineyard with roughly 2,000 posts, each an 8-inch-diameter, 30-inch-deep hole, requires digging out around 50 cubic meters of earth in total.

Excavated soil also expands once it is dug up, typically by 20 to 40 percent depending on soil type, so the amount to be hauled away is usually larger than the volume of the hole itself.

A short history

The formula for a cylinder's volume was described by the Greek mathematician Archimedes around 250 BCE, and it is still the formula used today. The Rhind Mathematical Papyrus, an Egyptian document from around 1650 BCE, shows volume calculations used for grain storage, evidence that this kind of math has supported construction and farming for thousands of years.

Frequently asked questions

What is the formula for the volume of a cylindrical hole? V=π×r2×hV = \pi \times r^2 \times h, where rr is the radius and hh is the depth. If only the diameter is known, divide it by 2 to get the radius first.

What is the formula for the volume of a rectangular hole? V=l×w×dV = l \times w \times d: length times width times depth.

What is the difference between radius and diameter? The diameter is the distance across a circle through its center. The radius is half of that, measured from the center to the edge. A 12-inch diameter hole has a 6-inch radius.

How much more soil comes out of a hole than the hole's volume? Dug soil loosens and expands, usually by 20 to 40 percent, depending on the soil type. A 2 cubic meter hole can produce 2.4 to 2.8 cubic meters of loose soil.

How do I convert cubic meters to cubic feet or cubic yards? Multiply cubic meters by 35.3147 for cubic feet, or by 1.30795 for cubic yards. The calculator does not do this step: it reports the volume in the cube of the unit entered.

What if the hole is not a perfect cylinder or rectangle? Break the shape into simpler sections and calculate each one separately, then add the results. A tapered hole is often estimated by averaging the top and bottom diameters and treating it as a cylinder.