Enter the size of each raised bed and how deep you will fill it, pick a soil blend, and get the cubic feet, the cubic yards and the litres, plus how many bags of each ingredient to buy. Add prices to see whether mixing your own, buying premixed bags or ordering bulk mix is cheapest.
Raised bed soil calculator
How to use the raised bed soil calculator
- Measure each bed. Pick rectangle or round and enter the inside length and width (or the diameter) in feet, or switch to meters. Enter the soil depth, which is usually the bed height less an inch or two at the top, and how many beds of that size you have. Add a bed of another size if you have more than one.
- Choose a blend. The recipes come from university extension services and the people who devised them (see the table below). Choose "My own blend" to enter your own parts by volume.
- Compare prices. Enter the price of each bag, of a premixed bag, or of bulk mix by the yard with delivery. The calculator gives the cost each way and names the cheapest. Copy or print the list for the store.
The raised bed soil formula
Cubic feet per bed = length (ft) × width (ft) × soil depth (in) ÷ 12
For a round bed, use 3.1416 × (diameter ÷ 2)² × depth (in) ÷ 12.
Total = sum of all beds × (1 + settling % ÷ 100)
Each ingredient = total × its share of the recipe, and bags = ingredient cubic feet ÷ bag size, rounded up.
Soil settles after watering, and Kellogg Garden suggests ordering 10 to 15% extra, so the calculator adds 10% by default. One cubic yard is 27 cubic feet, and one cubic foot is 28.32 litres.
Worked example
One 4 ft × 8 ft bed filled 12 inches deep with a 2 to 1 blend of topsoil and compost, plus 10% for settling:
- Volume: 4 × 8 × 12 ÷ 12 = 32 cu ft, plus 10% = 35.2 cu ft (1.30 cu yd, 997 litres)
- Topsoil, two thirds: 35.2 × 2 ÷ 3 = 23.47 cu ft, and 23.47 ÷ 0.75 = 31.3, rounded up to 32 bags of 0.75 cu ft
- Compost, one third: 35.2 ÷ 3 = 11.73 cu ft, and 11.73 ÷ 1.5 = 7.8, rounded up to 8 bags of 1.5 cu ft
- Or premixed raised bed soil: 35.2 ÷ 1.5 = 23.5, rounded up to 24 bags of 1.5 cu ft (or 18 bags of 2 cu ft)
Second example: two square foot beds with Mel's Mix
Two 4 ft × 4 ft beds filled 6 inches deep with Mel's Mix (equal parts compost, peat moss and coarse vermiculite), plus 10% for settling. Enter one 4 × 4 bed and set "how many" to 2:
- Volume: 4 × 4 × 6 ÷ 12 = 8 cu ft a bed, × 2 beds = 16 cu ft, plus 10% = 17.6 cu ft (0.65 cu yd, 498 litres)
- Each third: 17.6 ÷ 3 = 5.87 cu ft
- Compost: 5.87 ÷ 1.5 = 3.9, rounded up to 4 bags of 1.5 cu ft
- Peat moss: 1 to 2 compressed bales of 3.8 cu ft (one if the bale doubles when loosened, two if it doesn't expand; see "Why peat is a range" below)
- Coarse vermiculite: 5.87 ÷ 4 = 1.5, rounded up to 2 bags of 4 cu ft
The Square Foot Gardening Foundation gives 8 cu ft for one 4 × 4 bed at 6 inches, the same as the formula before settling.
Raised bed soil recipes
Each blend is measured by volume (buckets or bags, not pounds). For the same 4 × 8 ft bed at 12 inches with 10% extra:
| Blend | Source | What to buy for one 4 × 8 ft bed, 12 in |
|---|---|---|
| Topsoil and compost, 2 to 1 | UMD Extension (1:2 or 1:1 compost to topsoil); Ask Extension ("the most highly recommended") | 32 bags topsoil (0.75 cu ft) + 8 bags compost (1.5 cu ft) |
| Topsoil and compost, half and half | UMD Extension | 24 bags topsoil + 12 bags compost |
| Topsoil 70%, compost 30% | Iowa State Extension | 33 bags topsoil + 8 bags compost |
| Topsoil 60%, compost 30%, perlite 10% | Kellogg Garden (a soil maker; we found no extension source for 60/30/10) | 29 bags topsoil + 8 bags compost + 3.5 cu ft (91 dry quarts) of perlite |
| Mel's Mix: compost, peat moss and coarse vermiculite in thirds | Square Foot Gardening Foundation | 8 bags compost + 2 to 4 peat moss bales (3.8 cu ft) + 3 bags coarse vermiculite (4 cu ft) |
UMD Extension says organic matter should make up 25 to 50% of a raised bed mix by volume, which all of the topsoil-based blends above meet.
Why peat is a range. Peat moss is sold in compressed bales, and it takes up more room once you loosen it. A peat maker's data sheet shows its professional bales doubling in volume, but it warns that this varies with moisture and age, and we found no figure for the 3.8 cu ft bales sold in garden centers. So the calculator gives the fewest bales (if each bale doubles) and the most (if it does not expand at all). Start with the smaller number and buy more if you need it.
How much soil does my raised bed need?
Soil in cubic feet including 10% for settling, and the number of 1.5 cu ft bags of premixed raised bed soil:
| Bed | 6 in deep | 8 in deep | 12 in deep | 18 in deep |
|---|---|---|---|---|
| 2 × 4 ft | 4.4 cu ft · 3 bags | 5.9 cu ft · 4 bags | 8.8 cu ft · 6 bags | 13.2 cu ft · 9 bags |
| 3 × 6 ft | 9.9 cu ft · 7 bags | 13.2 cu ft · 9 bags | 19.8 cu ft · 14 bags | 29.7 cu ft · 20 bags |
| 4 × 4 ft | 8.8 cu ft · 6 bags | 11.7 cu ft · 8 bags | 17.6 cu ft · 12 bags | 26.4 cu ft · 18 bags |
| 4 × 8 ft | 17.6 cu ft · 12 bags | 23.5 cu ft · 16 bags | 35.2 cu ft · 24 bags | 52.8 cu ft · 36 bags |
| 4 × 12 ft | 26.4 cu ft · 18 bags | 35.2 cu ft · 24 bags | 52.8 cu ft · 36 bags | 79.2 cu ft · 53 bags |
| 3 ft round | 3.9 cu ft · 3 bags | 5.2 cu ft · 4 bags | 7.8 cu ft · 6 bags | 11.7 cu ft · 8 bags |
| 4 ft round | 6.9 cu ft · 5 bags | 9.2 cu ft · 7 bags | 13.8 cu ft · 10 bags | 20.7 cu ft · 14 bags |
Raised bed soil calculator FAQ
How much soil do I need for a 4 × 8 raised bed?
A 4 × 8 ft bed filled 12 inches deep holds 32 cu ft (1.19 cu yd, 906 litres). With 10% for settling, buy 35.2 cu ft: 24 bags of 1.5 cu ft premixed soil, or 32 bags of topsoil and 8 bags of compost for a 2 to 1 blend. At 6 inches deep it is half that, 17.6 cu ft with settling.
How many bags of soil do I need for a raised bed?
Divide the bed's volume in cubic feet by the bag size and round up. Bagged raised bed soil comes in 1.5 cu ft bags (Miracle-Gro) and 2 cu ft bags (Kellogg Garden), so a 4 × 8 × 1 ft bed with 10% extra needs 35.2 ÷ 1.5 = 23.5, which is 24 bags, or 18 bags of 2 cu ft. Bags can fill less than their label says once the soil settles: Miracle-Gro's own label says 2 bags (3 cu ft) fill a 2 × 2 ft bed 6 inches deep, which holds only 2 cu ft. That is why the settling allowance matters.
What is the best soil mix for raised beds?
For most vegetable beds, a blend of topsoil and compost is the extension-service standard. UMD Extension suggests compost and topsoil at 1:2 or 1:1, and Iowa State suggests about 70% topsoil and 30% compost. A 2 to 1 topsoil and compost blend sits in the middle of both, and it is the calculator's default. Soilless mixes such as Mel's Mix are lighter and drain well, but cost more per cubic foot.
What is Mel's Mix?
Mel's Mix is the square foot gardening blend: one third compost, one third peat moss and one third coarse vermiculite, by volume. The Square Foot Gardening Foundation says a 4 × 4 ft bed 6 inches deep needs 8 cu ft of it. That is the exact volume (16 × 0.5), so add 10% for settling. The foundation says coarse vermiculite is usually the hardest ingredient to find, so check stock before you start.
How deep should a raised bed be?
It depends on what you grow. For beds on a hard surface, UMD Extension recommends at least 8 inches of soil for leafy greens, beans and cucumbers, and 12 to 24 inches for tomatoes, peppers and squash. Kellogg Garden notes that most raised beds are 6 to 12 inches deep. Over loosened ground, roots can go deeper than the bed.
Is it cheaper to buy raised bed soil in bulk?
For several beds, usually yes. Bagged soil costs more per cubic foot, but bulk adds a delivery fee, and some suppliers have a minimum order, so ask before you order. One cubic yard (27 cu ft) is less than a single 4 × 8 bed filled 12 inches deep. Enter a bag price, a bulk price per cubic yard and the delivery fee in step 3 to compare them for your beds. To compare bulk topsoil alone, use the topsoil calculator.
How much raised bed soil is that in litres?
One cubic foot is 28.32 litres, so a 1.5 cu ft bag holds 42.5 litres and a 2 cu ft bag 56.6 litres. A 4 × 8 ft bed filled 12 inches deep holds 906 litres, or 997 litres with 10% for settling. If your soil is sold in litres, divide by the bag size and round up: 997 ÷ 50 = 19.9, so 20 bags of 50 litres. Switch the calculator to meters to enter beds in meters and centimeters; it always shows litres in the results.
How much does 8 cubic feet of soil fill?
8 cu ft exactly fills a 4 × 4 ft bed 6 inches deep, or a 2 × 4 ft bed 12 inches deep, before settling. Keep 10% back for settling and it fills about 14.5 sq ft of bed at 6 inches, or 7.2 sq ft at 12 inches. 8 cu ft is 6 bags of 1.5 cu ft (5.3, rounded up) or 4 bags of 2 cu ft.
Sources
Each figure on this page is linked to its source below. Material weights are on our methodology page. All read on 28 October 2026 unless noted.
- Blend recipes: UMD Extension, Soil to Fill Raised Beds, Iowa State Extension Yard & Garden, Ask Extension, Kellogg Garden soil calculator, Square Foot Gardening Foundation, Mel's Mix
- Bed depth: UMD Extension, Kellogg Garden
- Settling allowance (10 to 15%): Kellogg Garden
- Bag sizes: Miracle-Gro Organic Raised Bed & In-Ground Soil, 1.5 cu ft, Kellogg Raised Bed & Potting Mix, 2 cu ft, Kellogg Purely Compost, 1.5 cu ft, topsoil 0.75 cu ft (Ask Extension, Michigan State University Extension) (read 17 October 2026), Premier peat moss, 3.8 cu ft compressed bale, Therm-O-Rock coarse vermiculite, 4 cu ft
- Peat expansion: Profile Products, Sunterra Grower Peat data sheet
Filling a new lawn or garden instead? Use the topsoil calculator. For bark or wood chips on the paths between beds, use the mulch calculator.
Updated 25 November 2026 · Calculator version 1.0.0
