PROBLEM TO BE SOLVED: To accurately detect a heart beat and its time even from data on an electrocardiogram waveform on which noise is superposed.SOLUTION: A heart beat detection device comprises: a time differential value calculation unit 3 for calculating a time differential value of sampling data on an electrocardiogram waveform a time differential value determination unit 4 for determining whether or not the time differential value exceeds a threshold a time determination unit 5 for determining a first time interval range before supposed heart beat time, a second time interval range including a peak of time differential values, and a third time interval range after the peak of time differential values a minimum value holding unit 6 for holding Min1, Min2, and Min3, minimum values of time differential values in the first, second, and third time interval ranges and a heart beat time determination unit 7 that, when relation between the minimum values Min1, Min2, and Min3 satisfies a heart beat time settlement condition, takes time at which a time differential value has exceeded the threshold or time at which the minimum value Min2 has been obtained, as heart beat time.SELECTED DRAWING: Figure 1COPYRIGHT: (C)2017,JPO&INPIT