Raised Bed Soil Calculator
Enter the inside size and soil depth of your beds. You get the soil volume, the bags to buy and how much of each ingredient to mix.
Your estimate
- Soil volume
- 32 cu ft
- Volume to buy (with extra)
- 35.2 cu ft
- Soil volume in cubic yards
- 1.19 cu yd
- Bulk order (with extra)
- 1.3 cu yd
- Or bagged soil
- 24 bags
- Compost (1/2)
- 17.6 cu ft
- Soilless growing mix (1/2)
- 17.6 cu ft
Marked lines go on the copied shopping list.
Quick answer
A 4 × 8 ft raised bed filled 12 in. deep holds 32 cu ft of soil (1.19 cu yd). With 10% extra for settling, buy 35.2 cu ft: 24 bags of 1.5 cu ft, or for the University of Maryland Extension 1:1 recipe, 17.6 cu ft of compost and 17.6 cu ft of soilless mix.
Worked out with this calculator using its default inputs. Change any input above to get your own numbers.
How it is calculated
Cubic feet = Length × Width × Depth (in) ÷ 12 × Beds
- Bed area: inside length × inside width. For a round bed, π × (diameter ÷ 2)².
- Multiply by the soil depth in feet (inches ÷ 12) and by the number of beds.
- Add the settling allowance.
- Divide by the bag size and round up for bags, or divide by 27 for bulk cubic yards.
- Split the total by the recipe: halves for compost and soilless mix, or thirds.
Assumptions and defaults
- Use inside dimensions: the board thickness takes up space that soil does not fill.
- The 10% settling allowance is our planning figure, not a measured rate. Soil and compost settle after watering; topping up later is normal.
- The 1:1 compost and soilless mix recipe follows University of Maryland Extension. UMD also notes that some topsoil can be added in deeper beds; see their page.
- The equal-thirds recipe (compost, peat moss or coir, vermiculite) is a widely used home-garden blend, included for convenience.
Worked examples
Each row is computed with this calculator, using the default values for anything not listed (waste, weights and bag sizes shown in the inputs above).
| Project | Soil volume | Volume to buy (with extra) | Or bagged soil |
|---|---|---|---|
| Three 4 × 8 ft beds, two 2×6 boards high (11 in.) | 88 cu ft | 96.8 cu ft | 65 bags |
| Round bed 6 ft across, 18 in. deep | 42.41 cu ft | 46.65 cu ft | 32 bags |
| Narrow bed 12 × 3 ft, 10 in. deep | 30 cu ft | 33 cu ft | 22 bags |
Before you order
Measure inside the frame
A bed sold as 4 × 8 ft is often smaller inside once the boards are counted. Measure the soil space itself.
Compare bags and bulk
Divide the bulk price per cubic yard by 27 and compare it with the bag price divided by the bag size. Large or multiple beds often tip the math toward bulk.
Leave room to top up
Fill close to the top and expect the level to drop over the first season. Keep a bag of compost for top dressing.
Depth for roots
University of Illinois Extension suggests a bed depth of at least 6 to 12 in. for good root growth.
Frequently asked questions
How much soil do I need for a 4 × 8 raised bed?
At 12 in. deep, 4 × 8 × 1 = 32 cu ft, about 1.19 cu yd. At 6 in. deep it is 16 cu ft. Add a little extra for settling.
How many bags of soil do I need?
Divide the cubic feet by the bag size on the label and round up. For 32 cu ft plus 10% extra (35.2 cu ft), that is 24 bags of 1.5 cu ft or 18 bags of 2 cu ft.
What soil mix should I use for raised beds?
University of Maryland Extension recommends compost and a soilless growing mix in a 1:1 ratio, with some topsoil only in deeper beds. The calculator splits your total into that recipe or into equal thirds.
How deep should a raised bed be?
University of Illinois Extension suggests at least 6 to 12 in. for good root growth. Deeper beds hold more water and suit root crops, but take more soil.
How do I convert cubic feet to cubic yards?
Divide by 27. One cubic yard is 3 ft × 3 ft × 3 ft, which is 27 cubic feet.
Sources and method
Sources checked November 29, 2026. The calculation code is tested against hand-worked examples. See our editorial policy.
- University of Maryland Extension Soil to Fill Raised Beds (opens in a new tab) Fill recipe: compost and a soilless growing mix in a 1:1 ratio, with topsoil limited to deeper beds.
- University of Illinois Extension Raised Bed Checklist (opens in a new tab) Bed depth of at least 6 to 12 in. for good root growth.
- National Institute of Standards and Technology NIST Special Publication 811: Guide for the Use of the International System of Units (2008) (opens in a new tab) Exact conversion factors behind the metric switch (1 ft = 0.3048 m, 1 lb = 0.45359237 kg).