An electrocardiogram (ECG or EKG) records the electrical signals that trigger each heartbeat, while an echocardiogram (echo) uses ultrasound to create a moving image of the heart’s physical structure. They measure fundamentally different things, which is why they answer different clinical questions and are frequently ordered together rather than as substitutes for one another. Understanding what each test actually shows helps make sense of why your doctor might order one, the other, or both.
What an ECG Actually Tells Your Doctor
An ECG captures the tiny electrical impulses that travel through your heart muscle with every beat. Electrodes stuck to your skin pick up these signals and translate them into the familiar squiggly lines on paper or a screen. The whole thing takes about ten seconds of recording time for a standard resting ECG and is completely painless.
What those squiggly lines reveal is surprisingly rich. The shape, timing, and height of the waves tell a cardiologist whether your heart rhythm is normal or irregular, whether certain chambers are enlarged or strained, and whether any part of the heart muscle is getting insufficient blood flow. An ECG can detect bundle branch blocks, prior heart attacks that left electrical scarring, and dangerous rhythms like ventricular tachycardia. In one study comparing standard and reduced-lead ECGs across 649 patients, diagnoses were identical for conditions including bundle branch blocks, prior inferior heart attacks, and the critical distinction between ventricular tachycardia and other fast rhythms.1Journal of Electrocardiology. Comparison of a new reduced lead set ECG with the standard ECG for diagnosing cardiac arrhythmias and myocardial ischemia
The ECG’s greatest strength is speed. It can be done in an ambulance, at the bedside, in an office with minimal equipment, and it produces an answer almost instantly. For someone arriving at an emergency department with chest pain, an ECG within minutes is the first and most critical test, because it can flag a major heart attack (called a STEMI) that demands immediate intervention. Prehospital ECGs recorded by paramedics pick up ST-segment changes that in some cases are already fading by the time the patient reaches the hospital, making the ambulance recording uniquely valuable.2PubMed. Information on myocardial ischemia and arrhythmias added by prehospital electrocardiograms
What an Echocardiogram Actually Shows
An echocardiogram is an ultrasound of the heart. A technician holds a probe against your chest, and sound waves bounce off your cardiac structures to build a real-time moving picture. You can see the chambers contracting, the valves opening and closing, and blood flowing through the heart. A standard echo takes roughly 30 to 60 minutes, and like an ECG, it is painless and involves no radiation.
The echo excels at answering anatomical and functional questions the ECG cannot touch. How strong is the heart’s pumping? Are the valves leaky or narrowed? Is there fluid collecting around the heart? Is the muscle abnormally thick? The two-dimensional echocardiographic examination provides a precise anatomical display of the heart with high temporal resolution, and when Doppler is added, it can measure pressure gradients across valves, estimate pressures inside the heart chambers, and quantify how much blood is leaking backward through a faulty valve.3ScienceDirect. Doppler echocardiography: A contemporary review A key number the echo provides is the ejection fraction, a measure of how much blood the left ventricle pumps out with each beat, which is one of the most important predictors of outcomes in heart disease.4European Heart Journal – Cardiovascular Imaging. Standardization of adult transthoracic echocardiography reporting in agreement with recent chamber quantification, diastolic function, and heart valve disease recommendations
Think of it this way: the ECG tells you about the electrical wiring, and the echo tells you about the plumbing and the pump itself. A heart can have perfect wiring but a leaky valve, or a structurally normal heart with dangerous electrical short-circuits. Neither test alone gives the full picture.
Why Doctors Often Order Both
In many clinical scenarios, the two tests answer questions that overlap just enough to be complementary but not redundant. Take a patient arriving at an emergency department with chest pain. The ECG goes first because it is fast and cheap and can immediately identify whether the patient needs a catheterization lab. But the ECG’s sensitivity for predicting cardiac events in that setting is only about 40%. When an echocardiogram was performed early alongside the ECG in emergency department patients with possible heart-related chest pain, the echo’s sensitivity for predicting cardiac events was about 91%, and adding the echo results to the ECG provided significant additional diagnostic value.5Annals of Emergency Medicine. Early Echocardiography Can Predict Cardiac Events in Emergency Department Patients With Chest Pain
The ECG’s specificity in that same setting was high, around 94%, meaning that when it said everything was fine, it was usually right. But it missed a lot of patients who were actually in trouble. The echo caught most of those, though at the cost of more false alarms. Clinicians use this trade-off strategically: the ECG serves as a rapid triage tool, and the echo fills in the gaps when the ECG is normal but suspicion remains.
Variations of the ECG
A standard 12-lead ECG gives a snapshot of about ten seconds. That is plenty to catch a rhythm that is always abnormal, but it will miss problems that come and go. This is where extended monitoring enters the picture.
A Holter monitor is essentially a portable ECG recorder you wear for 24 to 48 hours while going about your daily life. It catches intermittent arrhythmias that a brief office ECG would miss. Even so, the diagnostic yield of Holter monitors for catching sporadic arrhythmias is modest, roughly a third of cases in systematic reviews.6PubMed Central. Efficacy of diagnostic tools for detecting cardiac arrhythmias: systematic literature search If you experience palpitations only once a week, a 24-hour window may simply miss the event.
Longer-wear patches have changed this calculus. A 14-day ECG patch detected intermittent arrhythmias in about two-thirds of patients compared with only 9% detected by a standard 24-hour Holter in the same group. For atrial fibrillation specifically, the 14-day patch identified episodes in roughly one in five patients while the Holter found it in only one.7PubMed Central. Comparison of Arrhythmia Detection by 24-Hour Holter and 14-Day Continuous Electrocardiography Patch Monitoring Event recorders that the patient triggers when symptoms occur, and implantable loop recorders that sit under the skin for years, fill out the remaining spectrum. The right choice depends on how often the symptom occurs.
Variations of the Echocardiogram
The standard echocardiogram described above is technically called a transthoracic echocardiogram (TTE), meaning the probe sits on the outside of the chest. It works well for most people, but there are situations where it falls short. Obesity is a common one: ultrasound waves lose energy passing through adipose tissue, and image quality drops, particularly when a patient’s weight exceeds roughly 250 to 300 pounds.8PubMed Central. Point-of-Care Echocardiography in the Difficult-to-Image Patient in the ICU: A Narrative Review Patients on mechanical ventilation and those with emphysema can also be difficult to image through the chest wall.
When clearer pictures are needed, a transesophageal echocardiogram (TEE) places a small ultrasound probe at the tip of a flexible tube that is guided down the esophagus. Because the esophagus sits directly behind the heart, the images are dramatically sharper. In patients who had suffered a stroke or a transient ischemic attack, a potential cardiac source of the event was found in over half of cases by echocardiography overall, but the majority of those findings were identified only on TEE and would have been missed by a standard chest-wall approach.9PubMed. Transesophageal echocardiography is superior to transthoracic echocardiography in management of patients of any age with transient ischemic attack or stroke For specific valve problems like a flail mitral valve leaflet from ruptured chordae, TEE correctly classified about 96% of cases versus 70% by TTE.10The American Journal of Cardiology. Comparison of accuracy of transesophageal versus transthoracic echocardiography for the detection of mitral valve prolapse with ruptured chordae tendineae (flail mitral leaflet)
TEE is more invasive, requires sedation, and carries a small risk of esophageal injury, so it is reserved for cases where the standard echo leaves questions unanswered or where precision matters most, such as before certain cardiac surgeries or when searching for blood clots inside the heart.
Stress Testing and How It Blurs the Line
Stress testing is where the distinction between ECG and echo starts to overlap, because both are often used during the same test. In a standard exercise stress test, you walk on a treadmill or ride a stationary bike while hooked up to an ECG. The doctor watches for electrical changes, especially ST-segment shifts, that suggest the heart muscle isn’t getting enough blood under exertion.
A stress echocardiogram adds ultrasound imaging before and immediately after (or during) the exercise. The doctor compares how the heart walls move at rest versus under stress. A wall segment that contracts normally at rest but becomes sluggish during exercise likely has a partially blocked artery feeding it. For patients who cannot exercise, drugs like dobutamine or dipyridamole can simulate the stress. In a head-to-head comparison, exercise stress echo had a sensitivity of 88% and an overall accuracy of 87% for detecting significant coronary artery disease.11PubMed. Stress echocardiography in the detection of myocardial ischemia. Head-to-head comparison of exercise, dobutamine, and dipyridamole tests
Compared to exercise ECG alone, stress echocardiography does a better job of sorting patients into clear risk categories. In patients presenting with acute chest pain but negative initial blood markers, stress echo identified far more patients as truly low risk and significantly reduced the need for further testing. Exercise ECG left about half of patients in an ambiguous middle zone, while stress echo dropped that figure to just 3%.12European Journal of Echocardiography. Stress echocardiography is superior to exercise ECG in the risk stratification of patients presenting with acute chest pain with negative Troponin The trade-off is that stress echo costs more, requires skilled imaging, and takes longer. For many patients, the exercise ECG alone is sufficient, and the stress echo is reserved for borderline or high-risk cases.
ECG Uses Beyond the Heart’s Own Rhythm
One thing that often surprises people is that the ECG is useful for diagnosing problems that are not strictly cardiac. Because the heart’s electrical activity depends on the balance of electrolytes flowing in and out of cells, an ECG can reveal dangerously high or low potassium levels before blood test results come back. Potassium is one of the essential electrolytes in cardiac cells, and shifts in its concentration produce recognizable wave changes on an ECG.13PubMed Central. ECG frequency changes in potassium disorders: a narrative review In emergency rooms, this is clinically relevant when a patient arrives critically ill and the ECG is available minutes before lab work.
The ECG also serves as a frontline tool in poisoning and drug overdose cases. Certain drugs cause characteristic electrical changes that hint at which type of toxin is involved. Cardiotoxic substances can block ion channels or alter the heart’s adrenergic tone in ways that produce specific, recognizable patterns on the tracing.14PubMed Central. Utility of the electrocardiogram in drug overdose and poisoning: theoretical considerations and clinical implications An emergency physician seeing a widened QRS complex in an unresponsive patient, for example, can immediately suspect sodium channel blockade and begin targeted treatment before identifying the exact substance.
Echo Uses Beyond Standard Heart Disease
Echocardiography has applications that go well beyond evaluating coronary artery disease or heart failure. One of the most important is detecting pericardial effusion, a buildup of fluid in the sac surrounding the heart. When fluid accumulates rapidly or in large volumes, it can compress the heart and become life-threatening. A structured echocardiographic approach evaluating the quantity of fluid, collapse of cardiac chambers, and flow patterns through the heart’s valves gives clinicians the information they need to decide whether emergency drainage is required.15PubMed Central. Echocardiographic Evaluation of Pericardial Effusion and Cardiac Tamponade Even handheld ultrasound devices operated by non-cardiologists have been shown to correctly identify pericardial effusions in over 90% of cases in pediatric patients.16Journal of the American Society of Echocardiography. Use of a hand-carried ultrasound device by critical care physicians for the diagnosis of pericardial effusions, decreased cardiac function, and left ventricular enlargement in pediatric patients
Fetal echocardiography is another notable application. Heart defects are the most common type of birth defect, and an ultrasound examination of the fetal heart during pregnancy can identify structural abnormalities before birth, allowing families and medical teams to plan delivery and treatment in advance.17PubMed. Fetal echocardiography for early detection of congenital heart diseases Interestingly, fetal ECG is also being explored as a complementary prenatal tool. Because the electrical conduction system and the heart’s physical structure develop together, an abnormal fetal ECG can reflect structural defects like underdeveloped chambers or conduction pathway interruptions.18PubMed. A systematic review of prenatal screening for congenital heart disease by fetal electrocardiography This work is still in early stages, but it illustrates how both technologies continue to evolve.
Cost and Accessibility
An ECG is one of the cheapest tests in medicine. The equipment is portable, the test takes minutes, and it requires minimal training to perform (though interpreting results is another matter). This makes it globally accessible, from rural clinics to ambulances. An echocardiogram is considerably more expensive and resource-intensive. It requires a dedicated ultrasound machine, a trained sonographer to acquire images, and a cardiologist to interpret them. A full study can take an hour of technician time.
When researchers modeled the cost-effectiveness of adding a limited echocardiogram to an ECG for diagnosing left ventricular enlargement in young patients with newly identified high blood pressure, each additional correct diagnosis cost roughly $650 to $830 depending on the population studied.19PubMed. Cost-effectiveness of electrocardiography vs. electrocardiography plus limited echocardiography to diagnose LVH in young, newly identified, hypertensives That is a relatively modest marginal cost for a clinically meaningful diagnosis, but it adds up across large populations, which is partly why echocardiography is not used as a universal screening test the way ECGs sometimes are.
Artificial Intelligence Is Blending the Two
One of the more interesting recent developments is the use of AI to extract information from an ECG that you would normally need an echocardiogram to obtain. Machine learning models trained on large datasets of paired ECGs and echocardiograms have learned to detect structural heart conditions, like a weakened pumping function, from the ECG tracing alone. A portable six-lead ECG device paired with an AI model achieved a sensitivity of about 83% and specificity of about 89% for detecting reduced left ventricular function, with a very high negative predictive value of nearly 98%, meaning that when the AI-ECG said pumping function was fine, it almost always was.20European Heart Journal – Digital Health. Artificial intelligence-enhanced six-lead portable electrocardiogram device for detecting left ventricular systolic dysfunction: a prospective single-centre cohort study
Researchers have also tested a stepwise screening approach where an AI-enhanced ECG serves as the initial filter, and only patients flagged as potentially abnormal go on to receive a focused handheld cardiac ultrasound. For detecting aortic stenosis, this two-step strategy dramatically reduced false positives: from 60 with AI-ECG alone down to just 4 after confirming with the handheld ultrasound, while maintaining the same sensitivity.21European Heart Journal Open. Structural heart disease screening using artificial intelligence–enabled electrocardiogram and novice handheld cardiac ultrasound: a cost analysis This kind of tiered approach could eventually make it feasible to screen large populations for structural heart disease at a fraction of current costs, using the ECG’s speed and cheapness as the gateway and the echo’s imaging as confirmation.
When You Might Get One but Not the Other
Certain clinical situations call clearly for one test. If you faint and your doctor suspects a rhythm disturbance, an ECG or extended monitor is the right first step, because arrhythmias are an electrical problem and the echo would likely look normal between episodes. If you have a heart murmur heard through a stethoscope, the echo is the test that will determine whether the valve is actually damaged or whether the murmur is harmless, because that is a structural question the ECG cannot resolve.
You will typically get both if you have new-onset heart failure symptoms like breathlessness and swelling. The ECG may show signs of prior damage or rhythm problems contributing to the failure, while the echo quantifies how weak the pump actually is and whether valve disease is involved. Similarly, if you are being evaluated before a major surgery, both tests are often ordered: the ECG for rhythm safety under anesthesia and the echo for an assessment of cardiac reserve.
One scenario worth knowing about is the pre-participation sports physical for young athletes. ECG screening in this context is debated internationally. Some countries use it routinely to catch inherited conditions like hypertrophic cardiomyopathy that can cause sudden cardiac death. But the ECG is an imperfect screen for structural conditions, and when it raises a flag, an echocardiogram is almost always needed to confirm or rule out the problem. The ECG here acts as a low-cost net cast wide, with the echo serving as the follow-up that provides the actual anatomical answer.
Practical Differences in Patient Preparation
For a resting ECG, there is essentially no preparation. You lie still for about ten seconds while stickers are placed on your chest, arms, and legs. You can eat normally, take your medications, and go about your day immediately afterward. The biggest practical annoyance is that the electrode adhesive may tug at chest hair.
A standard transthoracic echo also requires no special preparation, though you will be asked to lie on your left side for part of the exam to bring the heart closer to the chest wall. The exam can take 30 to 60 minutes and involves pressing the ultrasound probe firmly against your ribs, which can be mildly uncomfortable but is not painful. A TEE, by contrast, involves fasting for several hours, receiving sedation, and having a probe passed into your esophagus, which is a more significant procedure with a short recovery period.
Stress tests involving either modality require specific preparation: avoiding caffeine for dobutamine or dipyridamole stress, wearing exercise-appropriate clothing for treadmill stress, and sometimes holding certain heart medications that could mask the very changes the test is looking for. Your ordering physician will provide specific instructions depending on which variant is planned.