The volume of a rectangular prism is the product of its three edge lengths:
V = l × w × h
Volume is measured in cubic units.
When all edges are equal (a cube), V = edge³.