Home Improvement

Raised Bed Soil Calculator

Add your raised beds, choose a soil mix and see the cubic feet to buy and the bags of each ingredient.

Your numbers

Applies to bed lengths, widths and diameters. Soil depth is always in inches.

Raised beds
Bed 1

Inside the frame. Round beds use the diameter.

Not used for round beds.

Blank means 1.

Bed 2

Inside the frame. Round beds use the diameter.

Not used for round beds.

Blank means 1.

Equal thirds is a common raised bed blend by volume. Pick custom to set your own parts.

Extra for settling and a top-up. Soil usually sinks after the first watering. Leave blank for 0%.

Optional. Leave blank to skip the cost estimate.

More options

Bag sizes vary by product, so edit this to match the bags you will buy.

Result

Soil to buy

81.9 cu ft

3.03 cu yd, about 42 bags of 2 cu ft

Soil volume before extra
74.47 cu ft
Volume with 10% extra
81.92 cu ft
In cubic yards
3.034 cu yd
In cubic meters
2.32 cu m
Compost
27.31 cu ft, 14 bags
Peat moss or coir
27.31 cu ft, 14 bags
Vermiculite
27.31 cu ft, 14 bags
Total bags
42 bags of 2 cu ft

Soil by bed

BedShapeSizeDepthCu ft
Vegetable bedsRectangle2 x 32 sq ft12 in64
Round herb bedRound12.6 sq ft10 in10.47
Total74.47

Shopping list

ItemBuyNotes
Compost14 bags27.3 cu ft needed
Peat moss or coir14 bags27.3 cu ft needed
Vermiculite14 bags27.3 cu ft needed
How this was calculated
  1. Vegetable beds: rectangle area 32 sq ft x 12 in / 12 x 2 beds = 64 cu ft.
  2. Round herb bed: circle area 12.566 sq ft x 10 in / 12 = 10.472 cu ft.
  3. Total = 74.472 cu ft. With 10% extra = 81.919 cu ft = 3.034 cu yd.
  4. Compost: 33.33% of 81.919 = 27.306 cu ft / 2 per bag = 13.65, rounded up to 14.
  5. Peat moss or coir: 33.33% of 81.919 = 27.306 cu ft / 2 per bag = 13.65, rounded up to 14.
  6. Vermiculite: 33.33% of 81.919 = 27.306 cu ft / 2 per bag = 13.65, rounded up to 14.
  • Bag sizes are listed in cubic feet or quarts depending on the brand, and compressed bags can expand after opening. Check the volume printed on the bag.
  • Bulk soil from a landscape yard is sold by the cubic yard and is usually cheaper than bags for large beds. Ask whether the supplier measures the load by volume or by weight.
  • This is an estimate. Confirm quantities with your supplier and check local building codes and manufacturer instructions before you buy or build.

Calculated using SumPanda.com · https://sumpanda.com/raised-bed-soil-calculator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the raised bed soil calculator

  1. Choose the unit for bed lengths and widths. Soil depth is always entered in inches.
  2. Add one row per bed. Pick Rectangle or Round, enter the inside size, the soil depth and how many identical beds you have.
  3. Choose the soil mix: equal thirds, topsoil and compost, a single bagged mix, or your own parts. Keep the 10% extra for settling or change it.
  4. Read the cubic feet, cubic yards and the bags of each ingredient. Set the bag size under More options so the bag counts match the product you will buy.

Formula

Rectangular bed volume = length x width x soil depth in inches / 12

Round bed volume = 3.14159 x (diameter / 2)^2 x soil depth in inches / 12

Total volume = sum of every bed x its quantity

Volume with extra = total x (1 + extra percent / 100)

Ingredient volume = volume with extra x its parts / total parts

Bags = ingredient volume / bag size in cubic feet, rounded up for each ingredient

Cubic yards are cubic feet divided by 27. Cubic meters are cubic feet times 0.028316846592. Bags are rounded up for each ingredient separately, so the total can be a bag or two higher than the volume alone suggests.

Worked example: two vegetable beds and a round herb bed

Two beds measuring 8 ft by 4 ft with 12 inches of soil hold 8 x 4 x 1 = 32 cu ft each, so 64 cu ft. A round herb bed 4 ft across with 10 inches of soil holds 3.14159 x 2^2 x 10 / 12 = 10.47 cu ft.

The total is 74.47 cu ft. With 10% extra for settling it becomes 74.47 x 1.10 = 81.92 cu ft, or 3.03 cubic yards.

An equal thirds blend splits that into 27.31 cu ft each of compost, peat moss or coir, and vermiculite. With 2 cu ft bags each ingredient needs 13.65 bags, which rounds up to 14 bags, or 42 bags in all.

Choosing a soil mix

Raised beds do best with a loose, well-draining, fertile blend, and many gardeners mix their own rather than filling a bed with plain topsoil. A common recipe uses equal volumes of compost, a moisture-holding material such as peat moss or coconut coir, and vermiculite for aeration. Another popular approach is half topsoil and half compost, which costs less and works well in deep beds.

This tool does not judge which recipe is best for your plants. It splits the volume by the parts you choose, and the custom option lets you set up to three ingredients with any ratio, such as two parts topsoil, one part compost and one part sand.

Bags or bulk

Bagged soil is convenient for one or two small beds, but the bag count climbs fast. A single 4 by 8 foot bed that is a foot deep holds 32 cubic feet, which is 16 bags of 2 cubic feet. Bulk soil, delivered by the cubic yard, is often a better value once you pass about a yard, and 1 cubic yard equals 27 cubic feet.

Ask the supplier how they measure a load and whether the material is screened. Bulk soil can arrive wet and heavy, and it may settle more than bagged mix.

Settling and topping up

Fresh soil and compost compact as they get wet and as the organic material breaks down. A bed filled to the brim in spring may sit a few inches lower by summer. The extra allowance helps you buy enough to fill the bed fully the first time, and you can add compost to top it up each season.

Assumptions and limits

  • Each bed is a perfect rectangle or circle with straight sides and a flat soil surface. Sloped sides and mounded soil are not modeled.
  • Bag size is an example of 2 cubic feet that you can edit. Compressed bags may expand after opening, and some brands list quarts instead of cubic feet.
  • The mix ratio is by volume. Weights of wet and dry ingredients differ and are not used here.
  • Cost uses a single price per bag for every ingredient. If your ingredients cost different amounts, price each one on its own.
  • Drainage rock, landscape fabric, lumber for the frame and watering systems are not included.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

How much soil do I need for a raised garden bed?

Multiply the bed length by width in feet, then by the soil depth in feet. A 4 by 8 foot bed filled 12 inches deep needs 32 cubic feet, before any extra for settling.

How many cubic feet are in a bag of garden soil?

Common sizes are 1, 1.5 and 2 cubic feet, but sizes vary by brand. Read the volume on the bag and enter it as the bag size.

Can I fill the bottom of a deep raised bed with something cheaper?

Some gardeners fill the lower part of a very deep bed with logs, branches or coarse material to save on soil. Set the soil depth to the depth you plan to fill with soil mix, and the tool will size the order for that layer.

How do I calculate soil for a round raised bed?

Use the round option and enter the diameter. The area is pi times the radius squared, which is then multiplied by the soil depth.

Should I add extra soil to the order?

Soil settles after the first few waterings, so a margin of around 10 percent is a reasonable starting point. You can set any percentage, including zero.