Hello, peter2727!

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(1 x 1 x 1),unit cubes

. . the number of cubes is simply theof those dimensions.product

For a cuboid, there will be: . unit cubes.