Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Biomechanics›Pan-Tompkins QRS Detection
Process / pipelineBiomedical signal processing

Pan-Tompkins QRS Detection

Pan-Tompkins QRS Detection Algorithm · Also known as: QRS detection, R-peak detection, Heartbeat detection

The Pan-Tompkins algorithm is a real-time QRS detection method for electrocardiograms (ECGs) that identifies the R-peaks (ventricular depolarization) and QRS complexes from continuous cardiac waveforms. Published by Jiapu Pan and Willis Tompkins in 1985, it remains a standard reference for ECG processing and is widely implemented in clinical monitoring systems.

ScholarGate
  1. Process / pipeline
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Pan-Tompkins QRS Detection
Heart Rate VariabilityPhotoplethysmographyWindkessel ModelEMG Envelope

When to use it

Use Pan-Tompkins when you need robust, real-time QRS detection from ECG signals in clinical or research settings. It is effective on standard 12-lead or single-lead ECGs, especially in controlled environments with moderate noise. Assumptions include ECG lead quality, sampling rate sufficient for QRS resolution (>200 Hz), and relatively regular rhythms. For heavily arrhythmic signals or with severe baseline wander, adaptive variants may be necessary.

Strengths & limitations

Strengths
  • Computationally efficient for real-time implementation
  • Robust to baseline drift and noise within the typical ECG frequency range
  • Does not require training data; uses statistical adaptation
  • High sensitivity (>99%) and specificity on standard ECGs
Limitations
  • Performance degrades with severe ectopic beats or arrhythmias
  • Sensitive to high-frequency noise (e.g., muscle artifact) if not properly filtered
  • May double-detect T-waves or other high-amplitude features with high heart rates
  • Bandpass filter parameters are fixed; poor generalization across highly variable signal morphologies

Frequently asked

What is the difference between QRS detection and ECG interpretation?

QRS detection identifies the timing of ventricular depolarization (R-peaks); ECG interpretation assigns diagnoses (MI, arrhythmia, etc.) based on waveform morphology and timing. Detection is a prerequisite for interpretation.

Can the Pan-Tompkins algorithm handle atrial fibrillation?

It can identify R-peaks in atrial fibrillation, but irregular RR intervals and baseline variations may reduce sensitivity. Adaptive thresholds help; specialized arrhythmia detection may be needed for diagnosis.

What sampling rate is needed for accurate QRS detection?

At least 200 Hz is recommended for proper resolution of the QRS complex (which typically lasts 80–120 ms). Higher rates (250–1000 Hz) provide better noise rejection and morphology detail.

Sources

  1. Pan, J., & Tompkins, W. J. (1985). A real-time QRS detection algorithm. IEEE Transactions on Biomedical Engineering, BME-32(3), 230-236. DOI: 10.1109/TBME.1985.325532 ↗
  2. Clifford, G. D., Azuaje, F., & McSharry, P. E. (2006). ECG statistics, noise, artifacts, and missing data. Advanced Methods and Tools for ECG Data Analysis, 1, 1-41. link ↗

How to cite this page

ScholarGate. (2026, June 3). Pan-Tompkins QRS Detection Algorithm. ScholarGate. https://scholargate.app/en/biomechanics/pan-tompkins-qrs-detection

Related methods

Heart Rate VariabilityPhotoplethysmographyWindkessel Model

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Heart Rate VariabilityBiomechanics↔ compare
  • PhotoplethysmographyBiomechanics↔ compare
  • Windkessel ModelBiomechanics↔ compare
Compare side by side →

Referenced by

EMG EnvelopeHeart Rate VariabilityPhotoplethysmography

Similar methods

Heart Rate VariabilityHeart Rate RecoverySample EntropyKalman Filter for Signal TrackingRecurrence Quantification AnalysisBeat TrackingPhotoplethysmographyDiscrete Wavelet Transform

Related reference concepts

ElectrocardiographyElectrocardiographyCardiac Monitoring and Dysrhythmia RecognitionElectrocardiography InterpretationVentricular Arrhythmias (VT, VF, PVCs)Cardiac Conduction System

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Pan-Tompkins QRS Detection (Pan-Tompkins QRS Detection Algorithm). Retrieved 2026-07-21 from https://scholargate.app/en/biomechanics/pan-tompkins-qrs-detection · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Jiapu Pan
Subfamily
Biomedical signal processing
Year
1985
Type
Digital signal processing pipeline
Related methods
Heart Rate VariabilityPhotoplethysmographyWindkessel Model
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account