Soil Calculator — Free Online Tool
🏔️

Soil Calculator

Calculate topsoil, fill dirt, and raised bed soil volume needed

Formula: Volume (cu ft) = [Length (ft) × Width (ft) × (Depth in inches / 12)] × 1.10 (accounts for 10% settling and compaction). 1 cubic yard = 27 cubic feet.
Area Dimensions & Bag Size

Calculation Results

⚠️ Loose soil naturally compacts over time after watering and rainfall. This calculator automatically factors in a 10% compaction allowance. Always measure twice and ensure proper drainage for garden beds and lawns.

The Soil Calculator is a free online landscaping and gardening tool that helps homeowners, gardeners, and contractors estimate the amount of topsoil, fill dirt, or raised bed soil needed for a project. By calculating soil volume in cubic feet and cubic yards, including a built-in 10% settling and compaction allowance, the calculator helps prevent material shortages, unnecessary expenses, and repeated trips to the garden center. Whether you’re filling a raised vegetable bed, leveling a lawn, or preparing a landscaping area, this tool also estimates how many bags of soil to purchase.

How to Use the Soil Calculator

Our Soil Volume Calculator makes it easy to determine soil requirements using your area’s dimensions and preferred soil bag size.

Step 1: Enter the Length

Locate the Length (ft) field.

Enter the length of the garden bed, lawn section, or landscaping area in feet.

For example:

Length = 12 ft

Measure the actual area that needs new soil. For irregularly shaped areas, divide the space into smaller sections and calculate each separately.

Step 2: Enter the Width

Locate the Width (ft) field.

Enter the width of the area in feet.

For example:

Width = 4 ft

Multiplying length by width determines the total surface area in square feet.

Step 3: Enter the Soil Depth or Thickness

Locate the Depth / Thickness (inches) field.

Enter the desired soil depth in inches.

For example:

Depth = 12 inches

The appropriate depth depends on your project. Raised vegetable beds often use 6–12 inches or more of growing medium, while surface lawn topdressing requires a much thinner layer.

Step 4: Select the Soil Bag Size

Locate the Bag Size Option dropdown.

Choose the bag size available from your local garden center or landscaping supplier.

For example:

Standard 1.5 cu ft Bags

The calculator uses the selected bag volume to determine how many bags are needed.

Step 5: Click Calculate Soil Volume

After entering the dimensions and bag size, click Calculate Soil Volume.

The calculator automatically determines:

  • Exact Volume: Soil volume before adding a settling allowance.

  • Total Volume with 10% Compaction: Additional soil included for anticipated settling.

  • Total Volume in Cubic Yards: Useful when ordering bulk soil.

  • Bags Needed: Number of soil bags required, rounded upward.

Step 6: Review Your Results

For a 12 ft × 4 ft garden bed with a 12-inch soil depth, the calculator displays:

Calculation ParameterResult
Exact Soil Volume48.0 cu ft
Total Volume with 10% Buffer52.8 cu ft
Total Volume in Cubic Yards1.96 cu yd
Bags Needed (1.5 cu ft)36 bags

These estimates help you compare bagged soil and bulk soil delivery options.

Soil Calculator Formula & How It Works

The Soil Calculator uses a standard rectangular volume formula, adds a 10% settling allowance, and converts the result into cubic yards and soil bag quantities.

1. How to Calculate Exact Soil Volume

The basic soil volume formula is:

Exact Volume (cu ft) = Length (ft) × Width (ft) × Depth (ft)

Because the calculator accepts depth in inches, the depth must first be converted into feet.

Depth (ft) = Depth (inches) ÷ 12

Therefore, the complete formula is:

Exact Soil Volume (cu ft) = Length (ft) × Width (ft) × [Depth (inches) ÷ 12]

For example:

  • Length = 12 ft

  • Width = 4 ft

  • Depth = 12 inches

First, convert depth:

12 ÷ 12 = 1 ft

Then calculate volume:

12 × 4 × 1 = 48

Exact Soil Volume = 48 cubic feet

