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.
Garden Beds1 of 5
Calculates total required whole bags to prevent underordering.
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.
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.
Live calculated volume across all beds.
How to Use the Soil Calculator
- Choose your units. Pick Imperial (feet and inches) or Metric (centimetres and metres).
- 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.
- 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.
- Add more beds if needed. Each bed has its own measurements, and the calculator adds them into one combined total.
- 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.
- 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 bed | Soil volume | Cubic yards | Litres | 2 cu ft bags |
|---|---|---|---|---|
| 4 × 2 × 1 ft | 8 cu ft | 0.30 | 227 L | 4 |
| 4 × 4 × 1 ft | 16 cu ft | 0.59 | 453 L | 8 |
| 6 × 3 × 1 ft | 18 cu ft | 0.67 | 510 L | 9 |
| 4 × 8 × 1 ft | 32 cu ft | 1.19 | 906 L | 16 |
| 4 × 8 × 1.5 ft | 48 cu ft | 1.78 | 1,359 L | 24 |
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.
| Unit | Cubic feet | Cubic yards | Litres | Cubic metres |
|---|---|---|---|---|
| 1 cubic foot | 1 | 0.037 | 28.32 | 0.0283 |
| 1 cubic yard | 27 | 1 | 764.55 | 0.7646 |
| 1 cubic metre | 35.31 | 1.308 | 1,000 | 1 |
| 1 litre | 0.0353 | 0.0013 | 1 | 0.001 |
| 1 US gallon | 0.134 | 0.005 | 3.785 | 0.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 size | Cubic feet | Litres |
|---|---|---|
| 1 US gallon | 0.13 | 3.79 |
| 3 US gallons | 0.40 | 11.36 |
| 5 US gallons | 0.67 | 18.93 |
| 10 US gallons | 1.34 | 37.85 |
| 15 US gallons | 2.01 | 56.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.
| Material | Calculator default | lb/ft³ | kg/m³ | Typical range from sources |
|---|---|---|---|---|
| Topsoil | 2,200 lb/yd³ (1.1 US tons) | 81.5 | 1,305 | about 2,100 to 2,600 lb/yd³ (supplier guidance) |
| Compost | 1,000 lb/yd³ | 37.0 | 593 | about 850 to 1,500 lb/yd³, depending on moisture |
| Potting mix | 540 lb/yd³ | 20.0 | 320 | about 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.
| Ingredient | Share | Cubic feet | Litres |
|---|---|---|---|
| Topsoil | 50% | 16 | 453 |
| Compost | 30% | 9.6 | 272 |
| Potting mix | 20% | 6.4 | 181 |
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?
How many bags of soil do I need?
How much soil do I need for a 4×8 raised bed?
How much soil do I need for a 4×2×1 raised bed?
How much soil do I need for a 6×3×1 raised bed?
How do I calculate soil in cubic feet and cubic yards?
How do I calculate soil volume in litres?
How much potting soil do I need for a 5-gallon pot?
How do I calculate soil for circle and triangle beds?
Can I calculate soil for multiple raised beds?
What is the difference between soil volume and bag quantity?
How much does soil weigh?
How many litres of soil do I need for a raised bed?
How many bags of soil do I need for a round bed?
How much extra soil should I order?
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
Related Calculators
Mulch Calculator – Calculate mulch volume in cubic yards, cubic feet, and bags for garden beds.