An interactive explainer

The Human Heart

Your heart is a four-chambered, electrically self-driving pump that beats about three billion times in a lifetime. We'll build it up one piece at a time — starting with no heart at all.

As we go, parts will be color-coded so you don't have to remember names: deoxygenated blood, oxygenated blood, heart muscle, valves, and the electrical signal. Each section ends with a problem the next one solves.

~ 28 min read 9 sections, 10 demos scroll to begin
01

Why have a heart at all?

Every cell in your body needs oxygen to make energy, and every cell produces carbon dioxide as waste. For a single-celled creature in pond water, this is a non-problem: gases and nutrients drift in and out by diffusion, the random jostling of molecules. No pump required.

Diffusion is wonderfully effective — but only over very short distances. To see the limit, watch what happens as we make a simple, spherical creature larger. The slider sets its radius. The shading shows the local oxygen level: white means well-supplied, dark means starving.

Radius 40 µm
center O₂100%
supplysurface ∝ r²
demandvolume ∝ r³
Surface area grows as , but volume grows as . Demand catches up to supply, and the center suffocates.

That r² versus r³ mismatch is why no animal larger than about a millimeter can live on diffusion alone. Beyond that size, oxygen has to be carried — pushed in bulk through dedicated pipes that reach every corner of the body. The pipes are the blood vessels. The pusher is the heart.

Once we commit to bulk flow, a different question takes over: how fast must blood circulate? In humans, a red blood cell makes a complete trip — heart → lungs → heart → body → heart — about once a minute at rest. The same trip by diffusion alone, end to end, would take years.

The very first heart: a squeezing tube

The simplest pump in nature is a tube whose walls squeeze in sequence — a wave traveling along its length, the same trick your gut uses to move food. Each squeeze nudges the contents forward. This is roughly how the embryonic human heart starts out, before it folds and chambers form.

Speed 1.0×
A peristaltic tube. Crude, but it moves fluid. We can do better.

This works, but pushing in a continuous wave is inefficient and slow. To move a lot of blood quickly, we want one big squeeze, not a slow ripple. That means concentrating the muscle into a single sac — a chamber.

02

One chamber, and the backflow problem

Replace the squeezing tube with a single muscular bag, and we have the world's simplest heart. The muscle contracts; the chamber's volume drops; the fluid inside has to go somewhere.

But "somewhere" is the issue. Without any other machinery, the squeeze pushes fluid out both ends equally — half forward, half backward. When the chamber relaxes, fluid is sucked back in from both directions. Net flow: zero. You can see this play out below — toggle the valves off and watch nothing useful happen.

Rate 60 bpm
With valves, the squeeze becomes a one-way pump. Without them, blood just sloshes.

A valve is a flap that opens easily in one direction and slams shut in the other. With an inlet valve at one end and an outlet valve at the other, the chamber can only do two things: fill from the inlet (when relaxed) and eject through the outlet (when contracted). Backflow is mechanically impossible.

The four heart valves all work this way — they are passive, pressure-driven flaps. None has its own muscle. They open when the pressure on one side beats the pressure on the other, and they snap shut when it reverses. Their snapping is what you hear through a stethoscope.

So our pump now moves fluid one way. But it has a new problem: when the muscle relaxes, the chamber refills against whatever pressure is left in the inlet pipe — which isn't much. Filling is sluggish, and the pump can never empty itself completely. We need a way to push the next batch of blood in.

03

Two chambers — a primer for the pump

The fix is to add a second, smaller chamber upstream of the first. Its only job is to hold incoming blood and give it a gentle shove into the main chamber, just before the main chamber contracts. Think of it as priming a pump.

The small upstream chamber is called an atrium ("entry hall"). The large downstream chamber that does the real work is the ventricle ("little belly"). Together, they form the basic two-chamber heart of a fish.

Phase filling
The atrium contracts first and tops up the ventricle. The ventricle then contracts and ejects.

The two chambers don't squeeze at the same time — the atrium leads by a fraction of a second. This timing is set by an electrical signal we'll meet in section 06. The result is that the ventricle starts each contraction completely full and ejects most of its contents in a single forceful beat.

This two-chamber arrangement is enough for fish. Their blood leaves the ventricle, goes through the gills to pick up oxygen, then continues directly out to the body. One heart, one loop. It works — but with a catch.

04

Two circuits, two pumps

The problem with the fish design is pressure. Pushing blood through the gills costs a lot of pressure — capillaries are narrow and offer huge resistance. By the time the blood comes out the other side of the gills, most of the heart's push is already spent. The blood then drifts sluggishly through the rest of the body.

For an active warm-blooded animal, sluggish won't do. The body's tissues need oxygen delivered under high pressure so it reaches every capillary, even at the toes. The solution is to use two pumps in series — one to push blood to the lungs, another to push it to the body.

In the mammalian plan, the two loops are in series: every drop of blood alternates between lungs and body, and gets re-pressurized between them.

