Use this calculator to calculate the approximate cubic yardage/tonnage of materials for your project. NOTE: Mulch and compost are sold by the cubic yard. Stone, sand, gravel, and soil are sold by the ton.