Is there a formula for working out how many cm cubes
fit into, say, a 12 x 6 x 5 cuboid?
If your "cm cubes" are unit cubes (1 x 1 x 1),
. . the number of cubes is simply the product of those dimensions.
For a cuboid, there will be: . unit cubes.