By Jagdish Reddy | 10+ Years Gardening Experience
Reviewed Against: University of Maryland Extension Guide to Filling Raised Beds • Utah State University Extension Raised Bed Gardening Fact Sheet
Updated: July 2026
A soil volume calculator answers one simple but expensive question: how much soil do you actually need before you buy it. Guess wrong and you either haul home three extra bags or stand in your half filled bed wondering why you stopped one trip too early.
This tool takes your bed length, width, and depth, then returns the exact volume, an ingredient breakdown by soil mix, and a bag count you can hand to the person at the checkout counter. If you have been searching how much soil do I need, how many bags of soil do I need, or how much topsoil do I need, this gives you the exact figure instead of a rough guess.
Soil Volume Calculator
Enter your area's dimensions — get exact soil volume & ingredients

What Is a Soil Volume Calculator?
A soil volume calculator is a tool that converts your bed measurements into the amount of soil, compost, and amendment you need to fill it. You enter length, width, and depth, and it does the multiplication for you.
Some people search for this same tool as a soil quantity calculator, a garden soil calculator, or a cubic yard soil calculator. They all solve the same problem, turning a shape into a number you can order by.
The output matters more than the label. What you actually want is a volume you can hand to a supplier or use to count bags at the store, and that is exactly what this tool produces.
How This Soil Volume Calculator Works
Enter your bed length and width in meters, feet, or centimeters. Add a depth in centimeters, inches, or meters, since depth is usually measured differently than the footprint.
Pick a soil mix ratio, tell it how many beds you are filling, and press calculate. The result shows total volume plus how much of each ingredient to buy.
Why Estimating Soil Volume Matters
Soil is heavy, bulky, and not cheap once you factor in delivery or gas money for multiple store runs. A wrong estimate costs either wasted cash or a stalled planting day.
Getting the number right the first time means one trip, one order, and a bed that is actually ready to plant the same weekend.

Who This Calculator Helps
Home gardeners filling a new garden bed. Landscapers quoting a client project. Homeowners leveling a low spot in the lawn or building a flower border from scratch.
Farmers and market gardeners planning multiple identical beds also use it, since the bed count field multiplies everything without repeating the math by hand.
Anyone who has ever stood in a garden center parking lot recalculating bags on their phone will find this useful.
Why Accurate Soil Volume Calculations Save You Money
Prevent Buying Too Much Soil
Extra bags sitting in the garage are money you cannot get back easily. Most stores will not take open bags back, and unused soil dries out and loses structure over a season.
Avoid Running Out Mid-Project
Nothing kills momentum like driving back to the store with a half filled bed sitting open in the rain. A correct soil volume calculation means you buy once and finish the job in one session.
Save Money on Landscaping Materials
Bulk soil is almost always cheaper per cubic yard than bagged soil, but only if you order the right amount. Suppliers charge delivery fees regardless of quantity, so one accurate order beats two smaller ones.
Reduce Material Waste
Overordering soil is one of the more overlooked forms of garden waste. Calculating volume first means less unused material and less pressure to find somewhere to store it.
Compare Bulk vs Bagged Pricing Before You Buy
Once you know your exact volume, you can compare bulk delivery pricing against bagged soil pricing side by side. Bulk usually wins above roughly 1 cubic yard, while bagged soil makes more sense for small containers or beds without vehicle access.
Bulk suppliers price by the cubic yard and often charge a flat delivery fee regardless of quantity. Knowing your total volume upfront lets you ask for an accurate quote instead of guessing and calling back.
Common Projects You Can Calculate
This estimator works for any rectangular growing space, from a small planter to a full landscaping bed. Below are the most common uses gardeners search for.

