Key numbers
- Bank volume = length × width × depth (ft) ÷ 27 = yd³ in the ground
- Loose volume = bank × (1 + swell %); haul and truck counts use loose yards
- Reported swell (Auburn Univ., 2013): clay 30–50%, sand 3–45%, rocky or gravelly soil 5–40%
- OSHA 1926.652: workers in an excavation 5 ft (1.52 m) or deeper need a cave-in protective system unless it is entirely in stable rock
- Metric: a 6 × 3 × 1 m dig is 18 m³ bank, 18.54–26.1 m³ loose in sand
On this page
- How to use the Excavation Calculator
- How do you calculate excavation volume?
- What is the swell factor of soil?
- How many truckloads of dirt will I have?
- What about sloped sides and uneven ground?
- Is it safe to dig a trench this deep?
- Excavation volume in metric
- Bank, loose and compacted: how they fit together
- Common excavation estimating mistakes
- Frequently asked questions
How to use the Excavation Calculator
- 1Enter your numbersFill in length (ft), width (ft), depth (ft), soil type (swell range), your swell % (soil report or contractor) (%) or your truck body capacity (yd³).
- 2Check the assumptionsBank volume = length × width × depth. Loose volume = bank × (1 + swell %). Swell ranges are those reported for state highway earthwork by Crooks (2013, Auburn University thesis): clay 30–50%, sand 3–45%, rocky or gravelly soil 5–40%. A soil report or your excavator's figure wins: type it in. Truck capacity is an example; use your hauler's loose yd³ and weight limits.
- 3Read the resultsThe calculator shows loose volume to haul (up to 50% swell), loose volume, metric, bank (in-place) volume, loose range for this soil or truckloads at 10.0 yd³, updated as you type.
- 4Use the resultRound up to what your supplier sells, and keep a little extra for waste.
Results update as you type. Back to the calculator ↑

