Calculating the cubic yards of dirt required for a project is a fundamental step in construction, landscaping, and excavation. This measurement provides a precise volume that translates directly into cost, logistics, and proper equipment needs. Whether you are filling a raised garden bed, planning a major excavation, or ordering topsoil, understanding this unit prevents costly mistakes and ensures efficiency.
The Definition and Importance of Cubic Yards
A cubic yard is a unit of volume defined as a cube measuring one yard (three feet) in length, width, and height. In the context of dirt, this measurement is essential because materials are often sold and transported in bulk by volume rather than weight. Knowing the exact cubic yards of dirt allows contractors and homeowners to order the right amount, minimizing waste and avoiding the expense of multiple deliveries.
How to Calculate Cubic Yards
Determining the cubic yards of dirt involves converting three linear measurements (length, width, depth) into yards before multiplying. The standard formula is Length (in feet) x Width (in feet) x Depth (in feet), divided by 27. The division by 27 is necessary because there are 27 cubic feet in one cubic yard. This calculation is critical for accurate budgeting and prevents the frustration of coming up short on material.

Step-by-Step Calculation Process
- Measure the length and width of the area in feet.
- Determine the desired depth of the dirt in feet, converting inches to decimals (e.g., 6 inches is 0.5 feet).
- Multiply the three dimensions to find cubic feet.
- Divide the total by 27 to convert to cubic yards.
- Always add 5% to the total to account for settling and compaction.
Factors Impacting Volume Calculations
Not all measurements are straightforward, particularly when dealing with natural earth. The type of dirt—whether it is loose topsoil, compacted fill, or dense clay—can affect the final volume. Furthermore, the moisture content of the dirt can add significant weight without changing the calculated cubic yards, impacting transport costs and handling requirements.
Loose vs. Compacted Dirt
One of the most common pitfalls in ordering dirt is confusing loose cubic yards with compacted cubic yards. When dirt is excavated, it becomes "loose" and occupies more space. However, once it is spread and compacted—such as in a driveway or building pad—it settles significantly. If you need the area to remain filled at a specific level after compaction, you must order more loose dirt initially to account for this settlement.
Practical Applications and Ordering Tips
For landscaping projects, raised beds, or land grading, accurate measurements save time and money. When placing an order with a landscaping supply company, always clarify whether the price is based on cubic yards or tonnage. Visualizing the volume—as if the dirt were stacked in a box—helps ensure the delivery truck can access the site and that the driver knows exactly where to dump the material.

Common Projects Requiring Dirt Calculation
Homeowners and contractors frequently need to calculate cubic yards of dirt for specific projects. These calculations ensure the correct amount of material is delivered, whether the dirt is being removed as waste or added as a fill.
- Building foundations and footings.
- Installing underground utilities or septic systems.
- Creating level surfaces for patios or sheds.
- Raising lawn elevation to correct drainage issues.
- Backfilling trenches after plumbing or electrical work.




















