SoilSum
Soil Volume Calculator

Free Soil Calculator for Raised Beds, Garden Beds & Pots

A soil calculator works out how much soil a raised bed, garden bed or pot needs. Enter your measurements to get the volume in cubic feet, cubic yards, litres or cubic metres, then see how many bags to buy, the approximate weight and an optional cost. Add an extra allowance if you want a buffer.

Units:

Garden Beds1 of 5

Standard presets

Calculates total required whole bags to prevent underordering.

Extra Material Allowance (optional)Settling buffer
Cost estimate

Enter price per bag to calculate estimated total purchase cost.

Density varies with moisture and product. Estimate only, not for shipping weight or load calculations.

Soil Mix Planner (optional)Total: 0%

Custom soil recipe proportions. Percentages must total 100%.

Calculation Results

Ready to calculate

Enter dimensions for your garden bed to instantly see the soil volume you need.

How to Use the Soil Calculator

  1. Choose your units. Pick Imperial (feet and inches) or Metric (centimetres and metres).
  2. Pick a shape or a preset. Use Rectangle/Square, Circle, Triangle or Known Area, or start from a raised-bed preset (4×8×1 ft, 4×2×1 ft, 6×3×1 ft), a pot preset (1, 3, 5, 10 or 15 US gallons) or Custom.
  3. Enter your measurements and depth. Rectangle: length and width. Circle: diameter. Triangle: base and perpendicular height. Known Area: the area you have already measured. Depth is how deep you plan to fill with soil, not the height of the bed walls.
  4. Add more beds if needed. Each bed has its own measurements, and the calculator adds them into one combined total.
  5. Set bag size and allowance (both optional). Choose a standard bag size or enter your own, then pick 0%, 5%, 10% or a custom allowance. The base amount and the extra amount are shown separately. You can also enter a price per bag to see an estimated cost.
  6. Read your results. You get area, cubic feet, cubic yards, litres and cubic metres, plus exact and rounded-up bag counts. Choose a material density to see the approximate weight, or use the soil-mix planner to split the total between topsoil, compost and potting mix (the percentages must add up to 100%). Use Copy Results to save your numbers, or Reset to start over.

How to Calculate Soil Volume

To calculate soil volume, multiply the area of the bed by the depth of soil, using the same units for every measurement. If depth is in inches, divide it by 12 to convert it to feet. Volume in cubic feet divided by 27 gives cubic yards, and cubic feet multiplied by 28.32 gives litres.

Rectangle and Square Beds

Volume = length × width × depth. Example: a 6 ft × 4 ft bed filled 8 inches deep. Depth is 8 ÷ 12 = 0.67 ft, so 6 × 4 × 0.67 = 16 cubic feet. That is about 0.59 cubic yards, or 453 litres.

Circular Beds

Volume = π × radius² × depth, where radius is half the diameter. Example: a 6 ft wide round bed filled 1 ft deep. Radius is 3 ft, so area is 3.14159 × 3 × 3 = 28.27 square feet, and volume is 28.27 cubic feet. That is about 1.05 cubic yards, or 801 litres.

Triangular Beds

Volume = ½ × base × perpendicular height × depth. The height must be measured at a right angle to the base, not along the slanted side. Example: a triangle with an 8 ft base and 5 ft height, filled 1 ft deep. Area is ½ × 8 × 5 = 20 square feet, so volume is 20 cubic feet. That is about 0.74 cubic yards, or 566 litres.

When You Already Know the Area

Volume = area × depth. Example: a 50 square foot area filled 6 inches (0.5 ft) deep gives 50 × 0.5 = 25 cubic feet. That is about 0.93 cubic yards, or 708 litres.

Calculating in Metric Units

Convert centimetres to metres by dividing by 100, then multiply length × width × depth to get cubic metres. One cubic metre equals 1,000 litres. Example: a 2 m × 1 m bed filled 30 cm (0.3 m) deep gives 2 × 1 × 0.3 = 0.6 cubic metres, which is 600 litres, or about 21.2 cubic feet.

Soil Calculator Examples for Raised Beds

These results are basic volumes before any extra allowance. The bag counts use 2 cubic foot bags, rounded up to whole bags.

