sodcalculator

02 Yard and Garden

Compost Calculator: How Much Do I Need?

Tag 02-3117 · 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

This calculator works out the volume of compost you need for a garden bed or lawn project. Enter the length and width of the area in feet, the desired depth of compost in inches, and you’ll get the required volume in both cubic yards and cubic feet. The first result, cubic yards, is the number you’ll use when ordering bulk compost by the yard.

Formula

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

Volume (cubic feet) = Length (ft) × Width (ft) × Depth (ft)

Since depth is entered in inches, it is first converted to feet by dividing by 12. Then, to get cubic yards, the cubic feet result is divided by 27 (because 1 cubic yard = 27 cubic feet). The combined formula for cubic yards is:

Volume (yd³) = (L × W × D) / 324

where:

  • L = length of the area in feet
  • W = width of the area in feet
  • D = depth of compost in inches
  • 324 = 12 × 27 (converts inches to feet and then to cubic yards)

Worked Example

Using the default values from the calculator: a lawn 40 ft long, 25 ft wide, with a 3-inch layer of compost.

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

The calculator shows 9.26 cubic yards (rounded to two decimals) and 250.0 cubic feet. This matches the manual calculation.

Why Compost Volume Matters

Compost is sold in two ways: by the cubic yard (bulk, delivered in a truck) or by the cubic foot (bagged, typically 1–3 cubic feet per bag). Knowing your volume in both units lets you compare prices and order the right amount. Ordering too little means a second trip (and often a second delivery fee); ordering too much means wasted material and money.

The depth you need depends on the purpose:

  • Topdressing an existing lawn: 0.25 to 0.5 inches
  • New garden bed or vegetable plot: 2 to 3 inches
  • Improving poor soil deeply: 4 to 6 inches (tilled in)
  • Raised bed fill (with compost as a component): varies, but often 1/3 compost mixed with other materials

How to Measure Your Area

For a simple rectangle, measure length and width in feet. For irregular shapes, break the area into rectangles and triangles, calculate each, and add them together. For a circle, use the formula π × r² (where r is the radius). The calculator assumes a flat, level area; if your ground is sloped, the actual volume may differ slightly, but for most projects the difference is negligible.

If you are working in meters, convert to feet first (1 m = 3.28084 ft) or use the formula: Volume (m³) = L(m) × W(m) × D(m). Then convert to cubic yards by multiplying by 1.30795.

Common Mistakes and How to Avoid Them

  • Mixing units: Always use the same unit for all measurements. If you measure length in feet, width in yards, and depth in inches, your result will be wrong. Convert everything to feet before calculating.
  • Forgetting depth conversion: Depth is often in inches, but the formula needs feet. Divide by 12 before multiplying.
  • Confusing cubic feet and cubic yards: A cubic yard is 27 cubic feet, not 3. A common error is dividing by 3 instead of 27.
  • Rounding too early: If you round the cubic feet to a whole number before converting to yards, you lose accuracy. Keep at least two decimals until the final step.

Bulk vs. Bagged Compost: What to Know

Bulk compost is sold by the cubic yard and is usually the most economical for large areas. A typical pickup truck can carry about 1–2 cubic yards, but check your truck’s capacity and the compost’s weight (a cubic yard of compost can weigh 800–1,200 lbs depending on moisture). For small projects, bagged compost is convenient, but you’ll need to calculate the number of bags: divide the total cubic feet by the bag size (e.g., 250 ft³ ÷ 1.5 ft³ per bag ≈ 167 bags).

When ordering bulk, it’s wise to add 5–10% extra to account for settling and compaction, especially if you’re filling raised beds. For topdressing, the volume is usually accurate without extra.

Limits of This Calculator

This calculator gives the volume of a rectangular space with a uniform depth. It does not account for:

  • Slopes or irregular terrain (volume will vary)
  • Compaction (compost settles after watering, so you may need more)
  • Mixing with other materials (e.g., soil for raised beds)
  • Weight (important for delivery or pickup)

For raised beds, if you plan to fill the entire bed with a mix of compost and topsoil, calculate the total volume of the bed and then apply your mix ratio. For example, a bed 8 ft × 4 ft × 1 ft deep has 32 ft³. If you want 1/3 compost, you need about 10.7 ft³ of compost.

Frequently Asked Questions

How many cubic feet are in a cubic yard?

There are 27 cubic feet in a cubic yard (3 ft × 3 ft × 3 ft). This is the key conversion for compost volume.

How deep should compost be for a new lawn?

For establishing a new lawn from seed or sod, till in about 2–3 inches of compost into the top 6 inches of soil. For topdressing an existing lawn, 0.25–0.5 inches is enough.

How do I calculate compost for a circular bed?

Measure the radius (half the diameter) in feet. Square it, multiply by π (3.14159), then multiply by the depth in feet. That gives cubic feet. Divide by 27 for cubic yards.

Should I add extra compost for settling?

Yes, for raised beds or loose fills, add 5–10% extra. Compost settles and decomposes over time, so a little extra helps maintain the desired level.

Can I use this calculator for mulch or soil?

Yes, the formula is the same for any bulk material measured by volume, such as mulch, topsoil, or gravel. Just use the appropriate depth for your project.

What if my area is not a perfect rectangle?

Break it into smaller rectangles or triangles, calculate each, and sum them. Or use the average length and width if the shape is roughly regular.

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 →