HardHatCalc

Excavation Volume Calculator

Find cubic yards with this excavation volume calculator for trenches, footings, and graded areas. Includes swell factor and truck load counts.

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.

How This Is Calculated

Rectangular: V = L × W × D. Trapezoidal: V = ((Wtop + Wbottom)/2 × D) × L, Wbottom = Wtop - 2D for 1:1 slopes. 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 reference Caterpillar Performance Handbook and USACE earthwork guidelines. Hauling capacity per US DOT vehicle weight limits.

6 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.

1. **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.

2. **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.

3. **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. OSHA requires minimum 1.5:1 slopes for most soil types in unshored trenches deeper than 5 feet.

4. **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.

5. **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 are essential for hauling estimates because the truck carries loose soil, not bank soil. Data from Caterpillar Performance Handbook, Edition 49.

| Soil Type | Swell Factor | Bank Density (lbs/cu ft) | Loose Density (lbs/cu ft) | |---|---|---|---| | Sand / Gravel | 1.12 (12%) | 100-120 | 90-105 | | Common Earth / Loam | 1.25 (25%) | 100-110 | 80-90 | | Clay | 1.35 (35%) | 110-130 | 80-95 | | Shale / Soft Rock | 1.50 (50%) | 130-160 | 85-105 | | Hard Rock (blasted) | 1.60-1.80 (60-80%) | 150-180 | 90-110 |

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 (typically 0.85-0.95 for well-compacted fill). A common estimating error is calculating the hole volume and ordering that many truck loads — the actual loose volume is 12-80% higher, resulting in the last few trucks being turned away because the disposal budget ran out.

Weight matters for hauling too. A standard 10-cubic-yard dump truck has a legal weight limit of approximately 40,000 lbs of payload (varies by state). At 90 lbs per cubic foot for loose clay, 10 cubic yards weighs 24,300 lbs — well within limits. But 10 cubic yards of loose shale at 105 lbs/cu ft weighs 28,350 lbs — still within limits, but heavier hauls burn more fuel and accelerate truck wear.

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 (typically 0.85-0.95). If you need 100 CCY of fill, you must excavate 105-118 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 size calculator](/calculators/structural/pier-footing-size-calculator) 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. 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, foundation work, 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 = ceil(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 = ceil(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.
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. Sand and gravel swell 12%, common earth 25%, clay 35%, and rock 50-80%. 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.
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.
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.
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.

Last updated:

Feedback