Raised bedSoil volumeCubic yardsLitres2 cu ft bags
4 × 2 × 1 ft8 cu ft0.30227 L4
4 × 4 × 1 ft16 cu ft0.59453 L8
6 × 3 × 1 ft18 cu ft0.67510 L9
4 × 8 × 1 ft32 cu ft1.19906 L16
4 × 8 × 1.5 ft48 cu ft1.781,359 L24

How Many Bags of Soil Do You Need?

Divide the total soil volume by the volume of one bag, then round up to a whole bag. The calculator offers bag sizes of 0.5, 0.75, 1, 1.5 and 2 cubic feet, 20, 40, 50 and 70 litres, or a custom size.

Example: a 4 × 8 × 1 ft bed needs 32 cubic feet. With 2 cubic foot bags, 32 ÷ 2 = 16 bags. In litres, 906 L ÷ 50 L bags = 18.12, which rounds up to 19 bags.

Does extra allowance change the bag count?

The extra allowance is optional. You may add 0%, 5%, 10% or a custom percentage on top of the base volume, and the calculator shows the base amount and the extra amount separately. For the 4 × 8 × 1 ft bed, a 5% allowance makes 33.6 cubic feet, which is 16.8 bags and rounds up to 17 bags of 2 cubic feet. A 10% allowance makes 35.2 cubic feet, which is 17.6 bags and rounds up to 18 bags. How much extra you need depends on fill depth, settling and soil condition.

Soil Volume Conversions: Cubic Feet, Cubic Yards and Litres

Use these factors to convert between imperial and metric soil volumes. One cubic yard equals 27 cubic feet.

UnitCubic feetCubic yardsLitresCubic metres
1 cubic foot10.03728.320.0283
1 cubic yard271764.550.7646
1 cubic metre35.311.3081,0001
1 litre0.03530.001310.001
1 US gallon0.1340.0053.7850.0038

For metric measurements, convert centimetres to metres first (divide by 100), then multiply length × width × depth to get cubic metres.

How to Calculate Soil for Pots

The pot presets use nominal US gallon capacity. Nominal capacity is the size printed on the pot. The soil you actually use is usually a little less, because pots are filled below the rim and many pots taper toward the bottom. Use the Custom option with gallons or litres if your pot has a different size.

Pot sizeCubic feetLitres
1 US gallon0.133.79
3 US gallons0.4011.36
5 US gallons0.6718.93
10 US gallons1.3437.85
15 US gallons2.0156.78

How Much Does Soil Weigh?

Soil weight is volume multiplied by density. Density changes with moisture and compaction, so the calculator shows weight as an approximate figure and lets you edit the density.

MaterialCalculator defaultlb/ft³kg/m³Typical range from sources
Topsoil2,200 lb/yd³ (1.1 US tons)81.51,305about 2,100 to 2,600 lb/yd³ (supplier guidance)
Compost1,000 lb/yd³37.0593about 850 to 1,500 lb/yd³, depending on moisture
Potting mix540 lb/yd³20.0320about 420 to 640 lb/yd³ (bagged products, weighed as sold)

Example: a 4 × 8 × 1 ft bed holds 32 cubic feet. At these defaults that is about 2,607 lb (1,183 kg) of topsoil, 1,185 lb (538 kg) of compost or 640 lb (290 kg) of potting mix. Very wet soil can weigh noticeably more.

Raised Bed Soil Mix Calculator

The soil-mix planner splits your total volume between topsoil, compost and potting mix. Enter a percentage for each ingredient. The total must be 100%, and the planner shows the volume of each ingredient.

Example split for a 4 × 8 × 1 ft bed (32 cubic feet): 50% topsoil, 30% compost and 20% potting mix.

IngredientShareCubic feetLitres
Topsoil50%16453
Compost30%9.6272
Potting mix20%6.4181

This split is only an illustration, not a recommendation for every crop. Adjust the percentages for your plants, your local soil and the instructions on the products you buy.

