SSSoilSum Tools

Soil Calculator

Calculate exact soil volume, bags needed, weight, and mix breakdown for garden beds, raised boxes, and pots.

Global Unit System

Garden Beds & Pots

1 Area

Project Options

Estimated Weight (Optional)Density-based approximation

Your Soil Estimate

Active
Total Bags Required0.75 cu ft bags
—
Volume (cu yds)
—
Volume (cu ft)
—
Metric equivalent:—
✓Quick Answer — How Much Soil Do I Need?

Multiply length (ft) × width (ft) × depth (in) ÷ 12 to get cubic feet, then divide by 27 for cubic yards. Enter those numbers into the soil calculator above and it handles bags, cost, weight, and metric conversions for you.

Core Volume FormulaL × W × D(in) ÷ 12Result in cubic feet
Convert to Cubic YardsCu ft ÷ 271 cu yd = 27 cu ft
Bags NeededCu ft ÷ Bag SizeRound up — never down
The Core Formula

How Soil Volume Is Calculated

Every soil calculator — whether for a raised bed, a garden border, or a large lawn area — starts with the same idea: volume equals area multiplied by depth. In imperial units the depth is usually measured in inches while the length and width are in feet, so a single conversion step is required.

Cubic feet = Length (ft) × Width (ft) × Depth (in) ÷ 12

Worked example. A rectangular raised bed that is 3 ft wide by 6 ft long, filled to a depth of 10 inches:

3 × 6 × 10 ÷ 12 = 15 cu ft
15 ÷ 27 = 0.56 cu yd

Depth is the most critical variable. A difference of just 2 inches across a 4 × 8 ft bed changes the total by more than 5 cubic feet — enough to mean several extra bags. Always measure or plan depth carefully before purchasing.

Garden Beds

Raised Bed Soil Calculation

A raised bed soil calculator applies the same length × width × depth formula, but the fill depth is the full interior depth of the bed rather than a thin surface layer. Enter each raised bed as a separate area in the calculator; if you have several beds of different sizes, add them one by one and the tool sums the totals automatically.

Common raised-bed examples at 1 ft (12 in) fill depth:

Bed Size (L × W × D)Cu ftCu yd
4 × 2 × 1 ft80.30
6 × 3 × 1 ft180.67
4 × 8 × 1 ft321.19

This soil calculator for raised beds also lets you add a settling allowance — for example +10% — so you buy a little extra to account for natural compaction after watering in. Selecting +10% on the 32 cu ft example above gives 35.2 cu ft, which rounds up to 47 bags of 0.75 cu ft.

For planning what to plant once the bed is filled, the Plant Spacing Calculator can help you lay out rows and spacing for your crop or flower arrangement.

Units Explained

Cubic Feet vs. Cubic Yards — When to Use Each

Bagged soil is nearly always sold by the cubic foot in the United States, so the soil calculator cubic feet output is what you use at the garden center. Bulk soil delivered by truck is priced and quoted per cubic yard, making the soil calculator cubic yards reading more relevant for large projects.

Cubic Feet (cu ft)

  • Bagged product at hardware and garden stores
  • Smaller beds and containers
  • Easy to carry and mix
  • Common bag sizes: 0.75, 1.0, 2.0 cu ft

Cubic Yards (cu yd)

  • Bulk delivery (dump truck or tote bag)
  • Larger gardens and landscapes
  • Often more cost-effective above ~10 cu yd
  • 1 cubic yard = 27 cubic feet

The calculator displays both units simultaneously — cubic yards and cubic feet in imperial mode — so you can compare bulk vs. bagged pricing directly. If you are also adding mulch on top of the soil, the Mulch Calculator uses the same approach for mulch depth calculations on the same beds.

Metric Units

Metric Calculations — Liters and Cubic Meters

