The volume of a prism is the base area multiplied by the height.
Symbols
V
volume
Pp
base area
H
height
Where it comes from
The volume is the base area times the height — like stacking layers of area Pp up to a height of H. It works for any prism (a cuboid and a cube are special cases).