Soil Calculator for Raised Beds and Pots

ft
ft
6.0
cubic feet
0.22cu. yards
3bags needed
Bag size
Soil blend recipe
Percentages should add up to 100 — currently 100%.
Granular organic fertilizer to mix in at planting (¼ cup per sq ft of surface area):
1.5cups

If you've ever stood in the garden center parking lot trying to guess how many bags of soil will fill your new raised bed.

Guess low and you're driving back to the store. Guess high and you're storing half-used bags in the garage all summer.

The soil calculator above works for raised beds, pots and containers. Enter your dimensions and it returns your total volume, a full soil blend recipe, and how many bags to buy at your store's bag size.

Below: how to use it, the formulas behind it, and the depth your specific crops actually need.

How to Use the Soil Calculator

For a raised bed

  1. Choose Raised Bed and pick your shape.
  2. Enter the inner length and width in feet, or the diameter for a circle.
  3. Set your fill depth in inches. Presets cover the common cases, or use the depth table below.
  4. Filling more than one bed? Bump the bed count and it totals everything.

For a pot or container

  1. Switch to Pot / Container and choose round or square.
  2. Enter diameter (or length and width) and depth in inches, not feet.
  3. Results come back in quarts, since that's how potting mix is labeled.

Either way you also get a blend breakdown and a fertilizer amount, so you walk away with a shopping list rather than just a number.

Quick tip: Measure the inside of your bed, not the outside. Walls are usually 1 to 2 inches thick, and that gap multiplies across length, width, and depth.

The Formulas Behind It

If you want to check the math or run it in your head at the store, here it is.

What you needFormula
Rectangular bed, cubic feetLength (ft) × Width (ft) × Depth (in) ÷ 12
Round bed, cubic feet3.14 × radius (ft)² × Depth (in) ÷ 12
Cubic yardsCubic feet ÷ 27
Container, dry quartsCubic inches ÷ 67.2
Bags neededTotal cubic feet ÷ bag size in cubic feet

Worked example, a 4x8 bed filled 12 inches deep:

4 × 8 × (12 ÷ 12) = 32 cubic feet, or 1.19 cubic yards.

At 1.5 cubic foot bags, that's 32 ÷ 1.5 = 21.3, so 22 bags. At 2 cubic foot bags, 16 bags.

Container example, a 12-inch round pot, 10 inches deep:

3.14 × 6² × 10 = 1,131 cubic inches ÷ 67.2 = 17 quarts.

One thing to know going in. This is loose fill volume. Bagged soil settles once watered, sometimes by 10 to 20 percent. Fill to the top on day one, let it settle, then top off with an extra bag rather than compensating up front.

Choosing the Right Soil Blend

This is the part most calculators skip, and it matters more than the volume. A bed filled with straight topsoil compacts, drains badly, and starves roots of oxygen.

BlendRecipeBest for
Classic raised bed60% topsoil, 30% compost, 10% potting mixMost vegetable beds. The default
Mel's Mix⅓ compost, ⅓ peat moss, ⅓ vermiculiteSquare-foot gardening. Consistent and weed-free, but pricier
Budget blend70% topsoil, 30% compostLarge beds, or decent native topsoil already on hand
CustomYour own percentagesLocal topsoil and amendments. Calculator still does the per-ingredient math

Don't use straight bagged garden soil. It's labeled for in-ground use and compacts hard inside a raised bed. If a bag just says "garden soil" with no blend information, treat it as one ingredient, not the whole mix.

How Deep Should Your Soil Be?

Depth depends on what you're growing. Shallow crops don't benefit from a foot of soil, and deep-rooted crops fork or stall when they hit a hard floor.

Root depthSoil depthExamples
Shallow6 to 8 inchesLettuce, spinach, radishes, most herbs
Medium10 to 12 inchesBeans, peas, broccoli, cabbage, peppers
Deep12 to 18 inchesTomatoes, carrots, potatoes, squash
Extra deep18 to 24+ inchesAsparagus, parsnips, sweet potatoes

A shortcut if your bed sits on soil rather than a patio. Roots don't stop at the bottom of the frame. A 10-inch bed over loosened ground often gives closer to 16 to 18 inches of usable depth. Break up the native soil a few inches before filling and you'll stretch the budget without shorting your plants. Our soil preparation guide covers how to loosen and improve what's already there.

How Many Bags Do I Need?

Bag sizes vary more than you'd expect, and potting mix is sold in dry quarts, not liquid.

Bag sizeCubic feetBags per cubic yard
1 cu ft1.027
1.5 cu ft1.518
2 cu ft2.013.5
3 cu ft3.09
16 qt0.6243
25 qt0.9728
40 qt1.5617
50 qt1.9414

Anything over about 1 cubic yard, call a local landscape supplier and ask about bulk pricing. Bagged soil is convenient, but you're paying for packaging and handling on top of the material.

Raised Bed Soil vs. Potting Soil

Don't buy one pile for both. Raised bed soil is heavier and holds structure, which works when there's unlimited drainage underneath. In a pot, that same density turns into waterlogging and root rot, because water can only escape through one small hole.

For containers, use a soilless potting mix made from peat or coconut coir, perlite, and compost. It holds moisture without staying soggy in a confined space.

Common Mistakes to Avoid

Measuring the outside of the bed. The single biggest source of over-ordering.

Ignoring settling. Fill to the top, expect an inch or two of drop, plan to top off.

Using straight compost. Compost is an amendment, not a growing medium. Too much and roots sit in something closer to mulch than soil.

Skipping the depth check. A universal "fill it 8 inches" rule works for lettuce and falls apart the moment you plant tomatoes.

Frequently Asked Questions

What does a soil calculator actually tell you?

Total volume in the units soil is sold in, which is cubic feet and cubic yards for beds and quarts for containers. This one also splits that volume into a blend recipe and converts it to a bag count, so you get a shopping list rather than a single number.

How much soil does a 4x8 raised bed need?

32 cubic feet at 12 inches deep, or 21 cubic feet at 8 inches. That's 22 bags of 1.5 cubic foot soil for the deeper fill, or 16 bags of 2 cubic foot.

Should I round up or down on bags?

Round up, always. Soil settles, and running one bag short mid-project means a second trip.

Does the calculator account for settling?

No, and that's deliberate. It gives you loose fill volume, which is what you buy. Settling happens after watering, and topping off later is cheaper than guessing at a compression rate up front.

Can I use it for grow bags and fabric pots?

Yes. Use the round container setting with the bag's flat diameter and its height. Fabric pots bulge slightly when filled, so expect to need a little more than the number shows.

What can I put at the bottom to use less soil?

Untreated logs, sticks, or leaves in a deep bed fill space cheaply and break down over time. Leave at least 8 to 10 inches of real soil on top. Our raised bed guide covers this in more detail.

Use our vegetables spacing calculator for plant spacing guide.