Skip to main content

gravelpilot.com

Home › Compost Calculator

Free calculator

Compost Calculator

Enter the bed size and depth to see how much compost you need in cubic yards, cubic feet and bags. Includes depth guidance for gardens and lawns.

  • Free, no signup
  • Updated October 2026
  • US and metric units
Quick sizes
Advanced options: shape, units, density, price, bag size
LengthWidthDepthDiameterDepth
Your calculated dimensions appear here after you select Calculate.
Quick answer

A 10 x 10 ft bed covered 2 inches deep needs about 0.68 cubic yards (18 cubic feet, or 18 bags of 1 cu ft) of compost, with 10 percent extra.

On this page

How deep should compost be?

Gardeners and extension guides commonly suggest these depths. Your soil test or local extension office can fine-tune them.

UseTypical depth
Lawn topdressing1/4 to 1/2 inch
Mulch-style top layer1 to 2 inches
Mixed into a garden bed2 to 4 inches

How to calculate compost

Multiply area by depth, convert to cubic feet, and divide by 27 for cubic yards.

cubic yards = length × width × depth (in) ÷ 12 ÷ 27 × 1.10

Example: 100 sq ft at 2 inches is 16.7 cubic feet, or 0.62 cubic yards, before the extra.

Bags or bulk compost?

Bags are easy to carry but cost more per cubic foot. A cubic yard is 27 cubic feet, which is 27 one-cubic-foot bags or about 13.5 two-cubic-foot bags. For more than about a cubic yard, ask about bulk delivery.

Compost for raised beds

Many gardeners fill raised beds with a mix of topsoil and compost rather than compost alone. Calculate the full bed volume here, then split it using the ratio your recipe calls for. For the soil part use the topsoil calculator.

Sample compost amounts

Includes 10 percent extra.

ProjectSizeDepthCubic yards1 cu ft bags
Lawn topdress1,000 sq ft1/4 in0.8523
Vegetable bed4 x 8 ft3 in0.339
Flower border30 x 3 ft2 in0.6116
Raised bed fill4 x 8 ft12 in1.3035

Coverage by depth

DepthOne cubic yard covers100 sq ft needs
1 in324 sq ft0.31 cu yd
2 in162 sq ft0.62 cu yd
3 in108 sq ft0.93 cu yd
4 in81 sq ft1.23 cu yd
6 in54 sq ft1.85 cu yd
12 in27 sq ft3.70 cu yd

Frequently asked questions

How much compost do I need per square foot?

At 1 inch deep, one cubic yard covers 324 sq ft. At 2 inches it covers 162 sq ft, and at 4 inches 81 sq ft.

How many bags of compost make a cubic yard?

27 bags of 1 cubic foot, or about 13.5 bags of 2 cubic feet.

How much does a cubic yard of compost weigh?

It varies a lot with moisture and source, commonly around half a ton or more. Ask your supplier for their figure.

How deep should I spread compost on a lawn?

Commonly 1/4 to 1/2 inch as a topdressing.

Should I mix compost with soil?

For most garden beds, yes: spread 2 to 4 inches and mix it into the top few inches of soil.