A raised bed with inside dimensions of 4 × 8 feet and a 12-inch fill depth needs 32 cubic feet of material, or about 1.185 cubic yards. With stated 1.5-cu-ft bags, that is 22 whole bags, not 21. Measure the actual space to fill, then keep any settling allowance separate from this net volume.

Formula: measure the inside fill space

Cubic feet = inside length (ft) × inside width (ft) × added fill depth (in) / 12.
Cubic yards = cubic feet / 27.
Whole bags = round up (required cubic feet / actual bag volume).

  • Use internal dimensions, not the outside frame size. The Almanac calculator also specifies inner length and width.2
  • Measure the intended soil surface, not automatically the top of the frame. A chosen unfilled rim reduces fill depth.
  • For a partly filled bed, measure the remaining depth to the desired level rather than buying for the entire frame height.
  • Divide an irregular bed into non-overlapping shapes and sum their volumes. Use actual depth in each section.
  • Keep full precision until the final order. Displayed cubic yards below are rounded, not bag-count inputs.

Net quantities for common beds at 12 inches of fill

Inside sizeCu ftCu yd (rounded)1.5-cu-ft bags2-cu-ft bags
3 × 6 ft180.667129
4 × 4 ft160.593118
4 × 8 ft321.1852216
4 × 12 ft481.7783224
2 × 8 ft160.593118

A 4 × 8-foot bed at different added depths

Added fill depthCu ft (rounded)Cu yd (rounded)1.5-cu-ft bags2-cu-ft bags
6 in160.593118
8 in21.3330.7901511
12 in321.1852216
18 in481.7783224
24 in642.3704332

These are rectangular-space estimates with no separate reserve. Bag size is a stated example, not a universal size. Use the label on the actual mix. Pounds do not convert to volume without a product-specific yield or density.

Three checked examples

1. One empty bed

Inside size = 4 × 8 ft; selected fill depth = 12 inches. Volume = 4 × 8 × 12 / 12 = 32 cu ft. Yards = 32 / 27 = 1.185185 cu yd. Bags at 1.5 cu ft = round up 32 / 1.5 = 22. Twenty-one bags supply only 31.5 cu ft, leaving a 0.5-cu-ft shortfall.

2. Top up an existing bed

A 4 × 8-foot bed needs a measured 3-inch additional layer to reach the intended level. Added volume = 4 × 8 × 3 / 12 = 8 cu ft, or 0.296296 cu yd. At 1.5 cu ft per bag, buy 6 bags, which supply 9 cu ft. This is not a full 12-inch refill.

3. Three beds with two ingredients

Three 3 × 6-foot beds, each with a selected 12-inch fill depth, need 3 × 3 × 6 × 12 / 12 = 54 cu ft. A selected 1:1 mix by volume divides this into 27 cu ft of each ingredient, or 1 cu yd each. If both ingredients actually come in 1.5-cu-ft bags, that is 18 bags each. This ratio is a quantity example; choose a mix that fits the growing conditions below.

Choose a mix for the site, not just a formula

University of Maryland Extension distinguishes beds on existing soil, compacted clay and hard surfaces. Its recommendations are not one interchangeable recipe.1

SituationUMD guidance
Compacted, clay-heavy groundCompost : purchased topsoil at 1:2 or 1:1; alternatively compost : soilless growing mix at 1:1
Existing garden with good soilAdd 2–4 inches of compost and mix with the top 4 inches of soil
Non-permeable hard surfaceCompost : soilless growing mix at 1:1; topsoil up to 20% by volume only for beds at least 16 inches deep

UMD says organic matter in a raised bed containing garden soil should be 25–50% by volume, or 5–15% by weight as measured by a soil lab.1 These percentages have different bases. A compost percentage in a recipe is not automatically an identical tested organic-matter percentage.

The Almanac recommends a general raised-bed mix of 40% topsoil, 40% compost and 20% coarse sand or perlite.2 That differs from UMD’s condition-specific choices, especially for beds on hard surfaces. Do not silently combine the recipes or assume sand and perlite have the same weight. For a bed with limited rooting space, use advice that matches the actual crop, drainage and substrate.

If you select the Almanac 40/40/20 recipe

For a 32-cu-ft example bed, component targets are 12.8 cu ft topsoil, 12.8 cu ft compost and 6.4 cu ft coarse sand or perlite. If every ingredient were sold in 1.5-cu-ft bags, round each separately: 9 + 9 + 5 = 23 bags, supplying 34.5 cu ft total. That extra volume comes from package rounding, not a settling allowance. Using all whole bags changes the exact ratio; measure the target component volumes if preserving the recipe. Bulk targets are 0.474074, 0.474074 and 0.237037 cu yd, with actual supplier order increments applied afterward.

How deep should the soil be?

UMD says beds on a non-permeable hard surface need at least 8 inches for leafy greens, beans and cucumbers and 12–24 inches for peppers, tomatoes and squash. It also warns that those beds dry out quickly and can face extra heat stress.1 Those are source-specific crop/site recommendations, not one depth for every bed. Roots in a bed on usable ground may extend into the soil below; a shallow box and a shallow isolated container are different growing environments.

Settling: do not assume a universal 5–10%

The Almanac notes that loose fill settles with rain and watering and discusses topping up later.2 It does not establish a fixed 5–10% allowance for every mix. Get any conversion or reserve from the actual supplier/product and keep it separate. Do not compact growing soil merely to hit a quantity estimate.

For arithmetic only, a selected hypothetical 10% reserve on 32 cu ft would be 35.2 cu ft; at 1.5 cu ft per bag, that becomes 24 bags. The net 22-bag count supplies 33 cu ft and is not the 10%-reserve order. Neither example proves how much a particular mix will settle.

FAQ

How many bags for a 4 × 8 raised bed?

At 12 inches of added fill: 22 bags of 1.5 cu ft, 16 bags of 2 cu ft, or 32 bags of 1 cu ft, before any separate adjustment. Inside dimensions and the actual fill depth matter.

Can a bag labeled organic soil replace topsoil?

Not automatically. UMD says many bagged organic-soil products contain wood waste, bark, compost, peat or other organic materials rather than mineral topsoil. Check ingredients and intended use.1

Can I calculate weight from these tables?

Not without the density or labeled yield of each ingredient at the relevant moisture condition. Soil, compost, sand and perlite do not share one density. A volume estimate also does not establish safe load capacity for an elevated bed or vehicle.

Related tools and guides

Topsoil and fill-dirt calculator | Topsoil bags per cubic yard | Measure an irregular area | Cubic-yard guide

Sources

  1. University of Maryland Extension: Soil to Fill Raised Beds (site-specific mixes, hard-surface depths, organic-matter bases and bagged-soil ingredients)
  2. Almanac: Soil Calculator for Raised Garden Beds and Containers (inside measurements, 40/40/20 recipe and settling discussion)