Construction & Home

Excavation Calculator — Cubic Yards of Dirt & Truckloads to Haul

How many cubic yards of dirt to excavate and how many dump truck loads to haul

An excavation calculator answers the two questions that decide a dig job's price: how many cubic yards of dirt am I removing, and how many dump truck loads will it take to haul that dirt away? Get the first number wrong and your hole is too shallow or your spoil pile is bigger than the yard; get the second wrong and the hauling bill blows the budget. This tool does the volume math, applies a swell factor for loose soil, and always rounds up to whole truckloads — because a hauler charges for the trip whether the bed is full or not.

The starting point is bank volume — the dirt as it sits packed in the ground. It's the same length × width × depth math as any excavation, with every dimension in feet:

Bank volume (cu ft) = length × width × depth. A 20 ft × 20 ft pad dug 2 ft deep is 20 × 20 × 2 = 800 cubic feet.

Bank cubic yards = cubic feet ÷ 27. So 800 ÷ 27 = 29.63 cubic yards. That's how much of the earth you're taking out of the hole.

Here's the part topsoil and gravel calculators skip: dirt swells when you dig it. Packed earth breaks apart into clumps and air gaps the moment a bucket lifts it, so the loose pile you load into a truck takes up more room than the hole it came from. That expansion is the swell factor, and for typical soil it runs about 25%:

Loose volume = bank volume × (1 + swell% ÷ 100). 29.63 bank cu yd × 1.25 = 37.04 loose cubic yards of dirt to haul.

Now the trucks. A standard tandem dump truck carries roughly 12 cubic yards of loose soil, so:

Truckloads = round up (loose cu yd ÷ truck capacity). ceil(37.04 ÷ 12) = 4 loads.

This calculator owns the dirt-removal side of site work and is deliberately distinct from topsoil, gravel and sand calculators — those size up fill you're bringing in, and they don't swell. Here you're measuring spoil going out. Enter your length, width and depth, pick a swell factor for your soil type (sand and gravel swell less; heavy clay swells more), set the truck capacity your hauler runs, and the tool reports bank yards, loose yards and whole truckloads in one shot. Sandy soil might swell 10–15%; common loam sits near 25%; dense clay and rock can swell 30% or more, which is exactly why the loose pile always looks bigger than the hole.

easy ⏱ 5 Updated: 2026-06-19 ✍️ By Jeferson Bruno
📖 See also: How to Calculate a Tip (and Split the Bill)

Calculator

Fill in the fields and click "Calculate" for instant results.

Length of the excavation in feet.
Width of the excavation in feet.
Enter the dig depth in feet or inches — whichever you measured.
How deep you're digging, in the unit selected above.
How much soil expands when loosened. Sand/gravel ~12%, common soil ~25%, clay/rock ~35%.
Loose cubic yards per dump truck. Tandem ~12, single-axle ~8.
Enter a per-load haul price for an estimated hauling cost.
Result
Waiting for calculation
Fill in the fields and click "Calculate".
Transparency: below the form you'll find an explanation, formula, examples, tips, and FAQ (when available for this calculator).

📰 Formula

• Bank volume (cu ft) = length (ft) × width (ft) × depth (ft)
• Inches to feet: feet = inches ÷ 12
• Bank cubic yards = cubic feet ÷ 27
• Loose (swelled) yards = bank yards × (1 + swell% ÷ 100)
• Truckloads = round up (loose cu yd ÷ truck capacity)
• Typical swell factors (loose vs in-ground): sand/gravel ≈ 12% · common soil/loam ≈ 25% · clay/rock ≈ 35%
• Typical truck capacity: tandem dump ≈ 12 cu yd · small/single-axle ≈ 8 cu yd

📰 Formula

