How Does an Electrocardiogram Work? EKG Basics Explained

Learn how the electrocardiogram works, what EKG readings mean, and how this cardiac test detects heart conditions. Clear explanation of ECG basics.

Most people have had an EKG at some point—those sticky leads, the squiggly printout, the doctor glancing at it and nodding. But what's actually happening? How does sticking electrodes to your chest produce a picture of your heart's electrical activity? And what do all those waves and intervals actually mean?

Understanding electrocardiogram basics matters whether you're a patient trying to make sense of your own results, a student preparing for healthcare certification, or someone just curious about how medicine works. This guide breaks it all down in plain terms.

What Is an Electrocardiogram?

An electrocardiogram—abbreviated as EKG or ECG—is a non-invasive test that records the electrical activity of the heart over a period of time. The heart's pumping action is triggered by electrical impulses, and those impulses follow a precise sequence with every heartbeat. The EKG captures that sequence as a visual waveform.

EKG and ECG are the same thing. ECG comes from the German spelling (Elektrokardiogramm), while EKG is the anglicized version. In clinical settings you'll see both used interchangeably—though EKG became standard partly to avoid confusion with EEG (electroencephalogram, which records brain activity).

The test itself is painless and takes about ten minutes for a standard 12-lead recording. Electrodes are attached to your skin—typically ten electrodes placed on your chest, arms, and legs. These electrodes detect tiny voltage changes and send them to the EKG machine, which plots them as waveforms on a graph.

How the Heart's Electrical System Works

To understand the EKG, you need to understand what it's measuring: the heart's conduction system.

Every heartbeat starts with an electrical signal in the sinoatrial (SA) node, a cluster of cells in the right atrium sometimes called the heart's natural pacemaker. The SA node fires spontaneously, typically 60–100 times per minute in a healthy adult at rest. That signal spreads outward through the atria, causing them to contract and push blood into the ventricles.

The signal then reaches the atrioventricular (AV) node, located at the junction between the atria and ventricles. The AV node introduces a brief delay—about 0.1 seconds—that allows the ventricles to fill with blood before they contract. From there, the signal travels rapidly down the Bundle of His, splits into the right and left bundle branches, and spreads through the Purkinje fibers into the ventricular muscle walls. The ventricles contract powerfully, pumping blood to the lungs and the rest of the body.

This entire sequence—from SA node firing to ventricular contraction—takes less than half a second. The EKG captures every millisecond of it.

Reading an EKG: The Key Waveforms

A standard EKG tracing shows a characteristic pattern for each heartbeat. Learning to recognize these components is fundamental to EKG interpretation.

P wave: The first deflection you'll see represents atrial depolarization—the electrical activation of the atria. A normal P wave is small, rounded, and upright in most leads. When you see a P wave, the atria are contracting.

PR interval: The flat line between the P wave and the next large deflection represents the signal traveling through the AV node. A normal PR interval is 0.12–0.20 seconds (3–5 small squares on EKG paper). Prolonged PR intervals can indicate heart block.

QRS complex: This is the big spike you recognize from EKG images. It represents ventricular depolarization—the electrical activation of the ventricles. The Q wave is a small downward deflection, the R wave is the tall upward spike, and the S wave is the downward deflection after the R. A normal QRS complex is narrow, lasting 0.06–0.10 seconds. Wide QRS complexes suggest bundle branch block or other conduction abnormalities.

ST segment: The flat line after the QRS complex represents the plateau phase of ventricular depolarization, when the ventricles are contracting but before repolarization begins. The ST segment is critically important—elevation or depression here is often the first sign of a heart attack.

T wave: This broader deflection represents ventricular repolarization—the electrical reset that prepares the ventricles for the next beat. T wave abnormalities can indicate ischemia, electrolyte imbalances, or medication effects.

QT interval: The distance from the start of the QRS to the end of the T wave. Prolonged QT intervals carry risk of dangerous arrhythmias and are associated with certain medications and genetic conditions.

The 12-Lead EKG: Viewing the Heart from Multiple Angles

A standard EKG is called a "12-lead" because it generates 12 different views of the heart's electrical activity from ten electrodes. Think of it like taking photographs of the same subject from twelve different angles—each view reveals something the others might miss.

The twelve leads divide into three groups:

