Agriculture calculators

Soil Calculator

Updated May 20, 2026 By Jehan Wadia
Soil Type
Affects weight estimates and bag recommendations.
Area & Depth
Enter a valid positive area
Quick depth presets: 6 in – Flowers 8 in – Greens 12 in – Vegetables 18 in – Deep crops 24 in – Shrubs

Soil Requirements Summary
Total Volume
0 cu ft
Cubic Yards
0.00 yd³
Estimated Weight
0 lb
Liters
0 L
Pre-Mixed Bag Estimates (+10% waste factor)
0.75 cu ft bags (typical small bag)0 bags
1.0 cu ft bags0 bags
1.5 cu ft bags0 bags
2.0 cu ft bags (large bag)0 bags
3.0 cu ft bags (extra-large)0 bags
Volume Breakdown
Volume Conversions
Cubic Feet0
Cubic Yards0
Cubic Meters0
Liters0
Gallons (US)0
Quarts (US)0

Introduction

Figuring out how much soil you need for a garden bed, raised planter, or landscaping project can be tricky. Buy too little and you'll make extra trips to the store. Buy too much and you'll waste money and have piles of leftover dirt. This Soil Calculator takes the guesswork out of the process by telling you the exact volume of soil you need based on your project's dimensions.

Simply enter the shape and size of your planting area — whether it's a rectangle, circle, triangle, or an irregular shape — along with the desired depth. The calculator instantly gives you results in cubic feet, cubic yards, and liters. It also estimates the total weight based on your soil type (potting mix, garden soil, or topsoil) and tells you how many bags to buy at common store sizes, with a built-in 10% waste factor so you don't come up short.

Need to plan for multiple garden beds at once? Use the multi-zone feature to add separate areas with different shapes and depths, and the calculator will add everything up for you. You can also use the quick depth presets — from 6 inches for flowers to 24 inches for shrubs — based on standard planting guidelines. Whether you're filling a small container or building out an entire backyard garden, this tool helps you get the right amount of soil the first time.

How to use our Soil Calculator

Enter the dimensions of your garden bed or planting area, and this calculator will tell you exactly how much soil you need in cubic feet, cubic yards, liters, and bags.

Calculator Mode: Choose between "Dimensions Mode" to enter the length, width, and depth of your space, or "Area Mode" if you already know the total square footage of your planting area. If you need help determining your area first, try our Square Footage Calculator.

Soil Type: Select the type of soil you plan to use — Potting Mix, Garden Soil, or Topsoil. Each type has a different weight per cubic foot, which affects the weight estimate and bag count. For topsoil-specific projects, our dedicated Topsoil Calculator can also help.

Shape (Dimensions Mode): Pick the shape that best matches your garden bed — Rectangle, Circle, Triangle, or Irregular. The calculator will show a diagram and ask for the right measurements based on the shape you choose.

Length and Width (Rectangle): Enter the length and width of your rectangular bed, and choose the unit (feet, inches, yards, meters, or centimeters) from the dropdown next to each field.

Diameter (Circle): If your bed is round, enter the full diameter — the distance across the widest part of the circle — and pick your unit. You can use our Circle Area Calculator if you need to verify the area of a round bed.

Base and Height (Triangle): For a triangular bed, enter the base length and the height from the base to the opposite point, along with their units. Our Triangle Area Calculator can help if you need to confirm the area first.

Area (Irregular Shape): If your bed has an odd shape, enter the total area in square feet, square yards, or square meters directly. The Area Calculator can help you figure out the area of unusual shapes.

Depth: Enter how deep you want the soil to be. You can type in a number and pick a unit, or click a quick preset like 6 inches for flowers, 12 inches for vegetables, or 24 inches for shrubs.

Total Area (Area Mode): If you already know the square footage of your space, enter it here and select the unit — square feet, square yards, or square meters.

