A method of detecting an electrocardiogram signal is disclosed. The method includes measuring an electrocardiogram signal, determining a wave period based on an inclination of the measured electrocardiogram signal, and detecting an apex of the electrocardiogram signal with at least one of a maximum size and inclination in the wave period.