Compost Calculator
A 20 by 10 foot bed spread 2 inches deep needs 1.23 cubic yards of compost — order 1.5 yards with allowance, about $53 bulk or 35 one-cubic-foot bags at $175. Enter your bed below for the exact yards, bags and cost.
The 324 is 27 cubic feet in a cubic yard times 12 inches in a foot. One cubic yard covers 1,296 sq ft at 1/4 in, 648 at 1/2 in, 324 at 1 in, 162 at 2 in and 108 at 3 in — the same rule every source on this page uses, from measureandbuild to Cornell, whose 0.0031 factor is the same division rounded (1 / 324 = 0.003086). The 5% allowance covers what clings to the wheelbarrow and rake; bulk orders round up to the nearest quarter yard because suppliers sell in quarter-yard steps.
Amendment only. Compost is decomposed organic matter worked into the soil to feed it — 1 to 2 inches a season, never a standalone growing medium. It is not topsoil and not mulch: topsoil fills, mulch covers, compost feeds. Estimates only: compost density and moisture vary by supplier and batch, so confirm bulk weight and price with your supplier.
How the compost calculator works
The volume is thin-layer math: area times depth, divided by 324 for cubic yards. On the default — a 20 by 10 foot bed, 2 inches deep — that is 200 x 2 / 324 = 1.23 cubic yards, or 33.3 cubic feet. Then add the 5% allowance for what clings to the wheelbarrow and rake, 1.23 x 1.05 = 1.30, and round the order up to the nearest quarter yard, because suppliers sell in quarter-yard steps: 1.5 cubic yards. At $35 a yard that is $52.50, about $53. Bags are counted from the same unrounded volume: 33.3 x 1.05 = 35 cubic feet, so 35 one-cubic-foot bags at $5 each is $175 — bulk wins past about a yard.
The worked example is the trowlcalc one, and the cross-checks agree to the bag. Kkctools runs 128 square feet at 2 inches: 128 x 2 / 12 = 21.33 cubic feet, 0.79 cubic yards, and 21.33 / 1 = 22 bags of one cubic foot. Measureandbuild runs the same rule from the other direction: 1,000 square feet of lawn at a quarter inch needs 0.77 cubic yards, because 1,000 x 0.25 / 324 = 0.77. Cornell's formula is the same division with the factor rounded: area x depth x 0.0031, where 1 / 324 = 0.003086 — their 70,000 sq ft field at 2 inches is 434 cubic yards by their factor, 432 by the exact division, the same order to the rounding.
Depth is the job, not a preference, and the calculator sets it from the job you pick. Lawn topdressing is a quarter to a half inch raked in after aeration; an annual bed feed is 1 to 2 inches; a vegetable garden takes 2 inches in spring; a new bed in poor soil takes 2 to 3 inches. One cubic yard stretches a long way at thin depths — 1,296 square feet at a quarter inch, 648 at a half, 324 at one inch, 162 at two, 108 at three — which is why the depth swings the order harder than the area does: an inch either way on the default bed is a different order.
Compost, topsoil and mulch get ordered together and confused constantly, but they do three different jobs and go on in a set order — feed, grow, protect. Compost is the amendment: decomposed organic matter worked into the soil to feed it, 1 to 2 inches a season, never a standalone growing medium. Topsoil is the fill that builds a bed up. Mulch is the surface cover that holds moisture and keeps weeds down. If you are building a raised bed from scratch, the classic Mel's Mix is one third compost, one third peat and one third vermiculite by volume — the compost is only a third of the fill, never all of it.
Common mistakes: ordering the exact volume with no allowance, which leaves the last wheelbarrow short; spreading compost thick as a growing medium, which crusts over and sheds water instead of feeding the soil; and comparing bulk and bagged prices per bag instead of per cubic yard — 27 one-cubic-foot bags make a yard, so $5 bags are $135 a yard against $35 bulk. A heavy surface layer piled on top is the one to avoid: thin and worked in beats thick and piled, every time.
volume = area (sq ft) x depth (in) / 324 (cu yd) · order = volume x (1 + allowance), rounded up to 1/4 cu yd · bags = volume x (1 + allowance) x 27 / bag size · 1 cu yd covers 1,296 sq ft at 1/4 in, 648 at 1/2 in, 324 at 1 in, 162 at 2 in, 108 at 3 in
Related tools
Build the bed the compost feeds with the Raised Bed Soil Calculator, fill it with the Topsoil Calculator, and cover it with the Mulch Calculator. Space the plants going into it with the Plant Spacing Calculator, and feed the lawn it topdresses with the Lawn Fertilizer Calculator.
Compost calculator FAQ
How much compost do I need?
Multiply area by depth and divide by 324 for cubic yards, then add 5% allowance and round the order up to a quarter yard. A 20 by 10 ft bed at 2 in needs 1.23 cu yd — order 1.5 cu yd.
How many bags of compost are in a cubic yard?
27 bags at the standard 1 cubic foot size, 18 at 1.5 cubic feet, 13.5 at 2 and 9 at 3. The default order is 35 one-cubic-foot bags.
How deep should I spread compost?
A quarter to a half inch for lawn topdressing, 1 to 2 inches for an annual bed feed, 2 inches for a vegetable garden in spring, and 2 to 3 inches for a new bed in poor soil. Thin and worked in beats thick and piled.
Compost vs topsoil vs mulch — which do I need?
Compost feeds the soil and is worked in, topsoil fills and builds a bed up, mulch covers the surface to hold moisture and keep weeds down. They go on in that order: feed, grow, protect.
How far does one cubic yard of compost go?
1,296 square feet at a quarter inch, 648 at a half inch, 324 at one inch, 162 at two inches and 108 at three inches.
Is bulk compost cheaper than bags?
Usually, past about a yard: $35 a yard bulk against $5 one-cubic-foot bags is $135 a yard bagged. Compare per cubic yard, not per bag.
Can I use compost as a growing medium on its own?
No — compost is an amendment, never a standalone growing medium. A heavy layer crusts over and sheds water; work 1 to 2 inches into the soil, or blend it — Mel's Mix is one third compost, one third peat, one third vermiculite.