Add Another Zone: If you have more than one garden bed, click "Add Another Zone" to enter dimensions for each area separately. The calculator will add them all together and show a zone-by-zone breakdown in the results.

Calculate: Press the "Calculate" button to see your total soil volume, estimated weight, bag recommendations (with a 10% waste factor built in), and a full volume conversion table covering cubic feet, cubic yards, cubic meters, liters, gallons, and quarts. For quick unit conversions, our Cubic Yard Calculator and Cubic Feet Calculator are also helpful references.

Soil Calculator: How Much Soil Do You Need?

Figuring out how much soil to buy for a garden bed, raised bed, or planting area can be tricky. If you buy too little, you'll need extra trips to the store. If you buy too much, you waste money and end up with piles of unused dirt. This soil calculator helps you find the exact amount of soil you need based on the size and shape of your planting area.

How Soil Volume Is Calculated

The amount of soil you need depends on three things: the length, width (or diameter), and depth of the area you want to fill. The calculator multiplies these measurements together to get a volume, usually shown in cubic feet or cubic yards. For a rectangular bed, the formula is simple: length × width × depth. For circular areas, it uses the diameter to find the area of the circle first, then multiplies by depth. Triangular and irregular shapes each have their own formulas built in. If you're working with a more complex volume calculation, our Volume Calculator covers additional shapes.

Why Soil Depth Matters

Different plants need different amounts of soil to grow healthy roots. Here are some common guidelines:

  • 6 inches — Good for flowers and shallow-rooted annuals
  • 8 inches — Works well for leafy greens like lettuce and spinach
  • 12 inches — The standard depth for most vegetables like tomatoes, peppers, and beans
  • 18 inches — Needed for deep-rooted crops like carrots, potatoes, and parsnips
  • 24 inches — Best for shrubs, berry bushes, and small trees

Choosing the right depth helps your plants develop strong root systems, which leads to better growth and bigger harvests. Once you know how deep to fill, use our Plant Spacing Calculator to figure out how far apart to place each plant for optimal growth.

Understanding Soil Types and Weight

Not all soil weighs the same. Potting mix is lightweight, typically around 25 pounds per cubic foot, because it contains perlite, peat moss, and other airy materials. Garden soil and topsoil are much heavier, weighing about 75 pounds per cubic foot, since they contain more minerals, clay, and moisture. Knowing the weight matters when you're hauling bags in your car or planning a bulk delivery by the truckload.

Buying Bags vs. Bulk Soil

Bagged soil comes in standard sizes like 0.75, 1.0, 1.5, 2.0, and 3.0 cubic feet. For small projects like a single raised bed, bags are convenient. For larger jobs, buying soil in bulk by the cubic yard is usually cheaper. One cubic yard equals 27 cubic feet, which is enough to fill a 4×8-foot raised bed about 10 inches deep.

The calculator adds a 10% waste factor to its bag estimates. This accounts for soil that spills, settles after watering, or gets left behind in bags. Soil naturally compacts over time, so having a little extra on hand is always a smart idea.

Tips for Filling Raised Beds and Garden Areas

  • Mix soil types — A blend of topsoil, compost, and potting mix creates a rich growing medium with good drainage. Our Compost Calculator can help you figure out how much compost to add to the mix.
  • Expect settling — Fresh soil can settle by 10–20% after the first few waterings. Top off beds as needed.
  • Use the zone feature — If your garden has beds of different shapes and sizes, add multiple zones to get one combined total instead of calculating each bed separately. For raised bed projects specifically, check out our Raised Bed Soil Calculator for a streamlined workflow.
  • Test your soil — Before adding new soil, consider a soil test to check pH and nutrient levels. This helps you pick the right amendments from the start. Our Fertilizer Calculator can then help you determine the right amount of fertilizer to apply based on your soil's needs.
  • Plan complementary materials — Many garden projects also call for mulch, pea gravel for drainage layers, or sand for soil amendment. Calculate those quantities ahead of time as well.

