Soil Calculator
This soil calculator works out how much soil you need for raised beds, garden beds and pots: two beds 8 × 4 ft at 12 in deep take 64 cubic feet.
Extension guides: 6–24 in by crop.
You need
2.37cubic yards
- Cubic feet
- 64 ft³
- Liters
- 1,812 L
2 raised beds 8 ft × 4 ft, 12 in deep, need 64 cubic feet of soil (2.37 cubic yards).
Estimate only — confirm quantities with your supplier before ordering.
More options: extra, bags and price
For settling.
The volume printed on the bag.
Pick Raised beds, Round pots, By gallon or Garden and enter your sizes. The result shows cubic feet and cubic yards so you can compare bags with a bulk delivery; add your bag size under More options to count bags. It works as a raised bed soil calculator, a garden soil calculator and a potting soil calculator. For lawns, use the topsoil calculator instead.
Key facts
Utah State University Extension: a raised bed box should be at least 6 to 12 inches[src] Sources: Utah State University Extension high for most vegetables.
University of Georgia: most garden crops need at least 10 inches[src] Sources: University of Georgia Cooperative Extension (CAES Field Report) of soil.
University of Maryland: on hard surfaces, 8 inches[src] Sources: University of Maryland Extension for leafy greens and 12-24 inches[src] Sources: University of Maryland Extension for peppers, tomatoes and squash.
A bed 8 × 4 feet at 12 inches holds 32 cubic feet.
1 cubic yard = 27 cubic feet; 1 US gallon = 231 cubic inches.
How we calculate
Formula
Raised beds (ft³) = length × width × depth (in) ÷ 12 × number of beds
Round pots (ft³) = π × (diameter ÷ 2)² × depth × number of pots
Containers (ft³) = gallons × 231 ÷ 1,728 × number
Bags = ft³ ÷ bag size, rounded up
Assumptions and defaults
The default bed depth is 12 inches[src] Sources: Utah State University Extension; University of Georgia Cooperative Extension (CAES Field Report); University of Maryland Extension. It meets the Utah State, Georgia and Maryland guidance for most crops; go deeper for tomatoes, peppers and squash on hard surfaces.
Gallon containers use the exact US gallon. Pots are treated as straight-sided cylinders, so tapered pots need a little less.
- Bag size is your input from the bag label. This site does not assume a bag size.
- The garden mode opens with an example depth; change it to your plan.
How much soil do I need?
How much soil you need is the volume of the space you are filling. For a raised bed that is length × width × depth. Step by step:
- Measure the inside length and width of each bed, not the outside of the boards.
- Decide how deep the soil will be. Leave a little room at the top for mulch.
- Convert the depth to feet by dividing inches by 12.
- Multiply length × width × depth for cubic feet, then multiply by the number of beds.
- Divide by the bag size for bags, or by 27 cubic feet for cubic yards.
Two beds 8 feet by 4 feet at 12 inches deep need 64 cubic feet, which is 2.37 cubic yards. In bags that each hold 0.75 cubic foot, that is 86 bags.
How much soil for a raised bed?
A raised bed takes more soil than most people expect. This table shows cubic feet of soil for common bed sizes at three depths, for one bed:
| Bed size | 8 in deep | 12 in deep | 18 in deep |
|---|---|---|---|
| 4 × 4 ft | 10.67 ft³ | 16 ft³ | 24 ft³ |
| 4 × 8 ft | 21.33 ft³ | 32 ft³ | 48 ft³ |
| 3 × 6 ft | 12 ft³ | 18 ft³ | 27 ft³ |
| 4 × 12 ft | 32 ft³ | 48 ft³ | 72 ft³ |
| 2 × 8 ft | 10.67 ft³ | 16 ft³ | 24 ft³ |
How much dirt do I need for my raised bed?
The volume is the same whatever you fill the bed with, so use the calculator for dirt, soil, compost or a mix. What changes is the recipe; see the section on what to fill a bed with below. To fill a large hole or raise a grade instead, the dirt calculator is the better tool.
How deep should a raised bed be?
Raised bed depth depends on the crop and on what is underneath the bed. University extension guidance:
| Source | Guidance |
|---|---|
| Utah State University Extension | Box at least 6 to 12 inches[src] Sources: Utah State University Extension high for most vegetables |
| University of Georgia | Most garden crops need at least 10 inches[src] Sources: University of Georgia Cooperative Extension (CAES Field Report) of soil |
| University of Maryland (on hard surfaces) | 8 inches[src] Sources: University of Maryland Extension for leafy greens, beans and cucumbers |
| University of Maryland (on hard surfaces) | 12-24 inches[src] Sources: University of Maryland Extension for peppers, tomatoes and squash |
Utah State also says beds shallower than 12 inches[src] Sources: Utah State University Extension should be built with no bottom, so roots can reach the soil below. That is why the calculator starts at 12 inches[src] Sources: Utah State University Extension; University of Georgia Cooperative Extension (CAES Field Report); University of Maryland Extension: it fits most crops and all three sources.
What should I fill a raised bed with?
University of Maryland Extension suggests filling a raised bed with compost and a soilless growing mix in a 1:1[src] Sources: University of Maryland Extension ratio. It adds that topsoil can be added (up to 20%[src] Sources: University of Maryland Extension by volume) for beds that are at least 16 inches[src] Sources: University of Maryland Extension deep.
To split your total into that recipe, halve it. For two 8 × 4 foot beds at 12 inches, that is 32 cubic feet of compost and 32 cubic feet of growing mix. For a deeper bed where you use the full 20%[src] Sources: University of Maryland Extension of topsoil, take that share out first and split the rest.
Potting soil calculator for pots and containers
Use Round pots for cylinders and By gallon for containers sold by gallon size.
How much potting soil for a 5 gallon bucket?
A 5 gallon bucket holds 0.67 cubic feet filled to the brim, because one US gallon is 231 cubic inches and a cubic foot is 1,728 cubic inches. That is about 19 liters. Four buckets take 2.67 cubic feet. Leave room at the top for watering, so you will use a little less.
How much potting soil do I need for round pots?
Measure the inside diameter and the soil depth. Four pots 24 inches across with 18 inches of soil hold 18.85 cubic feet. Pots that taper toward the bottom hold less than this, so the calculator gives a safe upper figure.
| Container | Cubic feet each | Liters each |
|---|---|---|
| 1 gallon | 0.134 | 3.8 |
| 3 gallon | 0.401 | 11.4 |
| 5 gallon | 0.668 | 18.9 |
| 10 gallon | 1.337 | 37.9 |
| 20 gallon | 2.674 | 75.7 |
These are exact US gallon volumes. If your pot is labeled with a size name rather than an exact volume, measure it and use Round pots.
In-ground garden beds
For a garden bed in the ground, pick Garden and enter the area and the depth of soil or compost you plan to add. University of Maryland Extension, for example, describes adding 2-4 inches[src] Sources: University of Maryland Extension of compost and mixing it into the top 4 inches[src] Sources: University of Maryland Extension of soil when the existing soil is in good shape. A bed 20 feet by 10 feet with 3 inches of compost takes 1.85 cubic yards.
Bags or bulk?
Bagged soil is labeled by volume; bulk soil is ordered by the cubic yard. One cubic yard is 27 cubic feet, so divide 27 by the bag size to see how many bags equal a yard. Under More options, enter the bag size, the price per bag and a bulk price per yard, and the calculator shows both costs.
Worked examples
Two-bed vegetable garden. Two beds 8 feet by 4 feet at 12 inches: 64 cubic feet = 2.37 cubic yards = 86 bags of 0.75 cubic foot.
Deep tomato bed. One bed 4 feet by 8 feet at 18 inches: 48 cubic feet, or 1.78 cubic yards.
Herb pots. Six round pots 12 inches across with 10 inches of soil: 3.93 cubic feet.
Common mistakes
- Measuring the outside of the bed. Boards take up room; measure inside.
- Filling to the brim. Leave space for mulch and watering.
- Forgetting settling. New soil settles; add a little extra.
- Mixing up bag units. Check whether each bag lists cubic feet, liters or another unit before comparing prices.
Topping the bed with mulch? The mulch calculator counts bags for the same area, and the cubic yard calculator covers any other shape.