Formula for calculating volume?

Length X Width X Height

* * * * *

That formula is good only for a cuboid (rectangular prism). There are an infinte number of solid shapes for which it will not work! There are different formulae for spheres, ellipsoids, cubes, cuboids, and other shapes.