Excavation Volume Calculator
Free excavation volume calculator for trenches, pits, and graded areas. Enter size, slope, and soil type for cubic yards, swell factor, and truck loads.
Last updated:
Rectangular for straight-walled trenches. Trapezoidal for excavations with sloped banks.
For circular holes, this is the diameter. For trenches, it is the total run.
Width at ground level. For trapezoidal, the bottom width is calculated from slope.
Excavation depth from existing grade to bottom.
Swell factor: how much bigger soil becomes when dug up vs. in the ground.
For estimation only. Structural work requires review by a licensed engineer. Local building codes take precedence over any calculator output.
How This Is Calculated
Rectangular: V = L × W × D. Trapezoidal: V = ((Wtop + Wbottom)/2 × D) × L, Wbottom = Wtop - 2D for 1:1 slopes; if Wtop < 2D the slopes cannot fit and the calculator reports the failure instead of a volume. Circular: V = pi/4 × D² × depth. Convert cu ft to cu yd (÷27). Loose volume = bank volume × swell factor. Truck loads = loose cu yd / 10.
Source: Earthwork volume geometry from standard prismoidal and average-end-area methods. Swell factors: Caterpillar Performance Handbook, Edition 50 (Ring Power dealer copy), Weight of Materials table, load factors by material with swell = 1 / load factor - 1 (sand and gravel 12.4%, earth 23.5 to 25%, clay 22 to 25%, rock 33 to 70% by type); WSDOT Geotechnical Design Manual M 46-03, Chapter 10, Table 10-1 (from the Alaska DOT Geotechnical Procedures Manual, 1983) prints 5% for sand and sandy gravel and 40 to 72% for rock. The four shipped factors (12 / 25 / 35 / 50%) hold under the rulings of 2026-09-02 (SF20-A6) and 2026-09-03 (SF20-A8) as the conservative haulage side of a loose-volume estimate. Side slopes 1:1 for the trapezoidal shape per OSHA 29 CFR 1926 Subpart P, Appendix B, Table B-1 (Type B). Shrinkage per WSDOT Table 10-1 and West Virginia DOH Design Directive 406, opened inside the Ohio DOT Portsmouth Bypass earthwork-factors project record (GE-65 technical memo). Truck capacity (10 cu yd) and payload (about 40,000 lb): our own estimate, no published source opened. Correction of 2026-09-12 (SF22-HHC-F1 E6, seat-ruled 2026-09-07): the Caterpillar Performance Handbook Edition 50, read in full from a second dealer copy (Wheeler Machinery, 7,349,120 B; the Ring Power copy served only its first 16 KB on every attempt), prints a percent-indexed swell / voids / load-factor table (p. 27-1: 25 percent = 0.800, 35 percent = 0.741, 50 percent = 0.667) with no material names, and a weight-of-materials table (p. 10-9) with no load-factor column; the per-material load factors this page attributed to it are not in the opened edition. The four swell factors and the on-page material rows stay as this site's own figures; the handbook confirms the 12 to 50 percent band and the identity swell = 1 / load factor - 1, WSDOT, FHWA Table 6-12 and West Virginia DOH Design Directive 406 bracket each class, and the mapping of the four soil classes onto those percentages is this site's own. Geometry: the average-end-area and prismoidal methods are stated by the Wyoming DOT Survey Manual (Appendix F) and the Michigan DOT end-area workflow; the trapezoid check (top width under twice the depth = the 1:1 slopes cannot fit, no volume reported) replaced a silent 0.5 ft floor on the bottom width on 2026-09-12.
- Caterpillar Performance Handbook
- Caterpillar Performance Handbook, Edition 50 (Wheeler CAT dealer copy; swell, voids and load factors p. 27-1, weight of materials p. 10-9)
- WSDOT Geotechnical Design Manual, Chapter 10 Soil Cut Design (Table 10-1 shrink/swell factors)
- OSHA 29 CFR 1926 Subpart P, Appendix B (Table B-1 maximum allowable slopes)
8 min read
The Formula
Accurate volume estimation starts with correct field measurements. Excavation shapes in the real world are rarely perfect textbook geometries, so the goal is to approximate the actual shape with the closest standard geometry and then add a reasonable contingency.
Identify the excavation shape. Trenches with vertical walls (shored or narrow) are rectangular prisms. Open excavations with sloped banks are trapezoidal prisms. Pier holes and tank pits are cylinders. Irregular shapes should be broken into sections, each calculated separately and summed.
Measure the top dimensions at ground level. For sloped excavations, the top is always wider than the bottom because the slopes extend outward. Measure the intended top dimensions after any over-excavation for working room. A foundation trench that needs 3 feet of working space at the bottom will be 3 + (2 × depth × slope ratio) feet wide at the top. For concrete footing projects, add at least 6 inches of working room on each side of the footing form.
Measure or calculate the bottom dimensions. For rectangular (vertical-walled) excavations, top and bottom are the same width. For trapezoidal shapes, the bottom width = top width - (2 × depth × slope ratio). A 1:1 slope (45 degrees) means 1 foot of horizontal run per foot of vertical depth. If the top width is less than twice the depth, 1:1 slopes cannot fit at all: the calculator reports that failure and no volume, so widen the top or reduce the depth (until 2026-09-12 it silently assumed a 0.5 ft bottom and reported a volume anyway). OSHA requires minimum 1.5:1 slopes for most soil types in unshored trenches deeper than 5 feet.
Measure the depth from existing grade to the bottom of the excavation. If the grade varies across the site, measure at multiple points and use the average — or break the excavation into sections of uniform depth.
Add contingency for uneven bottoms and over-excavation. Real excavations rarely hit the exact target depth uniformly. Add 10-15% to the calculated volume for the bucket-tooth gouges, over-digs, and uneven bottoms that occur in practice.

