BuildMetricLab

Landscaping & Outdoor

Raised Bed Soil Calculator

Soil volume, bags and cost to fill a raised bed, in cubic feet and yards

Updated May 13, 2026 · Live

What this tool does

Estimates the soil to fill a raised bed in cubic feet and cubic yards, the number of bags and the cost, from the bed's length, width and soil depth.

Estimates the volume of soil, the number of bags and the cost to fill a raised bed from its length, width and soil depth.

Inputs
ft
ft
in
ft³
$
Result

Raised Bed Soil Volume

32.0 ft³ (1.19 yd³)

2.00 ft³ Bags
16
Estimated Cost (bags)
$80.00
Bulk Delivery
1.19 yd³

Diagram

8 ft4 ft12 in
Price it on PlainEstimate

Opens these materials as a new estimate on PlainEstimate, our free estimate and invoice app.

Plain Estimate
From BrightScale Labs
Invoice maker
Quote at the door. Signed on the spot.
Estimates and invoices for trades, built while you are still in the room.
Scan to get
Get it onGoogle Play

People also use

Formula Used
V=L⋅W⋅d,bags=⌈V÷b⌉V = L \cdot W \cdot d,\quad \text{bags} = \lceil V \div b \rceil
VV
Raised bed soil volume
LL
Bed length
WW
Bed width
dd
Soil depth
bb
Volume of one bag

How the raised bed soil calculator works

A raised bed is a box, so the soil it holds is the inside length times the inside width times the depth of soil. This calculator takes those three measurements, gives the volume, divides by the size of a bag to count whole bags, and prices them. The formula is V = L × W × d, and bags = ⌈V ÷ b⌉ for a bag volume b. The page works in feet and inches and converts internally, so the metric and US-unit versions of the same bed agree.

Example with the defaults on this page: a bed 8 ft long, 4 ft wide and 1 ft (12 in) deep needs 8 × 4 × 1 = 32 ft³ of soil, which is 1.19 yd³ or 0.91 m³. In bags of 2 ft³ that is exactly 16 bags, and at $5 a bag the cost is $80. Bulk soil is sold by the cubic yard, so the same bed needs about 1.2 yd³ delivered.

Depth changes the answer in proportion. A deeper 18 in bed of the same size needs 48 ft³, which is 24 bags, and a shallow 4 × 4 ft bed at 10 in needs 13.3 ft³, which is 6.7 bags, so 7. If you mix the fill half and half, the default bed takes 16 ft³ of topsoil and 16 ft³ of compost, which is 8 bags of each.

Typical US landscaping and outdoor wastage

The tool adds no allowance, because the right figure depends on the soil. Soil settles as it is watered in, often by an inch (25 mm) or more in the first season, so the bed will need topping up. Many gardeners order about 10% extra or keep a few bags back, which is a habit and not a published standard. On the 32 ft³ example, 10% extra is 35.2 ft³. A bag's labelled volume is for loose soil, and a bag can make a little less once it is wet and packed, so check the label.

Measure the inside of the frame, not the outside, because a frame of 2 in (50 mm) timber is 4 in (100 mm) wider on the outside. Measure the depth you will fill to, which is a little below the rim, so the soil does not spill when watered. A 1 in (25 mm) error in depth on this bed is 2.7 ft³, which is about 8% of the total.

What this tool does not do

It does not choose the soil mix, test the soil or check drainage. It does not include the frame, liner, drainage layer, compost or mulch. It assumes the bed is a rectangle with the same depth all over, so a bed with an L shape needs to be split into rectangles and added. It counts whole bags only, so it cannot say how to mix two different soils, and for that you work out each part from the volume.

On-site considerations for raised bed soil

Extension services in the United States give about 10 to 12 inches of soil as a floor for most vegetables, with Michigan State putting the minimum at about 10 inches and Texas A&M recommending 12 to 18 inches. Utah State says a bed shallower than about 12 inches should have an open bottom so roots can reach the soil below. Beds on a hard surface, such as paving, need drainage holes and the full depth of soil.

