Calculate how much compost you need for your garden or lawn
Determine the volume, cost, and weight of compost required for any project. Supports bidirectional solving — edit any field to recalculate.

How much compost do I need?
What is the cost of this much compost?
What will be the weight of this much compost?
The Compost Calculator is a practical tool that figures out exactly how much compost you need for any gardening or landscaping project — whether you are refreshing a flower bed, building a new raised bed, or top-dressing an entire lawn. Instead of guessing and ending up with too little (annoying) or way too much (wasteful), you get a precise volume, the expected cost, and even an estimate of the total weight.
✅ If you are planning a garden or landscaping project: this calculator saves you time, money, and the back-and-forth trips to the garden center. If you already know your area and desired depth, you will get an answer in seconds.
Who is this for?
The calculator uses an intelligent bidirectional calculation engine, so you can enter whichever values you know and let it derive the rest. If you are also planning mulch for the same area, consider pairing this with our Pine Straw Calculator for a complete soil-care workflow.
Pro tip: use the smart dropdown for depth
If you are not sure how deep your compost layer should be, the Garden or lawn type dropdown is your best friend. It encodes typical depths recommended by horticulturists — from a light ¼-inch (≈ 0.6 cm) dusting for established lawns up to 2 inches (≈ 5 cm) for new gardens and raised beds. When a preset is selected, the Depth field becomes read-only (gray background) so you cannot accidentally override it.
Background: You are creating a new 10 ft × 5 ft raised vegetable bed. The native soil is compacted clay, so you want a heavy dose of compost — about 2 inches deep.
Result: You need about 8.3 cubic feet of compost — that is roughly nine 1-cubic-foot bags. At roughly $5 per bag, expect to spend about $40–$45. The total weight will be around 330 lb (150 kg), so bring a sturdy vehicle.
Background: Your lawn (110 ft × 80 ft) is looking tired. You plan to aerate and then top-dress with a thin ½-inch layer of compost.
Result: This is a bulk-order situation — about 13.6 cubic yards. Buying in bulk will be far more economical than individual bags. At a typical bulk price of $30–$50 per cubic yard, expect to pay $400–$680. Use the Price section to compare with bagged options.
Background: You have a 4 ft × 8 ft raised bed that is 1 ft deep. You want to fill it with a 75% soil / 25% compost mix.
Result: You need 8 cubic feet of compost — that is eight 1-cubic-foot bags. Price: about $40. Enter 4′ × 8′ for the bed dimensions and use “Raised bed — high compost level” to get a recommended depth that matches your plan. Then check the Total cost section.
Background: You need 2 cubic yards of compost for a landscaping project. At the local garden center, bagged compost is $5 per cubic foot. Bulk delivery is $45 per cubic yard.
Bulk cost: .
Result: Bulk is one-third the price. Enter the volume, price per cubic foot for bagged (or per cubic yard for bulk), and toggle between currency units to compare side by side.
Use the “Garden — high compost level” preset (2 in depth) when establishing a new bed. Mix 1–2 inches of compost into the top 6–8 inches of soil for the best root development.
Apply a thin ¼–½ inch layer before or after aeration. The “Established lawn” presets are perfect here — they apply just enough organic matter without smothering the grass.
Pair with our Sod Calculator if you are starting fresh.
Raised beds need a lot of soil. Use the “Raised bed” preset for an ample 2 in layer of compost, then mix with existing topsoil or a soilless mix. The Total weight estimate tells you whether your raised bed frame can handle the load.
If you need more than a cubic yard, bulk delivery is usually cheaper. Use the Price section to enter the bulk rate (per cubic yard) and compare against bagged pricing. The Total cost section can handle different currencies too.
The Compost weight section tells you the total weight. A standard pickup truck can safely carry about 1,000–1,500 lb in the bed. If the calculator says your compost weighs 2,000 lb, you will need a trailer or delivery.
For commercial projects covering thousands of square feet, enter dimensions in feet or meters and let the calculator handle the volume in cubic yards (the standard unit for bulk soil suppliers). The weight estimate helps with logistics planning.
The precision settings control is the gear button at the top of the calculator, displaying the current number of significant figures (e.g., 10). Click it to open the Precision Settings popup, where a slider lets you choose between 1 and 16 significant figures.
This controls significant figures, not decimal places. Significant figures count all digits from the first non-zero digit. For example, the number 0.003456 has four significant figures (3, 4, 5, 6) — the leading zeros do not count.
Example with the Compost Calculator:
Suppose your volume comes out as . Here is how different precision levels display it:
Accuracy vs. precision
The built-in accuracy limit of JavaScript math is about 15–17 significant figures. Cranking the slider to 16 is fine for display, but the underlying calculation has natural limits. If you are doing multi-step calculations, keep precision at 6–10 during intermediate steps and only reduce it for the final readable output.
The Compost Calculator uses four straightforward formulas chained together. Because the calculator supports bidirectional solving, you can enter any combination of known values and the engine will determine the unknowns automatically.
Where is the total area, is length, and is width.
Where is the compost volume, is area, and is the depth of the compost layer.
Where is the total cost, is the price per unit volume, and is the volume. Currency conversion is handled automatically when price and total cost use different currencies.
Where is the total weight, is the density (mass per unit volume), and is the volume.
Compost is sold in different units depending on where you shop:
Compost density varies widely. Dry, screened compost may be as light as 400–500 kg/m³, while wet, dense compost can exceed 900 kg/m³. The default of 650 kg/m³ (~40 lb/ft³) is a reasonable middle ground. If you know your specific source, adjust the density in the Compost weight section for a more accurate weight estimate.
These three materials serve different purposes. Compost feeds the soil biology and adds nutrients. Mulch (bark, wood chips) suppresses weeds and retains moisture but sits on top of the soil. Topsoil is the base layer for new beds. Use the calculator that matches your material — our Pine Straw Calculator handles the coarser, lighter materials that mulch typically consists of.
There are 27 cubic feet in 1 cubic yard (). To convert, divide the volume in cubic feet by 27. Our calculator handles this automatically — just switch the volume unit in the dropdown.
A typical 1-cubic-foot bag of compost weighs about 40 pounds (~18 kg). This matches the default density of 650 kg/m³. Wet compost can be heavier, while dry, screened compost can be lighter. Use the Compost weight section to adjust the density to your specific product.
The volume calculation (length × width × depth) works for any material, but the default density is specific to compost. Mulch is typically lighter and fluffier. For a more accurate mulch estimate, try our dedicated Pine Straw Calculator.
For small projects (less than 1–2 cubic yards), bagged compost from a garden center is convenient. For larger projects, bulk delivery is significantly cheaper — often $30–50 per cubic yard compared to $5 per cubic foot for bagged (which works out to $135 per cubic yard!). Use the Price section to compare.
It depends on the application:
When you select a garden or lawn type from the dropdown (anything except “Custom depth”), the depth is automatically set to a recommended value and becomes read-only (gray background). This prevents accidental overrides. Choose “Custom depth” if you want to enter your own value.
Yes. The Price and Total cost inputs each have their own currency selector. You can set Price in USD and Total cost in EUR, for example, and the calculator will automatically convert using live exchange rates. Exchange rates are cached for up to 24 hours to ensure quick response times.
For irregular shapes, break the area into rectangles, calculate each separately, and add the volumes together. For circular or curved areas, measure the approximate length and width of the bounding rectangle — it will get you close enough for compost ordering purposes.
Yes! Click the Share button at the bottom of the calculator to generate a link. Check “Include results” to create a URL that preserves all your inputs, outputs, and even the precision setting. Send this link to a landscaper, garden center, or save it for your records.
Density is an estimate. The calculator uses a default compost density of 650 kg/m³. Actual density depends on moisture content, particle size, and how compacted the compost is. Always check with your supplier if weight is critical (e.g., for structural loading or vehicle capacity).
Currency exchange rates. The exchange rates used for currency conversion are updated daily via ExchangeRate-API. Rates cached between updates may be slightly stale. For exact financial planning, verify with your bank or a live currency converter.
Not a substitute for professional advice. This calculator provides estimates for planning purposes only. Soil composition, drainage, plant species, and local climate all affect how much compost your garden actually needs. Consult a local horticulturist or extension service for site-specific recommendations.
Volume settling. Compost volume can settle by 10–20% during transport and handling. Consider ordering slightly more than the calculated volume, especially for large projects.
Calculate your cat's Feline Body Mass Index (FBMI) using rib cage circumference and lower back leg length to help assess if your cat is at a healthy weight.
Calculate your dog's Body Mass Index (BMI) based on breed, height, and weight to determine if they are healthy, overweight, or underweight.
The cat pregnancy calculator will compute the due date of your favorite feline.
The dog life expectancy calculator estimates the age of your dog based on their breed and gives their average life expectancy.
Convert your dog's age to human years based on breed and size.
The dog pregnancy calculator provides you with your dog's due date.