This represents the theoretical amount of soil needed to fill the measured space without any extra allowance.

2. Why Does the Calculator Add 10% for Settling and Compaction?

Loose soil can settle after watering, rainfall, and natural consolidation.

When soil particles rearrange and air spaces decrease, the filled surface may become lower than the original level.

To help account for this, the calculator automatically includes a 10% extra soil allowance.

The formula is:

Total Soil Volume = Exact Soil Volume × 1.10

For example:

48 × 1.10 = 52.8

Total Soil Volume = 52.8 cu ft

The additional 4.8 cubic feet provides a practical buffer against possible settling and uneven filling.

Actual settling depends on soil texture, organic matter content, moisture, and how the soil is delivered and placed. A 10% allowance is a planning estimate, not a guaranteed compaction rate.

For planting areas, avoid deliberately compacting the soil excessively, as plant roots require adequate air space and drainage.

3. How to Convert Cubic Feet into Cubic Yards

Bulk topsoil and fill dirt are commonly sold by the cubic yard.

The standard conversion is:

1 Cubic Yard = 27 Cubic Feet

To convert cubic feet into cubic yards:

Cubic Yards = Total Cubic Feet ÷ 27

For example:

52.8 ÷ 27 = 1.9556

Rounded to two decimal places:

Total Soil Volume = 1.96 Cubic Yards

Therefore, approximately 1.96 cubic yards of soil are needed for the example project, including the 10% buffer.

If the supplier only sells whole cubic yards, you may need to order 2 cubic yards. Confirm delivery quantities and rounding policies before purchasing.

4. How to Calculate Soil Bags Needed

Bagged soil is commonly available in different volumes, including 1.0, 1.5, and 2.0 cubic feet.

The formula is:

Bags Needed = Total Soil Volume (cu ft) ÷ Bag Size (cu ft)

Always round up to the next whole bag.

For example:

Total Soil Volume = 52.8 cu ft

Bag Size = 1.5 cu ft

Bags Needed = 52.8 ÷ 1.5

Bags Needed = 35.2

Rounded upward:

Bags Needed = 36 Bags

Thirty-six bags containing 1.5 cubic feet each provide 54 cubic feet of soil, slightly more than the estimated requirement.

5. Difference Between Topsoil, Fill Dirt, and Raised Bed Soil

Choosing the correct soil material is just as important as calculating the required volume.

Soil TypeCharacteristicsCommon Uses
TopsoilSurface soil containing mineral particles and varying amounts of organic matterLawns, landscape beds, and soil improvement
Fill DirtPrimarily mineral soil with relatively little organic materialFilling low areas, grading, and certain construction applications
Raised Bed SoilGrowing medium designed to support root growth, drainage, and nutrient availabilityVegetable gardens, herbs, flowers, and raised planters

Topsoil: Suitable for improving or establishing planting areas when its texture, drainage, and quality match the existing soil.

Fill Dirt: Generally used to raise ground levels or fill depressions. It may not provide suitable growing conditions without additional preparation.

Raised Bed Soil: Designed for plant growth and often combines suitable soil, finished compost, and other amendments.

Avoid using poorly draining fill dirt as the primary growing medium for vegetables.

6. Recommended Soil Depth for Different Projects

The correct soil depth depends on the intended use.

Project TypeGeneral Soil Depth Guidance
Existing Lawn TopdressingApproximately ¼–½ inch per application
New Lawn Soil PreparationOften 4–6 inches or more of prepared rooting soil
Raised Vegetable BedsCommonly 6–12 inches, with deeper soil for some crops
Deep-Rooted VegetablesApproximately 12–24 inches of accessible rooting depth where needed
Landscaping FillDepends on the required finished ground level

For existing lawns, applying 2–4 inches of soil directly over established grass is generally too deep and may smother the turf. Such depths are more appropriate for certain lawn renovation or soil-building projects where the existing surface is being reconstructed.

