The correct generalization of the volume of pyramids or cones is:
The volume of a pyramid or cone is one-third the volume of the larger shape that it comes from.
For example, the volume of a right circular cone is one-third the volume of a cylinder with the same base and height, and the volume of a pyramid is one-third the volume of a prism with the same base and height.