A compost calculator finds how much compost you need to cover an area to a target depth. Multiply length by width for the area, multiply by the depth in feet for cubic feet, then divide by 27 for cubic yards. A 20 by 10 foot bed at 2 inches needs about 33 cubic feet, roughly 23 bags, or about 1.2 cubic yards of bulk compost.
Compost needed
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Compost Calculator
- Enter the length and width of your bed or lawn in feet.
- Set the application depth in inches. Use a thin layer for lawns and a deeper layer for beds.
- Enter your bag size in cubic feet, and optionally the price per bag and bulk price per cubic yard.
- Read the compost needed in cubic feet and cubic yards, the bag count, and the cost each way.
| Result | What it means |
|---|---|
| Compost needed | Total volume to buy, shown in both cubic feet and cubic yards. |
| Bags needed | Whole bags of your chosen size, rounded up so you do not come up short. |
| Area covered | Length times width, the square footage you are amending. |
| Bagged cost | Bags needed times your price per bag, when a price is entered. |
| Bulk cost | Cubic yards times your bulk price per yard, when a price is entered. |
What Is Compost and Why Amend Soil?
Compost is decomposed organic matter that feeds soil life, holds moisture and improves structure. A compost calculator tells you how much to buy so you do not guess at the store or over-order a bulk load.
Gardeners use compost two main ways. They top-dress lawns with a thin layer to improve the soil without smothering grass, and they amend garden beds with a deeper layer that gets mixed into the root zone. Each use calls for a different depth, which changes the volume you need.
Because compost is sold by the bag or by the cubic yard, the key step is turning your area and depth into a volume. For related jobs see the mulch calculator and the topsoil calculator, or browse the construction calculators hub.
How Does the Compost Calculator Work?
The calculator converts your area and depth into a volume, then divides by bag size and multiplies by price.
area = length x width (sq ft); cubic feet = area x (depth / 12); cubic yards = cubic feet / 27; bags = round up (cubic feet / bag size); bag cost = bags x price per bag; bulk cost = cubic yards x price per yard.- Multiply length by width to get the area in square feet.
- Divide the depth by 12 to turn inches into feet, then multiply by the area for cubic feet.
- Divide cubic feet by 27 for cubic yards, and divide by bag size (rounding up) for bags.
Why Divide by 12 and 27
Depth is measured in inches but area is in feet, so dividing the depth by 12 keeps the units consistent. There are 27 cubic feet in a cubic yard, so dividing by 27 converts the volume to the unit bulk suppliers use.
Compost Calculation Example
Say you are amending a garden bed that is 20 feet by 10 feet to a depth of 2 inches, using 1.5 cubic foot bags at $5 each, with bulk at $40 per cubic yard.
Area: 20 x 10 = 200 square feet.
Cubic feet: 200 x (2 / 12) = 200 x 0.1667 = 33.33 cubic feet.
Cubic yards: 33.33 / 27 = 1.23 cubic yards.
Bags: 33.33 / 1.5 = 22.2, rounded up to 23 bags.
Cost: bagged is 23 x $5 = $115, while bulk is 1.23 x $40 = about $49. For this size the bulk load is far cheaper, which is typical once you pass about a cubic yard.
Application Depth Guide: Lawns, Beds and New Beds
The right depth depends on the job. Too little does not help; too much can smother plants or waste money.
| Use | Typical depth | Notes |
|---|---|---|
| Lawn top-dressing | 0.25 to 0.5 in | A thin layer raked in so grass blades still show through. |
| Established beds (yearly) | 1 to 2 in | Spread on top as a mulch or lightly worked into the surface. |
| Amending beds deeply | 2 to 3 in | Mixed into the top several inches of soil before planting. |
| New beds and poor soil | 3 to 4 in | A heavier charge to build structure in tired or sandy ground. |
When in doubt, start on the lighter side for lawns and the heavier side for brand-new beds. You can always top up next season.
Bags vs Bulk Compost: Cost and Convenience
Compost comes bagged from garden centers or in bulk by the cubic yard from landscape suppliers. The calculator prices both so you can compare.
When Bags Make Sense
Bags are easy to carry, store and spread for small jobs. For a few cubic feet, or a spot you can only reach by hand, bags win on convenience even though the per-yard price is higher.
When Bulk Wins
Once you need more than about a cubic yard, bulk compost is usually much cheaper per unit, as the example above shows. You do need somewhere to dump it and a way to move it, such as a wheelbarrow.
Watch Delivery Fees
Bulk prices often exclude delivery. Add any delivery fee to the bulk cost before deciding, especially for a single yard where the fee can rival the compost.
Common Mistakes Estimating Compost
1. Mixing Up Inches and Feet
Depth is in inches but area is in feet. Forgetting to divide the depth by 12 overstates the volume by twelve times.
2. Forgetting the 27
A cubic yard is 27 cubic feet, not 3. Dividing by 3 instead of 27 badly undercounts bulk orders.
3. Not Rounding Bags Up
You cannot buy a fraction of a bag. Always round the bag count up so you finish the job.
4. Ignoring Settling
Compost settles and some is lost to uneven ground. Buy about 5 to 10 percent extra.
5. Over-applying on Lawns
A thick layer can smother grass. Keep lawn top-dressing to about half an inch or less.
When to Use a Compost Calculator
Planning a Garden Bed
Before buying, size the exact volume so you make one trip and avoid leftover bags.
Top-dressing a Lawn
Thin layers over a large area add up fast. The calculator shows whether bags or a bulk load is smarter.
Budgeting a Project
Comparing bagged and bulk cost up front helps you set a realistic budget and spot when delivery pays off.
Filling Raised Beds
For deep raised beds, pair this with the raised bed soil calculator to blend compost with soil.
Factors That Change How Much Compost You Need
The volume math is exact, but a few real-world factors shift the amount you should buy.
Settling and Compaction
Fresh compost settles over weeks. A layer spread a touch deep ends up thinner once it beds in.
Uneven Ground
Low spots and slopes soak up more than a flat surface, so rough ground needs a bit extra.
Bag Fill Variation
Bags are sold by volume but can pack down or dry out, so actual coverage per bag varies slightly.
Irregular Shapes
This tool assumes a rectangle. For odd shapes, split the area into rectangles and add the results.
Accuracy and Limitations
The calculator is exact for a rectangular area at a uniform depth. It is a planning estimate, not a guarantee of exact coverage.
What it calculates accurately
- Volume in cubic feet and cubic yards for a rectangle
- Whole bags needed at your chosen bag size
- Bagged cost and bulk cost from your prices
- The area in square feet
What it does not account for
- Settling, compaction and losses on uneven ground
- Delivery fees on bulk orders
- Non-rectangular or sloped areas
- Mixing ratios when blending compost with soil
Buy about 5 to 10 percent more than the calculated figure to cover these factors.
How We Calculate Your Compost
Frequently Asked Questions About Compost
How much compost do I need for my garden?
Multiply the bed length by width for the area, multiply by the depth in feet, and that is the cubic feet. Enter your numbers above for the exact volume, bags and cost.
How deep should I spread compost on a lawn?
For lawn top-dressing, spread a thin layer of about 0.25 to 0.5 inch and rake it in so the grass blades still show. More than half an inch can smother the grass.
How deep should compost be in a garden bed?
For established beds use about 1 to 2 inches a year. When amending a new bed or poor soil, 2 to 4 inches worked into the top few inches of soil is typical.
How many bags of compost make a cubic yard?
A cubic yard is 27 cubic feet. That is 18 bags at 1.5 cubic feet each, or 27 bags at 1 cubic foot each. The calculator rounds up to whole bags.
Is bagged or bulk compost cheaper?
Bulk is usually much cheaper per unit once you need more than about a cubic yard, but you pay for delivery and handling. Bags win on convenience for small jobs.
How do I convert cubic feet to cubic yards?
Divide the cubic feet by 27, since there are 27 cubic feet in one cubic yard. For example, 54 cubic feet is 2 cubic yards.
When is the best time to apply compost?
Compost can be applied in spring before planting, in fall after harvest, or as a top-dressing during the growing season. Any time the ground is workable is fine.
How much extra compost should I buy?
Buy about 5 to 10 percent more than the calculated amount to cover settling, uneven ground and bag-fill variation.
Can I use this calculator for mulch or topsoil?
The same volume math applies to any material sold by depth. For those jobs try the dedicated mulch and topsoil calculators linked below.
What if my bed is not a rectangle?
Split an irregular area into rectangles, calculate each one, and add the results. For circles, estimate the area first and use the depth as normal.
Sources
- Cornell Waste Management Institute - Compost (Cornell University; composting science and use of finished compost).
- University of Minnesota Extension - Using compost in gardens (University of Minnesota Extension; application rates and depths for gardens and lawns).
- Oregon State University Extension - Compost application (Oregon State University Extension; soil amendment and compost guidance).
Related Calculators
Working on the rest of your yard or project?
Explore all construction calculatorsGeneral planning estimate based on standard volume math and typical compost depths. Actual needs vary with settling, compaction, uneven ground and bag fill. Buy about 5 to 10 percent extra to be safe. Spotted an error? Let us know.
Author
Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.




