A position sensing system includes a probe adapted to be introduced into a body cavity of a subject. The probe includes a magnetic field transducer and at least one probe electrodes. A control unit is configured to measure position coordinates of the probe using the magnetic field transducer. The control unit also measures an impedance between the at least one probe electrodes and one or more points on a body surface of the subject. Using the measured position coordinates, the control unit calibrates the measured impedance.