How do you calculate excavation volume?
Measure the hole, multiply length × width × depth, and you have the bank volume: the soil as it sits in the ground. Then multiply by 1 plus the swell percentage to get the loose volume that the excavator loads into trucks. The calculator does both and counts truckloads.
Bank volume (yd³) = length (ft) × width (ft) × depth (ft) ÷ 27
Loose volume (yd³) = bank volume × (1 + swell % ÷ 100)
Truckloads = loose volume ÷ truck capacity (loose yd³), rounded up
Bank, loose and compacted are the three states earthwork estimators track. Soil in the ground is dense. Digging breaks it up and lets air in, so the same soil takes more room in the bucket and the truck bed. Rolling it back into a trench squeezes it down again. The thesis we use for swell ranges (Crooks, Auburn University, 2013) notes that the factors depend on moisture content, density and soil type, which is why one number never fits every site.
Worked example: 20 × 10 ft pit, 3 ft deep, clay
- Bank volume: 20 × 10 × 3 = 600 ft³ ÷ 27 = 22.22 yd³ (16.99 m³)
- Clay swell range: 30–50%
- Loose volume: 22.22 × 1.30 = 28.89 yd³ up to 22.22 × 1.50 = 33.33 yd³ (22.09–25.49 m³)
- Truck carrying 10 loose yd³: 28.89 ÷ 10 = 2.9, so 3 loads; 33.33 ÷ 10 = 3.3, so 4 loads
Book four loads and you are covered at the top of the range. If your soil report or excavator gives a single swell figure, type it into the calculator and the range collapses to one answer.
For a round hole, use π × (diameter ÷ 2)² × depth instead of length × width. A 4 ft wide hole 4 ft deep is 50.27 ft³, or 1.86 bank yd³, and 2.42–2.79 loose yd³ in clay.
What is the swell factor of soil?
Swell is the percentage by which soil grows when it is dug. The only published ranges we could verify from a university or government source come from a 2013 Auburn University master’s thesis that compared state highway earthwork methods in the southeastern US. Its conclusions give these ranges:
| Soil type | Swell range (%) | Loose yd³ per 1 bank yd³ | Loose yd³ per 10 bank yd³ |
|---|---|---|---|
| Clay | 30–50 | 1.30–1.50 | 13.0–15.0 |
| Sand | 3–45 | 1.03–1.45 | 10.3–14.5 |
| Rocky or gravelly soil | 5–40 | 1.05–1.40 | 10.5–14.0 |
Source: Crooks (2013), Auburn University, summary of findings. Loose-per-bank columns computed from the percentages.
The ranges are wide, and the thesis says why. It found that most southeastern state DOTs do not publish a guide to typical shrink and swell factors, and that the materials and test engineers assign factors to each project from soil tests. It also found the definition of rock has a large effect on earthwork numbers. So treat the table as a planning bracket. On a real job, the geotechnical report, the DOT plans or your excavator’s experience with local soil gives a better single number.
Which end of the range to plan for? For hauling, the high end is the safe side. One extra truck is cheaper than a crew waiting for a truck that was never booked. That is why the calculator’s headline number uses the top of the range unless you enter your own swell.
How many truckloads of dirt will I have?
Divide the loose volume by what your truck carries, then round up. The table below runs common residential digs through the clay range (30–50%) with a truck carrying 10 loose yd³. Change the truck size in the calculator to match your hauler.
| Dig (L × W × depth) | Bank yd³ | Bank m³ | Loose yd³ at 30% | Loose yd³ at 50% | Loads at 10 yd³ |
|---|---|---|---|---|---|
| Footing trench 40 ft × 2 ft × 2 ft | 5.93 | 4.53 | 7.70 | 8.89 | 1 |
| Footing trench 100 ft × 16 in × 2 ft | 9.88 | 7.55 | 12.84 | 14.81 | 2 |
| Patio 12 × 12 ft × 8 in | 3.56 | 2.72 | 4.62 | 5.33 | 1 |
| Pond 10 × 15 ft × 3 ft | 16.67 | 12.74 | 21.67 | 25.00 | 3 |
| Driveway 12 × 40 ft × 12 in | 17.78 | 13.59 | 23.11 | 26.67 | 3 |
| Pool 16 × 32 ft × 5 ft average | 94.81 | 72.49 | 123.26 | 142.22 | 13–15 |
| Basement 30 × 40 ft × 8 ft | 355.56 | 271.84 | 462.22 | 533.33 | 47–54 |
Truck size changes the count more than anything else. The same basement at the 50% end needs 107 loads at 5 yd³, 54 at 10 yd³, 39 at 14 yd³ and 27 at 20 yd³. Ask your hauler two questions: how many loose yards the body holds, and what weight the truck is allowed to carry. Wet clay is heavy, and a truck can hit its legal weight before the bed is full.
The “10 yd³” truck in these examples is a round number for illustration, not a standard size. Use the capacity your hauler quotes.
What about sloped sides and uneven ground?
Real holes are rarely perfect boxes. For a pit with sloped sides, average the top and bottom areas and multiply by the depth. This is the average-end-area method, a quick approximation that earthwork estimators use. A pit 20 × 10 ft at the top and 14 × 4 ft at the bottom, 3 ft deep, works out to (200 + 56) ÷ 2 × 3 = 384 ft³, or 14.22 bank yd³. A straight-sided box with the top dimensions would have said 22.22 yd³, so the box estimate over-orders trucks by more than half.
For ground that slopes across the site, take depth readings at a grid of points (every 5 or 10 ft), average them, and use that average depth. For a pool or a pond with a deep end, use the average depth too.
Over-dig adds up
Footings and foundations are usually dug wider than the concrete so the crew has room to set forms and work. Measure the hole you will actually dig, not the footing on the drawing. The concrete footing calculator gives the concrete; this page gives the dirt.
Is it safe to dig a trench this deep?
Depth changes the rules, not just the volume. OSHA’s excavation standard (29 CFR 1926 Subpart P) sets these points for work sites in the US:
- 5 ft (1.52 m) and deeper: each worker in the excavation must be protected from cave-ins by a protective system (sloping, benching, shoring or a shield) unless the excavation is entirely in stable rock (1926.652(a)(1)).
- Less than 5 ft: a protective system is still required unless a competent person examines the ground and finds no indication of a potential cave-in.
- 4 ft (1.22 m) and deeper: trenches need a stairway, ladder, ramp or other safe way out, placed so no worker travels more than 25 ft (7.62 m) laterally to reach it (1926.651(c)(2)).
- Spoil piles: excavated material must be kept at least 2 ft (0.61 m) from the edge, or held back by retaining devices (1926.651(j)(2)). Plan where the loose soil from this calculator will sit.
- Utilities: the estimated location of sewer, telephone, fuel, electric, water and other underground lines must be determined before the excavation is opened (1926.651(b)(1)). In the US, call 811 before you dig.
OSHA rules apply to employers, but the soil does not care who is in the trench. A homeowner digging a footing trench in soft or wet ground faces the same cave-in risk. If your dig is deep or the walls look unstable, hire an excavation contractor.
Excavation volume in metric
The method is the same in metres: length × width × depth gives bank m³, then multiply by 1 + swell %.
Worked example: 6 × 3 m pit, 1 m deep, sand
- Bank volume: 6 × 3 × 1 = 18 m³ (23.54 yd³)
- Sand swell range: 3–45%
- Loose volume: 18 × 1.03 = 18.54 m³ up to 18 × 1.45 = 26.1 m³ (34.14 yd³)
- Truck carrying 10 loose yd³ (7.65 m³): 3–4 loads
1 yd³ = 0.7645549 m³ (NIST SP 811), so a 10 yd³ body holds about 7.65 m³. The calculator takes feet; for metric dimensions, multiply metres by 3.2808 or read the m³ lines in the results.
Bank, loose and compacted: how they fit together
Swell and compaction are opposite steps. Digging takes soil from bank to loose (it grows). Placing and rolling it takes it from loose to compacted (it shrinks again, often below the bank volume). The same Auburn thesis reported shrink ranges of 10–18% for clays, 11–35% for sands and 5–22% for rocky, gravelly soils, measured against bank volume.
This matters if you plan to reuse your own dirt. Spoil from a footing trench will not refill the trench once the concrete takes up space, and spoil from a pool dig can cover a lot of yard when spread loose. If you are buying soil in, the fill dirt calculator handles the compaction side. If you are hauling it out, use the loose number from this page.
Common excavation estimating mistakes
- Ordering trucks on bank yards. A truck carries loose soil. A 22 yd³ hole can fill 33 yd³ of truck beds.
- Using one swell number for every soil. Clay and sand behave differently, and even one soil type varies with moisture.
- Ignoring over-dig. Working room around forms and sloped walls change the volume. Measure the hole, not the drawing.
- Forgetting truck weight limits. Wet clay can max out a truck’s weight before its volume.
- Leaving no room for spoil. Piles must stay at least 2 ft back from the edge, and loose soil takes more space than you expect.
- Skipping the utility locate. Find buried lines before you open the ground.
All results are planning estimates. A soil report, your excavator’s swell figure and your hauler’s truck capacity give better numbers for your site.
FAQ
Frequently asked questions
How do you calculate excavation volume?
Multiply length × width × depth in feet to get cubic feet, then divide by 27 for cubic yards. That is the bank volume, the soil as it sits in the ground. A 20 × 10 × 3 ft hole is 600 ft³, or 22.22 bank yd³ (16.99 m³).
What is the swell factor of soil?
It is how much soil grows when it is dug and loosened. A 2013 Auburn University study of state highway earthwork reported swell of 30–50% for clays, 3–45% for sands and 5–40% for rocky, gravelly soils. One bank yard of clay becomes 1.3–1.5 loose yards.
How many truckloads of dirt come out of a basement?
A 30 × 40 × 8 ft basement dig is 355.56 bank yd³. In clay at 30–50% swell that is 462.22–533.33 loose yd³: 47–54 loads in a truck carrying 10 loose yd³, or 27 loads at 20 yd³ for the high end.
How much dirt comes out of a footing trench?
A 100 ft trench 16 in wide and 2 ft deep is 9.88 bank yd³ (7.55 m³). In clay it loosens to 12.84–14.81 yd³. A 40 ft trench 2 × 2 ft is 5.93 bank yd³ and 7.7–8.89 loose yd³, one 10 yd³ load.
How much dirt comes out of a pool excavation?
A 16 × 32 ft hole averaging 5 ft deep is 94.81 bank yd³ (72.49 m³). With clay's 30–50% swell that is 123.26–142.22 loose yd³, or 13–15 loads of 10 yd³. Use the pool's average depth, not the deep end.
What is the difference between bank, loose and compacted yards?
Bank yards are soil in the ground, loose yards are the same soil after digging (bigger), and compacted yards are after rolling it back in place (usually smaller than loose). Haulers price loose yards; plans and contracts usually measure bank yards.
When does a trench need shoring or a trench box?
Under OSHA 29 CFR 1926.652, workers in an excavation 5 ft (1.52 m) or deeper need a protective system such as sloping, shoring or a shield, unless it is entirely in stable rock. Shallower digs need one too if a competent person sees signs of a cave-in.
How do you calculate excavation in cubic metres?
Multiply length × width × depth in metres. A 6 × 3 m pit 1 m deep is 18 m³ bank (23.54 yd³). In sand at 3–45% swell it becomes 18.54–26.1 m³ loose, which is 3–4 loads in a truck carrying 10 loose yd³ (7.65 m³).
5 Sources
- Crooks, A. (2013), Application of Shrinkage and Swelling Factors on State Highway Construction, M.S. thesis, Auburn University (swell ranges by soil type)
- eCFR, 29 CFR Part 1926 Subpart P: Excavations (OSHA 1926.650–1926.652)
- OSHA, 29 CFR 1926.651: Specific excavation requirements
- OSHA, 29 CFR 1926.652: Requirements for protective systems
- NIST SP 811, Appendix B.9 conversion factors
Last reviewed October 10, 2026 by M Bilal. Found an error? Tell us.