The vector hydrophone buoy usually needs three parameters of true azimuth,acoustic azimuth and compass value in the sea test. As it is difficult to face due north of the geodetic coordinate system during the installation of compass,calibration is generally required before sea test. To solve this problem,the method of histogram is used to select the compensation angle of vector hydrophone buoy. The compensation angle selected is used to compensate the angle of acoustic direction during sea test to ensure the accuracy of acoustic azimuth measurement.