One cubic yard contains 27 cubic feet. That is because a yard is 3 feet, and 3 cubed is 27.
Divide cubic feet by 27 to get cubic yards.
27