Switch the calculator to Metric mode and dimensions are entered in meters (m) with depth in centimeters (cm). The results panel then shows volume in cubic meters (m³) and liters, and bag sizes switch to liter options (20 L, 25 L, 40 L, 50 L, or custom).

Key metric conversion factors used by the soil calculator cm and soil calculator liters modes:

Volume Formula (Metric)
m³ = Length (m) × Width (m) × Depth (cm) ÷ 100
Liters = m³ × 1,000
Worked Example
1 m × 1 m at 10 cm depth
= 0.1 m³ = 100 liters

For reference, 1 cubic foot is approximately 28.32 liters; 1 cubic yard is approximately 764.6 liters (0.7646 m³). The British spelling "litres" also appears on some bag labels — they mean the same thing. The calculator's metric bag sizes align with common bag sizes sold in metric markets.

Purchasing Guidance

How Many Bags of Soil Do I Need?

To find how many bags of soil you need, divide your total volume in cubic feet by the volume of one bag, then always round up — you cannot buy a fraction of a bag, and running short mid-project means a second trip.

Bags needed = Total cu ft ÷ Bag size (cu ft) → round up to whole number

Bag sizes vary widely — always check the label. Common sizes are 0.5, 0.75, 1.0, 1.5, and 2.0 cubic feet in the US. The soil calculator lets you select the exact bag size you plan to purchase, or enter a custom size.

Example — 4 × 8 raised bed at 1 ft depth (32 cu ft base, +10% settling = 35.2 cu ft):

Bag SizeCalculated (32 cu ft)+10% (35.2 cu ft)
0.75 cu ft bags43 bags47 bags
1.0 cu ft bags32 bags36 bags
2.0 cu ft bags16 bags18 bags

The calculator's "Extra Material / Settling Allowance" option handles this automatically — select 0%, +5%, +10%, or +15%, or type a custom percentage. The results panel shows both the base bag count and the adjusted recommended count side by side.

Containers & Pots

Soil Calculator for Pots and Containers

The soil calculator for pots uses the Pot / Container shape option. Enter the pot's top opening diameter and the fill depth, and the calculator treats the container as a cylinder: π × (diameter ÷ 2)² × depth. The diameter can be entered in inches or feet independently of the global unit toggle, which is useful when shopping at a nursery where pots are labeled in inches but beds are planned in feet.

A common question is how much soil for a 5-gallon pot. A 5 US gallon container has an interior volume of roughly 0.67 cu ft (about 19 liters) at full capacity. In practice, pots are not filled all the way to the rim — a small gap is left for watering — so the actual soil needed will be somewhat less. Enter the diameter and your intended fill depth into the calculator to get a precise figure for your specific container.

If you are planning a container garden across multiple pot sizes, add each pot as a separate area using the "Add another area / pot" button. The results panel totals all areas and calculates one combined bag count and cost estimate.

Non-Rectangular Shapes

Circle and Triangle Area Calculations

Not every bed or planting area is a rectangle. The soil calculator circle mode accepts a diameter and depth; the soil calculator triangle mode takes a base, a perpendicular height, and a depth.

Circle Formula

Volume = π × (Diameter ÷ 2)² × Depth (ft)

Example: Circular bed, 6 ft diameter, 10 in (0.833 ft) depth:
π × 3² × 0.833 = 23.56 cu ft

Triangle Formula

Volume = ½ × Base × Perpendicular Height × Depth (ft)

Example: Triangular bed, base 6 ft, perpendicular height 4 ft, depth 6 in (0.5 ft):
½ × 6 × 4 × 0.5 = 6 cu ft

The triangle formula requires the perpendicular height — the straight-line distance from the base to the opposite vertex at a right angle, not the length of a slanted side. A labeled diagram appears inside the calculator when you select the Triangle shape to help clarify this.

If your garden has an irregular shape that doesn't fit neatly into one category, break it into simpler sub-sections, add each as a separate area, and the calculator totals them.

Planning Your Project