This is the great trick of the mammalian heart: it is two pumps fused into one organ. The right side handles deoxygenated blood coming back from the body and pushes it to the lungs. The left side handles oxygenated blood coming back from the lungs and pushes it to the body.

Crucially, the two sides must not mix. If the wall between them had a hole, freshly oxygenated blood from the lungs would dilute with stale blood from the body, and tissues would suffer. Babies born with a hole between the chambers (a "septal defect") often need surgery for exactly this reason.

So we now need four chambers: an atrium and a ventricle on each side. Time to name the parts.

05

The four-chamber heart

Here is the human heart, simplified. Hover or tap any part to highlight it. The blue path on the right side is deoxygenated blood returning from the body and going out to the lungs; the red path on the left side is oxygenated blood returning from the lungs and going out to the body.

Hover a part → click parts to learn more
Note: medical drawings show the heart as if you're facing the patient — so the "right" side is on your left as you look at it.

Trace one drop of deoxygenated blood: it returns from the body through two big veins (the superior and inferior vena cava) into the right atrium. The atrium tops up the right ventricle through the tricuspid valve. The right ventricle contracts and ejects through the pulmonary valve into the pulmonary artery, which carries the blood to the lungs.

In the lungs, the blood drops off CO₂ and picks up O₂. It returns — now oxygenated — through the pulmonary veins into the left atrium. The left atrium tops up the left ventricle through the mitral valve. The left ventricle contracts and ejects through the aortic valve into the aorta, the body's largest artery, and out to every tissue.

Why is the left ventricle so much thicker? The right ventricle only has to push blood across the lungs — a few inches away, low resistance. The left has to push blood to your fingertips and toes — under enough pressure that arteries downstream still pulse. The left ventricle's wall is roughly three times thicker than the right's, and produces about five times the pressure.

Inside each ventricle, fine cords called chordae tendineae tether the leaflets of the AV valves (mitral and tricuspid) to papillary muscles in the ventricle wall. They act like the rigging of a sail: when the ventricle contracts, they hold the valve flaps so they can't blow inside-out into the atrium. Without them, every powerful beat would pop the valve back the wrong way.

Now we have all the plumbing. But none of this moves on its own — something has to tell the muscle when to squeeze, and in what order.

06

The electrical pacemaker

Heart muscle is unlike any other muscle in your body: it generates its own rhythmic electrical impulses. A heart removed from the chest will keep beating, briefly, in a dish. The skeletal muscle in your arm will not.

The conductor of the orchestra is a small patch of specialized cells in the wall of the right atrium, called the sinoatrial (SA) node. It fires roughly 60–100 times per minute, all on its own. Each firing sends a wave of electrical excitation outward through the atrial muscle. As the wave passes, muscle cells contract.

Scrub SA fires
Watch the signal fire from the SA node, sweep across the atria, pause briefly at the AV node, then race down the bundle and Purkinje fibers.

Between the atria and ventricles is a layer of insulating tissue: the wave of excitation can't simply jump across. It has to pass through a single deliberate gateway — the atrioventricular (AV) node, sitting at the floor of the right atrium.

The AV node is unusually slow. It deliberately delays the signal by about 0.1 seconds. This pause is critical: it gives the atria time to finish contracting and topping up the ventricles before the ventricles themselves contract. Without this delay, ventricles would start squeezing while the atria were still trying to push blood in.

From the AV node, the signal enters a high-speed expressway: the bundle of His, which splits into left and right bundle branches, which fan out into the Purkinje fibers. These fibers conduct so quickly that the entire ventricular muscle gets excited within about 0.06 seconds. The result is a near-simultaneous, coordinated squeeze — not a slow ripple, but a single powerful contraction.

This whole choreography produces one heartbeat. Let's now see it from end to end.

07

One full heartbeat

A single heartbeat takes about 0.8 seconds at rest. In that brief window, all four chambers fill, the atria top up the ventricles, the ventricles eject under pressure, and everything resets. The slider below scrubs through one beat. Watch every panel at once.

Time Diastole
Top: heart cross-section. Middle: pressure in the left ventricle, aorta, and left atrium. Bottom: ECG, with markers for the heart sounds S1 ("lub") and S2 ("dub").

What you're hearing through a stethoscope

The "lub-dub" of a heartbeat is not the muscle squeezing — it is the valves snapping shut. S1 ("lub") is the mitral and tricuspid valves slamming closed at the start of ventricular contraction. S2 ("dub") is the aortic and pulmonary valves snapping shut as the ventricles relax and pressure inside falls below the arteries. Two slams per beat, every beat, your whole life.

What an ECG actually shows

An electrocardiogram is not a recording of muscle motion — it is the electrical wave of section 06, picked up at the skin. Each heartbeat produces three bumps:

The QRS is bigger than the P because the ventricles are bigger and more synchronized than the atria. Notice in the demo above how each wave precedes its mechanical event by a moment: electricity always leads, contraction follows.