What Affects the Amount of Soil You Need?

  • Fill depth: Measure how deep you will fill with soil, not the height of the bed walls. Beds are often filled a little below the top edge.
  • Irregular beds: Split an odd shape into rectangles, circles or triangles and add each as a separate bed.
  • Tapered pots: A pot that narrows toward the bottom holds less than its nominal capacity, so the calculator gives an upper estimate.
  • Settling and compaction: Fresh soil settles, especially after watering, and you may need to top up. A small optional allowance can cover this.
  • Moisture: Wet soil weighs more than dry soil, which matters when you are carrying or delivering bulk soil.
  • Bags or bulk: One cubic yard is 27 cubic feet, which equals 13.5 bags of 2 cubic feet. For larger projects, compare the price of bulk delivery with bags.

Frequently Asked Questions

How do I calculate how much soil I need?
Multiply length × width × depth in consistent units. With length and width in feet and depth in inches, divide the depth by 12 to get feet. Example: 4 × 8 ft at 12 in = 32 cubic feet.
How many bags of soil do I need?
Divide the total volume by one bag's volume and round up. Example: 32 cubic feet ÷ 2 cubic foot bags = 16 bags.
How much soil do I need for a 4×8 raised bed?
At 12 inches deep, 32 cubic feet, about 1.19 cubic yards or 906 litres, before any extra allowance.
How much soil do I need for a 4×2×1 raised bed?
8 cubic feet (about 0.30 cubic yards), or four 2 cubic foot bags.
How much soil do I need for a 6×3×1 raised bed?
18 cubic feet, about 0.67 cubic yards, or nine 2 cubic foot bags.
How do I calculate soil in cubic feet and cubic yards?
Length × width × depth (all in feet) gives cubic feet. Divide by 27 for cubic yards. Example: 54 cubic feet = 2 cubic yards.
How do I calculate soil volume in litres?
Multiply cubic feet by 28.32, or work in metres: length × width × depth gives cubic metres, and 1 cubic metre = 1,000 litres.
How much potting soil do I need for a 5-gallon pot?
A 5 US gallon pot holds about 0.67 cubic feet (18.9 litres) at nominal capacity. The actual amount depends on pot shape and fill level.
How do I calculate soil for circle and triangle beds?
Circle: π × radius² × depth. Triangle: ½ × base × perpendicular height × depth.
Can I calculate soil for multiple raised beds?
Yes. Add each bed with its own measurements and the calculator gives the combined total.
What is the difference between soil volume and bag quantity?
Volume is how much soil you need. Bag quantity is that volume divided by the bag size, rounded up, so you usually buy slightly more than the exact volume.
How much does soil weigh?
It depends on soil type, moisture and compaction. The calculator estimates weight from an editable density and shows pounds and kilograms as an approximate figure.
How many litres of soil do I need for a raised bed?
A 4 × 8 ft bed filled 12 inches deep needs about 906 litres. With 50 litre bags that is 18.12 bags, so you would buy 19.
How many bags of soil do I need for a round bed?
Example: a round bed 6 ft across and 1 ft deep holds about 28.27 cubic feet. Divided by 2 cubic foot bags that is 14.14, which rounds up to 15 bags.
How much extra soil should I order?
Extra allowance is optional. The calculator offers 0%, 5%, 10% or a custom value, and how much you need depends on fill depth, settling and soil condition. For a 4 × 8 × 1 ft bed, 5% extra means 33.6 cubic feet, or 17 bags of 2 cubic feet.

Methodology and Sources

Volume is area multiplied by depth. Conversions use 1 cubic yard = 27 cubic feet, 1 cubic foot = 28.3168 litres, 1 US gallon = 3.78541 litres (0.133681 cubic feet) and 1 cubic metre = 1,000 litres. Bag counts are the volume divided by the bag size, rounded up to a whole bag. Extra allowance multiplies the base volume by one plus the percentage. Weight is volume multiplied by the selected density.

Density figures are approximate. Compost values draw on Oregon State University Extension and Washington State University Extension guidance. Topsoil values draw on Select Sand & Gravel supplier guidance. Potting mix values are from the volume and weight printed on three popular retail bags.

Last updated: October 2026

Mulch Calculator – Calculate mulch volume in cubic yards, cubic feet, and bags for garden beds.