Compost Calculator
A compost calculator works out the volume of compost needed by multiplying bed area by application depth, then converting the result into cubic feet, cubic yards, bag counts, and bulk order quantities. The correct depth depends on the use case: new vegetable gardens need significantly more than established beds, and lawn topdressing uses a much shallower layer than either. Applying too much compost annually is as problematic as applying too little, because phosphorus accumulates in soil over time and does not break down.
Bed / Area Dimensions
Application Type
1–2 in annual topdress, maintains organic matter
Cost Comparison (Optional)
Volume Needed
3.3
cu ft
0.12
cu yd
94
litres
With 15% settlement buffer: 3.8 cu ft / 0.14 cu yd
Bagged vs Bulk
Bags (1 cu ft (standard bag))
4
bags needed
£32.00 total
Bulk Order
0.2
cubic yards
£9.00 total
Bulk saves you £23.00 vs bagged at these prices.
Estimated Weight
187 lbs / 85 kg (based on ~56 lb/cu ft for finished compost)
Depth recommendations based on Oregon State University Extension and University of Minnesota Extension guidelines. Settlement factor applies to bulk purchases only.
What Is a Compost Calculator?
A compost calculator tells you exactly how much compost you need to cover a garden bed, lawn, or planting area to a specified depth, then converts that volume into the number of bags to buy or the cubic yards to order in bulk. It takes three inputs: the length and width of your area, and the application depth recommended for your use case, and does the arithmetic that trips up most gardeners: converting square feet times inches into cubic feet, then into cubic yards, then into bag counts. Getting this wrong is the single most common reason gardeners make unnecessary return trips to the garden centre or end up with surplus bags going to waste.
The Oregon State University Extension guide on using compost is one of the most widely cited university resources on compost application rates. It recommends 2–4 inches of finished compost for new vegetable gardens, 1–2 inches for established beds, and just ¼–½ inch for lawn topdressing. These figures vary enormously by use case and no single "how much compost do I need" estimate can cover all of them without knowing what you are doing with it.
This calculator goes beyond the basic volume sum. It includes use-case presets that pre-fill the recommended depth for your situation, a settlement adjustment for bulk orders (compost compresses by approximately 15% after delivery), a side-by-side bagged versus bulk cost comparison, and a phosphorus accumulation warning if you enter a depth that university extension services flag as risky for annual application. No other free compost calculator online combines all of these features in one tool.
How to Use the Compost Calculator
- Enter your bed or lawn dimensions. Measure the length and width of the area you are amending. If your space is irregular, break it into rectangles, calculate each separately using the same depth, and add the volumes together. Use feet or metres depending on how you measured.
- Select your application type. Choose from the preset options: New Vegetable Garden (3–4 in), Established Vegetable Bed (1–2 in), Raised Bed (2–3 in), Lawn Topdressing (¼–½ in), or Flower Bed (1–2 in). The calculator pre-fills the recommended depth based on University of Minnesota Extension and OSU Extension guidelines. You can override the depth at any time using the Custom option.
- Adjust the depth if needed. The preset values are the recommended starting points, but you may wish to apply less in subsequent years once your soil is well-established, or more in the first year of a new bed. Enter your chosen depth in inches or centimetres.
- Tick the settlement box for bulk orders. Bulk compost delivered by the cubic yard settles by roughly 15% as it is transported and unloaded. Ticking the settlement checkbox adds 15% to your order quantity so you receive enough after compaction to cover the full area.
- Enter bag size and prices for the cost comparison. Select the standard bag size available at your supplier (1 cu ft is the most common in the UK and US). Enter the price per bag and your local bulk rate per cubic yard to see which option saves money for your project size. The calculator shows the savings automatically.
- Read the results. The calculator gives you volume in cubic feet, cubic yards, and litres; bag count; bulk cubic yards; estimated weight in lbs and kg; and a cost comparison. If your depth exceeds 4 inches, an amber warning flag appears explaining the phosphorus risk.
Formula and Methodology
The core formula is:
Volume (cu ft) = Length (ft) × Width (ft) × Depth (in) ÷ 12 Volume (cu yd) = Volume (cu ft) ÷ 27 Bags needed = ceil(Volume (cu ft) × settlement factor ÷ bag size in cu ft)
The division by 12 converts the depth from inches into feet so all three dimensions are in the same unit. The division by 27 converts cubic feet into cubic yards (since 1 yard = 3 feet, 1 cubic yard = 3³ = 27 cubic feet). Rounding up with ceil() ensures you always have enough and never fall short.
Worked example: established vegetable bed, 10 ft × 6 ft, 1 inch depth
- Volume: 10 × 6 × 1 ÷ 12 = 5 cubic feet
- In cubic yards: 5 ÷ 27 = 0.19 cubic yards
- Bags needed (1 cu ft bags): ceil(5 ÷ 1) = 5 bags
- Estimated weight: 5 × 56 lb = 280 lbs (127 kg)
Worked example: new vegetable garden, 20 ft × 12 ft, 3 inch depth
- Volume: 20 × 12 × 3 ÷ 12 = 60 cubic feet
- In cubic yards: 60 ÷ 27 = 2.22 cubic yards
- With 15% settlement buffer: 2.22 × 1.15 = 2.55 cubic yards to order
- Bags needed (1 cu ft bags): ceil(60 × 1.15) = 69 bags
- Cost at £6/bag: £414 bagged vs £2.55 yd × £45/yd = £115 bulk, saving £299 by going bulk
Weight estimation uses a density of 56 lb/cu ft (approximately 900 kg/m³), which is the standard figure for finished, mature compost. Fresh or wet compost runs heavier (up to 1,200 kg/m³); very dry or coarse material runs lighter. The weight figure is provided to help with vehicle load planning and access route decisions.
Real-World Applications
Home gardener preparing a new allotment plot: A gardener taking on a neglected 10 ft × 20 ft allotment plot for the first time enters the dimensions and selects "New Vegetable Garden." The calculator recommends 3 inches, giving a volume of 50 cu ft (1.85 cu yd). At 69 bags of 1 cu ft compost from the garden centre at £7 each, the cost would be £483. Entering a local landscape supplier's rate of £40/cu yd shows a bulk order of 2.13 cu yd costs £85, a saving of £398. The calculator makes the bulk delivery decision obvious before the gardener commits to either option. Knowing the area in advance also lets the gardener use the acres per hour calculator to estimate how long rotovating and incorporating the compost will take if hiring a small cultivator by the hour.
Lawn renovation topdressing: A homeowner wants to overseed and topdress a 30 ft × 40 ft lawn after scarifying in autumn. Selecting "Lawn Topdressing" pre-fills the ¼ inch depth. The volume result is 25 cu ft (0.93 cu yd). At 25 bags of 1 cu ft from a garden centre at £6 each, total cost is £150. Bulk would be 1.07 cu yd at £45/yd, totalling £48. The saving of over £100 easily justifies arranging a delivery. The weight of 25 bags also helps the homeowner confirm the car boot can cope before attempting to transport them.
Raised bed installation: A gardener building two 4 ft × 8 ft raised beds wants to fill them to a 10 inch depth using a 25% compost, 75% topsoil mix. They calculate the total volume needed: 4 × 8 × 10 ÷ 12 = 26.7 cu ft per bed, 53.3 cu ft for two beds. Compost at 25% means 53.3 × 0.25 = 13.3 cu ft of compost. Entering these figures confirms 14 bags needed. The calculator also flags if they inadvertently entered 10 inches for compost alone rather than the blended fill, triggering the phosphorus warning that prompts a recheck of the plan. Once the bed is filled, gardeners often move straight to planning what to plant in it, and a bulb spacing calculator is the natural next step for spring displays.
Community garden coordinator ordering for spring: A volunteer coordinator managing a 0.25-acre community garden in Bristol needs to place a spring compost order for 15 individual plots averaging 10 ft × 12 ft each at 2 inches depth. Each plot needs 20 cu ft. Total: 15 × 20 = 300 cu ft = 11.1 cu yd. With the 15% settlement factor: 12.8 cu yd. At £38/yd bulk, the order comes to £486, a precise figure they can present directly to the committee for budget approval.
Common Mistakes and Troubleshooting
Confusing cubic feet and cubic yards: One cubic yard equals 27 cubic feet, not 3. This is the most common error in compost calculations. A gardener who calculates they need "3 cubic yards" but orders "3 cubic feet" will receive one-ninth of what they need. Always check which unit your supplier quotes in and convert accordingly. Our calculator displays both to remove any ambiguity.
Applying the same depth to every use case: The recommended application rate varies enormously by situation. Applying 3 inches to an established vegetable bed that only needs 1 inch wastes money and risks nutrient imbalance. Applying ¼ inch to a new garden bed that needs 3 inches will have almost no effect on soil structure. Always use the rate appropriate to your specific situation, not a single "2 inches for everything" rule you may have read online.
Not ordering extra for settlement: Bulk compost is measured at the depot, but it compresses during transport and unloading. A 2-cubic-yard order can settle to roughly 1.7 cubic yards by the time it is spread. Always add at least 10–15% to bulk orders, which the settlement checkbox in this calculator handles automatically.
Applying too much compost annually: University extension research, including studies from the University of Minnesota Extension, shows that more than 3–4 inches of compost applied annually leads to phosphorus accumulation in the soil. Phosphorus moves less than an inch per year through soil and does not break down into gas. After several years of over-application, excess phosphorus can suppress plant uptake of zinc and iron, reduce mycorrhizal activity, and contribute to watercourse pollution through run-off. The calculator flags this risk when the depth input exceeds 4 inches.
Using immature compost: Partially finished compost still contains active microbes consuming carbon. Applied to a bed, it temporarily locks up soil nitrogen as microbes use it to process the remaining carbon, which can cause nitrogen deficiency in young transplants. Finished compost should be dark, crumbly, and smell like earth. If yours smells of ammonia or has visible unprocessed material, allow it to mature for another 4–8 weeks before applying.
Frequently Asked Questions
How much compost do I need per square foot?
How much compost do I need for a raised bed?
How many bags of compost do I need for my garden?
How much compost for a lawn?
Can you add too much compost to a garden?
How do I calculate cubic yards of compost?
How much does a cubic yard of compost weigh?
Is bagged or bulk compost better value?
How deep should I apply compost to a vegetable garden?
Does compost settle after application?
Rate This Tool
Was this tool helpful?
Be the first to rate this tool
About the Author
S. Siddiqui is the founder and editor-in-chief of YourToolsBase, overseeing all content, tool accuracy, and editorial standards.
View full profileRelated Tools
Authoritative Sources
Formulas and data in this tool are based on guidelines from the above sources.