Topsoil Calculator for Raised Beds
Enter your raised bed interior dimensions and fill depth to get the cubic yards, bags, and cost to fill it.
How to Use This Calculator
Enter the interior length and width of your raised bed in feet, then set the fill depth in inches. Use the interior measurements, not the exterior; the bed walls take up some space. For a standard 4 × 8 × 10-inch raised bed, enter length 4, width 8, depth 10. The result shows cubic yards for bulk ordering, the equivalent number of 0.75 cu ft bags, and a cost estimate. A 10% settling allowance is included since raised bed soil compacts after the first watering cycles. For beds with multiple sections or an L-shape, calculate each section and add the results. If you plan to use a lasagna-style bed (layers of compost, wood chips, and topsoil), calculate only the depth of the topsoil layer on top, not the total bed depth.
How to Calculate Raised Bed Topsoil
Raised bed topsoil: Cubic Feet = Length (ft) × Width (ft) × Depth (ft). Cubic Yards = Cubic Feet ÷ 27. Depth in feet = depth in inches ÷ 12.
Standard raised bed fill amounts:
| Bed size | Depth | Cubic yards (with 10% settling) |
| 4 × 4 ft | 10 in | 0.54 yd³ |
| 4 × 8 ft | 10 in | 1.09 yd³ |
| 4 × 8 ft | 12 in | 1.30 yd³ |
| 4 × 12 ft | 12 in | 1.96 yd³ |
| 8 × 12 ft | 12 in | 3.91 yd³ |
Tip: for multiple beds, calculate each bed's volume and sum the cubic yard totals before ordering. Ordering for all beds together often meets bulk delivery minimums and reduces the per-yard cost.
Raised Bed Soil Tips
Do not fill raised beds with pure topsoil. Pure topsoil compacts in the confined space of a raised bed within one or two growing seasons. A better mix is 60% topsoil, 30% compost, and 10% perlite or coarse sand for drainage. This mimics the texture and drainage of quality garden soil at a lower cost than buying premixed products.
Consider the Hugelkultur approach for deep beds. For raised beds taller than 12 inches, fill the bottom third with wood, straw, or other organic material before adding topsoil. This buried organic layer retains moisture, adds nutrients as it decomposes, and cuts your topsoil requirement significantly. The trade-off: the bed will settle more in the first year as the material breaks down.
Top off beds every spring. Raised bed soil volume drops 10 to 20% each year as organic matter breaks down. Adding 1 to 2 inches of compost each spring before planting restores fertility and replaces the lost volume. Never let the fill level drop more than 3 inches below the top of the bed walls; shallow soil dries out faster and limits root depth.
What to Buy
For single beds under 2 cubic yards, bagged products are the most practical option. Mel's Mix (equal parts coarse vermiculite, peat moss, and compost) is a proven formula for raised bed gardening. Alternatively, buy bagged topsoil and bagged compost separately and mix at a 50/50 ratio; this is usually cheaper than buying premixed "raised bed soil."
For multiple beds or beds over 2 cubic yards total, order bulk topsoil and compost separately. A landscape supplier can deliver both in a single trip. Aim for a finished mix of 60% topsoil and 40% compost. Avoid topsoil blended with wood chips or bark unless they are fully composted; fresh wood material ties up nitrogen as it breaks down and can stunt plant growth in the first season.
Frequently Asked Questions
How much topsoil do I need for a 4x8 raised bed? +
A 4 × 8 raised bed at 10 inches deep needs about 26.7 cubic feet of material, which is just under 1 cubic yard. With a 10% settling allowance, order 1 cubic yard bulk or 36 bags of 0.75 cu ft. At 12 inches deep, you need 32 cubic feet or 1.19 cubic yards before settling (1.3 yards with allowance, about 48 bags). Many gardeners fill the bottom half with compost or wood chips and top with 6 inches of quality topsoil or garden mix.
How much topsoil do I need for a 4x4 raised bed? +
A 4 × 4 raised bed at 10 inches deep needs 13.3 cubic feet, or 0.49 cubic yards. With settling allowance, order 0.54 cubic yards or about 20 bags of 0.75 cu ft. At 12 inches deep: 16 cubic feet, 0.59 cubic yards before settling, 0.65 yards with allowance (24 bags). A 4 × 4 bed is typically the most economical size for bags; bulk delivery minimums often make bags more practical at this scale.
Should I use topsoil or garden soil for a raised bed? +
For raised beds, a 50/50 mix of topsoil and compost outperforms pure topsoil. Pure topsoil compacts over time in the confined space of a raised bed, restricting drainage and root growth. Garden soil (sold in bags) already contains added compost and perlite, making it a good choice for small raised beds but expensive at scale. For large raised beds, buy bulk topsoil and blend with bulk compost at a 1:1 ratio. This costs less per cubic yard than bagged garden soil and performs better long-term.
How deep should I fill a raised bed? +
Most vegetable crops need at least 12 inches of root space. 10 to 12 inches is the standard fill depth for raised beds growing vegetables. For root vegetables like carrots and parsnips, 18 to 24 inches is better. For shallow-rooted crops like lettuce, herbs, and strawberries, 6 to 8 inches is sufficient. If your bed sits on native soil, the roots will grow through the bottom as the bed ages, so shallower beds become more productive over time.
How much does it cost to fill a raised bed with topsoil? +
The cost depends on bed size and whether you buy bags or bulk. A 4 × 8 bed at 12 inches needs about 1.3 cubic yards. In bags at $6 per 0.75 cu ft bag: about $290 for 48 bags. In bulk topsoil at $40 per yard: about $52 plus delivery fee. For beds larger than 2 cubic yards, bulk delivery pays off. Many landscape suppliers have a 1 cubic yard minimum; buying bags is often more practical for a single 4 × 8 bed.
Can I use dirt from my yard to fill a raised bed? +
Yard dirt works if your soil has good structure and no contamination, but most yard soil compacts heavily in a raised bed. Native clay soil is especially problematic: it restricts drainage, bakes hard in summer, and stunts root growth. If your yard has sandy loam or loamy soil with good drainage, blending it with 30 to 50% compost can make it usable. Test it by filling a mason jar with soil and water, shaking, and letting it settle. If the bottom layer is more than 25% clay (the finest particles settle last), add significant amendment before using it.
How often should I add topsoil to a raised bed? +
Raised bed soil shrinks by 10 to 20% each year as organic matter breaks down. Top off beds every spring with 1 to 2 inches of compost or a compost-topsoil blend to maintain the fill level and restore nutrients. After 3 to 5 years, you may need to replace or significantly amend the entire bed contents if drainage or plant performance declines. Avoid repeatedly adding pure topsoil without compost; it degrades soil structure over time.