Under the condition of the same temperature and pressure, fill the same pycnometer with water and raw oil. According to the density and quality of water, the volume of water can be calculated. The difference between the mass of the pycnometer and the mass of the pycnometer can calculate the mass of the raw oil, and then calculate the density of the raw oil according to the relationship between mass and volume.