An unmanned aerial vehicle and process for automatically calibrating the unmanned aerial vehicle having at least one magnetic sensor is described. The calibration process involves receiving an internal or external control command to initiate a take-off process by the unmanned aerial vehicle. A hover mode maintains the unmanned aerial vehicle at hover position, and a calibration rotation sequence rotates the unmanned aerial vehicle. The calibration process further involves receiving measurement data from sensors of the unmanned aerial vehicle during the calibration rotation sequence and calculating calibration parameters using the measurement data. The calibration process may implement corrections using the calibration parameters.