Fill mix matters as much as quantity. The University of Maryland Extension gives a target of 25 to 50% organic matter by volume, and Michigan State suggests a blend of half compost and half topsoil. Mix the parts before you fill the bed, since layers of different soils can stop water and roots moving through. Bulk topsoil is often called landscaping fill, so look at it first. Beds up to about 4 ft (1.2 m) wide, and under 1.5 m (5 ft) by the RHS, can be reached from both sides without stepping on the soil, which keeps it loose.

Codes and compliance

A raised bed does not normally need a permit. A tall bed or a retaining wall higher than a few feet can need one, and the limits depend on where you live. Wet soil is heavy, roughly 100 lb per ft³ (1,600 kg per m³), so a bed of 32 ft³ weighs about 3,200 lb, and the frame and the surface beneath must carry it. If you grow food in an urban plot or near an older building, consider testing the soil for contaminants, and use clean soil in the bed. Other countries have their own rules, so follow the ones where you live.

Before you order

Measure the inside of each bed and decide the depth. Decide whether to buy bags or bulk, and compare the price per ft³ or yd³, not per bag, because bags differ in size. Look at the bag label for what is in it, and ask a bulk supplier for a sample. Check that the soil is not full of stones, weeds or woody lumps. Plan where a bulk load will be tipped, and how you will move it, because a cubic yard or metre is a lot to shift by barrow.

Adjusting the defaults

Every input is editable. The length, width, depth and bag size must be above zero. A blank or zero field is refused instead of silently using a default, and a blank price hides the cost line. For several beds, add up their volumes or multiply one bed's figure. If a bag's label gives the volume in a different unit, convert it, using 1 ft³ = 28.3 L.

Using this raised bed soil calculator alongside other BuildMetricLab tools

Pair this estimate with the compost, topsoil and mulch calculators for the fill and the top dressing, and with the sleeper and timber calculators for the frame. All BuildMetricLab tools run in your browser. Nothing you type is sent anywhere, and every formula is shown on the page so you can audit the maths.

Sources & methodology

Volume = length × width × soil depth, using the inside dimensions of the bed. The page takes lengths in ft and depth in inches, and shows ft³ and yd³ (1 yd³ = 27 ft³ = 0.7646 m³). Bags = volume ÷ the volume of one bag, rounded up to a whole bag, with the bag size entered in ft³ (1 ft³ = 28.32 L). Cost = bags × price per bag, hidden if no price is entered. The bulk delivery row shows the volume in cubic yards. The length, width, depth and bag size must be above zero and the price zero or more. The tool applies no settling allowance and assumes a uniform soil depth. A bag's labelled volume is for loose soil and can be more than it makes once packed.

Frequently asked questions

Are raised bed soil calculator results accurate enough to order materials?

They are a good starting quantity. The volume is length × width × depth, so it is exact for the inside dimensions you enter. Soil then settles, and the volume printed on a bag can be a little more than you get once it is wet and packed, so check the plan against the bag label. Bulk soil is sold by the cubic yard, and a yard is 27 ft³.

Should I add extra soil beyond the calculated volume?

The tool adds no allowance. Soil settles as it is watered in, often by an inch or more in the first season, and the bed will need topping up. Many gardeners order about 10% extra or keep a few bags to top off after the first watering. That is a habit, not a published standard. If you mix the fill, order each part with the same extra.

Does this replace professional advice?

No. It estimates soil volume and cost only. It does not choose the soil mix, check drainage or the strength of the frame, or test the soil for contaminants. For soil quality and food safety, ask a local extension service, and have a tall bed frame built to carry the weight.

Can I change the unit prices?

Yes. The price per bag is editable, and a blank price hides the cost line so only the quantity shows. A price of zero is accepted. The length, width, depth and bag size must be above zero. If you buy bulk soil by the cubic yard, use the bulk delivery row instead of the bag cost.

Spotted something off?

Calculations or display — let us know.

Calculators from other categories that planners often reach for next.