08

Heart under load

At rest, your heart pumps roughly 5 liters per minute — close to your entire blood volume, recirculated every minute. This number is the cardiac output, and it's the product of two things:

Cardiac Output = Heart Rate × Stroke Volume

Heart rate is beats per minute. Stroke volume is how much blood the left ventricle ejects each beat — about 70 mL at rest. Multiply: 70 bpm × 70 mL ≈ 4.9 L/min.

When you start running, your tissues demand much more oxygen, so the heart has to deliver much more blood. It does this by raising both numbers at once.

Heart rate 70 bpm
Stroke vol. 70 mL
Heart rate
70bpm
Stroke volume
70mL
Cardiac output
4.9L/min
During hard exercise, a trained athlete's cardiac output can rise to 25–35 L/min — five to seven times resting flow. HR maxes out around 220 minus age; SV plateaus earlier.

Frank–Starling: the heart's autoregulation

There's a beautiful built-in mechanism that helps stroke volume rise on its own when needed. The heart muscle contracts harder when it's stretched more — the Frank–Starling law. So when more blood returns from the body (say, because your leg muscles are squeezing veins as you run), the ventricle fills more, stretches more, and ejects more. Output rises automatically before any nerve has to ask.

Combine that with the nervous system raising heart rate, the lungs ventilating harder, and capillaries opening wider in active muscle, and your circulation can deliver many times its resting flow within seconds of starting to move.

The lifetime view

An average heart beats about 100,000 times a day, 35 million times a year, and roughly 3 billion times across an 80-year life — pumping nearly 200 million liters of blood without ever taking a break longer than the fraction of a second between beats. It is the only muscle in your body that gets no rest day, and yet it is also the most reliable.

If you've made it this far, you now know — at least in principle — how every drop of blood in your body got where it is, why you can hear two distinct sounds when you listen, what your pulse actually is, and why the left side of your chest is the one that hurts when you run too hard. There's one more layer worth a look, though — the constant fine-tuning that happens between beats.

09

Heart rate variability

Back in section 06 we said the SA node fires roughly 60–100 times a minute. What we glossed over is that it almost never fires regularly. If you put a stopwatch on every beat-to-beat interval, you'd find each one differs from the last — sometimes by tens of milliseconds.

This jitter is called heart rate variability, or HRV. Far from being noise, it's a window into how your nervous system is regulating you in this moment.

Two hands on the SA node

The SA node has its own intrinsic rhythm of about 100 beats per minute. But it almost never gets to express that — two branches of your autonomic nervous system are constantly tugging on it:

At rest, the parasympathetic dominates. Your heart rate is lower than its intrinsic 100, and the SA node is being constantly nudged by every breath, every change in blood pressure, every micro-decision your brain makes. That nudging shows up as variability.

The demo below synthesizes a live ECG. Drag the slider to shift your autonomic balance from rested to stressed, and toggle breathing on or off. Watch the trace, the tachogram of the last twenty R-R intervals, and the RMSSD readout — the same number your watch shows you.

ANS state rested
Heart rate
bpm
RMSSD
ms
SDNN
ms
Top: live ECG, scrolling right-to-left. Middle: tachogram — each dot is one R-R interval, in milliseconds. Vertical scatter is HRV.

Respiratory sinus arrhythmia

When you inhale, your heart rate rises slightly. When you exhale, it falls. This effect is respiratory sinus arrhythmia, and it's one of the strongest contributors to HRV at rest. It's not a quirk of the wiring — it's the parasympathetic system briefly relaxing during inhalation and re-engaging during exhalation. Toggle "breathing off" in the demo above and watch the tachogram flatten into noise: the slow rolling pattern is gone.

This is also why slow, deep breathing — about six breaths per minute — is the most reliable way to push your HRV up on demand. You're driving the parasympathetic system at its resonant frequency.

Why HRV matters

A higher resting HRV is generally a sign of a healthy, responsive parasympathetic system, good recovery, and good cardiovascular fitness — endurance training raises resting HRV. A lower HRV is associated with acute stress, illness, dehydration, sleep deprivation, alcohol, aging, and overtraining. Persistently very low HRV is a clinical warning sign.

This is what your watch is showing you. The "HRV" number on a Garmin, Whoop, or Apple Watch is almost always RMSSD — the root-mean-square of successive differences between R-R intervals — measured overnight when the parasympathetic system is freest. Healthy adults typically see overnight RMSSD in the 20–80 ms range. The number drifts up with fitness and recovery, and down with stress and fatigue.

Heart rate tells you how fast you're running. HRV tells you how well your nervous system is balancing the run.

And that's the whole picture. From a millimeter-sized blob that can't outgrow diffusion, to four chambers, to two valves snapping per beat, to a node that ticks 100,000 times a day while a pair of nerves whisper at it — you, right now, are all of that, working without you having to think about it. Probably best not to think about it too hard.