Dirt Volume Calculator: How Much Soil Do You Need?
- Cubic feet
- ft³
- Result
- Cubic meters
- m³
- Result
- Length
- 10 ft
- You entered
A dirt volume calculator works out how much soil, topsoil, fill dirt, or compost you need to buy for a project. You enter the length, width, and depth of the area you want to fill, and it returns the volume in cubic yards, cubic feet, or cubic meters. This is the first step before ordering materials, because suppliers sell bulk soil by volume, not by weight.
Formula
The basic formula is simple: Volume = Length × Width × Depth. But because you usually measure the area in feet and the depth in inches, you first convert the depth to feet. Then, to get cubic yards (the unit suppliers use), divide by 27 (since 1 cubic yard = 27 cubic feet).
In symbols: V_yd³ = (L_ft × W_ft × D_in / 12) / 27
- L = length of the area, in feet (or meters)
- W = width of the area, in feet (or meters)
- D = depth of soil, in inches (or centimeters)
- V = volume of dirt, in cubic yards (or cubic meters)
If you measure in meters, the volume is simply L × W × D (all in meters) to get cubic meters. The calculator above handles both by converting the depth to feet and then converting the result to cubic meters.
Worked Example
Let’s use the default values from the calculator: a garden bed that is 10 feet long, 5 feet wide, and you want 6 inches of new topsoil.
- Convert depth to feet: 6 inches ÷ 12 = 0.5 feet
- Calculate volume in cubic feet: 10 × 5 × 0.5 = 25 cubic feet
- Convert to cubic yards: 25 ÷ 27 = 0.93 cubic yards
- Convert to cubic meters: 25 × 0.0283168 = 0.71 cubic meters
So you need about 0.93 cubic yards (or 0.71 m³) of soil. That is just under 1 cubic yard, which is typical for a small raised bed. If you order from a supplier, you’d likely order 1 cubic yard because they don’t deliver fractions that small.
How to Measure Your Area Correctly
The calculator is only as accurate as your measurements. Here are the steps to get it right:
- Use a tape measure or a laser distance measurer. Do not guess.
- For a rectangular area, measure length and width at the widest points. If the area is irregular, break it into rectangles, calculate each, and add them together.
- Depth is the trickiest. Decide how deep you want the soil. For a new garden bed, 6–8 inches is common. For a lawn topdressing, 1–2 inches is enough. For filling a large hole, measure the actual depth from the bottom to the desired final level.
- If the ground is sloped, use the average depth. Measure at several points and take the mean.
Common Mistakes and How to Avoid Them
Even with a calculator, people often order the wrong amount. Here are the most frequent errors:
- Mixing units: If you measure length in feet and depth in inches, you must convert. The calculator does this automatically, but if you do it by hand, forgetting to divide inches by 12 is a classic error.
- Forgetting to convert to cubic yards: Suppliers sell by the cubic yard, not cubic feet. If you order 25 cubic feet from a supplier, they’ll look at you funny. Always divide by 27.
- Rounding too early: If you round 0.93 to 1 cubic yard in your head, that’s fine. But if you round 1.4 to 1.5, you might over-order. Keep at least two decimal places until the final step.
- Not accounting for compaction: Fresh soil settles after watering and time. If you fill a bed to the brim, it will sink. Add 10–15% extra to your final volume to be safe.
When to Use This Calculator
This calculator is for any project that involves filling a space with soil, mulch, gravel, sand, or similar bulk materials. Common uses:
- Raised garden beds – fill with topsoil or a soil mix.
- Lawn repair – topdressing with a thin layer of compost.
- Filling a hole – for a pond, a planter, or a foundation.
- Creating a berm or mound – you need the volume of the mound itself.
- Mulching a flower bed – same formula, but the depth is usually 2–3 inches.
For mulch, the formula is identical. For gravel or sand, the same volume calculation works, but the weight per cubic yard will differ (gravel is heavier than topsoil).
Ordering Soil: Volume vs. Weight
Suppliers sell soil by the cubic yard, not by the ton, because moisture content makes weight vary. A cubic yard of dry topsoil weighs about 1,000–1,200 pounds (450–540 kg), but wet soil can weigh 1,500 pounds or more. That is why you always order by volume.
If you are buying bagged soil from a garden center, bags are usually sold by cubic foot (e.g., 1.5 cu ft or 2 cu ft). To convert your cubic yards to bags, multiply by 27 to get cubic feet, then divide by the bag size. For our example, 25 cubic feet ÷ 1.5 cu ft per bag = about 17 bags.
Limits of the Formula
The formula assumes a rectangular prism with straight sides. Real-world areas are rarely perfect. If your bed is curved or has sloped sides, the volume will be slightly different. For a rough estimate, the rectangular approximation is usually fine. For critical projects (like a foundation), you should consult a professional who can do a site survey.
Also, the calculator does not account for compaction or settling. Fresh soil will settle, especially if it is loose. Add 10–15% to your order to avoid a second trip to the store.
Frequently Asked Questions
How many cubic feet are in a cubic yard?
There are 27 cubic feet in 1 cubic yard (3 feet × 3 feet × 3 feet). That is why you divide by 27 when converting.
How deep should topsoil be for a new lawn?
For a new lawn from seed, you need about 4–6 inches of topsoil. For sod, 4 inches is usually enough. For a garden bed, 6–8 inches is recommended for most vegetables.
How much does a cubic yard of dirt weigh?
Dry topsoil weighs roughly 1,000–1,200 pounds per cubic yard (450–540 kg). Wet soil can weigh 1,500 pounds (680 kg) or more. That is why suppliers sell by volume, not weight.
Can I use this calculator for mulch or gravel?
Yes, the volume formula is the same for any bulk material. Just change the depth to what you need (2–3 inches for mulch, 4–6 inches for gravel under a patio).
What if my area is not a perfect rectangle?
Break the area into smaller rectangles, calculate each, and add the volumes together. For a circle, use π × radius² × depth. The calculator here is for rectangles, but you can do multiple calculations.
Should I add extra soil for settling?
Yes, add 10–15% to your order. Fresh soil settles, especially after watering. It is better to have a little extra than to run short.
Related
Formula used
in l | Length | ft | 10 | 0 in w | Width | ft | 5 | 0 in d | Depth | in | 6 | 0 out cy | Cubic yards | yd³ | (l * w * (d / 12)) / 27 | 2 out cf | Cubic feet | ft³ | l * w * (d / 12) | 2 out cm | Cubic meters | m³ | (l * w * (d / 12)) * 0.0283168 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.