First of all, pricing varies dramatically. For bags of compost, you could pay anywhere between $0.30 and $20+ per 10lbs (0.2 cubic feet). For bulk compost, you could pay $10-150+ per cubic yard (27 cubic feet). But even with these wide ranges, if you do the math, buying compost by the cubic yard is waaaaay less expensive than buying it in bags.