Choosing the Right Soil Depth

The appropriate depth depends heavily on what you are doing. A light topdressing of an existing lawn, filling a deep raised bed for root vegetables, and refreshing a container garden are very different tasks with very different depth requirements.

General considerations — not universal prescriptions. Consult plant guidance or local agricultural extension advice for your specific situation:

  • Topdressing a lawn or existing bed: Thin applications are common, and depth varies from a light covering to a few inches depending on the condition of the existing surface.
  • Raised beds: Depth depends on what is being grown. Shallow-rooted plants need less depth than deep-rooted crops. Check seed packets or local planting guides.
  • Containers and pots: Fill to within a few centimeters of the rim to allow for watering without overflow. The pot depth itself sets the upper limit.
  • New garden beds: Depth requirements vary by soil type, drainage, and intended planting — local nursery or extension service guidance is more reliable than any single universal figure.

Once you decide on a depth, enter it into the calculator. Because depth is so influential, the calculator accepts fractional values — you can enter 4.5 inches, for example, not just whole numbers.

Extra Material

Adding Extra for Settling and Waste

Freshly placed soil — particularly mixes with compost or organic matter — tends to compact over time as it settles under its own weight and after watering. Ordering slightly more than the bare calculated volume helps ensure the bed remains at the intended depth through the first growing season.

The calculator's Extra Material / Settling Allowance option lets you add 0%, +5%, +10%, or +15%, or enter a custom percentage. The results panel then shows the base calculated requirement and the adjusted total side by side.

Example: A base requirement of 32 cu ft with +10% becomes 35.2 cu ft, which requires 47 bags of 0.75 cu ft (rounded up from 46.9). Without the allowance you would buy 43 bags.

Optional Feature

Soil Mix Composition Breakdown

The calculator includes an optional, collapsible Soil Mix Composition panel that lets you split your total volume into three component types: Topsoil, Compost, and Potting Mix. The default values (60% / 30% / 10%) are an editable example only — not a universal recommendation for any soil type or planting situation — and can be changed to any percentages that sum to 100%.

The mix breakdown changes only the component volume display in the results panel. It does not alter the total required volume, the bag count, or the cost estimate. Use it as a planning aid to understand roughly how much of each ingredient to source when blending your own garden soil.

For example, at a total volume of 32 cu ft with the default 60/30/10 split, the results show approximately 19.2 cu ft of topsoil, 9.6 cu ft of compost, and 3.2 cu ft of potting mix. Adjust the percentages to reflect the blend you plan to use.

Weight Estimation

Estimating Soil Weight

The optional weight estimator (enabled via the toggle in Project Options) calculates an approximate total weight from the soil volume and a density figure. Density presets are available for common soil types — topsoil, raised bed mix, and potting mix — each labeled "Approx" because real soil weight varies significantly with moisture content, organic matter percentage, and compaction level. There is no reliable single universal weight figure for soil.

A "Custom Density" option lets you enter a measured or supplier-stated value if you have one. Results are displayed in both pounds and kilograms. Weight estimates are most useful for logistics purposes — assessing whether a vehicle can carry the load, or how many trips are needed — rather than for precision agronomic calculations.

Common Questions

Soil Calculator FAQ

Answers to the most common questions about calculating soil volume, bags, and raised bed quantities.

1. How do I calculate how much soil I need?

Multiply Length (ft) × Width (ft) × Depth (in) ÷ 12 to get cubic feet. Divide by 27 to convert to cubic yards. Then divide the cubic-foot total by your bag size and round up to find the number of bags.

Example: A bed that is 3 ft wide by 6 ft long, filled to 10 inches: 3 × 6 × 10 ÷ 12 = 15 cu ft (0.56 cu yd). At 0.75 cu ft per bag that is 20 bags.

2. How do I calculate how much topsoil I need?

