The basic formula: compost, topsoil, and drainage material
The most reliable raised bed soil mix uses three ingredients in roughly equal parts: compost, topsoil, and drainage material (usually peat moss, coconut coir, or aged bark). This 1:1:1 ratio gives you nutrients from the compost, structure and minerals from the topsoil, and air pockets from the drainage layer so roots don't sit in wet soil.
You can buy these materials separately and mix them yourself, or buy a pre-mixed raised bed soil. The DIY route costs less per cubic foot if you have space to work, but requires a place to blend everything. Pre-mixed bags are more expensive but arrive ready to use.
The exact ratio matters less than the principle: you need something that feeds the plant, something that holds water without waterlogging, and something that lets air through. A 40-30-30 split works. A 50-25-25 split works. What does not work is pure topsoil (too dense) or pure compost (too expensive and drains too fast).
Key Takeaways
- A three-part mix of compost, topsoil, and drainage material in roughly equal amounts creates soil that feeds plants, holds moisture, and lets roots breathe.
- Topsoil alone compacts and drains poorly; compost alone is expensive and dries out quickly; you need all three types.
- Buying materials separately and mixing them yourself costs less per cubic foot than pre-mixed bags, but requires space and labor.
- The depth of your bed determines how much soil you need—measure length times width times depth in inches, divide by 1,728 to get cubic feet, then round up.
- You can reuse and refresh raised bed soil each year by adding 1 to 2 inches of compost on top rather than replacing it entirely.
Calculating how much soil you need
Measure your raised bed's length, width, and depth in inches. Multiply length × width × depth, then divide by 1,728. That gives you cubic feet. A standard 4-by-8-foot bed that is 12 inches deep needs 32 cubic feet of soil. A 4-by-4-foot bed at 10 inches deep needs about 13 cubic feet.
Always round up slightly—soil settles after watering, and you want the bed full enough to plant when ready. If your math gives you 31.5 cubic feet, buy 32 or 33.
When you buy topsoil and compost by the bag, the label shows cubic feet per bag. Drainage material (peat moss, coir) is usually sold the same way. Divide your total cubic feet by three, then buy that amount of each material. A 32-cubic-foot bed needs roughly 11 cubic feet of each ingredient.
Where to source each ingredient
Topsoil comes from garden centers, landscape supply yards, and big-box hardware stores. Buy bagged topsoil if your bed is small (under 20 cubic feet); buy bulk topsoil delivered if your bed is large. Bulk is cheaper per cubic foot but requires a driveway or yard where a truck can dump it. Check that the bag or supplier does not list clay content above 20 percent—high clay compacts and drains poorly.
Compost can be store-bought (bags or bulk) or homemade. Store-bought compost is consistent and ready when ready. Homemade compost takes 3 to 12 months to break down from kitchen scraps and yard waste. If you make your own, use only finished compost (dark, crumbly, no recognizable food scraps) in the bed; unfinished compost can heat up and burn roots.
Drainage material options are peat moss (traditional, holds moisture well, acidic), coconut coir (sustainable alternative to peat, similar water-holding, neutral pH), or aged bark (coarser, drains faster, lasts longer in the bed). Peat and coir come in compressed bales; bark comes bagged or bulk. For most vegetables, coir or peat works better than bark because they hold more water.
Mixing the soil step by step
If you are mixing on the ground, lay a tarp or use a concrete pad so you do not lose material into grass or dirt. Spread one-third of your topsoil across the tarp, then one-third of your compost, then one-third of your drainage material. Repeat the layers until all material is on the tarp.
Use a shovel or garden fork to turn the pile, moving material from one side to the other. Turn it at least three times—more if you want it very uniform. The goal is no visible streaks of pure compost or pure topsoil. After the final turn, the mix should look fairly consistent in color and texture.
If your bed is in place and you do not want to mix off-site, you can layer directly into the bed: one-third topsoil, one-third compost, one-third drainage material, then repeat. Water lightly between layers to help them settle together. This method is slower to integrate but saves moving soil twice.
Adjusting the mix for your plants and climate
Vegetables and most flowers do well with the standard 1:1:1 mix. If you live in a very wet climate or have heavy clay underneath your bed, increase the drainage material to 40 percent and reduce topsoil to 30 percent. If you live in a dry climate, increase compost to 40 percent to hold more moisture.
Acid-loving plants like blueberries and azaleas need peat moss or coir rather than bark, and benefit from a slightly higher proportion of drainage material. Root vegetables like carrots and parsnips prefer a looser, sandier mix—add 10 to 15 percent coarse sand if your compost is very fine.
If you are planting in spring and your compost is not fully finished, mix it in but plant a week later to let it settle and cool. Fresh compost can generate heat as it continues to break down, which can stress seedlings.
Reusing and refreshing soil year to year
You do not need to replace all the soil every year. After the first season, add 1 to 2 inches of fresh compost on top of the existing soil. This replaces nutrients the plants used and adds organic matter as the old compost breaks down further. Over three to five years, you will have turned over most of the original soil naturally.
If disease or pests were a problem in the bed, you may want to replace the top 4 to 6 inches of soil rather than just adding compost. Soil-borne fungi and some insect larvae overwinter in the top layer. Removing it reduces the chance of the same problem returning.
Every three to five years, consider replacing the entire bed if the soil has become very compacted or if you notice poor drainage despite adding compost. Old soil can also accumulate salt from fertilizers or hard water, which shows up as a white crust on the surface.
Common mistakes that waste money or harm plants
Using only topsoil or only compost is the most common error. Topsoil alone compacts into a brick-like layer that roots cannot penetrate and water cannot drain through. Compost alone is expensive, dries out in hot weather, and does not provide enough mineral content for long-term plant health.
Buying "garden soil" instead of topsoil is another trap. Garden soil is topsoil with compost already mixed in, which means you are paying compost prices for what should be a cheaper base layer. For a raised bed, buy topsoil and compost separately so you control the ratio.
Filling the bed with subsoil (the pale, compacted layer under topsoil) or clay-heavy soil will result in poor drainage and stunted plants. If a supplier offers very cheap topsoil, ask what is in it. Topsoil should be dark brown and crumbly, not gray or sticky.
Frequently Asked Questions
Can I use garden soil from my yard instead of buying topsoil?
Only if it is dark, crumbly, and drains well. Most yard soil is too compacted or clay-heavy for a raised bed. If you dig down and the soil is pale, sticky, or hard to break apart, it is not suitable. You can mix yard soil as part of the bed (up to 25 percent) if it is good quality, but do not use it as your main ingredient.
Is peat moss or coconut coir better for drainage?
Coconut coir holds slightly more water and is more sustainable, but peat moss is cheaper and more widely available. For most vegetables, either works. Coir is better if you live in a wet climate; peat is fine if you live in a dry one. The difference is small enough that price and availability should guide your choice.
How deep should my raised bed be?
Most vegetables need 10 to 12 inches. Root vegetables like carrots and parsnips do better with 12 to 18 inches. Shallow beds (6 to 8 inches) work for lettuce, herbs, and shallow-rooted greens but limit what you can grow. Deeper is always safer if you have the space and budget.
Can I mix in perlite or vermiculite instead of peat moss?
Perlite (white, puffy volcanic glass) improves drainage but does not hold water or nutrients. Vermiculite holds water and nutrients but can compact over time. Both are more expensive than peat or coir for the same volume. Use them only if you have a specific reason—perlite for very wet climates, vermiculite for very dry ones—not as your main drainage material.
What if I cannot find the exact materials you described?
The principle matters more than the brand. You need something that drains (peat, coir, bark, perlite), something that feeds (compost, aged manure, worm castings), and something that structures (topsoil, aged bark, coconut husk chips). If your garden center does not have peat, use coir. If it does not have topsoil, use a mix of compost and bark. The bed will still work.