Garden Soil Calculator

Fill raised beds and vegetable plots to the right depth for what you're growing.

Units

Mixing your own? Enter the compost percentage and the total is split into topsoil and compost.

Garden soil needed

0cubic yards

Side view: soil to the fill line, settling allowance mounded on top, and the crop's suggested depth.
Cubic feet
0
Bags
0
Approx. weight
0

How to Use the Garden Soil Calculator

Pick what you’re growing, measure each garden bed, and confirm the fill depth. The garden soil calculator works out the total in cubic yards, cubic feet, and bags, with extra added for settling.

  1. Choose your units. Imperial uses feet, inches, and cubic yards. Metric uses metres, centimetres, and cubic metres.
  2. Choose what you’re growing. This sets a suggested depth: 8 inches for lettuce, greens, and herbs, 12 inches for mixed vegetables, and 18 inches for tomatoes, squash, and root crops. You can change the depth at any time.
  3. Measure the bed. For raised beds, measure the inside of the frame. Boards 1.5 inches thick take a noticeable bite out of a narrow bed. Use Number of beds for identical beds. For an L-shaped bed, run each rectangle separately, or use the main soil calculator.
  4. Enter only the space you’re filling. For a bed that’s already partly full, set the depth from the current soil surface to the fill line.
  5. Set the settling allowance to 10–20%. Garden soil and raised-bed mix contain a lot of compost, which shrinks more than plain topsoil in the first season.
  6. Choose a bag size if you’re buying bagged soil.
  7. Enter a compost share (optional) if you’re mixing your own blend. The calculator splits the total into topsoil and compost.

Reading the result: The large number is the total soil to buy. The bag count and weight appear below it. The weight is based on a lighter garden mix, not dense topsoil. The diagram shows the bed filled to your depth, with the settling allowance mounded on top and the crop’s suggested depth marked beside it.

How the Garden Soil Calculator Works

The garden soil calculator works out the soil the beds need, applies a settling allowance, and converts the total into bags and weight. It uses a density suited to compost-rich garden mixes (about 0.9 t/m³).

Total volume = Bed length × Bed width × Fill depth × Beds × (1 + Settling allowance)
Bags         = Total volume ÷ Bag size, rounded up
Compost      = Total volume × Compost share
Topsoil      = Total volume − Compost
  • Bed length and width are inside measurements in feet or metres.
  • Fill depth is in inches or centimetres and is converted to feet or metres.
  • Beds multiplies identical beds.
  • Settling allowance and compost share are written as decimals (15% = 0.15).

Worked example: You have an L-shaped vegetable bed, split into a 10 ft × 3 ft section and a 4 ft × 3 ft section that don’t overlap. You want 8 inches of garden soil, a 15% allowance, and 1.5 cu ft bags.

  • Areas: (10 × 3) + (4 × 3) = 30 + 12 = 42 ft²
  • Volume: 42 × (8 ÷ 12) = 28 ft³
  • With 15% allowance: 28 × 1.15 = 32.2 ft³ (1.19 yd³)
  • Bags: 32.2 ÷ 1.5 = 21.5, rounded up to 22 bags
  • Weight: about 1,809 lb

What affects the result:

  • Settling. Mixes high in compost or peat can sink 10–20% over the first season. If you’d rather top up later than over-buy now, use a lower allowance.
  • Mixing your own blend. For a 60/40 topsoil-to-compost blend in the example above, you’d need about 0.72 yd³ of topsoil and 0.48 yd³ of compost.
  • Existing soil. Loosening the native soil under a raised bed doesn’t change how much new soil you need. Only the depth you’re adding counts.
  • Moisture. Bagged garden soil is often damp, so the actual weight varies from the estimate.

Garden Soil Calculator FAQs

How much garden soil do I need for a raised bed?

Multiply the bed’s inside length × width × fill depth in feet, then add 10–20% for settling. A 4 ft × 8 ft bed filled 12 inches deep holds 32 cu ft. With 15% extra, that’s about 37 cu ft, or 1.36 cubic yards.

How deep should garden soil be for vegetables?

Most vegetables need 8–12 inches of good soil. Shallow-rooted crops such as lettuce, spinach, and radishes manage with 6–8 inches. Tomatoes, squash, and root crops such as carrots and parsnips do better with 12 inches or more. Over loosened native ground, a shallower raised bed is fine, since roots can grow down into the soil below.

How much does garden soil settle in a raised bed?

Expect garden soil and raised-bed mixes to settle about 10–20% during the first season, mostly after the first few waterings. Compost-heavy blends settle the most. Set the calculator’s allowance to match, or plan to top up the bed in spring.

Can I fill a raised bed with topsoil instead of garden soil?

You can, but topsoil on its own tends to pack down and drain slowly in a raised bed. Most gardeners blend topsoil with compost, or buy a ready-made raised-bed mix. If you blend your own, enter your compost share and the calculator splits the total for you.

How much compost should I add to an existing garden bed?

A 2–3 inch layer of compost worked into the top few inches of soil is common practice. Enter the bed size, set the depth to the layer you’re adding, and set the allowance to 0%. A 100 sq ft bed at 2 inches needs about 16.7 cu ft, or 0.62 cubic yards.

Can I use the garden soil calculator for pots and containers?

For round pots, the soil volume calculator is a better fit, since it handles circles. Use the average of the top and bottom diameters for tapered pots, and fill containers with potting mix rather than garden soil.

Tools Showcase

Related Soil Calculators

Explore specialized calculators designed to help plan your soil, bags, volume, and material costs.