Real-World Scenarios
Soil in the ground (bank condition) is compacted by the weight of the overburden above. Once excavated, the soil loosens and expands — this expansion is the swell factor. Swell factors govern hauling estimates because the truck carries loose soil, not bank soil. The rows below carry bank and loose densities in pounds per cubic foot and a swell column computed as 1 / load factor minus 1, the Caterpillar Performance Handbook's own identity. They are this site's own figures: Edition 50 as opened in full on 2026-09-06 (a Wheeler CAT dealer copy) prints a percent-indexed swell and load-factor table (p. 27-1: 25% = 0.800, 35% = 0.741, 50% = 0.667) with no material names, and a weight-of-materials table (p. 10-9: clay wet 3,500 bank and 2,500 loose lb per cubic yard, earth wet 3,750 and 2,400, sand and gravel wet 3,100 and 2,800) with no load-factor column, so no row below is a figure the opened edition prints by material, and the mapping of this calculator's four soil classes onto swell percentages is this site's own. The sandy-gravel row is the WSDOT Geotechnical Design Manual, Chapter 10, Table 10-1 (from the Alaska DOT Geotechnical Procedures Manual, 1983), which prints 5% swell for sand and sandy gravel against Cat's 12.4%. The calculator's four swell factors (12 / 25 / 35 / 50%) stay where they are: the seat rulings of 2026-09-02 and 2026-09-03 kept them as the conservative haulage side (over-estimating loose volume orders one truck too many, never one too few); clay at 35% sits above Cat's 22 to 25%.
| Material (source row) | Swell | Bank Density (lb/cu ft) | Loose Density (lb/cu ft) |
|---|---|---|---|
| Sand, dry loose (Cat) | 12.4% | 100.0 | 88.9 |
| Sand and gravel, dry (Cat) | 12.4% | 120.4 | 107.4 |
| Sandy gravel (WSDOT Table 10-1) | 5% | 131 | 124 |
| Earth, dry packed (Cat) | 25% | 118.5 | 94.4 |
| Earth, loam (Cat) | 23.5% | 96.3 | 77.8 |
| Clay, natural bed (Cat) | 22% | 125.9 | 103.7 |
| Clay, dry (Cat) | 23.5% | 114.8 | 92.6 |
| Clay, wet (Cat) | 25% | 129.6 | 103.7 |
| Shale (Cat) | 33.3% | 103.7 | 77.8 |
| Basalt (Cat) | 49.3% | 185.2 | 122.2 |
| Granite, broken (Cat) | 63.9% | 170.4 | 103.7 |
| Sandstone (Cat) | 66.7% | 157.4 | 94.4 |
| Limestone, broken (Cat) | 69.5% | 163.0 | 96.3 |
To convert from bank volume to loose volume: multiply by the swell factor. To convert from loose volume back to compacted volume (for fill estimation): divide by the compaction factor, 0.75 to 0.95 depending on the material, with fine-grained soils lower (WSDOT Table 10-1: sand 0.89, sandy gravel 0.93, silt 0.83, loess 0.75; West Virginia DOH Design Directive 406: soil 15% shrinkage, so 0.85). When backfilling with gravel instead of native soil, figure out how much aggregate you need before the trucks arrive. A common estimating error is calculating the hole volume and ordering that many truck loads: the actual loose volume is 5 to 70% higher by material in the rows above, so the last few trucks get turned away because the disposal budget ran out.
Weight matters for hauling too. At Cat's 103.7 lb per cubic foot for loose wet clay, 10 cubic yards (270 cu ft) weighs about 28,000 lb; loose basalt at 122.2 lb per cubic foot weighs about 33,000 lb, and heavier hauls burn more fuel and accelerate truck wear. The 10-cubic-yard truck capacity this calculator uses, and the roughly 40,000 lb payload limit quoted for a standard dump truck: This is our own estimate; no published source backs these figures. Check your results against your product data or a licensed professional before acting.
What to Watch For
Soil exists in three measurement states in earthwork calculations. Mixing them up is the most common error in excavation estimating and leads to either over-ordering or under-ordering trucks, fill material, or disposal capacity.
Bank cubic yards (BCY) is the volume of soil in its natural, undisturbed state in the ground. This is what you measure when calculating the hole size. A trench that is 3 ft wide, 4 ft deep, and 80 ft long contains 35.6 BCY of soil that needs to be removed.
Loose cubic yards (LCY) is the volume after excavation. The soil expands because the mechanical action of digging breaks the compacted structure, introducing air voids between particles. LCY = BCY × swell factor. The 35.6 BCY of common earth becomes 44.4 LCY after digging — 25% more volume that needs hauling.
Compacted cubic yards (CCY) is the volume after soil is placed and compacted in a new location (fill). Compacted soil is denser than bank soil because the compaction equipment (roller, plate compactor) squeezes out more air than the natural overburden achieved. CCY = BCY × shrinkage factor (0.75-0.95 by material, fine-grained soils lower per WSDOT Table 10-1). If you need 100 CCY of fill, you must excavate 105-133 BCY of borrow material to account for both the compaction gain and the handling losses.
The practical implication: excavation contracts should specify which unit the price is based on. A price of $8 per cubic yard in bank measure produces a different total than $8 per cubic yard in loose measure for the same hole. Clarify the measurement basis before signing a contract. For post-excavation foundation work, the pier-footing sizer for posts handles concrete footing dimensions and volumes.
Equipment Selection and Production Rates
The right equipment for an excavation depends on the hole size, depth, access, and soil conditions. Matching equipment to the job keeps costs down and timelines on track.
Hand digging is economical only for holes under 2 cubic yards (about 54 cubic feet). A strong worker with a shovel moves 0.5-1.0 cubic yards per hour in loose soil. A fence post hole 12 inches in diameter and 36 inches deep is about 0.09 cubic yards — reasonable by hand with a post hole digger. The fence post depth tool sets the right depth for your soil and frost line. Twenty such holes (1.8 cu yd total) is a hard day's work. Anything beyond that justifies a machine.
Mini excavators (1-3 ton) handle residential trenches, shed foundation site prep, and small excavations. They fit through 36-inch gates, work in backyards, and dig to 8-10 feet deep. Rental cost: $250-$400 per day. A skilled operator moves 15-25 cubic yards per hour in common earth. A 36-cubic-yard foundation trench takes about 2 hours of digging plus loading time.
Standard excavators (8-20 ton) handle basement digs, pool excavations, and large earthwork. They need a clear access path for delivery (flatbed trailer, 10+ foot width) and a flat staging area. Rental with operator: $150-$250 per hour. A 20-ton excavator moves 50-100 cubic yards per hour, making it 3-5 times more productive than a mini excavator per hour of run time.
Dump trucks complete the hauling cycle. A standard tandem-axle dump truck carries 10-12 cubic yards of loose material. For short hauls (under 5 miles), one truck can cycle back fast enough to keep up with a mini excavator. For longer hauls or larger machines, two or three trucks maintain continuous production.
OSHA Trench Safety: When Shoring Is Required
Trenching is among the most hazardous activities in construction. A cubic yard of soil weighs 2,000-3,000 lbs, and a trench collapse can bury and kill a worker in seconds. OSHA 29 CFR 1926 Subpart P sets strict requirements for trench safety.
Any trench deeper than 5 feet requires a protective system: sloping, benching, shoring, or a trench box. The only exception is trenches in stable rock. The choice of system depends on soil classification (Type A, B, or C, determined by a competent person on site) and the trench depth.
Type A soil (cohesive, unconfined compressive strength ≥1.5 tsf) — the firmest soil classification — allows vertical walls to 4 feet and 3/4:1 slopes to 20 feet. Type C soil (granular, loose, or submerged) requires 1.5:1 slopes (run = 1.5 × depth) or equivalent shoring. Most residential soil in practice is Type B or C, requiring slopes of at least 1:1.
Trench boxes (shields) allow vertical walls inside the box, reducing the excavation width. A typical aluminium trench box is 8 feet wide, 4-12 feet tall, and slides along the trench as work progresses. Rental: $100-$300 per day. The box does not prevent the trench from collapsing — it provides a safe zone inside the box where workers are protected if the walls cave in outside the shield.
Daily inspection by a competent person is required before workers enter any trench. The competent person (usually the site superintendent) checks for cracks in the walls, water seepage, undermining, and changes in soil conditions. After rain, the trench must be re-inspected because water weakens soil cohesion and dramatically increases collapse risk. Never enter a trench that has standing water, visible wall cracks, or overhanging banks unless proper shoring is in place.
Worked Examples
Example 1
Scenario: A contractor is digging an 80-foot foundation trench, 3 feet wide and 4 feet deep, through common earth (loam).
Calculation: Bank volume = 80 × 3 × 4 = 960 cu ft = 960/27 = 35.56 cu yd. Swell factor for common earth = 1.25. Loose volume = 35.56 × 1.25 = 44.44 cu yd. Truck loads = ⌈44.44/10⌉ = 5 loads. Disposal = 5 × $60 = $300.
What this means: The trench produces nearly 36 bank cubic yards of soil, which swells to over 44 cubic yards once loosened. Five dump truck loads at 10 cu yd each haul it away. The 25% swell factor means you need 25% more hauling capacity than the hole volume suggests — a common estimating mistake that leads to extra truck trips.
Takeaway: Always calculate in loose cubic yards (LCY) for hauling estimates, not bank cubic yards (BCY). The soil in the ground is compacted; once dug up, it expands by 12-50% depending on soil type. Ignoring swell underestimates truck loads and disposal costs on every earthwork project.
Example 2
Scenario: A homeowner is excavating a pool pit measuring 32 feet long, 28 feet wide at the top with 1:1 sloped sides, 6 feet deep, in common earth.
Calculation: Bottom width = 28 - (2 × 6) = 16 ft. Cross-sectional area = ((28 + 16)/2) × 6 = 132 sq ft. Bank volume = 132 × 32 = 4,224 cu ft = 156.44 cu yd. Loose volume = 156.44 × 1.25 = 195.56 cu yd. Truck loads = ⌈195.56/10⌉ = 20 loads. Disposal = 20 × $60 = $1,200.
What this means: A residential pool excavation produces about 156 bank cubic yards of soil — requiring 20 dump truck trips to haul away. At $60 per load, the disposal alone costs $1,200. The excavation itself (machine time + operator) adds $3,000-$6,000 for a dig this size. Spoil that can be reused on site as fill or grading material eliminates the hauling cost entirely.
Takeaway: Pool and basement excavations generate more soil than most homeowners expect. Plan where the spoil will go before digging starts — on-site reuse for landscaping or grading is the cheapest option. If hauling off-site, confirm the disposal site accepts your soil type (contaminated soil or heavy clay may be rejected).
Frequently Asked Questions
- How many cubic yards of dirt are in a 10×10×4 foot hole?
A 10 × 10 × 4 foot hole contains 400 cubic feet of bank soil, which equals 400/27 = 14.81 cubic yards. After excavation, the soil swells to 18.5 loose cubic yards in common earth (×1.25 swell factor) or 20.0 loose cubic yards in clay (×1.35). You would need 2 standard dump truck loads (10 cu yd each) to haul away the loose soil. Always calculate hauling in loose cubic yards — the bank volume underestimates the truck loads needed. If the hole is for a foundation, size strip footings for the work that goes into the excavated space.
- What is a swell factor in excavation?
The swell factor is the ratio of loose soil volume to bank (in-ground) soil volume. Soil expands when dug up because the digging process breaks the compacted structure and introduces air between particles. This calculator uses sand and gravel 12%, common earth 25%, clay 35%, and rock 50% (the Caterpillar table spans 33 to 70% by rock type, shale to limestone). To find loose volume: multiply bank volume by the swell factor. A 100 cubic yard bank excavation in clay produces 135 loose cubic yards that need hauling — 35% more trucks than the hole volume alone suggests. The same soil properties affect fence post burial depth — sandy soils that swell less also provide less lateral support for posts.
- How much does it cost to excavate a basement?
A typical basement excavation (30 × 40 feet, 8 feet deep) produces 120-160 bank cubic yards. Machine excavation costs $5-$15 per bank cubic yard ($600-$2,400 for the digging). Hauling runs $40-$80 per load for 15-22 truckloads ($600-$1,760). Total excavation and hauling: $1,200-$4,160. Add $500-$1,500 for site access preparation, grading the bottom, and compacting the base. Prices as of March 2026 vary widely by region, access difficulty, and soil conditions. Once the hole is ready, the rebar-and-mesh sizing tool covers steel for the basement walls and slab. For driveway pads that need subbase excavation, the driveway cost tool includes gravel subbase in its budget.
- How deep can you dig without shoring a trench?
OSHA allows trenches up to 5 feet deep without a protective system in soil that shows no signs of instability (no cracks, no water, no previously disturbed soil). Below 5 feet, a protective system (sloping, benching, shoring, or trench box) is required in all soil types. Even above 5 feet, a competent person must evaluate the soil and may require protection if conditions warrant it. In practice, many contractors use shoring or sloping on any trench over 4 feet as a safety margin. For shallow pier holes rather than trenches, a pier-hole sizing tool provides diameter and depth requirements.
- How many dump truck loads for 50 cubic yards of dirt?
If 50 cubic yards is the bank volume, you need to account for swell first: 50 × 1.25 (common earth) = 62.5 loose cubic yards. A standard tandem dump truck carries 10-12 loose cubic yards per load. At 10 cu yd per load: ceil(62.5/10) = 7 loads. At 12 cu yd per load: ceil(62.5/12) = 6 loads. Budget for 6-7 truck loads. If the 50 cubic yards is already in loose measure (already dug), you need 5-6 loads without the swell calculation. If the excavation is for a septic system, the septic cost calculator rolls excavation into the total project budget alongside tank, drain field, and permits.
More Materials calculators
Browse all materials calculators — Paint coverage, roofing bundles, tile adhesive, welding time, parking lot sizing, and more.