Raised beds installed directly over healthy garden soil may allow roots to grow below the bed. Beds placed on concrete or other hard surfaces require sufficient growing depth within the container itself.

7. How to Measure Soil for Irregularly Shaped Areas

For rectangular or square areas, multiply length by width.

For irregular landscaping projects, divide the area into simpler shapes.

Common formulas include:

Rectangle:

Area = Length × Width

Triangle:

Area = (Base × Height) ÷ 2

Circle:

Area = π × Radius²

Multiply the area of each section by the required soil depth in feet.

Add the resulting volumes together, then apply the 10% settling allowance.

This method helps improve estimates for curved garden beds, uneven landscaping sections, and custom planting areas.

8. Bagged Soil vs. Bulk Soil: Which Is Better?

Bagged soil is convenient for small projects, especially when access is limited or only a few cubic feet are needed.

Bulk soil is often more economical for larger raised beds, lawn renovation, and substantial landscaping work.

Bagged Soil Advantages:

  • Easier to transport in small quantities.

  • Convenient for small garden beds.

  • Available in labeled growing-medium blends.

  • Less space required for temporary storage.

Bulk Soil Advantages:

  • Often lower material cost per cubic yard.

  • Suitable for larger projects.

  • Fewer individual packages to handle.

  • Convenient delivery for substantial soil requirements.

Compare the total cost, including delivery fees, soil quality, and any minimum order requirements.

9. Why Proper Drainage Matters When Adding Soil

Good soil drainage is essential for healthy roots, especially in raised vegetable beds and landscaping areas.

Poor drainage can lead to waterlogged conditions, reduced oxygen availability, and root damage.

Before adding new soil:

  • Check whether the area drains properly after rainfall.

  • Remove unsuitable debris and unwanted vegetation.

  • Avoid heavily compacting soil intended for plant growth.

  • Select a suitable soil texture and growing mix.

  • Ensure raised beds have a pathway for excess water to drain.

  • Avoid creating a sharp boundary between incompatible soil layers where possible.

A soil test can help identify pH, nutrient, and organic matter requirements before planting.

Example Calculation: Soil Needed for a 12 ft × 4 ft Raised Garden Bed

Let’s calculate the required soil volume using the exact example values from the Soil Calculator.

Given Values

  • Length: 12 ft

  • Width: 4 ft

  • Depth / Thickness: 12 inches

  • Settling and Compaction Buffer: 10%

  • Bag Size: 1.5 cu ft

Step 1: Convert Soil Depth into Feet

Use:

Depth (ft) = Depth (inches) ÷ 12

Substitute:

12 ÷ 12 = 1

Soil Depth = 1 ft

Step 2: Calculate Exact Soil Volume

Use:

Exact Volume = Length × Width × Depth

Substitute:

12 × 4 × 1 = 48

Exact Volume = 48.0 cu ft

Step 3: Calculate the 10% Compaction Allowance

Use:

Additional Volume = Exact Volume × 0.10

Substitute:

48 × 0.10 = 4.8

Additional Soil Allowance = 4.8 cu ft

Step 4: Calculate Total Soil Volume

Use:

Total Volume = Exact Volume × 1.10

Substitute:

48 × 1.10 = 52.8

Total Soil Volume = 52.8 cu ft

Step 5: Convert Cubic Feet into Cubic Yards

Use:

Cubic Yards = Cubic Feet ÷ 27

Substitute:

52.8 ÷ 27 = 1.9556

Rounded:

Total Volume = 1.96 cu yards

Step 6: Calculate the Number of Soil Bags

Use:

Bags Needed = Total Volume ÷ Bag Volume

Substitute:

52.8 ÷ 1.5 = 35.2

Round up:

Bags Needed = 36 Bags

Step 7: Final Calculation Results

Calculation ParameterResult
Garden Bed Length12 ft
Garden Bed Width4 ft
Soil Depth12 inches
Soil Depth in Feet1 ft
Exact Volume Without Buffer48.0 cu ft
Additional 10% Allowance4.8 cu ft
Total Soil Volume52.8 cu ft
Total Cubic Yards1.96 cu yd
Standard Bag Size1.5 cu ft
Total Bags Needed36 Bags

