It is not practical to calibrate the Magnetic Field Sensor without reference to a known source of magnetic field. It is useful, however, to zero the Magnetic Field Sensor. Position the sensor and zero it using your data-collection software. Move the magnetic field source, and not the sensor, to explore the spatial variations of the field.