If you're also installing sod as part of your landscaping, our Sod Calculator can help you determine exactly how much you need. And for digging out existing soil before filling, the Excavation Calculator and Dirt Calculator are useful for estimating removal volumes.

Whether you're building a new raised bed, filling containers on a patio, or preparing a large garden plot, knowing your exact soil needs saves time, money, and effort. Enter your measurements above to get started.


Frequently asked questions

What is the 10% waste factor and why is it included?

The calculator adds 10% extra to your bag estimates. This covers soil that spills, settles after watering, or stays stuck in bags. Soil compacts over time, so having a little extra means you won't come up short.

What is the difference between Dimensions Mode and Area Mode?

Dimensions Mode lets you enter the length, width, diameter, or base and height of your garden bed depending on its shape. Area Mode is for when you already know the total square footage of your space. Both modes ask for depth to calculate the total volume of soil needed.

How do I calculate soil for a round garden bed?

Select the Circle shape in Dimensions Mode. Enter the diameter, which is the distance across the widest part of the circle. Then enter your desired depth. The calculator uses the formula π × radius² × depth to find the volume automatically.

How many cubic feet are in a cubic yard?

There are 27 cubic feet in one cubic yard. The calculator converts between these units for you so you can see your results in whichever unit is most helpful for buying soil.

How deep should soil be for a vegetable garden?

Most vegetables grow best with 12 inches of soil. Shallow-rooted plants like lettuce need about 8 inches. Deep-rooted crops like carrots and potatoes need 18 inches. The calculator has quick depth presets you can click to set common depths fast.

Can I calculate soil for more than one garden bed at the same time?

Yes. In Dimensions Mode, click the Add Another Zone button to add more beds. Each zone can have its own shape, size, and depth. The calculator adds them all together and shows a breakdown for each zone in the results.

How accurate are the weight estimates?

The weight estimates are based on average dry densities: about 25 lb per cubic foot for potting mix and about 75 lb per cubic foot for garden soil or topsoil. Actual weight can vary depending on moisture content, brand, and how tightly the soil is packed.

What bag sizes does the calculator support?

The calculator shows estimates for five common bag sizes: 0.75, 1.0, 1.5, 2.0, and 3.0 cubic feet. These are the most common sizes sold at garden centers and home improvement stores.

What units can I use for my measurements?

For length, width, diameter, base, and height, you can use feet, inches, yards, meters, or centimeters. For depth, the same options are available. In Area Mode, you can enter area in square feet, square yards, or square meters.

How do I calculate soil for an odd-shaped garden bed?

Select the Irregular shape option in Dimensions Mode. Then enter the total area of your bed in square feet, square yards, or square meters. The calculator multiplies that area by your chosen depth to get the volume.

Should I use potting mix or garden soil?

Potting mix is best for containers and raised beds because it is lightweight and drains well. Garden soil and topsoil work better for in-ground beds and large areas. Potting mix weighs about 25 lb per cubic foot, while garden soil weighs about 75 lb per cubic foot.

How much soil settling should I expect?

Fresh soil can settle by 10% to 20% after the first few waterings. This is normal. Plan to top off your beds after they settle. The 10% waste factor in the bag estimates helps account for some of this settling.

What does the volume chart in the results show?

If you have one zone, the chart shows your total volume displayed as a bar graph in cubic feet, cubic yards, and cubic meters. If you have multiple zones, it shows a donut chart breaking down what percentage of the total volume each zone uses.

When should I buy bags versus bulk soil?

Bags are best for small projects like a single raised bed or a few containers. For larger projects, buying in bulk by the cubic yard is usually cheaper. One cubic yard fills about 27 cubic feet, which is enough for a 4×8-foot bed about 10 inches deep.

How do I reset the calculator and start over?

Click the Reset button. This clears all zones, resets all inputs to their default values, switches back to Dimensions Mode, and recalculates with the default settings.