| Project Type | Typical Depth | Notes |
|---|---|---|
| Vegetable garden plot | 8 to 12 in (20 to 30 cm) | Depends on native soil quality |
| Flower bed | 8 to 10 in (20 to 25 cm) | Shallower roots than vegetables |
| Container or planter | Full container depth | Use lighter, well draining mix |
| Landscape border | 4 to 6 in (10 to 15 cm) | Topping up existing soil |
| Lawn repair patch | 1 to 2 in (2.5 to 5 cm) | Topdressing a bare or low spot |
| Raised garden bed | 10 to 16 in (25 to 40 cm) | Deeper for larger root systems |
Vegetable Gardens and Flower Beds
Any in-ground bed getting a fresh layer of amended soil works the same way. Just measure the section you are actually improving, not your whole yard.
Containers and Planters
Treat the inside of the container as your growing area. Depth here usually equals the full container height since roots use the whole space.
Landscape Borders
Borders are usually shallow fills rather than full beds. A 4 to 6 inch depth is typical when topping up soil around existing plantings.
Lawn Repair and Topdressing
Leveling a low spot or bare patch in the lawn is really a shallow, wide area calculation. Enter the length and width of the patch and a depth of 1 to 2 inches for a topdressing estimate.
Greenhouse Beds and Tree Pits
Greenhouse beds follow the same rectangular math as any other growing area. For tree and shrub planting pits, measure the amended backfill area rather than the entire hole, since native soil usually fills most of the space.
Raised Garden Beds
Raised beds work the same way as everything else on this list. Enter the inside measurements and a mix ratio, and you get the volume and ingredient split.
Planning a dedicated raised garden bed? Try our Raised Bed Soil Calculator for soil depth recommendations, raised bed mixes, and crop-specific estimates.
How to Use the Soil Volume Calculator
Five inputs are all it takes to get an exact number back.
Step 1: Measure the Length
Measure the inside length of your bed, not the outside edge of the frame. Boards add width that is not actual growing space.
Step 2: Measure the Width
Same rule applies. Measure the inside width so your total volume reflects the actual space you are filling.
Step 3: Measure the Depth
Depth is how deep you plan to fill, not necessarily the full height of the bed frame. If your bed is 14 inches tall but you only want 10 inches of soil, enter 10.
Step 4: Select a Soil Mix and Bed Count
Choose from Mel’s Mix, Standard, Premium, or Budget ratios, then enter how many identical beds you are filling. The estimator multiplies everything automatically.
Step 5: Calculate
Press calculate and the tool returns total volume in liters and cubic meters, an approximate weight in kilograms, and a per-ingredient breakdown with bag counts.
A Full Walkthrough Example
Suppose you are filling a flower bed measuring 2.4 meters long, 1.2 meters wide, with a fill depth of 25 centimeters. You plan to use the Standard mix ratio for this one area.
Enter 2.4 for length in meters, 1.2 for width in meters, and 25 for depth in centimeters. Select Standard from the mix dropdown and leave the count at 1.
The math multiplies 2.4 x 1.2 x 0.25 meters for 0.72 cubic meters, then converts that to 720 liters. At Standard ratios, that means about 432 liters of topsoil, 216 liters of compost, and 72 liters of perlite or sand.

In bag terms, that is roughly 11 bags of topsoil, 5 to 6 bags of compost, and 2 bags of perlite or sand at 40 liters each.
The Soil Volume Formula Explained
The math behind every soil volume calculator is the same simple multiplication.
The Basic Formula
Volume = Length x Width x Depth. Keep all three measurements in the same unit before multiplying, then convert the result to the unit you actually want to order in.
This estimator converts your length and width to meters and your depth to meters as well, multiplies them, then converts to liters for a number that matches how most bagged soil is sold.
Converting Between Units
If you are used to thinking in cubic feet or cubic yards for a US landscaping order, you can convert the liter result using the reference table further down this page.
One cubic yard equals roughly 764 liters, so dividing your total liters by 764 gives you a bulk delivery quantity a supplier will recognize immediately.
Choosing the Right Soil Mix Ratio
The tool offers four preset mixes, each built around a different goal.
| Mix | Ratio (Topsoil / Compost / Perlite or Sand) | Best For |
|---|---|---|
| Mel’s Mix | 33% / 33% / 34% | Square foot gardening, lightweight beds |
| Standard | 60% / 30% / 10% | Most vegetable and flower beds |
| Premium | 40% / 40% / 20% | Heavy feeders, extra drainage |
| Budget | 70% / 20% / 10% | Large beds, tighter budgets |
Mel’s Mix skips native topsoil entirely, which keeps beds light but usually needs more frequent feeding since there is no mineral soil base. Standard is the safest default for most first time garden beds.
When Premium Is Worth the Extra Cost
Premium mix raises compost to 40 percent and perlite to 20 percent, which improves both nutrition and drainage. It costs more per liter but pays off for heavy feeding vegetables and ornamental plants that punish poor soil structure with stunted growth.
When Budget Makes Sense
Budget mix leans heavily on topsoil at 70 percent, which keeps material costs down for large beds. It works fine for lower maintenance plants but needs more supplemental fertilizer through the season since compost volume is lower.
Matching Mix to Native Soil
If your native ground soil is already decent loam, a lighter compost percentage like Budget can work since you are building on a reasonable base. On top of poor clay or pure sand, Premium or Standard gives new plantings a better shot in year one.
Example Soil Volume Calculations
Whether you are searching how much soil do I need or how much topsoil do I need for a specific project, these worked examples use the exact formula behind the results, so you can sanity check any number you get back.
| Bed Size | Depth | Total Soil Volume |
|---|---|---|
| 4 ft x 8 ft garden bed (1.2m x 2.4m) | 10 in (25 cm) | Approximately 730 liters |
| 4 ft x 4 ft flower bed (1.2m x 1.2m) | 10 in (25 cm) | Approximately 365 liters |
| 10 ft x 10 ft vegetable plot (3m x 3m) | 8 in (20 cm) | Approximately 1,800 liters |
| 2m x 1m planter | 30 cm | 600 liters |
| 3 ft x 3 ft container | 12 in (30 cm) | Approximately 245 liters |
| 6 ft x 2 ft landscape border | 4 in (10 cm) | Approximately 105 liters |
A 4 ft by 8 ft garden bed at 10 inches deep needs roughly 26 cubic feet, or right around 730 liters. That works out to about 19 bags if you are buying 40 liter bagged soil.
Notice how a border twice as long simply doubles the border’s volume. This is exactly what the count field automates, so you never have to run the same calculation twice by hand.
Best Time to Add New Soil
Fall and early spring are the two best windows for adding new soil in most US climates, whether you are filling a flower bed, a vegetable garden, a lawn patch, a border, or a raised bed. Fall filling gives soil and compost a winter to settle and blend before spring planting.
If you are filling right before planting season, add the mix at least two to three weeks ahead when possible. This gives compost time to start integrating instead of sitting as a distinct layer under new plantings.
In hot summer climates, avoid filling and planting on the same day during a heat wave. Fresh soil in full sun heats up fast and can stress young plants before roots establish.
Testing Soil Before You Fill
If you are blending in any native soil, a basic soil test before filling tells you the starting pH and whether lead or heavy metal levels are a concern, especially on older urban lots.
Most state extension offices offer low cost soil testing labs that return results in one to two weeks. This is worth doing once before a permanent bed or border installation, even if you plan to fill mostly with purchased mix.
Reading Your Results
The results panel breaks everything down so you are not doing extra math at the store.
Total volume appears in liters and cubic meters, with an approximate weight in kilograms so you know what you are lifting or asking a delivery driver to unload.
Below that, each ingredient in your chosen mix shows its percentage, volume in liters, and an estimated bag count based on standard 40 liter bags.
The tool also flags depth issues automatically. Beds under 20 cm deep get a note about limited root growth, and beds over 60 cm deep suggest filling the lower half with logs or rocks using a hugelkultur approach.
How Many Bags of Soil Do You Need?
Bag counts depend entirely on bag size, and bagged soil is not sold in one standard size. The results use 40 liter bags as a reference point, which is a common size for compost, topsoil, and garden mixes.

