How to Calculate Cubic Feet of Soil
Estimate exactly how much soil you need for raised beds, planters, trenches, and landscape projects. Enter your dimensions, choose units, and get instant results in cubic feet, cubic yards, and estimated bag counts.
Soil Calculator
Use interior dimensions for beds and containers. For irregular spaces, break the area into smaller rectangles and total the results.
Your results will appear here
Cubic feet
0.00
Cubic yards
0.00
Selected bag count
0
Coverage note
Ready
Volume Breakdown
This chart compares your total soil volume in cubic feet, cubic yards, and estimated bag counts so you can choose bulk delivery or store bags with confidence.
Expert Guide: How to Calculate Cubic Feet of Soil Accurately
Knowing how to calculate cubic feet of soil is one of the most useful skills for gardeners, landscapers, homeowners, and contractors. Whether you are filling a raised garden bed, topping off a planter, installing a lawn repair area, or ordering topsoil for a larger outdoor project, accurate volume calculations help you avoid two expensive mistakes: buying too little soil and making an emergency second trip, or buying too much and paying for material you do not need. Soil is usually sold by the bag in cubic feet or by the yard in cubic yards, so understanding the relationship between your project dimensions and these units is essential.
The core idea is simple. Soil volume is based on three measurements: length, width, and depth. Multiply those dimensions together, convert them to feet if needed, and you will have cubic feet. That sounds easy, but many real world mistakes happen because one dimension is measured in inches while another is measured in feet, or because the person forgets to account for settling, compaction, or the difference between outside and inside bed dimensions. This guide walks you through the math, the unit conversions, practical examples, bag estimates, and project planning tips so your calculations are dependable from the start.
The Basic Formula for Cubic Feet of Soil
The standard formula is:
Cubic feet = length in feet × width in feet × depth in feet
This formula works for any rectangular or square space, which includes most raised beds, planter boxes, trenches, and bordered landscape areas. If your dimensions are not already in feet, convert them first. Here are the most common conversions:
- 12 inches = 1 foot
- 36 inches = 1 yard
- 27 cubic feet = 1 cubic yard
- 100 centimeters = 1 meter
- 1 meter = 3.28084 feet
For example, imagine a raised bed that is 8 feet long, 4 feet wide, and 10 inches deep. The first step is to convert the depth to feet. Since 10 inches divided by 12 equals 0.833 feet, the calculation becomes:
- Length = 8 feet
- Width = 4 feet
- Depth = 10 inches = 0.833 feet
- Volume = 8 × 4 × 0.833 = 26.66 cubic feet
If you want a little extra to allow for settling and leveling, you might add 5% to 10%, bringing the order closer to 28 to 29.5 cubic feet.
Why Cubic Feet Matter for Soil Purchases
Retail garden soil, compost, topsoil, and potting mix are often sold in bags labeled 0.5 cubic feet, 0.75 cubic feet, 1 cubic foot, 1.5 cubic feet, or 2 cubic feet. Bulk suppliers usually price material by the cubic yard. Because of that, cubic feet become the bridge between small scale and large scale buying decisions. Once you know your total cubic feet, you can quickly convert to either bag counts or cubic yards.
To convert cubic feet to cubic yards, divide by 27. For example, 27 cubic feet equals exactly 1 cubic yard, and 54 cubic feet equals 2 cubic yards. This matters because projects over roughly 20 to 30 cubic feet often become more economical as a bulk delivery, depending on local prices, delivery minimums, and labor.
| Common Project Size | Dimensions | Depth | Volume in Cubic Feet | Volume in Cubic Yards |
|---|---|---|---|---|
| Small planter box | 3 ft × 2 ft | 1 ft | 6.0 | 0.22 |
| Standard raised bed | 4 ft × 8 ft | 6 in | 16.0 | 0.59 |
| Deep raised bed | 4 ft × 8 ft | 10 in | 26.7 | 0.99 |
| Larger raised bed | 4 ft × 12 ft | 12 in | 48.0 | 1.78 |
| Landscape fill area | 10 ft × 10 ft | 4 in | 33.3 | 1.23 |
Step by Step Method for Any Soil Project
- Measure the usable interior area. For raised beds and containers, use the inside dimensions, not the outside frame size. Wood thickness can noticeably change the volume.
- Keep units consistent. If one number is in inches and another is in feet, convert before multiplying.
- Multiply length × width × depth. This gives volume in cubic feet if all values are in feet.
- Add a safety allowance. Most projects benefit from an extra 5% to 10% for settling, grading, and spillage.
- Convert to bags or cubic yards. Divide by the bag size for retail purchases or divide by 27 for bulk orders.
How to Calculate Soil Bags Needed
Once you know the total cubic feet, divide by the size of the soil bag you plan to buy. If your project needs 26.66 cubic feet and the store sells 1.5 cubic foot bags, the math is:
26.66 ÷ 1.5 = 17.77 bags
Because you cannot buy a fraction of a bag, round up to 18 bags. If you plan to top off the bed after watering and settling, 19 bags may be a better real world estimate.
| Bag Size | Bags per 1 Cubic Yard | Bags Needed for 16 cu ft | Bags Needed for 26.7 cu ft | Bags Needed for 48 cu ft |
|---|---|---|---|---|
| 0.5 cu ft | 54 | 32 | 54 | 96 |
| 1.0 cu ft | 27 | 16 | 27 | 48 |
| 1.5 cu ft | 18 | 11 | 18 | 32 |
| 2.0 cu ft | 13.5 | 8 | 14 | 24 |
Common Unit Conversions You Should Know
Many volume errors come from forgetting to convert inches to feet. Depth is especially easy to overlook because garden beds are often described in inches. Here are quick examples:
- 4 inches = 0.333 feet
- 6 inches = 0.5 feet
- 8 inches = 0.667 feet
- 10 inches = 0.833 feet
- 12 inches = 1 foot
- 18 inches = 1.5 feet
- 24 inches = 2 feet
If you are measuring in metric, convert meters to feet before multiplying, or calculate in cubic meters and then convert. Since 1 cubic meter equals about 35.3147 cubic feet, a project needing 0.75 cubic meters would require about 26.49 cubic feet of soil.
Raised Beds, Planters, and Landscape Areas Need Different Thinking
Although the formula stays the same, the project type changes how you interpret depth. A raised bed intended for leafy greens may only need a 6 inch growing layer if it sits over healthy ground soil. A deep vegetable bed for carrots or tomatoes may require 10 to 18 inches of quality soil. A lawn topdressing application is usually much shallower, often around 0.25 inch to 0.5 inch over a large area, which can still add up to a surprising volume.
For circular planters or irregular shapes, divide the project into easy sections. A long curved bed can be broken into rectangles and partial circles. Measure each section separately, calculate each volume, and then combine them. This method is much more accurate than guessing total area by sight.
How Soil Type Affects Ordering
Volume tells you how much space you need to fill, but soil type determines performance, drainage, and settling. Potting mix, raised bed blend, screened topsoil, compost rich soil, and mineral heavy fill dirt all behave differently. A fluffy potting mix often settles more than dense screened topsoil. Compost can shrink as it decomposes. For that reason, adding 5% to 10% is a practical rule, and some gardeners use even more when filling deep new beds with loose organic mixes.
Bulk density can also influence transport and handling. A cubic foot of dry, loose potting mix weighs far less than a cubic foot of moist topsoil. This does not change the cubic feet calculation, but it absolutely changes how difficult the job will be and whether you should order a truckload, use bags, or plan wheelbarrow trips.
Mistakes to Avoid When Calculating Cubic Feet of Soil
- Using outside dimensions. Inside measurements are what matter for fill volume.
- Skipping unit conversions. Inches must be converted to feet before multiplying.
- Forgetting to round up. Bag counts should always be rounded up to the next whole bag.
- Ignoring settling. Fresh soil blends can drop after irrigation and compaction.
- Assuming one soil works everywhere. Raised bed mix, potting soil, and fill dirt serve different purposes.
When to Buy Bags Versus Bulk Soil
Bagged soil is often convenient for smaller projects, tight access areas, rooftop gardens, balconies, and one or two raised beds. It is clean, easy to carry, and simple to store. Bulk soil usually becomes more cost effective for larger projects such as multiple raised beds, wide landscape borders, or yard grading. A good rule is to compare total cubic feet against local delivery minimums. Once your needs approach a cubic yard or more, bulk pricing is frequently worth checking.
If you are deciding between the two, calculate both the total number of bags and the cubic yards required. Then compare the delivered bulk price, including delivery fee, with the total retail bag price. Also consider labor. Carrying 30 bags by hand is very different from spreading one cubic yard from a driveway drop point.
Worked Example: Filling a Raised Bed
Suppose you have a raised bed that measures 6 feet long, 3 feet wide, and 12 inches deep.
- Convert 12 inches to 1 foot.
- Multiply 6 × 3 × 1.
- Total volume = 18 cubic feet.
- Add 5% for settling = 18.9 cubic feet.
- If using 1.5 cubic foot bags, divide 18.9 by 1.5 = 12.6.
- Round up and buy 13 bags.
This kind of structured approach works for nearly any project. Once you understand the formula and conversions, the rest is simply matching the result to the product packaging or bulk supplier unit.
Helpful Reference Sources
For deeper soil, gardening, and land management information, review these authoritative resources:
USDA Natural Resources Conservation Service
University of Minnesota Extension: Raised Bed Gardens
U.S. Environmental Protection Agency: Composting at Home