An electrocardiogram (e-lek-tro-KAR-de-o-gram), also called an EKG or ECG, is a simple, painless test that records the heart’s electrical activity. To understand this test, it helps to understand how the heart works.

With each heartbeat, an electrical signal spreads from the top of the heart to the bottom. As it travels, the signal causes the heart to contract and pump blood. The process repeats with each new heartbeat.

The heart’s electrical signals set the rhythm of the heartbeat. F

An EKG shows:

  • How fast your heart is beating
  • Whether the rhythm of your heartbeat is steady or irregular
  • The strength and timing of electrical signals as they pass through each part of your heart

Doctors use EKGs to detect and study many heart problems, such as heart attacks, arrhythmias(ah-RITH-me-ahs), and heart failure. The test’s results also can suggest other disorders that affect heart function.

An electrocardiogram also is called an EKG or ECG. Sometimes the test is called a 12-lead EKG or 12-lead ECG. This is because the heart’s electrical activity most often is recorded from 12 different places on the body at the same time.