Garden Soil Calculator

Filling a raised bed or topping up a garden? Enter the shape, size and depth to see exactly how much soil, compost or mulch to buy, in cubic yards for bulk delivery or in bags.

Example with the default inputs

Soil needed 1.48 cubic yards (40.0 cubic feet)

Bed area80.0 sq ft
Bags (1.5 cu ft each)27 bags
Granular fertilizer (about ½ cup per 5 sq ft)8.0 cups

Inputs explained

Bed shape
The outline of the bed. For odd shapes, split the bed into rectangles and add the results together.
Length
Length of the bed in feet. For a square, the length of one side. For a circle, the diameter (straight across the middle).
Width
Width of the bed in feet.
Depth
How deep to fill, in inches. Mulch 2–3 in, flower beds 6–8 in, vegetable raised beds 8–12 in.
Bag size
The volume printed on the bags you'll buy. Used to count how many bags you need.

Results explained

Soil needed
Volume in cubic yards (how bulk soil is sold) and cubic feet: area × depth in feet.
Bed area
The surface area of the bed in square feet.
Bags
Cubic feet needed ÷ bag size, rounded up.
Granular fertilizer
A starting amount of about ½ cup per 5 sq ft. Always follow the product label.

How to calculate garden soil

  1. Find the area in square feet:
    • Rectangle: length × width
    • Square: side × side
    • Circle: 3.14 × (diameter ÷ 2)²
  2. Convert depth to feet. Divide inches by 12, so 6 inches = 0.5 ft.
  3. Volume (cubic feet) = area × depth in feet.
  4. Cubic yards = cubic feet ÷ 27. Bulk soil and mulch are sold by the cubic yard.

Example: a 10 × 8 ft bed filled 6 inches deep needs 80 × 0.5 = 40 cubic feet, or about 1.5 cubic yards. That's 27 bags of 1.5 cu ft.

How deep should it be?

Use Depth
Mulch 2–3 in
Lawn top-dressing ¼–½ in
Flower beds 6–8 in
Vegetables (raised bed) 8–12 in
Root crops / deep beds 12–18 in

Bags or bulk?

Bags are handy for small jobs. From about 2 cubic yards up, bulk delivery usually costs less and saves a lot of plastic. Check the delivery fee and whether the supplier screens and blends the soil.

New to growing? Start with our garden planning guide for beginners.

Learn more

More renovation

Remodel costs

Kitchen & bath

Flooring & walls

Roofing & exterior

Yard & garden