Instrument which indicates true or magnetic north, enabling the mariner to guide a ship in any direction and to determine the direction of a visible object, such as another ship, heavenly body, or point of land. There are two types, the magnetic compass which depends on the earth's magnetic field to obtain its directive force and the gyrocompass, which obtains its directive force from the rotation of the earth.