A method of an electronic device, the method comprising:
- detecting a signal for measuring biometric information,
- obtaining, in response to the signal, depth information of a user of the electronic device from a depth sensor, wherein the depth information includes information for at least one of a location of a face, eyes, nose, mouth, or upper body of the user;
- determining, as a point corresponding to the user's heart, a biometric reference point identified based on the obtained depth information;
- obtaining the biometric information of the user's heart from a biometric sensor based on a part of the user's body being in contact with the biometric sensor;
- calculating, using the depth sensor, a distance between the part of the user's body in contact with the biometric sensor and the user's heart;
- determining a blood vessel length between the part of the user's body and the user's heart based on the calculated distance;
- and
- correcting the obtained biometric information based on the determined blood vessel length.