Sow & Frost Get my frost dates

Soil calculator for topsoil, raised beds and pots

How much soil you need, in cubic feet, cubic yards, liters and bags.

How the calculator works

A bed is a box, so its volume is length × width × depth. Depth is entered in inches and divided by 12 to get feet, which gives cubic feet. One cubic yard is 27 cubic feet and one cubic foot is about 28.3 liters. Bag counts are rounded up, because you can't buy part of a bag.

A round bed uses the area of a circle: π × radius × radius × depth. Pots are entered by their gallon size and converted as if it were a liquid gallon (3.785 liters).

Worked example

A 4 × 8 ft bed filled 12 inches deep: 8 × 4 × (12 ÷ 12) = 32 cubic feet. Divided by 27 that is 1.185 cubic yards. Sold in 1.5 cu ft bags you would need 22 bags, or 16 bags of 2 cu ft.

A round bed 4 ft across and 12 inches deep has a radius of 2 ft: π × 2 × 2 × 1 = 12.57 cubic feet, or 7 bags of 2 cu ft.

Raised bed sizes

BedDepthCubic feetCubic yards1.5 cu ft bags2 cu ft bags
2 × 4 ft12 in80.29664
3 × 6 ft12 in180.667129
4 × 4 ft12 in160.593118
4 × 6 ft12 in240.8891612
4 × 8 ft12 in321.1852216
4 × 8 ft18 in481.7783224
4 × 10 ft12 in401.4812720
4 × 12 ft12 in481.7783224
4 × 8 ft24 in642.374332

Pot sizes

PotCubic feet (upper estimate)LitersPots per 1.5 cu ft bag
1 gallon0.133.811
2 gallon0.277.65
3 gallon0.411.43
5 gallon0.6718.92
7 gallon0.9426.51
10 gallon1.3437.91
15 gallon2.0156.8less than 1
20 gallon2.6775.7less than 1
25 gallon3.3494.6less than 1
30 gallon4.01113.6less than 1

Limits

Questions

Short answers from the numbers on this page.

How do you get cubic feet?

Length × width × depth, with depth converted from inches to feet. A 4 × 8 ft bed filled 12 in deep holds 32 cubic feet.

Can I use it for topsoil?

Yes. Choose a rectangular bed, enter the length and width of the area and the depth in inches. A 20 × 50 ft area covered 2 in deep needs about 167 cubic feet, or 6.2 cubic yards.

How many bags of soil are in a cubic yard?

A cubic yard is 27 cubic feet: 36 bags of 0.75 cu ft, 27 bags of 1 cu ft, 18 bags of 1.5 cu ft, 14 bags of 2 cu ft (13.5, rounded up) or 9 bags of 3 cu ft.

Should I buy extra?

Soil settles after watering. The calculator lets you add a percentage on top; it starts at 0 so the numbers are exact until you choose otherwise.

Are pot gallon sizes exact?

No. Nursery "gallon" sizes are trade names and usually hold less than a liquid gallon, so the result for pots is an upper estimate.

Related tools

Mulch Calculator

Cubic yards and bags of mulch for any area and depth.

Plant Spacing Calculator

How many plants fit in a bed in a square grid, offset rows or square-foot layout.