Make units compatible
Convert inches of depth to feet before multiplying by square feet, or use consistent metric units throughout.
Unit conversion should happen before multiplication, not after an unlabeled result.
Calculate geometric volume
Multiply net area by uniform depth to obtain volume.
For varying depth, divide the project into zones or use an appropriate average supported by measurements.
Convert the volume unit
Convert cubic feet to cubic yards by dividing by 27.
Keep the geometric volume separate from density or package assumptions.
Add material behavior later
Compaction, settlement, swell, waste, and product yield can change the purchase quantity but do not change the measured finished geometry.
Document each adjustment as its own step.