Calculating how much top soil (or topsoil) you need follows the same approach: multiply the surface area (length × width in square feet) by the intended depth in feet, giving cubic feet. Divide by 27 for cubic yards.

Use the soil calculator above — select the Rectangle shape, enter your dimensions and depth, and the results panel shows cubic feet, cubic yards, and how many bags you need based on your chosen bag size.

3. How many bags of soil do I need?

Divide your total volume in cubic feet by the volume of one bag, then round up to the nearest whole number. Bag sizes vary — 0.5, 0.75, 1.0, 1.5, and 2.0 cu ft are all common — so always check the label before buying.

The soil calculator handles this automatically. Select the bag size that matches what is available at your garden center, and the "Total Bags Required" figure updates instantly.

4. How much soil do I need for a raised bed?

Multiply the bed's interior length by its width by the fill depth: Length × Width × Depth (ft). Fill depth is the height you intend to fill inside the frame — usually the full interior height for a new raised bed.

Use the raised bed soil calculator at the top of this page. Select Rectangle, enter your dimensions, and choose a bag size to get the exact number of bags.

5. How many bags of soil do I need for a 4×8 raised bed?

At 1 ft (12 in) fill depth: 4 × 8 × 1 = 32 cu ft (1.19 cu yd).

  • 0.75 cu ft bags: 43 bags (32 ÷ 0.75 = 42.7, rounded up)
  • 1.0 cu ft bags: 32 bags
  • 2.0 cu ft bags: 16 bags

Consider adding a settling allowance if using a loose organic mix. At +10%, the adjusted total is 35.2 cu ft — 47 bags of 0.75 cu ft.

6. How many bags of soil do I need for a 4×2×1 raised bed?

A 4 ft × 2 ft bed at 1 ft depth: 4 × 2 × 1 = 8 cu ft (0.30 cu yd).

  • 0.75 cu ft bags: 11 bags (8 ÷ 0.75 = 10.7, rounded up)
  • 1.0 cu ft bags: 8 bags
  • 2.0 cu ft bags: 4 bags
7. How much soil do I need for a 6×3×1 raised bed?

A 6 ft × 3 ft bed at 1 ft depth: 6 × 3 × 1 = 18 cu ft (0.67 cu yd).

  • 0.75 cu ft bags: 24 bags (18 ÷ 0.75 = 24 exactly)
  • 1.0 cu ft bags: 18 bags
  • 2.0 cu ft bags: 9 bags
8. How much soil do I need for a 5-gallon pot?

A 5 US gallon container holds roughly 0.67 cu ft (about 19 liters) at full interior capacity. Pots are usually not filled all the way to the rim — a small gap is left for watering — so the actual soil needed will be slightly less than the full container volume.

Use the Pot / Container shape in the calculator, enter the opening diameter and your intended fill depth, and get a precise figure for your specific pot.

9. Can I calculate soil in cubic feet, cubic yards, liters, and kilograms?

Volume — yes. In Imperial mode, the results show cubic yards and cubic feet with a metric equivalent displayed in liters. In Metric mode, results show m³ and liters with an imperial equivalent.

Weight in kilograms or pounds — yes, via the optional weight estimator. Enable the "Estimated Weight" toggle in Project Options and choose a density preset or enter a custom value. Because soil weight varies with type and moisture content, the calculator requires a density input rather than applying a fixed universal figure. Results are shown in both pounds and kilograms.

10. What depth should I use when calculating soil for a garden or raised bed?

There is no single "correct" depth — the appropriate figure depends on what you are growing, the type of amendment being applied, and the condition of what is already there.

For raised beds, the fill depth is typically the full interior height of the frame. For topdressing an existing lawn or bed, a thin application is common. For containers, fill to a few centimeters below the rim. For specific crops or plants, seed packets, plant tags, and local nursery or agricultural extension service guidance are more reliable than any general rule.

Enter whatever depth makes sense for your project — the calculator accepts fractional values in both inches and centimeters.