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
Volume Result
Formula: V = π × r² × h
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 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:
- is the volume
- is approximately 3.14159
- is the radius, the distance from the center of the hole to its edge
- 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. Using diameter () directly, the formula becomes:
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:
- is length
- is width
- 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 examples
Cylindrical hole: fence post
A fence needs 20 post holes, each 30 cm across (15 cm radius) and 60 cm deep.
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.
That is about 2.6 cubic yards of soil to remove.
Rectangular hole: irrigation trench
A 500-foot irrigation trench is dug 12 inches (1 ft) wide and 18 inches (1.5 ft) deep.
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. Using the low end (48-inch diameter, 24-inch radius) the volume is about 0.71 cubic meters. Using the high end (60-inch diameter, 30-inch radius) it is about 1.11 cubic meters. A mid-sized hole, around 54 inches across, holds close to 0.9 cubic meters of soil.
Converting between volume units
| From | To | Multiply 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? , where is the radius and 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? : 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 above can also convert automatically.
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.