What Do These Results Mean?

For a raised garden bed measuring 12 feet long, 4 feet wide, and 12 inches deep, the exact soil volume is 48 cubic feet.

After adding the calculator’s 10% settling allowance, the estimated purchase quantity increases to 52.8 cubic feet, equivalent to approximately 1.96 cubic yards.

If purchasing standard 1.5-cubic-foot soil bags, you would need 36 bags.

Alternatively, approximately 2 cubic yards of bulk soil would cover the calculated requirement, assuming the supplier sells whole cubic yards and the delivered volume matches the stated quantity.

Important Gardening Reminder: Soil settling depends on its composition, moisture content, and handling. The calculator provides a planning estimate, not a precise prediction of final settled volume. Measure the area carefully, select suitable soil for the intended project, and ensure proper drainage before filling.

Frequently Asked Questions (FAQs)

1. Why Does the Soil Calculator Automatically Add 10% for Settling and Compaction?

The calculator includes a 10% allowance because loose soil may settle after watering, rainfall, and natural consolidation. As soil particles rearrange, the filled surface can become lower than its original height. Adding approximately 10% extra helps reduce the risk of running short during garden bed filling or landscaping work. However, actual settling varies according to soil texture, organic matter, moisture, and handling. The allowance is an estimate rather than a universal compaction rate. Avoid excessive mechanical compaction in planting beds because healthy roots need adequate air and water movement.

2. What Is the Difference Between Topsoil, Fill Dirt, and Raised Bed Garden Soil?

Topsoil is generally used for lawns, landscaping, and improving planting areas because it can provide a suitable rooting environment when properly selected. Fill dirt is primarily used for grading, leveling, and filling low areas, and it may contain relatively little organic matter. Raised bed garden soil is a growing medium intended to support vegetable, herb, and flower production through suitable drainage, aeration, and nutrient availability. For productive raised beds, choose an appropriate growing mix rather than relying entirely on ordinary construction fill dirt.

3. How Deep Should Soil Be for a Lawn or Raised Vegetable Garden?

The ideal soil depth depends on the project. For light topdressing of an existing lawn, approximately ¼–½ inch per application is generally appropriate, rather than adding several inches directly over healthy grass. New lawn construction may require several inches of prepared rooting soil, often around 4–6 inches or more depending on site conditions. Raised vegetable beds commonly use 6–12 inches of growing medium, while deep-rooted crops may benefit from 12–24 inches of accessible rooting depth. Always consider the existing soil beneath the planting area and the needs of the intended crops.

4. Is Buying Bulk Soil by the Cubic Yard Cheaper Than Purchasing Individual Bags?

Bulk soil is often more economical for larger landscaping and gardening projects because the material cost per cubic foot can be lower than purchasing individual bags. One cubic yard equals 27 cubic feet, equivalent to eighteen 1.5-cubic-foot bags. For example, a project requiring 52.8 cubic feet needs 36 standard 1.5-cubic-foot bags or approximately 1.96 cubic yards of bulk soil. However, delivery charges, minimum order sizes, soil quality, and transportation costs can affect the final price. Compare local supplier quotes before deciding which option offers the best value.

1. How many acres can a tractor cover in one hour?

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Why Choose Our Calculator Platform?

Our professional calculator tools are designed to provide accurate, fast, and reliable results for financial, health, and everyday calculations.

Instant Results

All calculations are processed instantly in your browser with real-time output.

100% Secure

Your data is never stored. Everything runs locally for complete privacy.

Accurate Formulas

Built using verified mathematical formulas to ensure precise and reliable results.

Mobile Friendly

Fully responsive design works smoothly on desktop, tablet, and mobile devices.

4000+ Calculators

From EMI to BMI and GST, access multiple calculators in one place.

Modern Interface

Professional UI with clean layout, smooth animations, and easy navigation.

Scroll to Top