Planning a landscaping, gardening, construction, grading, or excavation project often starts with one important question: How much dirt do I need? Ordering too little soil can delay a project, while ordering too much can increase costs and leave you with a large amount of unused material. A Dirt Calculator provides a convenient way to estimate the quantity of dirt required based on the dimensions of your project area.
Dirt Calculator
The Dirt Calculator uses three primary measurements—length, width, and depth—to determine the volume of soil required. Because the calculator accepts depth in inches while length and width are entered in feet, it automatically converts the depth into feet before calculating the volume. The result is then presented in both cubic feet and cubic yards.
The calculator also includes an Extra Dirt / Waste (%) field. This allows you to account for additional material that may be needed because of settling, uneven surfaces, handling losses, compaction, or variations in the actual site conditions. The default allowance is 10%, but you can change it according to your project.
Whether you are filling a garden bed, leveling a yard, raising an area, filling an excavation, or planning a landscaping project, understanding your dirt volume can make material ordering much easier.
What Is a Dirt Calculator?
A Dirt Calculator is a volume estimation tool designed to calculate the amount of soil, dirt, fill material, or similar bulk material needed to cover a defined rectangular area to a specified depth.
The calculation is based on the basic volume formula:
Volume = Length × Width × Depth
Since the calculator uses feet for length and width and inches for depth, the depth must first be converted from inches to feet.
For example, if a project is 20 feet long, 10 feet wide, and requires 6 inches of dirt:
- Length = 20 feet
- Width = 10 feet
- Depth = 6 inches
- Depth in feet = 6 ÷ 12 = 0.5 feet
The volume is therefore:
20 × 10 × 0.5 = 100 cubic feet
Because bulk dirt is commonly sold by the cubic yard, the calculator also converts cubic feet into cubic yards.
Since:
1 cubic yard = 27 cubic feet
the volume becomes:
100 ÷ 27 = 3.70 cubic yards
If you add 10% extra material:
3.70 × 10% = 0.37 cubic yards
The estimated total becomes approximately:
4.07 cubic yards
This provides a more practical quantity for ordering material.
Why Calculate Dirt Volume Before Ordering?
Estimating the required dirt volume before purchasing material has several benefits.
1. Better material planning
Knowing the approximate volume helps you determine how much soil or fill material your project requires.
2. Easier budgeting
Most suppliers sell bulk soil, topsoil, fill dirt, and similar materials by the cubic yard. Knowing the number of cubic yards makes it easier to estimate material costs.
3. Fewer delivery problems
If you underestimate your requirements, you may need a second delivery. Calculating the volume beforehand can help reduce that possibility.
4. Reduced material waste
Ordering significantly more material than necessary can create unnecessary expense and leave you with excess dirt that needs to be stored or disposed of.
5. Better project preparation
A volume estimate can help you prepare the site, arrange delivery access, and plan where the material will be placed.
How to Use the Dirt Calculator
The Dirt Calculator requires four inputs:
- Length
- Width
- Depth
- Extra Dirt / Waste percentage
Follow these steps.
Step 1: Enter the Length
Enter the length of the area in feet.
For example, if the area is 30 feet long, enter:
30 ft
For irregular areas, divide the project into simpler rectangular sections and calculate each section separately.
Step 2: Enter the Width
Enter the width of the area in feet.
If your area is 15 feet wide, enter:
15 ft
The length and width establish the surface area that will receive the dirt.
Step 3: Enter the Depth
Enter the desired dirt depth in inches.
For example:
- 3 inches
- 4 inches
- 6 inches
- 8 inches
- 12 inches
The calculator converts this measurement into feet automatically.
Remember that 12 inches equals 1 foot.
Therefore:
- 3 inches = 0.25 feet
- 4 inches = 0.333 feet
- 6 inches = 0.5 feet
- 8 inches = 0.667 feet
- 12 inches = 1 foot
Step 4: Enter Extra Dirt or Waste
The calculator includes an extra material percentage, with 10% as the default.
This extra allowance can help account for:
- Soil settling
- Compaction
- Uneven ground
- Measurement differences
- Handling losses
- Minor grading adjustments
- Small variations in the required depth
You can change the percentage if you have a specific project requirement.
Step 5: Click Calculate
After entering all the values, click Calculate.
The tool displays:
- Base volume in cubic feet
- Base volume in cubic yards
- Extra dirt in cubic yards
- Total dirt needed in cubic yards
- Total dirt needed in cubic feet
Dirt Calculator Formula
The calculator uses several related formulas.
1. Convert Depth From Inches to Feet
Because the length and width are measured in feet, depth must also be converted into feet.
The formula is:
Depth in Feet = Depth in Inches ÷ 12
For example, for a 6-inch depth:
6 ÷ 12 = 0.5 feet
2. Calculate Base Volume in Cubic Feet
Once the depth has been converted to feet:
Base Volume = Length × Width × Depth in Feet
For example:
- Length = 40 ft
- Width = 20 ft
- Depth = 6 inches = 0.5 ft
Therefore:
40 × 20 × 0.5 = 400 cubic feet
The base volume is 400 ft³.
3. Convert Cubic Feet to Cubic Yards
Bulk dirt is commonly measured in cubic yards.
One cubic yard contains 27 cubic feet.
Therefore:
Cubic Yards = Cubic Feet ÷ 27
Using the previous example:
400 ÷ 27 = 14.81 cubic yards
So the base requirement is approximately 14.81 cubic yards.
4. Calculate Extra Dirt
The extra material is calculated from the selected percentage.
The formula is:
Extra Dirt = Base Cubic Yards × (Extra Percentage ÷ 100)
For 10% extra:
14.81 × 0.10 = 1.48 cubic yards
The estimated extra amount is therefore approximately 1.48 cubic yards.
5. Calculate Total Dirt Needed
The total requirement is:
Total Dirt = Base Cubic Yards + Extra Dirt
Using the example:
14.81 + 1.48 = 16.29 cubic yards
Therefore, the calculator estimates approximately 16.29 cubic yards of dirt.
The calculator also converts this final result back into cubic feet:
Total Cubic Feet = Total Cubic Yards × 27
Dirt Calculator Example
Suppose you are filling a rectangular area that measures:
- Length: 30 feet
- Width: 20 feet
- Depth: 6 inches
- Extra dirt: 10%
Step 1: Convert the depth
6 inches ÷ 12 = 0.5 feet
Step 2: Calculate base volume
30 × 20 × 0.5 = 300 cubic feet
Step 3: Convert to cubic yards
300 ÷ 27 = 11.11 cubic yards
Step 4: Calculate extra dirt
11.11 × 10% = 1.11 cubic yards
Step 5: Calculate total
11.11 + 1.11 = 12.22 cubic yards
So the calculator would estimate approximately:
12.22 cubic yards of dirt
or approximately:
330 cubic feet of dirt
The exact displayed values may differ slightly because the calculator rounds the results to two decimal places.
Dirt Volume Calculation Table
The following examples show how the required volume changes with different project dimensions and depths. These examples assume a rectangular area and a 10% extra allowance.
| Length | Width | Depth | Base Volume | Base Cubic Yards | Approx. Total With 10% Extra |
|---|---|---|---|---|---|
| 10 ft | 10 ft | 4 in | 33.33 ft³ | 1.23 yd³ | 1.36 yd³ |
| 10 ft | 20 ft | 6 in | 100 ft³ | 3.70 yd³ | 4.07 yd³ |
| 20 ft | 20 ft | 6 in | 200 ft³ | 7.41 yd³ | 8.15 yd³ |
| 20 ft | 30 ft | 6 in | 300 ft³ | 11.11 yd³ | 12.22 yd³ |
| 30 ft | 30 ft | 6 in | 450 ft³ | 16.67 yd³ | 18.33 yd³ |
| 40 ft | 20 ft | 8 in | 533.33 ft³ | 19.75 yd³ | 21.73 yd³ |
| 50 ft | 30 ft | 6 in | 750 ft³ | 27.78 yd³ | 30.56 yd³ |
| 50 ft | 40 ft | 12 in | 2,000 ft³ | 74.07 yd³ | 81.48 yd³ |
These are mathematical estimates. Actual material requirements can vary depending on site conditions, compaction, settling, slopes, material type, and how accurately the dimensions were measured.
Cubic Feet vs. Cubic Yards
Understanding the difference between cubic feet and cubic yards is important when ordering dirt.
A cubic foot is a volume measuring one foot by one foot by one foot.
A cubic yard measures three feet by three feet by three feet.
Because:
3 × 3 × 3 = 27
one cubic yard equals:
27 cubic feet
Therefore:
1 yd³ = 27 ft³
and:
1 ft³ = 0.037037 yd³
For landscaping and bulk soil purchases, cubic yards are often more convenient because suppliers commonly price and deliver bulk materials by the cubic yard.
How Much Dirt Do You Need for Different Depths?
The required volume depends heavily on depth. Increasing the depth increases the total amount of material proportionally.
For example, consider a 20 × 20-foot area.
At 3 inches
3 inches = 0.25 feet.
20 × 20 × 0.25 = 100 cubic feet
100 ÷ 27 = 3.70 cubic yards
At 6 inches
6 inches = 0.5 feet.
20 × 20 × 0.5 = 200 cubic feet
200 ÷ 27 = 7.41 cubic yards
At 12 inches
12 inches = 1 foot.
20 × 20 × 1 = 400 cubic feet
400 ÷ 27 = 14.81 cubic yards
This demonstrates an important principle: doubling the depth doubles the volume, assuming length and width remain unchanged.
How Much Extra Dirt Should You Order?
The correct allowance depends on the project and material.
The calculator allows you to enter your own percentage instead of requiring a fixed value.
A 10% allowance is a useful starting point for many straightforward rectangular estimates, but it should not automatically be treated as a universal requirement.
Factors that may affect the allowance include:
- Existing soil conditions
- Compaction requirements
- Expected settling
- Uneven terrain
- Installation technique
- Material characteristics
- Accuracy of measurements
- Grading requirements
- Whether the dirt will be spread loosely or compacted
For a carefully measured, relatively uniform area, a smaller allowance may be appropriate. Projects involving significant grading, settling, or uncertain measurements may require a larger allowance.
If the project is large or expensive, it is sensible to confirm the quantity with a contractor, landscaper, engineer, or material supplier.
Dirt Calculator for Landscaping
A Dirt Calculator can be useful for many landscaping applications.
Garden beds
If you are creating a new raised or amended garden area, measure the bed's length and width and determine the desired soil depth.
Lawn leveling
For lawn preparation or low areas, the calculator can estimate the amount of fill required.
Planting areas
Different plants may require different soil depths, so determine the appropriate depth for your particular landscaping plan.
Yard grading
For grading work, the actual site may not have uniform depth. In such cases, divide the area into sections and calculate each section separately.
Dirt Calculator for Raised Beds
Raised garden beds are another common application.
Suppose a raised bed is:
- 8 feet long
- 4 feet wide
- 12 inches deep
Since 12 inches equals 1 foot:
8 × 4 × 1 = 32 cubic feet
Convert to cubic yards:
32 ÷ 27 = 1.19 cubic yards
With 10% extra:
1.19 × 1.10 = 1.31 cubic yards
This means approximately 1.31 cubic yards of material would be needed based on the calculator's 10% allowance.
For raised beds, remember that the final material requirement can vary if the bed contains drainage layers, partially filled containers, logs, branches, or other materials that occupy volume.
Tips for Getting an Accurate Dirt Estimate
Measure carefully
Accurate length and width measurements produce a more reliable estimate. Measure each dimension at multiple points if the site is uneven.
Use the average depth when necessary
If the required depth varies across the project, take several depth measurements and use a reasonable average rather than simply using the deepest point.
Divide irregular areas
For L-shaped or irregular spaces, divide the project into rectangles. Calculate each section separately and add the results.
Consider slopes
A sloped site may require different depths in different locations. A single rectangular calculation may not fully represent such a project.
Confirm supplier measurements
Ask your supplier whether material is sold by loose cubic yards, compacted cubic yards, or another measurement. This distinction can matter for larger projects.
Account for compaction
Some fill materials are compacted during installation. The final volume after compaction can differ from the volume of loose material delivered.
Dirt Calculator for Irregular Areas
The calculator is designed around length, width, and depth, making it particularly straightforward for rectangular areas.
For an irregular project, divide the area into manageable sections.
For example, suppose a yard can be divided into two rectangular sections:
Section A:
20 ft × 15 ft × 6 inches
Section B:
10 ft × 10 ft × 6 inches
Calculate each section separately and then add their cubic-yard requirements.
This approach is often more practical than trying to force an irregular shape into one rectangular measurement.
For complicated grading or excavation projects, professional site measurements may be more appropriate.
Common Mistakes When Calculating Dirt
Forgetting to convert inches to feet
If your depth is in inches while length and width are in feet, you must divide the depth by 12.
Confusing square feet with cubic feet
Square feet measure area. Cubic feet measure volume.
A 500-square-foot area does not tell you how much dirt is required until the desired depth is known.
Forgetting the conversion from cubic feet to cubic yards
There are 27 cubic feet in one cubic yard.
Ignoring settling
Delivered material may settle after placement and compaction. This is one reason an extra allowance can be useful.
Using the wrong depth
Even a small change in depth can significantly affect material requirements for a large area.
Treating the estimate as an exact delivery quantity
A calculator provides a mathematical estimate. Real-world conditions can cause actual requirements to differ.
Frequently Asked Questions
1. What does a Dirt Calculator calculate?
A Dirt Calculator estimates the volume of dirt needed based on the length, width, and depth of a project area. It converts the result into cubic feet and cubic yards and can add an extra percentage for additional material.
2. How do I calculate how much dirt I need?
Multiply the length by the width and by the depth in feet. If your depth is in inches, divide it by 12 first. Then divide the cubic-foot result by 27 to convert it to cubic yards.
3. How many cubic feet are in a cubic yard?
There are 27 cubic feet in one cubic yard. This comes from multiplying three feet by three feet by three feet.
4. Why does the calculator ask for depth in inches?
Depth is often measured in inches for landscaping and soil projects. The calculator accepts inches and converts the measurement into feet automatically so that it can be used with the length and width measurements.
5. What does the Extra Dirt / Waste percentage mean?
The extra percentage provides an allowance above the calculated base volume. It can help account for settling, compaction, uneven areas, measurement variations, and handling losses.
6. Is 10% extra dirt enough?
Ten percent is a useful general allowance for many simple estimates, but there is no universal percentage for every project. Soil type, compaction, grading, site conditions, and measurement accuracy can affect the amount of extra material required.
7. How much dirt do I need for a 10 × 20 area?
The answer depends on the desired depth. At 6 inches deep, the base volume is 100 cubic feet, or approximately 3.70 cubic yards. With 10% extra, the total is approximately 4.07 cubic yards.
8. How much dirt is needed for a 20 × 20 area?
At a depth of 6 inches, a 20 × 20-foot area requires 200 cubic feet, which is approximately 7.41 cubic yards before extra material. With 10% extra, the estimate is approximately 8.15 cubic yards.
9. Can I use this calculator for topsoil?
Yes. The volume calculation can be used for estimating topsoil, garden soil, fill dirt, and other materials when the project requires a rectangular volume estimate. The appropriate material and depth should be determined based on the specific project.
10. Can I use the calculator for an irregular yard?
You can use it by dividing the irregular yard into multiple rectangular sections. Calculate the volume for each section separately and add the results together. This generally produces a more useful estimate than treating an irregular area as one rectangle.
Final Thoughts
Calculating dirt requirements before beginning a project can make material planning much easier. The Dirt Calculator provides a simple way to turn length, width, and depth measurements into practical volume estimates in both cubic feet and cubic yards.
The basic process is straightforward: measure the area, enter the desired depth, calculate the base volume, convert the result into cubic yards, and add an appropriate allowance for extra material. The tool's built-in waste percentage makes it easy to account for additional dirt that may be needed because of settling, compaction, uneven conditions, or measurement differences.
For the most reliable estimate, take accurate measurements and consider whether the project has varying depths or irregular shapes. Larger projects may benefit from being divided into sections or verified by a professional or material supplier.
Whether you are preparing a garden bed, filling a low area, improving a lawn, creating a planting area, or planning another landscaping project, using a Dirt Calculator before ordering material can help you understand the approximate quantity required and plan the project more efficiently.