Most vegetables do well in 10 to 12 inches.
Most vegetables do well in 25 to 30 centimetres.
Fresh soil and compost sink after watering. 10% is a common allowance.
Soil to buy
35.2 cubic feet
or 1.3 cubic yards
A bed 8 by 4 ft and 12 in deep holds 35.2 cubic feet. Plan on 24 bags for 1 bed.
Raised Bed Soil Calculator by Ivorytool, free tools that run in your browser.