The density of a metal at normal pressure is ρ. It's density when it is subjected to an excess pressure p is ρ'. If B is the bulk modulus of the metal, the ratio ρ'/ρ is :
B=−VdPdV
Thus, ΔV=−pVB or V′−V=−pVB
Or, V′=V(1−pB)
Now, ρ′=mV′=mV(1−pB)=ρ(1−pB)