The volume of a rectangular prism is equal to the product of its length, width, and height . V = l x w x h cubic units