Pendulum magnetometer for education demonstrates how a sample’s magnetization is modulated by the pendulum movement.