📘 CodingMarble Learn

Biological Measurement: the ECG

An electrocardiogram (ECG) records the tiny voltages made by heart muscle as it depolarises and repolarises. Electrodes on the skin, with conducting gel, pick up about 1 mV. A high-input-resistance amplifier makes the signal bigger (about 1000 times) and it is shown against time. A normal beat has a P wave (atria depolarise), a QRS complex (ventricles depolarise, atria repolarise) and a T wave (ventricles repolarise). The time between two R peaks is one beat; heart rate (beats per minute) = 60 ÷ R–R time in seconds.

🎬 Step-by-step story

  1. Before each beat, an electric wave spreads through the heart from the SA node.
  2. Skin electrodes pick up about 1 mV. An amplifier makes it bigger.
  3. The small P wave: the top chambers (atria) start the beat.
  4. The tall QRS spike: the big bottom chambers (ventricles) fire.
  5. The T wave: the ventricles recover. R to R is one whole beat.
  6. Your turn: change the heart rate and watch the gaps change.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Does the ECG measure the heart's pumping?

No. It measures electrical activity. Muscle contraction follows the electrical wave, but the ECG shows voltage, not blood flow.

Why use gel if the electrode is metal?

Dry skin and air gaps have high resistance. Gel fills the gaps and lowers contact resistance so the signal is not lost.

Where is the atria's recovery on the trace?

It happens during the QRS complex and is hidden by it.

Why measure R to R, not P to P?

The R peak is the tallest, sharpest point, so it is the easiest to time exactly. Both give the same beat time in a regular rhythm.

What changes when the heart beats faster?

The R–R gap gets shorter; the waves move closer together.

Where the signal comes from

Heart muscle cells have a potential difference across their membrane: about −90 mV inside compared with outside (the resting potential). When a cell is triggered, ions flow and the inside quickly becomes positive (about +20 mV). This is depolarisation. Then the cell returns to its resting value: repolarisation. The full rise and fall is an action potential.

Each beat starts at the SA node (the heart's natural pacemaker) in the right atrium. The wave of depolarisation spreads over the atria, pauses at the AV node, then races down to the ventricles. So many cells change together that small currents flow through the body, and a voltage of about 1 mV appears between points on the skin.

A simple ECG machine

The patient should lie still and relaxed: other muscles also make voltages that add noise to the trace.

The normal ECG waveform

The R–R interval is the time for one beat. Heart rate (beats per minute) = 60 ÷ R–R (s). At rest an adult is about 60–100 beats per minute (R–R about 0.6–1.0 s). Doctors read the heights, shapes and gaps to spot problems such as a blocked artery or an irregular rhythm.

Try it: find your own heart rate

Put two fingers on your wrist and count beats for 15 s. Multiply by 4. Now work out your R–R time: 60 ÷ your rate. Jog on the spot for 1 minute and repeat. In the 3D free-play step, set the slider to both rates and watch the R peaks squeeze closer together.

Key formulas and definitions

Worked examples

1. The R–R interval is 0.80 s. Find the heart rate.

Rate = 60 ÷ 0.80 = 75 beats per minute.

2. A heart beats at 120 per minute. Find the R–R interval.

R–R = 60 ÷ 120 = 0.50 s.

3. On ECG paper running at 25 mm s⁻¹, two R peaks are 20 mm apart. Find the heart rate.

Time = 20 ÷ 25 = 0.80 s. Rate = 60 ÷ 0.80 = 75 per minute.

4. An ECG signal of 1.2 mV is amplified to 1.8 V. Find the gain.

Gain = 1.8 ÷ (1.2 × 10⁻³) = 1500.

5. Skin contact resistance is 20 kΩ. Why must the amplifier input resistance be about 10 MΩ, not 10 kΩ?

Skin and amplifier act as a potential divider. With 10 kΩ input only 10/(10 + 20) = one third of the signal reaches the amplifier. With 10 MΩ, 10 000/10 020 ≈ 99.8% reaches it.

6. In a trace, P waves appear regularly but are not always followed by a QRS complex. What does this suggest?

The atria are being triggered, but the signal is not always passing from the atria to the ventricles (a conduction block at the AV node). The ventricles miss beats.

Common mistakes

Practice quiz

1. The QRS complex shows:
2. The voltage picked up at the skin is about:
3. R–R = 0.75 s. Heart rate =
4. Why is gel used under electrodes?
5. The beat starts at the:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What does a normal ECG show?

A repeating pattern: P wave (atria), QRS complex (ventricles depolarise) and T wave (ventricles recover), at about 60–100 beats per minute at rest.

How do you calculate heart rate from an ECG?

Find the time between two R peaks and divide 60 by it. For example, 0.8 s gives 75 beats per minute.

Is an ECG test safe?

Yes. The machine only measures the body's own tiny voltages; no current is sent into the body.

Where this is taught

England (GCSE, A level)Year 133.10 Medical physics

Learn first

Learn next

Related lessons

All Physics lessons