Relative density of substance is
Mass of unit volume of substanceMass of unit volume of water
Relative density=Density of substanceDensity of water.
As we know density = Massvolume.
So Relative density=Mass of unit volume of substanceMass of unit volume of water