According to an example aspect of the present invention, there is provided an apparatus for heartbeat detection, comprising: means for forming a first amplified signal and a second amplified signal on the basis of an input signal representative of heartbeat, means for forming a third signal by inverting the second signal and adding a base voltage, and means for indicating an overlap of the first signal and the third signal.