An electronic device comprising: at least one sensor (210; 220) including a biometric sensor; a processor; and a memory operatively connected with the processor, wherein, when being executed, the memory stores instructions that cause the processor to: obtain information from the at least one sensor (210; 220) related to at least one of a state of a user, a posture of the user, or a measuring environment, in response to a part of the user's body contacting or approaching the biometric sensor being detected, select one waveform template from a plurality of waveform templates stored in the memory, based on at least one of the state of the user, the posture of the user, or the measuring environment, measure a similarity by comparing a photoplethysmogram signal obtained from the at least one sensor (210; 220) and the selected waveform template, determine whether the similarity of the PPG signal falls within a pre-specified range, based on whether the number of waveforms having similarities greater than or equal to a threshold value is greater than or equal to a reference number of waveforms, if the similarity of the PPG signal falls within the pre-specified range: determine a blood pressure value of the user by using the selected waveform template, if the similarity of the PPG signal does not fall within the pre-specified range: generate a representative waveform by using the PPG signal, measure the blood pressure value of the user based on the generated representative waveform, and add a waveform template corresponding to the generated representative waveform in the memory. at least one sensor (210; 220) including a biometric sensor; a processor; and a memory operatively connected with the processor, wherein, when being executed, the memory stores instructions that cause the processor to: obtain information from the at least one sensor (210; 220) related to at least one of a state of a user, a posture of the user, or a measuring environment, in response to a part of the user's body contacting or approaching the biometric sensor being detected, select one waveform template from a plurality of waveform templates stored in the memory, based on at least one of the state of the user, the posture of the user, or the measuring environment, measure a similarity by comparing a photoplethysmogram signal obtained from the at least one sensor (210; 220) and the selected waveform template, determine whether the similarity of the PPG signal falls within a pre-specified range, based on whether the number of waveforms having similarities greater than or equal to a threshold value is greater than or equal to a reference number of waveforms, if the similarity of the PPG signal falls within the pre-specified range: determine a blood pressure value of the user by using the selected waveform template, if the similarity of the PPG signal does not fall within the pre-specified range: generate a representative waveform by using the PPG signal, measure the blood pressure value of the user based on the generated representative waveform, and add a waveform template corresponding to the generated representative waveform in the memory. obtain information from the at least one sensor (210; 220) related to at least one of a state of a user, a posture of the user, or a measuring environment, in response to a part of the user's body contacting or approaching the biometric sensor being detected, select one waveform template from a plurality of waveform templates stored in the memory, based on at least one of the state of the user, the posture of the user, or the measuring environment, measure a similarity by comparing a photoplethysmogram signal obtained from the at least one sensor (210; 220) and the selected waveform template, determine whether the similarity of the PPG signal falls within a pre-specified range, based on whether the number of waveforms having similarities greater than or equal to a threshold value is greater than or equal to a reference number of waveforms, if the similarity of the PPG signal falls within the pre-specified range: determine a blood pressure value of the user by using the selected waveform template, if the similarity of the PPG signal does not fall within the pre-specified range: generate a representative waveform by using the PPG signal, measure the blood pressure value of the user based on the generated representative waveform, and add a waveform template corresponding to the generated representative waveform in the memory. generate a representative waveform by using the PPG signal, measure the blood pressure value of the user based on the generated representative waveform, and add a waveform template corresponding to the generated representative waveform in the memory.