The volume of a rectangular prism is given by the product of its width, its length and its height:

Replace the values for each of the dimensions of the rectangular prism to find its volume in cubic in:

Therefore, the volume of the rectangular prism is 252 cubic inches.