If your local store sells 50 liter or 60 liter bags instead, divide the total liters shown by your actual bag size rather than the 40 liter figure. Always round up rather than down.
Buying one extra bag costs a few dollars. Running short mid-fill costs another trip, another delivery fee, or a bed that sits half planted for a week.
| Total Volume | Bags at 40L Each | Bags at 60L Each |
|---|---|---|
| 365 liters | Approximately 10 | Approximately 7 |
| 600 liters | Approximately 15 | Approximately 10 |
| 730 liters | Approximately 19 | Approximately 13 |
| 1,800 liters | Approximately 45 | Approximately 30 |
Weight of Soil: What to Expect
Soil is heavier than most people expect. The weight estimate runs at roughly 0.85 kilograms per liter, which lands close to the weight of a moist topsoil and compost blend.
A 730 liter fill works out to around 620 kilograms, or close to 1,370 pounds. That is worth knowing before you plan to move it by hand in a single afternoon.
If you are hauling soil in a wheelbarrow, a typical contractor wheelbarrow holds about 100 liters per full load, so a 730 liter bed needs roughly 7 to 8 trips.
Tips for Measuring Soil Volume Accurately
Measure Inside Dimensions
Always measure the inside of the frame, not the outer edge. This single habit prevents most overestimates.
Account for Settling
Fresh soil and compost settle 10 to 15 percent within the first month as it compacts naturally. Buying slightly more than your exact number covers this without a second trip.
Check for Uneven Ground
If your bed sits on sloped or uneven ground, measure depth at both the shallow and deep ends and average the two before entering it.
Double Check Before Ordering
Run the numbers twice, especially when switching between metric and imperial units. A missed unit conversion is the single most common estimating mistake.
Use a String Line for Odd Shaped Beds
Curved or irregular beds are not truly rectangular, so run a string line around the perimeter first and average it into a rectangle before entering dimensions. This gets you close enough for ordering purposes.
Adjust for Your Climate
Hot, dry climates dry soil out faster and often benefit from slightly deeper beds so roots have more buffer during heat stress. Cooler, wetter regions can run slightly shallower since moisture retention is less of a concern.
Sandy soils drain fast and may need a touch more compost in the mix, while heavy clay native soil benefits from building a bed up on top rather than trying to amend the clay directly.
Common Mistakes When Estimating Soil Volume
Forgetting to convert inches to feet, or centimeters to meters, before multiplying. This alone can throw a result off by a factor of ten or more.
Ignoring compaction and buying the exact bare minimum, then running short once the soil settles into the bed.
Guessing bed dimensions instead of measuring them. A bed that looks like 6×3 is sometimes 5.5×2.5 once you actually put a tape measure on it.
Using outside frame measurements instead of inside growing space, which overstates how much soil you actually need.
Picking a soil mix ratio that does not match the plants. Heavy feeding vegetables and ornamentals do better with a Premium or Standard mix, while a bare Mel’s Mix without topsoil needs more frequent fertilizing to keep up.
Forgetting to multiply by count when filling several identical beds, borders, or planters at once, which leads to ordering enough for just one.
Quick Soil Volume Conversion Reference
| Unit | Equals | Common Use |
|---|---|---|
| 1 cubic yard | 27 cubic feet | Bulk soil and mulch orders |
| 1 cubic yard | Approximately 764 liters | Comparing to metric calculator results |
| 1 cubic foot | Approximately 28.3 liters | Reading bagged soil labels |
| 1 cubic meter | 1,000 liters | Metric bulk delivery |
Soil Volume for Multiple Areas and Larger Projects
Market gardeners and landscapers often need identical beds, borders, or planters repeated across a plot. The count field handles this directly, multiplying your per-unit volume by however many you enter.
For larger landscaping jobs with different sizes, run your soil estimate once per unique size and add the totals together before placing a bulk order.
This approach also helps when quoting client work, since you can show an exact material breakdown rather than a rounded estimate.
Frequently Asked Questions
How much soil do I need?
The exact amount depends on your length, width, and depth. Multiply the three together, keeping units consistent, and you get a total volume you can convert to liters, cubic feet, or cubic yards for ordering.
How do I calculate soil volume?
Multiply length by width by depth, keeping all three in the same unit. For a 6 ft by 3 ft area at 8 inches deep, convert 8 inches to 0.67 feet, then multiply 6 x 3 x 0.67 for about 12 cubic feet.
How many bags of soil do I need?
Divide your total volume in liters by your bag size in liters, then round up. A 40 liter bag is a common size for topsoil and compost, so 600 liters of total volume needs about 15 bags.
How do I convert cubic feet to cubic yards?
Divide your cubic feet total by 27, since one cubic yard equals 27 cubic feet. This is the number bulk suppliers use for delivery quotes.
Should I order extra soil?
Yes. Adding 10 to 15 percent extra covers natural settling as compost breaks down and soil compacts over the first few weeks.
Does the calculator work with metric units?
Yes. Length and width accept meters, feet, or centimeters, and depth accepts centimeters, inches, or meters, so you can mix and match based on how you actually measured your area.
What soil mix ratio should I use?
Standard (60 percent topsoil, 30 percent compost, 10 percent perlite or sand) works well for most vegetable and flower beds. Choose Mel’s Mix for lightweight square foot gardening beds, or Premium if you want extra drainage for heavy feeding plants.
Can I use this calculator for mulch or compost only?
This tool is built around soil mix blends with topsoil, compost, and perlite or sand. For a compost-only or mulch-only estimate, a dedicated compost or mulch calculator will give you a more precise single-material result.
Is loose soil different from compacted soil?
Yes. Loose, freshly delivered soil settles and compacts over the first few weeks, typically shrinking 10 to 15 percent in volume. This is why ordering a small buffer above your exact calculated number is worth it.
Soil Volume Calculator vs Manual Math
| Method | Time Needed | Risk of Error |
|---|---|---|
| Manual calculation | 5 to 10 minutes | Higher, unit conversion mistakes common |
| Soil volume calculator | Under 1 minute | Low, conversions handled automatically |
Manual math works fine for a single simple bed. Once you add multiple beds, unit conversions, or an ingredient breakdown, a calculator removes the room for error and gets you to an ordering number faster.
Before You Buy Soil
A short checklist to run through once your soil estimate is in hand.

Measure inside dimensions, not the outside edge of the frame or container.
Order 5 to 10 percent extra to cover natural settling over the first few weeks.
Confirm whether your supplier sells by the cubic yard or by liters, so your order matches their pricing units exactly.
Final Thoughts
Getting soil volume right before you buy saves money, saves trips, and gets your project finished faster. Enter your dimensions once, pick a mix that matches your goals, and let the results guide what you order.
For related planning, check our Raised Bed Soil Calculator, Topsoil Calculator, and Compost Calculator for related material estimates. Our guide on compost to soil ratio and how to improve garden soil cover what to do once your bed is filled.
For region specific fill depth and soil prep guidance, the University of Maryland Extension guide to filling raised beds and the Utah State University Extension raised bed gardening fact sheet are both solid references.
Disclaimer: Information on this site is for educational purposes only. Results vary by climate, soil, weather, and growing conditions. For region-specific advice, consult your local USDA Cooperative Extension Service before making major gardening or soil changes.
