PorchCalc / Garden / Raised bed soil calculator
Raised bed soil calculator
Add one bed or several, choose a mix, and see how much soil to buy in cubic feet, cubic yards, and bags. Optional recipes split the load into compost and topsoil, or into Mel’s Mix ingredients.
Soil to order
44 bags
of 1.5 cu ft mix, after a 10% settling allowance.
- Beds
- 2
- Volume of the boxes
- 58.67 cu ft
- Amount to order
- 64.53 cu ft · 2.39 cu yd
- 1.0 cu ft bags
- 65
- 1.25 cu ft bags
- 52
- 1.5 cu ft bags
- 44
- 2.0 cu ft bags
- 33
Read the bag volume before you buy — sizes vary. For a patio job instead of a garden bed, try the paver base or paver sand calculators.
How to use this calculator
Measure the inside length and width of each bed, and the depth you will actually fill — which may be a little below the top of the boards. If you have two or more boxes of the same size, use the count field. Add another bed size if the boxes are different. Then pick a mix and, if you want, an extra percent for settling.
A common 4 × 8 foot bed built from two stacked 2×6s is about 11 inches deep (two 5½-inch boards). A bed filled a full 12 inches is an easy 32 cubic feet, which is why that size shows up in so many examples.
Worked example
You are filling two 4 × 8 foot beds, each 11 inches deep (two 2×6 boards), with bagged mix and a 10% settling allowance.
- Volume of one bed = 8 × 4 × (11 ÷ 12) = 29.33 cubic feet.
- Two beds = 58.67 cubic feet = 2.17 cubic yards.
- With 10% extra: 64.53 cubic feet = 2.39 cubic yards.
- Bags: 65 of 1.0 cu ft, 52 of 1.25, 44 of 1.5, or 33 of 2.0 cu ft.
If you switched the mix to Mel’s Mix, that 64.53 cubic feet would be about21.5 cubic feet of each ingredient: blended compost, peat or coir, and coarse vermiculite.
Formula and assumptions
rectangle cu ft = length (ft) × width (ft) × depth (in) ÷ 12
round cu ft = π × (diameter ÷ 2)² × depth (ft)
order volume = box volume × (1 + extra % ÷ 100)
bags = ceil(order cu ft ÷ bag size)
cubic yards = cubic feet ÷ 27
Assumptions, dated November 22, 2026:
- Dimensions are the inside of the box and the fill depth, not the outside of the lumber.
- Bag sizes follow Iowa State Extension’s 1, 1.25, and 1.5 cubic-foot sizes, plus a 2 cubic-foot bag that is common at US home centers. The bag you pick up may differ.
- Mix splits are by volume, not by weight. A 1:2 compost-to-topsoil mix is one-third compost and two-thirds topsoil. Mel’s Mix is equal thirds, as described by the Square Foot Gardening Foundation.
- The default 10% extra is an optional settling and top-up allowance, not a laboratory shrinkage factor.
- Iowa State’s planning weights (topsoil about 70 lb/cu ft, compost about 40, sand about 100) are listed there if you need a rough weight; this tool reports volume, which is how bulk soil is sold.
| Common bed | Fill depth | Volume | 1.5 cu ft bags* |
|---|---|---|---|
| 4 × 4 ft | 6 in (Mel’s Mix style) | 8.0 cu ft | 6 |
| 4 × 4 ft | 12 in | 16.0 cu ft | 11 |
| 4 × 8 ft | 11 in (two 2×6s) | 29.3 cu ft | 20 |
| 4 × 8 ft | 12 in | 32.0 cu ft | 22 |
| 4 ft round | 12 in | 12.6 cu ft | 9 |
*Bag counts in the table are for the box volume only, with 0% extra, rounded up.
FAQ
How much soil do I need for a 4 × 8 raised bed?
It depends on the fill depth. A 4 × 8 foot bed filled 12 inches deep holds 32 cubic feet, or 1.19 cubic yards — 22 bags of 1.5 cubic feet, or 16 bags of 2 cubic feet, with no extra for settling. Two stacked 2×6 boards are about 11 inches high; that same footprint then holds 29.3 cubic feet. Use the calculator with your actual inside dimensions and depth.
How many bags of soil are in a cubic yard?
One cubic yard is 27 cubic feet. That is 27 bags of 1 cubic foot, 22 bags of 1.25 cubic feet if you round up the last bag (21.6 exactly), 18 bags of 1.5 cubic feet, or 14 bags of 2 cubic feet (13.5 exactly, so 14 if you only buy whole bags). Iowa State Extension notes that bagged soil is typically sold in 1, 1.25, or 1.5 cubic-foot bags; 2 cubic-foot bags are also common at home centers.
What soil mix should I use in a raised bed?
There is no single right mix. University of Maryland Extension often uses compost and purchased topsoil in a 1:2 or 1:1 ratio by volume for beds on soil, and a 1:1 mix of compost and a soilless growing mix for beds on a driveway or other hard surface. Mel Bartholomew’s Square Foot Gardening formula, Mel’s Mix, is equal parts blended compost, peat moss or coconut coir, and coarse vermiculite, measured by volume, not weight. For a small bed, bagged raised-bed mix is the simplest option. Choose a mix, then let the calculator split the order volume into ingredients.
How deep should a raised bed be?
It depends on the crop and what is under the bed. Maryland Extension says beds on a hard surface should be at least 8 inches deep for leafy greens, beans, and cucumbers, and 12 to 24 inches for peppers, tomatoes, and squash, because roots cannot go into the ground below. On native soil, a shallower box can still work if roots can grow through into loosened ground. Deeper is not automatically better if you cannot fill the box with a decent mix.
Do I need to buy extra soil for settling?
Some settling is normal, especially in mixes that are high in compost or peat, and Iowa State notes that potting soil in containers settles over days to weeks. There is no official percentage that fits every mix. This calculator defaults to a 10% allowance so you can mound the bed a little and still have leftover bags for midseason top-ups. Set the extra to 0 if you want only the geometric volume of the box.
When should I buy bulk soil instead of bags?
Once you need more than about a cubic yard, bulk delivery is usually less work and often cheaper per cubic foot, even after a delivery fee — but we are not quoting prices here, so compare a local yard’s cubic-yard price to the bag price in your cart. This calculator shows both cubic yards and several bag sizes so you can do that comparison.
Sources we checked
- Iowa State University Extension and Outreach, “How do I determine the amount of soil needed to fill a container or raised bed?” (updated October 30, 2026). Raised-bed volume is width × length × height; bagged soil is typically 1, 1.25, or 1.5 cubic feet; bulk soil is sold by the cubic yard (cubic feet ÷ 27). Planning weights include topsoil ~70 lb/cu ft, compost ~40, and sand ~100. Notes that potting soil settles over days to weeks. Checked November 18, 2026.
- University of Maryland Extension, “Soil to Fill Raised Beds” (updated November 6, 2024). Compost and purchased topsoil in a 1:2 or 1:1 ratio for beds on soil; compost and a soilless mix 1:1 on hard surfaces; hard-surface depth guidance of at least 8 in for leafy greens, beans, and cucumbers and 12–24 in for pepper, tomato, and squash. Checked November 18, 2026.
- Square Foot Gardening Foundation, Mel’s Mix method: equal volumes of blended compost, sphagnum peat moss or coconut coir, and coarse vermiculite. Checked November 18, 2026.
What you'll need
Optional materials and supplies for this job. Each link opens an Amazon search. We do not list prices or ratings here — check the product page before you buy.
As an Amazon Associate I earn from qualifying purchases.