Agriculture calculators

Compost Calculator

Updated Sep 29, 2026 By Infinity Calculator
1 Choose Your Project Type

Select a project type below to see recommended compost depth. The depth field will auto-fill but you can override it.

Recommended Depth: 1–2 inches
Spread compost evenly and till it into the soil as you prepare it for seeding or sod.
Recommended Depth: ¼ – ½ inch
Spread it across the lawn after core aeration. Late spring and early fall are the best times.
New beds: 3–4 inches
Existing beds: ¼ – 1 inch a year
Spread compost over the bed and work it into the top 8–12 inches of soil with a digging fork, spade, or tiller.
Before filling: 2–3 inches mixed into the original soil
Filling new raised bed: Calculate full volume; use up to 25% compost blended with soil, never compost alone.
For new beds, calculate the full bed volume and multiply by 0.25 at most for the compost portion.
Recommended: Up to 25% compost mixed into backfill soil
Mix compost into the soil removed from the planting hole. Spread remaining compost as a 1-inch mulch ring around the base.
Recommended Depth: ½ – 1 inch
Spread a thin surface layer around plants or over beds. No incorporation needed—let it break down naturally.

2 Enter Dimensions & Calculate
Area: 120.00 ft²
$

Compost Calculator Results
Total Area 120.00 ft²
Volume Needed 20.00 ft³ (0.74 yd³)
Volume (Metric) 0.57 m³ (566.34 L)
Weight (Approx.) 800.00 lb (362.87 kg)
Bags Needed 15 bags (40 qt each)
Estimated Cost (Bulk) $22.22

Introduction

The Compost Calculator works out how much finished compost you need to cover a lawn, garden, or bed at the depth you choose. Enter the shape and size of the area and the depth, and it gives the volume in cubic feet, cubic yards, cubic meters, and liters, an approximate weight, the number of bags, and a bulk cost. You can add several areas as zones and get one total.

Pick a project type to fill in a suggested depth, or type your own. Then set the bag size, price per cubic yard, and density to match what your supplier sells.

How to Use Our Compost Calculator

Enter the size of your area and the depth you want to find out how much finished compost to buy.

Project type and depth presets: Open a project, such as New Lawns or Raised Beds, to see its suggested depth. Opening it fills in the depth box. The depth buttons from 0.25 to 6 inches do the same, or choose Custom.

Area shape and dimensions: Choose rectangle, circle, or triangle. Enter length and width for a rectangle, the diameter for a circle, or the base and height for a triangle. Each measurement can be in feet, inches, yards, meters, or centimeters.

Compost Depth (inches): Enter how thick you want the compost layer to be. The list below gives depths for common projects.

Cost per Cubic Yard: Enter your supplier's bulk price. The calculator multiplies it by the cubic yards you need.

Bag Size (quarts): Enter the size printed on the bag you plan to buy. The calculator rounds the bag count up to a whole bag.

Density (lb/ft³): Enter how much a cubic foot of your compost weighs. The weight result uses this number.

Add Another Zone: Save the current area and start a new one. The results add all zones together.

What Is a Compost Calculator?

A compost calculator helps you figure out exactly how much compost you need for your yard, garden, or raised bed. Instead of guessing and buying too much or too little, you enter the size of your area and the depth you want, and the calculator tells you the volume, weight, number of bags, and cost. This saves you time, money, and trips to the garden center.

Why Compost Matters for Your Soil

Compost is partially broken-down organic material. It is made from things like yard debris, crop residue, manure, and food scraps.1 Adding compost to your soil improves its ability to accept and store water.1 Compost is also a food source for soil organisms, and their feeding releases nutrients in the compost over time.1 The fertilizer value of compost is low compared to chemical fertilizers, so lawns, vegetables, and fruiting trees and shrubs often need fertilizer as well.1 To ensure your plants are getting exactly the right nutrients, you can pair compost with a precise fertilizer application plan.

How Much Compost Do You Actually Need?

The right amount of compost depends on what you're doing. Here are the most common projects and their recommended depths:

  • New lawns: Add 1 to 2 inches of compost as you prepare the soil, and till it in.1
  • Established lawns (topdressing): Spread compost one-quarter to one-half inch deep across the lawn after core aeration.1 Late spring and early fall are the best times of year for this work.1
  • New garden beds: Apply a 3- to 4-inch layer and work it into the top 8 to 12 inches of soil.1
  • Existing garden beds: Add one-quarter to 1 inch of compost per year, worked into the top 8 to 12 inches.1
  • Raised beds: Before you fill the bed, add 2 to 3 inches of compost and mix it into the original soil.1 Then fill the bed with up to 25% compost by volume, based on the total fill volume of the bed.1 Do not fill raised beds with compost alone.1
  • Landscape plants (trees and shrubs): Before planting, spread 3 to 4 inches of compost and mix it into the soil to a depth of 6 to 8 inches.1
  • Mulch for new seed: A thin layer of compost over a newly seeded lawn works as mulch. Mulch keeps the soil moist, which seeds need to sprout.1

Understanding Volume, Weight, and Bags

Compost is sold in two main ways: in bulk by the cubic yard, or in bags measured in quarts. One cubic yard equals 27 cubic feet.3 That is enough to cover about 162 square feet at 2 inches deep. A U.S. liquid quart is 57.75 cubic inches, and a cubic foot is 1,728 cubic inches.3 So a 40-quart bag holds about 1.34 cubic feet, which is how the calculator counts bags. When a bag is labeled in dry quarts, each quart is larger: a dry quart is 67.2006 cubic inches.3 A 40-dry-quart bag holds about 1.56 cubic feet. For a bag labeled in dry quarts, multiply the number on the bag by 1.164 before you enter it. Bags of compost often contain 1 to 2 cubic feet and suit smaller jobs.1 To cover 100 square feet with compost 3 inches deep, it would take 25 one-cubic-foot bags.1

