Home / Tools / Soil Volume Calculator
Free tool

Soil Volume Calculator

A raised bed of dark earth topped with compost, waiting for seeds
Free · no sign-upUpdated December 3, 2026
Quick answer

Turn the bed's length, width and depth into the same unit, multiply the three together, and the answer is the volume in cubic feet. For a familiar 8 by 4 ft bed filled a foot deep, that is 32 cu ft, close to 906 litres, or 23 bags of 40 litres.

Soil volume calculator

Type in the length, width and depth of your bed or container, and watch the result change as you type.
feet
feet
inches

Soil needed-

Fresh soil sinks once it is watered, so order around 10% more than the figure shown. On a 32 cu ft bed that is close to 3 cu ft extra. Bag counts are always rounded up.

A bed filled only halfway looks unfinished, and a spare mound of soil beside the path becomes a job in itself. Both troubles start with a guess at the garden centre, when the bed was still a rough idea rather than three measurements. A tape measure and one short multiplication remove the guesswork, so the order matches the bed and planting can start on the day planned.

The calculator below accepts the length, width and depth of any rectangular bed or container, in feet and inches or in metres and centimetres. It returns the volume in cubic feet, cubic yards and litres, with the number of bags that volume represents. The same arithmetic serves for compost and mulch, so the tool covers most filling jobs around the garden.

A wooden raised bed beside a flat stretch of dug garden ground
A raised bed holds a fixed volume of soil, so measuring first saves an awkward second order.

How the volume sum works

Volume comes from multiplying length, width and depth together, with every figure in the same unit. A bed measuring 8 ft by 4 ft, filled to a foot deep, contains 32 cubic feet — the product of 8, 4 and 1. Depth is normally measured in inches, so divide it by 12 first: 12 inches makes a foot, and 6 inches makes half a foot.

Cubic yards and litres both derive from that cubic feet figure. A cubic yard holds 27 cubic feet, so dividing by 27 gives the yardage. A cubic foot contains around 28.3 litres, so multiplying by 28.3 gives litres. Bag numbers come from dividing the total by the size of a single bag and rounding upwards, since even a part bag must be bought.

Worked example: a bed 8 ft by 4 ft, a foot deep

Most home gardeners build a bed 8 ft long and 4 ft wide, then fill it 12 inches deep. Twelve inches is exactly a foot, so the sum is 8 multiplied by 4 multiplied by 1, giving 32 cubic feet. Dividing by 27 gives 1.19 cubic yards, and multiplying by 28.32 gives about 906 litres.

For bags, 906 divided by 40 comes to 22.65, so order 23 bags of 40 litres. Freshly watered soil sinks a little, so allow roughly an extra 10 percent — about 3 more cubic feet — and the sensible order becomes 25 bags. A couple of spare bags cost far less than a second trip to the shop.

Bags, bulk sacks or a loose load?

A single small bed is simplest to fill with bags from a garden centre, even though the cost per litre is higher than buying in bulk. The calculator's bag figure is the number to carry to the till, and bags move one at a time and keep under cover until needed.

Filling two or three beds usually makes a bulk sack the better buy: roughly a cubic yard, cheaper per litre and far less plastic. A whole new vegetable patch is cheapest with loose soil delivered by the cubic yard, when the cubic yard figure earns its keep. Always check whether delivery is included before comparing two prices.

How deep should the soil be?

The depth a bed needs depends on the crop going into it. Salads, herbs and strawberries do well in roughly 6 inches of good soil. Most vegetables, from beans to brassicas, grow well in 12 inches. Carrots and parsnips send roots much deeper, so they prefer 18 inches, or a shallow bed over loosened open ground below.

When a bed stands on open soil, roots can push down through its base, so a shallower fill still does the job. A bed on concrete or a balcony has nothing beneath it, so fill it to the full depth the crop needs, leaving an inch or two clear at the top so watering does not spill over the edge.

Mulch spread thickly over the surface of a vegetable bed
The same volume sum covers mulch: multiply the area by the depth of the layer.

Key takeaways

  • Multiply length, width and depth in matching units, turning inches into feet first.
  • A cubic yard contains 27 cubic feet, while a cubic foot is close to 28.3 litres.
  • A familiar 8 by 4 ft bed, filled a foot deep, needs 32 cu ft — around 906 litres.
  • Order about 10 percent more than the sum, because fresh soil settles after watering.

Frequently asked questions

How many bags of soil should I buy for one raised bed?

Start with the volume, then divide by one bag's size and round upwards. A familiar 8 by 4 ft bed filled 12 inches deep takes about 906 litres: 23 bags of 40 litres, or 25 with a tenth extra for settling.

How many cubic feet make up one cubic yard?

A cubic yard is a cube 3 ft on every side, and 3 times 3 times 3 makes 27. Divide any cubic feet figure by 27 to find the number of cubic yards.

What depth of soil suits a raised bed?

Six inches suits salads and herbs, while most vegetables are happy with roughly 12 inches and carrots prefer 18. If the bed sits on open ground, roots reach below the base, so a shallower fill still does the job.

Does this calculator work for compost and mulch as well?

Yes — volume is volume, whatever the material. Type in the area and the depth of the layer, and the same answer covers compost or mulch. A mulch layer around 2 to 3 inches deep is usual on a vegetable bed.

The numbers this calculator shows are rough figures worked out from the measurements you enter and the standard values printed on the page. Real soil, weather and plants will move the true amounts around, so use the answer as a first guess and change it to match what you find in your own garden.

Built by Evelyn Marsh. Last updated December 3, 2026. How we write.
Back to top ↑