Backfill Dirt Calculator

Estimate how much dirt, sand, gravel, clay, or topsoil you need for a backfill project.

This calculator estimates material quantity. Real backfill needs may vary due to compaction, moisture, uneven excavation, settlement, and delivery variation.

About the Author: Created by Fotios Angelakis, MSc in Mechanical Engineering, with experience in construction estimators, material quantity tools, and engineering calculations. Learn more about the author's qualifications and experience.

Enter excavation dimensions and material data, then click calculate.

How the Backfill Dirt Calculator Works

The Backfill Dirt Calculator estimates the amount of material needed to refill a trench, hole, sloped area, or excavation. It converts the volume into cubic feet, cubic yards, approximate weight, and optional cost.

length depth width Backfill volume = excavation volume + allowance

Backfill Volume Formula

For a rectangular excavation:

Volume = Length × Width × Depth

For a triangular section:

Volume = 0.5 × Base × Height × Length

For a sloped area using average depth:

Volume = Length × Width × Average Depth

Cubic Feet to Cubic Yards

Backfill material is often ordered in cubic yards:

Cubic Yards = Cubic Feet / 27

Typical Material Densities

Material Approximate density
Topsoil80 lb/ft³
Sand100 lb/ft³
Gravel120 lb/ft³
Clay95 lb/ft³

Why Add Compaction and Waste Allowance?

Soil and aggregate volume changes during hauling, placing, wetting, and compaction. Adding an allowance helps avoid ordering too little material.

  • Compaction allowance: accounts for settlement and densification.
  • Waste allowance: accounts for spillage, uneven excavation, and delivery variation.
  • Moisture content: can change both volume and weight.
Important: This calculator estimates material quantity only. It does not verify structural compaction, drainage, trench safety, soil bearing, or code requirements.

Frequently Asked Questions

How much dirt do I need for backfill?

Calculate the excavation volume, then add compaction and waste allowance. The result can be converted to cubic yards for ordering.

How many cubic feet are in one cubic yard?

One cubic yard equals 27 cubic feet.

Should I order extra backfill material?

Yes. Ordering 5% to 20% extra is often useful depending on compaction, settlement, and site conditions.

Can I use gravel instead of dirt?

Yes, but gravel has a different density and drainage behavior. Use the material type that matches your project.