Compost weight depends mostly on how wet it is. Screened compost that contains 50% moisture weighs about 1,000 pounds per cubic yard, and very wet compost can weigh over 1,500 pounds per cubic yard.2 Depending on moisture, particle size, and how tightly it is packed, a cubic yard can weigh from 800 to more than 1,600 pounds.2 The calculator starts with a density of 40 pounds per cubic foot, which is 1,080 pounds per cubic yard. To measure your own compost, weigh 5 gallons of it and multiply the weight in pounds by 40 to get pounds per cubic yard.2

Tips for Applying Compost

  • Spread evenly. Use a rake to create a uniform layer. Uneven application leads to uneven growth.
  • Mix it in for new plantings. When starting a new garden or lawn, work the compost into the existing soil rather than leaving it sitting on top.
  • Don't overdo it. More compost is not always better. When too much compost is added, nutrients such as phosphorus and potassium can leach past the root zone into surface water and groundwater.1
  • Apply at the right time. For topdressing a lawn, late spring and early fall work best.
  • Use finished compost only. Good compost looks like dark topsoil, has a light, crumbly structure, and smells earthy like forest soil.1 Compost that smells foul or like ammonia or sulfur has not finished composting.1

Bulk vs. Bagged Compost

Bulk compost typically costs $25 to $50 per cubic yard, while bagged compost can cost $5 to $10 per bag (40 quarts). For a project needing 1 cubic yard, bulk compost might cost $30, but the same volume in bags would take about 21 bags of 40 quarts and could cost $100 or more. Bulk deliveries are often charged a flat fee, not by the amount delivered, so a full load makes sense for larger jobs.1 The calculator above shows both options so you can compare and choose what works best for your budget and project size.


Formulas used

Rectangle Area
A_{\text{rect}} = L \times W
Circle Area
A_{\text{circle}} = \pi \left(\frac{d}{2}\right)^{2}
Triangle Area
A_{\text{tri}} = \frac{1}{2} \times b \times h
Volume Needed 3
V_{\text{ft}^3} = A_{\text{ft}^2} \times \frac{D_{\text{in}}}{12}
Weight (Approximate)
W_{\text{lb}} = V_{\text{ft}^3} \times \rho_{\text{lb/ft}^3}
Bags Needed
\text{Bags} = \left\lceil \frac{V_{\text{ft}^3}}{Q_{\text{bag}} \times 0.03342} \right\rceil
Estimated Bulk Cost 3
\text{Cost} = \frac{V_{\text{ft}^3}}{27} \times C_{\text{per yd}^3}

Frequently asked questions

How do I calculate how much compost I need?

Multiply the length and width of your area to get the square footage. Then pick how deep you want the compost layer in inches. The calculator uses these numbers to find the total volume in cubic feet and cubic yards. It also tells you how many bags to buy and what it will cost.

What are zones and why would I add more than one?

Zones let you calculate compost for multiple areas at once. For example, you might have a rectangular garden bed and a circular flower bed that both need compost. Click "Add Another Zone" to save the current area, then enter new dimensions for the next one. The calculator adds everything together for a grand total.

How do I measure an area that is not a rectangle?

The calculator supports three shapes: rectangle, circle, and triangle. Click the shape button that best matches your area. For a circle, enter the diameter. For a triangle, enter the base and height. If your area is an odd shape, break it into smaller sections using zones and add them together.

How many bags of compost equal one cubic yard?

One cubic yard equals 27 cubic feet.3 A standard 40-quart bag holds about 1.34 cubic feet. So 20 bags of 40-quart compost come just short of one cubic yard, and 21 bags cover it. The calculator figures this out for you based on whatever bag size you enter.

What is the difference between cubic feet and cubic yards?

A cubic foot is a box that is 1 foot long, 1 foot wide, and 1 foot tall. A cubic yard is a box that is 3 feet on each side, which equals 27 cubic feet.3 Bulk compost is usually sold by the cubic yard. The calculator shows both so you can easily compare.

How do I know if I should buy bulk or bagged compost?

Bagged compost is practical for smaller jobs. Bulk compost is sold by the cubic yard, and deliveries are often charged a flat fee, so a full load suits larger jobs and saves you from opening dozens of bags.1 The calculator shows both the number of bags and the bulk cost so you can decide which makes more sense.

What does the weight result tell me?

The weight result estimates how heavy the total compost will be. This is helpful when planning pickup or delivery. For example, if the result says 800 pounds, you know a small car cannot carry it. You would need a truck or have it delivered.


Sources

  1. Miller W, Mann J. How to use compost in gardens and landscapes (EM 9308). Oregon State University Extension Service. 2021;Keys to success; Compost in bags; Compost in bulk; How to use compost; Avoid problems with compost. Accessed September 29, 2026.
  2. Sullivan DM, Bary AI, Miller R, Brewer L. Interpreting compost analyses (EM 9217). Oregon State University Extension Service. 2018;Moisture and bulk density; Additional tests conducted by the compost vendor or user. Accessed September 29, 2026.
  3. NIST Handbook 44 (2026), Appendix C: General Tables of Units of Measurement. National Institute of Standards and Technology. 2026;Units of Length; Units of Volume; Units of Liquid Measure; Units of Dry Measure, pp. C-5 to C-6. Accessed September 29, 2026.