I have just been asked this question on an assignment and found your question is the process of discovering the answer. I found out how to do it and this formula can be used:
density= [(#of atoms per cell) / (volume)] x [(molar mass)/(Avogadro's #)]
only use the Avogadro # if you need the weight in g/mol