Answer :

mass & volume

[tex]Density = \frac{mass}{volume} [/tex]

AL2006
Density is defined as (mass) per unit (volume).  So in order to calculate
the density of a glob of some substance, you pretty much have to measure
its mass and its volume.