Compass and needle floating on water pointing north. The magnetic compass is an instrument used to determine geographic direction. A thin of magnetic material is mounted on a card marked with points of direction and is free to rotate on a pivot. The needle aligns to the local component of the Earth's magnetic field, resting north to south.