Abstract: An electronic compass system and method in which an automatic calibration process is available while the vehicle is in use. The procedure uses a binning process to collect and count data points which automatically triggers the automatic calibration process, and which is also used for manual calibration. Also, there is a procedure for detecting and rejecting anomalous magnetic events outside the vehicle through a jitter phenomenon.