Quick answer: Soil needed = length × width × depth in feet, which gives cubic feet; divide by 27 for cubic yards. An 8 × 4 ft raised bed filled 12 inches deep holds 32 cubic feet (1.19 cubic yards), before extra for settling.
How to use the soil calculator
- Choose the shape of the bed or area and enter its size.
- Enter how deep the soil will be.
- Keep the 10% extra for settling, or change it.
- Enter the size printed on the bags you plan to buy to see how many you need.
Soil for common raised bed sizes
Volume before extra for settling. One cubic yard is 27 cubic feet.
| Bed | Depth | Cubic feet | Cubic yards |
|---|---|---|---|
| 4 ft × 4 ft | 12 in | 16 | 0.59 |
| 8 ft × 4 ft | 12 in | 32 | 1.19 |
| 8 ft × 4 ft | 18 in | 48 | 1.78 |
| 10 ft × 4 ft | 12 in | 40 | 1.48 |
Tips before you buy
- Check what the product is: topsoil, garden soil and raised bed mixes are different, and local extension services can advise on mixes for your plants.
- Compare bag and bulk prices per cubic foot or litre, including delivery.
- Fill raised beds in layers and water as you go, then top up after the soil settles.
How do you calculate how much soil you need?
Volume
Volume = area × depth × (1 + extra % ÷ 100)
Area from length × width, a circle or a triangle; depth converted to feet or metres.
Bags
Bags = volume ÷ bag size, rounded up
Bag size as printed on the bag (cubic feet or litres). 1 cu ft = 28.3168 L.
Approximate weight
Tons = cubic yards × 0.8
0.8 short tons per cubic yard is a published conversion factor for topsoil. Soil density varies with texture, moisture and compaction (USDA NRCS), so the weight is a rough guide only.
Worked examples
A raised bed 8 ft × 4 ft, filled 12 inches deep
- Volume: 8 ft × 4 ft × 1 ft = 32 cu ft.
- Add 10% for settling: 32 × 1.10 = 35.2 cu ft.
- Cubic yards: 35.2 ÷ 27 = 1.30 cu yd.
- Bags of 1 cu ft: 35.2 ÷ 1 = 35.2, rounded up to 36 bags.
A raised bed 2.4 m × 1.2 m, 30 cm deep, 40 L bags (metric)
- Volume: 2.4 m × 1.2 m × 0.3 m = 0.864 m³.
- Add 10%: 0.864 × 1.10 = 0.95 m³ (950 L).
- Bags of 40 L: 950.4 ÷ 40 = 23.8, rounded up to 24 bags.
Assumptions and limitations
This calculator assumes
- The bed or area has the same depth everywhere.
- The 10% extra for settling is our planning default, not a figure from the sources. Change it to suit your soil.
- The bag size is what is printed on the bag.
What it does not cover
- It does not recommend a soil mix, depth or amendments for particular plants; local extension services can.
- Weights are rough: moist, compacted or clay-rich soil is heavier than the average used here.
- Bulk deliveries are measured by the supplier, who may load slightly more or less than ordered.
Not professional advice
Questions and answers
How much soil do I need for a raised bed?
Multiply length × width × depth. An 8 ft × 4 ft bed filled 12 inches (1 ft) deep holds 8 × 4 × 1 = 32 cubic feet, which is 1.19 cubic yards or thirty-two 1 cu ft bags, before any extra for settling.
How many bags of soil make a cubic yard?
A cubic yard is 27 cubic feet, so it takes 27 bags of 1 cu ft, 18 bags of 1.5 cu ft or 14 bags of 2 cu ft (rounded up). In litres, a cubic yard is about 765 L, or 20 bags of 40 L.
How much does a cubic yard of topsoil weigh?
A published conversion factor for topsoil is 0.8 tons (1,600 lb) per cubic yard. Moist or compacted soil can weigh considerably more, so treat this as a rough guide, especially if weight matters for a trailer.
Why add extra soil?
Loose soil settles after it is watered and as organic matter breaks down. Our 10% default is a planning margin you can change, not a figure from the sources.
Is bagged or bulk soil better?
Bags are easy for small beds and containers. For larger jobs, bulk delivery by the cubic yard is often cheaper. Compare the price per cubic foot or litre and ask about delivery charges.
Guides that explain this
Landscaping
Tons to Cubic Yards: Gravel, Sand, Soil and Stone
Convert tons to cubic yards and back, with a weight table for common materials.
6 min read
Area & Measurement
What Is a Cubic Yard? Concrete, Soil, Gravel and Mulch in One Yard
How big a cubic yard is, how much area it covers, and how many bags or tons it equals.
7 min read
Area & Measurement
Square Feet to Cubic Yards (Formula, Chart and Examples)
Turn an area and a depth into cubic yards with one step, a chart for common depths, and the reverse.
5 min read
Landscaping
How Much Soil Do I Need? (Raised Beds and Lawns)
Cubic yards or bags of soil for raised beds, a new lawn or a thin top layer, with depths and fill mixes.
6 min read
Sources and review
Review status: Checked against the sources below, with a hand-calculated example. Last reviewed .
- Standard geometry (area and volume formulas). Rectangle area = length × width; circle area = π × (diameter ÷ 2)²; triangle area = base × height ÷ 2; rectangular prism volume = length × width × depth; cylinder volume = π × r² × height; right-angle trigonometry: angle = arctan(rise ÷ run), sloped length = √(rise² + run²). Accessed 2026-12-02.
- NIST Handbook 44 (2026), Appendix C: General Tables of Units of Measurement. Exact unit definitions used for every conversion: 1 ft = 0.3048 m, 1 in = 2.54 cm, 1 US gallon = 231 cubic inches, 1 lb = 0.45359237 kg, 1 short ton = 2,000 lb, 1 acre = 43,560 sq ft. Accessed 2026-12-02.
- New Mexico Energy, Minerals and Natural Resources Department: Conversion Factors for Construction Materials and Common Minerals (adapted from BLM H-3890-1). Short tons per cubic yard: gravel 1/4"–2" 1.42; sand 1.45; topsoil 0.8; fill dirt 0.8; base course 1.25; limestone 1.3. Accessed 2026-12-02.
- USDA NRCS Soil Quality Indicators: Bulk Density (June 2008). Soil bulk density depends on texture and compaction: ideal below 1.60 g/cm³ for sandy, 1.40 for silty and 1.10 for clayey soils; a medium-textured soil with about 50% pore space is about 1.33 g/cm³. Used to explain why soil weight varies. Accessed 2026-12-02.