How would you use the density formula to find the volume or mass of a sample?
You have to know two out of three ... mass, volume, density ...
then you can find the missing one.
If density is missing . . . Density = (mass)/(volume)
If mass is missing . . . Mass = (density) x (volume)
If volume is missing . . . Volume = (mass)/(density)