Raised Garden Bed Soil Calculator

Raised Garden Bed Soil Calculator

Emerging AI Skill PRO

Enter Calculation

Results

Soil Needed
32
cubic feet
Bags needed (round up) 22 bags
Exact bags 21.33
Cubic yards 1.185 yd³

Formula

V=Length×Width×Depth (in)12×BedsYards=V27Bags=⌈VBag Size⌉\begin{gathered} V = \text{Length} \times \text{Width} \times \dfrac{\text{Depth (in)}}{12} \times \text{Beds} \\[1.5em] \text{Yards} = \dfrac{V}{27} \qquad \text{Bags} = \left\lceil \dfrac{V}{\text{Bag Size}} \right\rceil \end{gathered}
Usage stats

Advertisement

Report an error on this page

What This Calculator Does

The Raised Garden Bed Soil Calculator tells you exactly how much soil to buy to fill one or more raised beds. Enter your bed dimensions and it returns the total volume in cubic feet, the equivalent in cubic yards, and how many bags of bagged soil or compost you'll need. This saves you from over-buying or making a second trip to the garden center.

Diagram of a rectangular raised garden bed showing length, width, and soil depth dimensions
A raised bed's soil volume comes from its length, width, and fill depth.

How to Use It

Measure the inside length and width of your bed in feet and the soil depth you want in inches. Enter the number of identical beds you're filling, then pick your bag size (1.5 cubic feet is the most common). The calculator multiplies everything out and rounds the bag count up, because you can't buy a partial bag.

The Formula Explained

Volume is length × width × depth. Because depth is entered in inches, it is divided by 12 to convert to feet, so all three measurements share the same unit. Multiplying by the number of beds gives total cubic feet. To convert to cubic yards, divide by 27 (since 1 yard = 3 feet, and 3³ = 27). To get bags, divide total volume by the volume per bag and round up.

$$\text{Volume} = L \times W \times \frac{D}{12} \times N, \quad \text{Bags} = \frac{\text{Volume}}{\text{Bag Size}}$$

Advertisement
Flat diagram showing total soil volume being divided into individual bags of soil
Total volume divided by bag size gives the number of bags needed.

Worked Example

For a bed 8 ft long, 4 ft wide, filled 12 inches (1 ft) deep: $$8 \times 4 \times 1 = 32 \text{ cubic feet}.$$ That's \(32 \div 27 \approx 1.19\) cubic yards. Using 1.5 cu ft bags: \(32 \div 1.5 \approx 21.3\), so you'd buy 22 bags.

Soil Volume Conversion Table

Soil is sold in cubic feet (bags) and cubic yards (bulk). These are the core conversions (US customary units):

Unit Equivalent
1 cubic yard 27 cubic feet
1 cubic yard 0.7646 cubic meters (about 765 liters)
1 cubic foot 7.48 US gallons
1 cubic foot 28.32 liters

Bags needed to equal 1 cubic yard (27 cu ft), by bag size:

Bag size (cu ft) Bags per cubic yard
0.5 54
0.75 36
1 27
1.5 18
2 13.5 (buy 14)
3 9

The formula is \(\text{Bags} = \lceil V / \text{bag size} \rceil\), so \(27 \div 1.5 = 18\) bags of 1.5 cu ft make one cubic yard.

Advertisement

Common Raised Bed Sizes: Soil Needed

Volume is calculated as \(V = L \times W \times \frac{D}{12}\), with length and width in feet and depth in inches. Cubic yards = cubic feet ÷ 27. Bag counts assume 1.5 cu ft bags, rounded up, for a single bed.

Bed size (ft) Depth (in) Cubic feet Cubic yards 1.5 cu ft bags
4 × 4 8 10.67 0.395 8
4 × 4 12 16.00 0.593 11
4 × 4 18 24.00 0.889 16
4 × 8 8 21.33 0.790 15
4 × 8 12 32.00 1.185 22
4 × 8 18 48.00 1.778 32
3 × 6 8 12.00 0.444 8
3 × 6 12 18.00 0.667 12
3 × 6 18 27.00 1.000 18
4 × 12 8 32.00 1.185 22
4 × 12 12 48.00 1.778 32
4 × 12 18 72.00 2.667 48
2 × 8 8 10.67 0.395 8
2 × 8 12 16.00 0.593 11
2 × 8 18 24.00 0.889 16

Example: a 4 × 8 ft bed filled 12 in deep needs \(8 \times 4 \times \frac{12}{12} = 32\) cu ft, and \(32 \div 1.5 = 21.33\), which rounds up to 22 bags. For several identical beds, multiply the volume by the number of beds before dividing by the bag size.

FAQ

How deep should soil be? Most vegetables thrive in 10–12 inches of soil; deep-rooted crops like carrots prefer more.

Should I buy a little extra? Yes — soil settles and compacts after watering, so adding 5–10% is wise.

Is it cheaper in bulk? Once you need more than about 1 cubic yard, bulk delivery is usually cheaper than bags.

Last updated:

Most popular in Hobby and Craft

View all Hobby and Craft calculators