A raised bed soil calculator turns the bed length, width and depth into the cubic yards, cubic feet and bags of soil to fill it, split by your mix. Pick a topsoil and compost blend or Mel’s Mix; it multiplies the dimensions and divides into components. A 4 by 8 foot bed 10 inches deep needs about 1 cubic yard.
Total Cubic Yards
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Raised Bed Soil Calculator
- Enter the bed length, width and fill depth.
- Enter the number of beds if you have more than one of that size.
- Pick a soil mix, which splits the volume into components.
- Pick a bag size and read the cubic yards, bags and mix breakdown.
Here is what each result line means:
| Result | What it means |
|---|---|
| Total Cubic Yards | Total soil volume for all beds. |
| Total Cubic Feet | The same volume in cubic feet. |
| Or Bags | Whole bags of the chosen size. |
| Mix Breakdown | Each component volume for the mix. |
| Per Bed | Volume for one bed, times the count. |
| Fill Note | Depth and fill guidance. |
Buying the parts separately? Size them with the topsoil and compost calculators.
What Is a Raised Bed Soil Calculator?
A raised bed soil calculator is a garden tool that works out how much soil fills a raised bed, and splits that volume into the parts of your chosen mix. It turns the bed dimensions into cubic yards, cubic feet and bags.
Raised beds are filled with a blend, not plain dirt: usually topsoil loosened with compost, or a soilless mix like Mel’s Mix for square-foot gardening. The calculator sizes the whole fill and each ingredient.
It uses the same volume math as the topsoil and mulch calculators.
How the Raised Bed Soil Calculator Works
Length times width times the depth in feet gives the cubic feet in a bed. Here the depth is in inches, so it is divided by 12, and the total is divided by 27 for cubic yards.
- Per bed = length times width times depth in inches, divided by 12.
- Total = per bed times the number of beds; cubic yards = total divided by 27.
- Each mix component = the total volume times its fraction.
Bags are the total cubic feet divided by the bag size. A cubic yard is 18 of the 1.5-cubic-foot bags, so bulk delivery is cheaper for several beds.
Raised Bed Soil Calculation Example
One 4 x 8 ft bed filled 10 in deep with a 70/30 topsoil and compost mix.
Calculation: Volume = 4 x 8 x 10 / 12 = 26.67 cubic feet = 0.99 cubic yards, or 18 bags of 1.5 cubic feet. The mix is about 0.69 cubic yards topsoil and 0.30 cubic yards compost.
A 4 x 4 ft bed at 12 in in Mel’s Mix is 16 cubic feet, about 5.3 cubic feet each of compost, peat and vermiculite.
Factors That Affect How Much Soil You Need
Bed Size and Depth
Volume scales with length, width and depth. A deeper bed for root crops needs proportionally more soil; most beds are 6 to 12 inches.
Number of Beds
Several identical beds multiply the volume fast, which usually tips the order from bags to bulk.
Mix Ratio
The blend sets how much of each ingredient you buy. A 70/30 topsoil-compost mix is common; Mel’s Mix uses equal thirds of compost, peat and vermiculite.
Settling
Fresh soil settles after watering, so fill to the rim and expect to top up, or fill to 1 to 2 inches below and let it settle level.
Bags vs Bulk
A cubic yard is 18 of the 1.5-cubic-foot bags. For several beds, bulk soil and compost by the yard are far cheaper.
Raised Bed Mixes Comparison
Common raised-bed mixes and what each volume splits into.
| Mix | Components | Best for |
|---|---|---|
| Topsoil 70 / compost 30 | 70% topsoil, 30% compost | Most vegetable and flower beds |
| Topsoil 50 / compost 50 | 50% topsoil, 50% compost | Richer beds, heavy feeders |
| Mel’s Mix | 1/3 compost, 1/3 peat, 1/3 vermiculite | Square-foot gardening, soilless |
| Single material | 100% of one product | Topping up an existing bed |
These are starting points from extension guidance and the Square Foot Gardening recipe. Adjust the blend to your soil, crop and drainage; a little coarse sand or perlite helps heavy mixes drain.
When to Use a Raised Bed Soil Calculator
Filling New Beds
Size the soil to fill one or several new raised beds to depth.
Square-foot Gardening
Work out Mel’s Mix thirds for a classic square-foot bed.
Topping Up
Figure the single-material volume to top up a bed that has settled over a season.
Buying the Parts
Split the order into topsoil and compost, then price each with its own calculator.
Planning a Kitchen Garden
Scale the soil for a whole bank of beds before ordering bulk.
Common Raised Bed Soil Mistakes
1. Filling with Plain Topsoil
Straight topsoil compacts and drains poorly in a bed. Blend in compost, about 30 to 50 percent.
2. Using the /27 Shortcut with Inches
The 27 divisor needs depth in feet. With inches, divide by 12 for cubic feet first, then by 27.
3. Buying Bags for Several Beds
A cubic yard is 18 bags of 1.5 cubic feet. For a few beds, bulk is far cheaper and quicker.
4. Forgetting Settling
Soil drops after watering. Fill a little proud or plan to top up so plants are not left in a sunken bed.
5. Too Shallow for Roots
Root crops want 10 to 12 inches. A shallow bed over hard ground limits what you can grow.
6. Over-rich Mix
All compost holds too much water and can burn seedlings. Keep compost to a third to half of the blend.
Accuracy and Limitations
The calculator estimates fill volume and a mix split from the bed dimensions.
What it calculates
- Cubic yards and cubic feet for all beds
- Whole bags of the chosen size
- Each component of the mix
- Volume per bed
What it does not cover
- Soil weight (soil is sold by volume)
- Settling beyond your fill margin
- Fertilizer and amendments
- Delivery and pricing
How We Estimate Raised Bed Soil
Frequently Asked Questions About Raised Bed Soil
How much soil do I need for a raised bed?
Multiply length by width by depth in feet. A 4 by 8 ft bed 10 in deep is 4 x 8 x 10/12 = 26.67 cubic feet, about 1 cubic yard, or 18 bags of 1.5 cubic feet.
What soil mix is best for a raised bed?
A common blend is about 70 percent topsoil and 30 percent compost. For square-foot gardening, Mel’s Mix is equal thirds of compost, peat moss and coarse vermiculite.
How deep should a raised bed be?
Most beds are 6 to 12 inches. Leafy greens are fine at 6 inches; root crops and tomatoes prefer 10 to 12. Deeper beds need proportionally more soil.
How many bags of soil fill a cubic yard?
About 18 of the 1.5-cubic-foot bags, 27 of the 1-cubic-foot bags, or 14 of the 2-cubic-foot bags. A cubic yard is 27 cubic feet.
What is Mel’s Mix?
The square-foot gardening recipe: equal parts by volume of blended compost, peat moss and coarse vermiculite. It is a light, soilless mix that drains well and holds moisture.
Should I buy raised bed soil in bags or bulk?
Bags suit one small bed. For several beds or more than a cubic yard, bulk topsoil and compost by the yard are far cheaper than bags.
How much compost in a raised bed?
About 30 to 50 percent of the blend. All compost holds too much water and can burn seedlings, so keep it to a third or half with topsoil.
Will raised bed soil settle?
Yes. Fresh soil settles after watering, so fill a little proud of the rim or plan to top up, and avoid a sunken bed.
How much soil for a 4×4 raised bed?
At 12 inches deep, 4 x 4 x 1 = 16 cubic feet, about 0.59 cubic yards or 11 bags of 1.5 cubic feet.
Is my data saved?
No. The calculator runs entirely in your browser and nothing is stored or sent.
Sources
- Iowa State University Extension – Raised Bed Soil Mix (One-third mixes and 70/30 topsoil-compost blend.)
- Square Foot Gardening – Mel’s Mix (Equal thirds compost, peat and vermiculite recipe.)
- University of Maryland Extension – Raised Bed Soil (Topsoil-to-compost ratios for raised beds.)
Related Calculators
Filling a raised bed?
Explore all framing calculatorsVolumes and mix splits are planning estimates. Bagged soil and compost come in several cubic-foot sizes, so check the rating on the bag; above a cubic yard, bulk delivery is cheaper. Mix ratios vary by gardener, soil and crop, so adjust the blend to your beds. Fill to an inch or two below the rim and expect the soil to settle after watering, so keep some to top up. Spotted an error? Let us know.