What is an electrocardiogram? (EKG, ECG) A printout from an electrocardiograph machine that measures and records the electrical activity of the heart. EKG's are painless, non-invasive, and can indicate whether or not there is a serious problem with your heart.