Limb leads (I, II, III): Derived from electrodes on the arms and left leg. These leads create a triangle around the heart (Einthoven's triangle) and give a view of the heart's electrical activity in the frontal plane—essentially looking at it from the front.

Augmented limb leads (aVR, aVL, aVF): Calculated from the same limb electrodes, these provide additional angles in the frontal plane. aVF looks at the inferior wall of the heart, aVL looks at the lateral wall, and aVR looks from the right shoulder toward the heart.

Precordial leads (V1–V6): Placed across the chest, these six leads provide a view in the horizontal plane. V1 and V2 sit over the right side of the heart; V5 and V6 sit over the left lateral wall. This horizontal view is crucial for identifying ventricular abnormalities and localizing areas of ischemia or infarction.

When a cardiologist reviews a 12-lead EKG, they're looking at all twelve views simultaneously—checking for consistency, identifying abnormal patterns, and triangulating exactly where any problem might be located in the heart.

What Conditions Can an EKG Detect?

The electrocardiogram is remarkably versatile. Doctors use it to identify dozens of cardiac conditions, including:

Arrhythmias: Any abnormal heart rhythm. Atrial fibrillation, the most common sustained arrhythmia, produces an irregularly irregular rhythm with no discernible P waves. Ventricular fibrillation—the chaotic, life-threatening rhythm that requires defibrillation—looks like a chaotic scribble with no organized waveforms at all.

Heart attacks (myocardial infarction): ST elevation on an EKG is a medical emergency. ST-elevation myocardial infarction (STEMI) requires immediate intervention. Earlier ischemia can show as ST depression or T-wave inversions before any permanent damage occurs.

Bundle branch blocks: When the right or left bundle branch isn't conducting properly, the QRS complex widens because electrical activation of the ventricles takes longer. Left bundle branch block (LBBB) and right bundle branch block (RBBB) have characteristic patterns.

Heart blocks: Delays or interruptions in conduction through the AV node. First-degree block is a prolonged PR interval. Second-degree block can cause dropped beats. Third-degree (complete) block means no impulses from the atria reach the ventricles—the ventricles beat independently at a slow escape rhythm.

Electrolyte abnormalities: Potassium and calcium levels dramatically affect the EKG. Hyperkalemia produces peaked T waves, then widened QRS, then a sinusoidal pattern before cardiac arrest. Hypokalemia produces U waves (small bumps after the T wave). Hypercalcemia shortens the QT interval; hypocalcemia prolongs it.

Chamber enlargement: Left ventricular hypertrophy produces tall R waves in the lateral leads. Right ventricular hypertrophy shifts the axis rightward. Atrial enlargement shows in P wave morphology.

EKG Paper and Technical Standards

EKG recordings use standardized paper to make measurements consistent across all machines and readers worldwide. Standard EKG paper runs at 25mm per second, with small squares measuring 1mm × 1mm (representing 0.04 seconds horizontally and 0.1 millivolt vertically) and large squares measuring 5mm × 5mm (representing 0.2 seconds and 0.5 mV).

Standard calibration is 10mm per millivolt—you'll usually see a calibration box at the start of an EKG strip. If gain is halved (5mm/mV), the waves look smaller. If gain is doubled (20mm/mV), they look taller. Always check the calibration marks before interpreting amplitude.

Heart rate calculation from an EKG strip is straightforward for regular rhythms: divide 300 by the number of large squares between R waves. If there are 4 large squares between R waves, heart rate is 75 bpm. For irregular rhythms, count the number of QRS complexes in a 6-second strip and multiply by 10.

Holter Monitoring and Ambulatory EKG

A standard 12-lead EKG captures only 10 seconds of cardiac activity. Many arrhythmias are intermittent—they come and go—and might not occur during those ten seconds. That's where ambulatory monitoring comes in.

A Holter monitor is a portable EKG device worn continuously for 24–48 hours. Electrodes attach to your chest; a small recorder clips to your belt or fits in a pocket. The device captures every heartbeat over the monitoring period. Technicians then analyze the full recording, often using software to flag abnormal rhythms for physician review.

For less frequent symptoms, event monitors or implantable loop recorders (ILRs) can monitor for weeks to years. An ILR is a tiny device implanted just under the skin that continuously monitors cardiac rhythm and can transmit data wirelessly.

Technicians who perform and analyze these recordings often pursue electrocardiogram certification to demonstrate their competency. The EKG certification online pathway is increasingly popular for working healthcare professionals who need to add this credential.

Who Performs and Interprets EKGs?

In most clinical settings, EKG technicians or cardiac monitor technicians perform the test—attaching electrodes, ensuring good signal quality, and producing the tracing. Interpretation is typically performed by physicians, particularly cardiologists.

However, many nurses, paramedics, respiratory therapists, and medical assistants learn basic EKG interpretation as part of their scope of practice. Emergency medicine requires rapid rhythm recognition. ICU nurses must identify life-threatening arrhythmias without waiting for physician review.

Formal EKG technician roles often require certification. The EKG technician salary and career guide covers the credentialing pathways, typical earnings, and career advancement opportunities in this field. The EKG certification study guide is essential reading if you're preparing for a credentialing exam.

Common EKG Artifacts and Troubleshooting

Not every unusual-looking EKG tracing represents a cardiac problem. Artifacts—false signals from non-cardiac sources—are common and important to recognize.

Patient movement is the most frequent cause of artifact. Muscle tremors, particularly in elderly patients or those with Parkinson's disease, create high-frequency noise that can mimic atrial flutter or other arrhythmias. The fix is simple: minimize movement and have the patient relax completely.

Poor electrode contact causes wandering baseline—the entire EKG strip drifts up and down. Causes include poor skin preparation, excess body hair, diaphoresis (sweating), or dried electrode gel. Proper skin prep (cleaning with alcohol, light abrasion) resolves most cases.

Electrical interference from nearby equipment creates 60-cycle (60 Hz) noise—a regular, high-frequency fuzz overlying the EKG signal. Modern EKG machines filter most 60-Hz interference, but severe cases may require checking for improper grounding or moving the patient away from electrical equipment.

Lead reversal is a sneaky artifact. If the arm leads are switched, the EKG looks like the heart is electrically reversed—lead I goes negative, aVR goes positive. Many machines now detect lead reversal automatically, but manual checks matter.

EKG Basics for Certification Exams

If you're preparing for an EKG certification exam—or any healthcare credential that includes cardiac rhythm interpretation—here's what to prioritize:

Master the normal sinus rhythm first. Know the expected P-QRS-T sequence, normal intervals, and what each component represents. Everything else is a variation from normal.

Learn the six life-threatening rhythms cold: ventricular fibrillation, ventricular tachycardia, pulseless electrical activity, asystole, complete heart block, and supraventricular tachycardia with hemodynamic compromise. These are the rhythms that require immediate action.

Understand systematic interpretation. Every EKG should be read the same way: rate, rhythm, P waves, PR interval, QRS width, ST segment, T waves, QT interval. Systematic reading prevents you from being distracted by one obvious abnormality and missing a second one.

Practice, practice, practice. EKG interpretation is a pattern recognition skill. The more tracings you see, the faster and more accurate your reading becomes. Work through practice strips regularly—don't just read about EKGs, actually interpret them.

Why the EKG Remains Indispensable

Despite being invented in the early 1900s—Willem Einthoven received the Nobel Prize for the ECG in 1924—the electrocardiogram remains one of the most clinically valuable tests in medicine. It's fast, cheap, painless, and provides an enormous amount of information in seconds.

Advanced imaging like echocardiography and cardiac MRI provide structural detail the EKG can't. But for real-time assessment of cardiac rhythm and electrical function, nothing beats the EKG. It's available at every hospital, most urgent care centers, and increasingly in wearable devices on people's wrists.

Modern smartwatches can record single-lead EKG strips, and some devices can detect atrial fibrillation automatically. While these consumer devices don't replace the clinical 12-lead EKG, they've made electrocardiographic monitoring more continuous and accessible than ever before.

Whether you're a healthcare student building foundational knowledge, a technician pursuing certification, or a patient trying to understand your own cardiac health—understanding how the electrocardiogram works gives you a meaningful window into one of the most vital functions your body performs.

About the Author

James R. HargroveJD, LLM

Attorney & Bar Exam Preparation Specialist

Yale Law School

James R. Hargrove is a practicing attorney and legal educator with a Juris Doctor from Yale Law School and an LLM in Constitutional Law. With over a decade of experience coaching bar exam candidates across multiple jurisdictions, he specializes in MBE strategy, state-specific essay preparation, and multistate performance test techniques.