The base area and the height are multiplied by the following formula.
Volume of the Rectangular Prism = a x b x h