Soil, topsoil or finished compost

Soil & Compost Calculator

Area (ft²) × depth (in) ÷ 12 = cubic feet. Use this soil and compost calculator, or dirt calculator for fill areas, to check cubic yards, whole bags and your own quotes.

One depth applies to all rows; calculate different-depth sections separately.

Free · no account

01 Measure each area

Use feet and square feet. Keep separate beds or sections on separate rows.

02 Match the material and depth

Planning starts are editable. Enter the product density and quotes only when you have them.

Multiple measured areasFour bag-size checksRuns in your browserNo account required
01 Measure areas02 Match material03 Check the order

Area × depth ÷ 12 = cubic feet · cubic feet ÷ 27 = cubic yards · tons = cubic feet × density ÷ 2,000

Transparent volume math

How the soil calculator works

Each rectangle uses length × width to find square feet. A known-area row skips that step. The calculator multiplies each area by depth in feet, adds the rows, applies waste and settling allowances in sequence, then converts the planned volume into shopping quantities.

Keep areas checkable

Add a front bed, side strip or container section as its own row. You can see which measurement drives the total instead of hiding several shapes inside one average.

Use product facts for density

Enter density from the product label or supplier quote when you need tons. The page leaves tons unfilled when that fact is unavailable.

Separate material from delivery

Bag and bulk estimates use the prices you enter. Delivery or pickup stays visible as its own fee so a quote is not mistaken for a universal price.

Worked geometry

Example: an 8 × 4 ft area at 6 inches

An 8 ft × 4 ft area is 32 square feet. At 6 inches, the volume is 32 × 6 ÷ 12 = 16 cubic feet. The cubic-yard conversion is 16 ÷ 27 = 0.59 cubic yards before any allowance.

The example uses only the displayed formulas. Bag counts, tons and costs still depend on the bag size, density and prices you enter.

Use the compost calculator for a measured layer

Calculate finished compost to spread or add, not ingredients for a compost pile. Choose Compost, enter each measured footprint and set your chosen layer depth. The material selector changes the order label, not the volume formula. Different layers need separate calculations.

Does the bag label match a size shown above?

Read its volume, not just its weight. Divide the planned cubic feet by the printed cubic-foot volume and round up to whole bags. This page compares 0.75, 1, 1.5 and 2 cu ft bags. If your package has a different volume, use that actual volume in the division rather than choosing a nearby size.

Compare your bag and bulk quotes

Choose the quoted bag size and enter its price. For bulk compost, enter the supplier's price per cubic yard and any delivery or pickup fee. The results keep material and delivery separate. No current market price or compost density is assumed.

Saving Water Partnership's soil, compost and mulch guide provides regional application guidance, not a universal depth prescription. This calculator measures the layer you choose. Unit conversions use the NIST source below.

Common questions

Soil and compost calculator FAQ

How do I calculate soil volume?

Enter each area's length and width or a known square-foot area, enter depth in inches, and use area × depth ÷ 12 for cubic feet. Divide cubic feet by 27 for cubic yards.

Can I use this as a dirt calculator?

Yes. Use the soil material selector for a dirt or fill-soil planning estimate. For each measured row at a uniform depth, cubic feet = area (ft²) × depth (in) ÷ 12; cubic yards = cubic feet ÷ 27; whole bags = cubic feet ÷ bag-label volume (ft³), rounded up. Example only: 90 ft² at 4 in needs 30 ft³ (about 1.11 yd³); with 2 ft³ bags, that is 15 whole bags before any allowance. Four inches is an arithmetic example, not a recommended depth. Use product or supplier data for density and prices if you need tons or cost. This calculator applies one depth across its rows and does not estimate exact irregular-slope, grading, drainage or compaction needs.

Is this a top soil calculator?

Yes. Choose topsoil in the material selector and enter the density and quote from your product or supplier if you need tons and cost estimates.

Can I use it as a compost calculator?

Yes. Choose Compost and enter the measured area and the depth of the finished-compost layer you want to add. One depth applies to every row, so calculate different-depth sections separately. Check the printed bag volume before using the bag count; add supplier density only if you need weight. This is not a compost-pile recipe or an application-depth recommendation.

Does it work as a garden soil calculator?

Yes. Add each garden section as its own row, choose the material you plan to buy, and copy the resulting volume and shopping quantities.

How can I check a fill estimate when the depth changes?

Check separately measured sections rather than using the deepest point for the whole footprint. For each section with a measured uniform fill depth, cubic feet = area in square feet × depth in inches ÷ 12; add the volumes and divide by 27 for cubic yards. Example only: 60 ft² at 2 in plus 30 ft² at 4 in is 10 + 10 = 20 ft³, or about 0.74 yd³ before allowances. This calculator applies one depth to all its rows, so run different-depth sections separately. This checks section volumes, not the exact volume of an irregular slope, grading, drainage or compaction requirements.

How much area will a bulk topsoil order cover?

For a uniform added depth, area in square feet = delivered cubic yards × 27 ÷ (depth in inches ÷ 12). Example only: 2 yd³ is 54 ft³; at 4 in deep it covers 162 ft² before allowances. Check by entering 162 ft² and 4 in above. This is volume arithmetic, not a recommended topsoil depth. Settling or handling loss reduces usable coverage.

Can I use the compost calculator for a raised bed?

Use this page for the volume of a finished-compost layer, not for a recommended share of the entire bed mix. Measure the inside footprint and enter only the layer depth you have chosen. For the full volume of an empty bed, use the linked raised bed soil calculator below; neither calculation determines a suitable compost-to-soil ratio.

How do I calculate compost coverage from a bulk order?

At a uniform chosen depth, coverage in square feet = cubic yards × 27 × 12 ÷ depth in inches. For an arithmetic check, 1 cubic yard is 27 cubic feet and covers 324 square feet at 1 inch before allowances. One inch is an example, not a recommended compost depth. Enter 324 square feet and 1 inch above to check the volume in reverse.

Can this calculate compost needed for a garden or lawn?

Yes, for the volume of a measured layer. Use separate rows for measured garden or lawn sections that share one chosen depth. For different depths, calculate the sections separately. The calculator does not choose an application depth, judge compost suitability or replace soil-test advice.

How much does 1 yard of compost weigh?

A cubic yard is a volume, not a fixed weight. For density D in pounds per cubic foot supplied for your compost, one cubic yard weighs 27 × D pounds, or 27 × D ÷ 2,000 US short tons. Enter that density only when you have product or supplier data; this page leaves weight uncalculated when it is missing.

Unit conversions follow NIST's units table. These examples check volume math; they are not soil-depth specifications or a grading plan.

Continue the project

Use the same measured workflow elsewhere

Need mulch or another landscape material? Return to the landscape material calculator. Need a focused raised-bed worksheet? Open the raised bed soil calculator. Need the footprint before material math? Use the square footage calculator for rooms and measured zones. Need to price the service work? Use the landscaping cost calculator for area-based or visit-based quotes. Planning pine straw? Use the pine straw calculator. Need container quantities? Use the potting soil calculator. Planning fertilizer quantities from a product label? Use the fertilizer calculator. Planning a lawn? Use the sod calculator for rolls and pallets. Building a patio? Use the paver calculator for pavers, base and bedding sand, or the grass seed calculator for measured areas and label-rate planning. Need a general conversion from a measured space? Use the cubic yard calculator.