The density is the mass/volume. You will have to calculate the volume of the block. The volume of a block is the height x width x length. However, before multiplying, be sure to convert the dimensions so they are the same units. For example, convert them to cm.