sodcalculator

02 Yard and Garden

Flower Bed Calculator: Soil & Mulch Volume

Tag 02-2981 · Updated · Standard formula, shown below

Volume 9.26 yd³
Volume
250.0 ft³
Result
Lawn length
40 ft
You entered
Lawn width
25 ft
You entered
You enter
Lawn length, Lawn width, Depth
You get
Volume, Volume
Rounding
2 dp · 1 dp

A flower bed calculator works out how much soil, compost, or mulch you need to fill a garden bed to a chosen depth. You enter the bed’s length and width in feet and the depth in inches, and it returns the volume in cubic feet and cubic yards, so you can order the right amount of material without overbuying or running short.

Formula

The calculator uses the standard volume formula for a rectangular prism:

Volume (ft³) = Length (ft) × Width (ft) × Depth (in) ÷ 12

Volume (yd³) = Length (ft) × Width (ft) × Depth (in) ÷ 324

Where:

  • Length – the longest side of the bed, in feet (ft)
  • Width – the shorter side, in feet (ft)
  • Depth – how deep you want the soil or mulch layer, in inches (in)
  • 12 – converts inches to feet (12 inches = 1 foot)
  • 324 – converts cubic feet to cubic yards (27 ft³ = 1 yd³, and 12 × 27 = 324)

The same formula works for any material – topsoil, raised bed mix, compost, mulch, or gravel – as long as you measure in feet and inches.

Worked Example

Using the default values from the calculator: a bed 40 ft long, 25 ft wide, and 3 inches deep.

  1. Convert depth to feet: 3 in ÷ 12 = 0.25 ft
  2. Calculate volume in cubic feet: 40 ft × 25 ft × 0.25 ft = 250 ft³
  3. Convert to cubic yards: 250 ft³ ÷ 27 = 9.26 yd³ (rounded to 2 decimals)

The calculator shows 250 ft³ and 9.26 yd³ – exactly what the formula gives. If you order bulk soil by the cubic yard, you’d round up to 10 yd³ because suppliers sell whole yards.

Why Depth Matters More Than You Think

Most people underestimate how much material a shallow layer actually needs. A 3-inch layer over a 10×10 ft bed (100 ft²) is only 25 ft³ – about 1 cubic yard. But double the depth to 6 inches and you need 50 ft³, or 2 yards. That’s the same area, but twice the material and cost.

Here are typical depth guidelines for different materials (always confirm with your supplier or a local extension service):

  • Mulch (wood chips, bark): 2–4 inches for weed suppression and moisture retention
  • Topsoil over existing ground: 4–6 inches for a new bed
  • Raised bed mix: 8–12 inches for deep-rooted vegetables
  • Compost amendment: 1–2 inches worked into the top 6 inches of soil

If you’re topping up an existing bed, measure the current depth and subtract it from your target. For example, if you want 4 inches total and there’s already 1 inch of mulch, you only need 3 inches of new material.

Common Mistakes and How to Avoid Them

The most frequent error is mixing units. If you measure the bed in meters but the depth in inches, the result will be off by a factor of 3.28. Always convert everything to feet before calculating.

Another common mistake is forgetting that soil settles. Freshly dumped soil or compost can compact by 10–20% after watering and a few weeks. For a new bed, consider ordering 10–15% extra to account for settling. For mulch, settling is less of an issue, but a little extra never hurts.

Rounding errors are also common. If you round the cubic yards to 9 instead of 9.26, you’ll be short by about 0.26 yd³ – roughly 7 ft³, which is about 10 standard 2-cubic-foot bags. Always round up, not to the nearest whole number.

How to Choose Between Bulk and Bagged Material

Once you know the volume, you have two purchasing options: bulk (by the cubic yard) or bagged (by the cubic foot). The calculator gives you both numbers so you can compare easily.

  • Bulk: Delivered by a dump truck or in a large tote. Cheaper per cubic foot for large projects, but you need a place to dump it and a wheelbarrow to move it. Minimum delivery is often 1–2 cubic yards.
  • Bagged: Sold at garden centers in 1.5–2 ft³ bags. Easier to handle and store, but more expensive per cubic foot. For small beds (under 10 ft²), bags are usually more practical.

