Answer :
It depends on the size of the cube, but you could use a ruler for almost any size, or if it is small enough, you could use a caliper to get a very precise measurement.
it really depends on the size.. if its huge i would use a meter ruler, if it is small use a reguler ruler...