Home Home & Property Raised bed soil calculator

Raised bed soil calculator

Soil for a raised bed split into topsoil and compost, with the bag count at your bag size.

The mix comes from Iowa State University Extension's guidance on raised bed soil, last updated 20 April 2026 and read on 5 December 2026: equal parts topsoil, organic matter and coarse sand, or about 70% topsoil with 30% compost. The page uses the 70/30 split and the tip gives the equal parts version.

Advertisement

How it works

Enter the bed's inside length and width in feet, the depth you plan to fill in inches, and the volume printed on your bag. The page works out the total volume, splits it 70/30 into topsoil and compost, and rounds up the bags you need to buy.

Advertisement

Formula

Soil volume = length × width × depth ÷ 12
Topsoil = soil volume × 0.7
Compost = soil volume × 0.3
Bags = soil volume ÷ bag size, rounded up

Sources

Example

A bed 4 ft by 8 ft filled 10 in deep takes 26.67 cu ft of soil: 18.67 cu ft of topsoil, 8.00 cu ft of compost, 18 bags of 1.5 cu ft, and 0.99 cu yd.

Frequently asked questions

How much soil does a 4 by 8 bed need?

At 10 inches deep it is about 26.7 cubic feet, which is just under one cubic yard, or 18 bags of 1.5 cubic feet.

Should I use topsoil or compost?

Both, in the mix above. Straight compost settles and holds too much salt and water for roots, and straight topsoil is usually too heavy and low in organic matter.

How deep should a raised bed be?

10 to 12 inches covers most vegetables and salads. Root crops want 12 to 18 inches, and a bed 6 inches deep suits herbs and shallow greens.

Advertisement

Related calculators

Mortgage Calculator

Monthly mortgage payment with tax and insurance, total interest and a balance chart.

House Affordability Calculator

The home price you can afford from your income, debts and down payment.

Down Payment Calculator

How much you need to put down on a home and how long it takes to save it.

Rent Calculator

Estimate how much rent you can afford from your income, using the common 30% rule.