A general quick and dirty formula
Consider the equation for the density:
[tex]\rho=\frac{An}{N_AZ}[/tex]
Where
[tex]\rho[/tex] = the density
n = the density of electrons in the conduction band
A = atomic mass, consider this to be a constant
[tex]N_A[/tex]= Avogadro´s number
Z = valence, consider this to be a constant.
The key is n, the density of electrons in the conduction band. For metals, this is much larger than for semiconductors. In fact that´s the main difference between semiconductors and metals.
I´ll admit this is not a very satisfactory way of doing it, but I really think this is what they´re looking for. This equation allows you to compare metals and semiconductors on the same level since the atomic mass, valence and in a way, the cell structure are constants.
Now if you wanted to go further you run into problems because elemental semiconductors tend to form covalent bonds which are very directional bonds. Thus you would be forced to consider the cell structure. But in the process, you would loose the generality since metals don´t generally have the same cell structure as semiconductors. As the previous post demonstrates you begin to compare apples to oranges.