• Bank volume (cu ft) = length (ft) × width (ft) × depth (ft)
• Inches to feet: feet = inches ÷ 12
• Bank cubic yards = cubic feet ÷ 27
• Loose (swelled) yards = bank yards × (1 + swell% ÷ 100)
• Truckloads = round up (loose cu yd ÷ truck capacity)
• Typical swell factors (loose vs in-ground): sand/gravel ≈ 12% · common soil/loam ≈ 25% · clay/rock ≈ 35%
• Typical truck capacity: tandem dump ≈ 12 cu yd · small/single-axle ≈ 8 cu yd

🧪 Worked examples

1

Example 1

2

Example 2

3

Example 3

4

Example 4

⚠️ Common mistakes

  • Leaving depth in inches instead of dividing by 12 (18 in is 1.5 ft, not 18 ft).
  • Quoting bank yards to the hauler when trucks are loaded with loose, swelled dirt.
  • Skipping the swell factor, so the spoil pile and truck count come up short.
  • Using the same swell number for sand and clay — clay and rock swell far more.
  • Rounding truckloads down — a partial load still costs a full trip, always round up.

💡 Tips

  • Quote the hauler in loose cubic yards, not bank yards — trucks haul swelled dirt.
  • Bump the swell factor to 30–40% for heavy clay or rock; drop it to ~12% for clean sand.
  • Confirm your hauler's bed size; single-axle trucks carry about 8 cu yd, tandems about 12.
  • If you're keeping some spoil on site to backfill, subtract that before counting loads.
  • Over-dig allowance: add a little depth for the gravel base or footing you'll place after.

Embed this calculator on your site

Copy the code below and paste it into the HTML of your site or blog.

<iframe src="https://www.calcnimbus.com/embed/excavation-calculator" width="100%" height="500" frameborder="0" style="border:1px solid #eee;border-radius:12px"></iframe>

❓ Frequently asked questions

How do I calculate cubic yards of dirt to excavate?

Multiply length × width × depth, all in feet, to get cubic feet, then divide by 27. A 20 ft × 20 ft area dug 2 ft deep is 800 cubic feet, or 800 ÷ 27 = 29.63 cubic yards of in-ground (bank) dirt.

What is a swell factor in excavation?

Swell is how much soil expands when it's dug up and loosened. Packed earth breaks into clumps with air gaps, so the loose pile is bigger than the hole. Common soil swells about 25%, meaning 1 bank yard becomes about 1.25 loose yards.

How many cubic yards does a dump truck hold?

It depends on the truck. A standard tandem-axle dump truck carries roughly 10–14 cubic yards of loose soil, with 12 cu yd a good default. A smaller single-axle truck holds about 6–8 cubic yards.

How do I figure out how many truckloads of dirt to haul?

Take your loose (swelled) cubic yards and divide by the truck's capacity, then round up. 37 loose cubic yards ÷ 12 cu yd per truck = 3.08, which rounds up to 4 truckloads since a partial load still needs a full trip.

What's the difference between bank yards and loose yards?

Bank yards measure the dirt while it's still compacted in the ground — that's the size of your hole. Loose yards measure the same dirt after it's dug up and expands. You price the dig by bank yards but haul by loose yards.

Does an excavation calculator work for topsoil or gravel?

Not quite. This tool measures dirt you're digging out and hauling away, so it applies a swell factor. Topsoil, gravel and sand are fill you bring in, calculated by compacted volume — use a topsoil or gravel calculator for those.

How much does soil swell when excavated?

It varies by soil type. Clean sand and gravel swell about 10–15%, common soil and loam around 25%, and dense clay or rock 30% or more. Pick the swell factor that matches the ground you're digging.

How deep should I dig for a foundation or footing?

Depth depends on your frost line, soil and the structure, but footings often go below the local frost depth and basements run 8 feet or more. Set your real dig depth first, then calculate cubic yards and truckloads from it.

Why does my excavation calculator round truckloads up?

Because you can't book a partial dump truck trip. If the math says 3.1 loads, that leftover dirt still needs a fourth truck, so the tool rounds up to whole loads to keep your hauling estimate honest.