In the electronic apparatus, a contact impedance compensation controller calculates a first compensation value and a second compensation value so that a resulting value obtained by adding a third resistance value between a measuring electrode and first skin to a first resistance value is equal to a resulting value obtained by adding a fourth resistance value between a reference electrode and second skin to a second resistance value, determines first information on the basis of the first compensation value, determines the second information on the basis of the second compensation value, and sends the first information to the first compensation circuit.