To convert cubic yards to bags: 1 yd³ = 27 ft³. If you need 9.26 yd³, that’s 250 ft³. With 2 ft³ bags, you’d need 125 bags – that’s a lot of trips, so bulk is clearly better for that size.

Irregular and Curved Beds

This calculator assumes a rectangle. If your bed is curved or L-shaped, break it into smaller rectangles, calculate each one, and add the volumes together. For a circle, use the formula π × radius² × depth (in feet) to get cubic feet.

Example: a circular bed 10 ft across (radius 5 ft) with 4 inches of mulch.

  1. Area = π × 5² = 78.54 ft²
  2. Depth in feet = 4 ÷ 12 = 0.333 ft
  3. Volume = 78.54 × 0.333 = 26.18 ft³ (about 0.97 yd³)

For a triangular bed, multiply base × height × 0.5 × depth. These shapes are common in landscaping, so it’s worth knowing the extra formulas.

Limits of the Formula

The formula gives a perfect rectangular volume, but real beds are rarely perfect. Sloped beds, rounded corners, and uneven ground will change the actual volume needed. Also, the calculator doesn’t account for the type of material – a cubic yard of wet topsoil weighs more than a cubic yard of dry mulch, but the volume is the same. Weight matters for delivery and for your back, but not for ordering by volume.

For raised beds with walls, measure the inside dimensions, not the outside. If the bed tapers (wider at top than bottom), use the average of the top and bottom widths for a better estimate.

Frequently Asked Questions

How many bags of mulch do I need for a 10×10 ft bed at 3 inches?

First, calculate the volume: 10 × 10 × (3/12) = 25 ft³. If you buy 2 ft³ bags, you need 25 ÷ 2 = 12.5, so round up to 13 bags. For 1.5 ft³ bags, you’d need 17 bags (25 ÷ 1.5 = 16.67). Always round up because bags are sold as whole units.

How deep should the soil be in a raised bed for vegetables?

Most vegetables need at least 8–12 inches of quality soil. Root crops like carrots and potatoes prefer 12 inches or more. If your bed sits on grass or hard ground, you can get away with less, but 10 inches is a good middle ground. Use the calculator with your bed’s dimensions and a depth of 10–12 inches to find the volume.

What’s the difference between topsoil, garden soil, and compost?

Topsoil is the natural upper layer of earth, often sold as fill. Garden soil is topsoil amended with compost or other organic matter, meant for in-ground beds. Compost is fully decomposed organic matter, used to enrich soil rather than as a standalone growing medium. For raised beds, a mix of about 60% topsoil, 30% compost, and 10% other amendments is common, but ratios vary.

How much does a cubic yard of soil weigh?

It depends on moisture and composition. Dry topsoil weighs about 2,000–2,700 lbs per cubic yard; wet topsoil can be 3,000 lbs or more. Compost is lighter, around 1,000–1,500 lbs per cubic yard. Mulch is even lighter, around 400–800 lbs per cubic yard. Check with your supplier for exact weights, especially if you’re concerned about delivery vehicle limits or moving it by hand.

Should I order extra to account for settling?

Yes, for soil and compost, add 10–15% more than the calculated volume. Fresh material compacts after watering and over time. For mulch, settling is less significant, but adding 5–10% is still a safe buffer. If you’re filling a raised bed, you can also water each layer as you fill to encourage settling early.

Can I use this calculator for gravel or sand?

Yes, the volume calculation is the same for any loose material. However, gravel and sand are usually sold by weight (tons) rather than volume. To convert, you’ll need the material’s density – typically 1.4–1.7 tons per cubic yard for gravel. Multiply the cubic yards by the density to get tons, but confirm the exact density with your supplier.

Related

Formula used
in l | Lawn length | ft | 40 | 0 | 100000
in w | Lawn width | ft | 25 | 0 | 100000
in d | Depth | in | 3 | 0 | 120
out yd | Volume | yd³ | l * w * d / 324 | 2
out ft3 | Volume | ft³ | l * w * d / 12 | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More in this bed

The whole Yard and Garden bed →