ECG Heart Rate Calculator

ECG heart rate calculator

Convert the spacing between consecutive R waves into beats per minute, or work backward from BPM to the expected R-R interval.

Paper speed 25 mm/s Box type Big (5 mm) Driving value R-R interval (mm)

Excel export is ready for the demonstration values.

ECG measurements

Edit the millimeter interval, box count, or BPM. The most recently edited measurement becomes the calculation basis and the other two update automatically.

Horizontal distance between two consecutive R-wave peaks.

Choose the grid size you counted on the ECG paper.

Count boxes between the same two R-wave peaks.

Use the speed printed on the ECG; 25 mm/s is standard in many recordings.

Edit this field to reverse-calculate the expected R-R spacing.

Accepted numbers use a period as the decimal separator. Grouping commas are allowed only in standard thousands positions. Scientific notation and decimal-comma input are rejected instead of being reinterpreted.

Live result

Heart rate

75.0 bpm

A single R-R interval estimates rate only when the rhythm is sufficiently regular.

R-R duration

0.800 s

Small boxes

20.00

Big boxes

4.00

60 × 25 mm/s ÷ 20 mm = 75 bpm

Heart rate 75.0 beats per minute from an R-R interval of 20 millimeters at 25 millimeters per second.

Clinical context matters. This tool performs a spacing-to-rate conversion; it does not diagnose an arrhythmia or determine whether a heart rate is safe for a particular person.

How to use this ECG heart rate calculator

What this calculator does

This calculator converts the horizontal R-R spacing on an electrocardiogram into heart rate in beats per minute. It also performs the reverse calculation: if you enter a BPM value, it estimates the R-R interval that would correspond to that rate at the selected paper speed. The underlying relationship is a time conversion, not a diagnosis. The NCBI overview of electrocardiography explains that standard ECG paper commonly runs at 25 mm/s, where a small 1 mm square represents 0.04 seconds and a large 5 mm square represents 0.20 seconds.

When to use it

Use it when you are checking a regular ECG strip by ruler, when you counted grid boxes instead of measuring millimeters, when you need to verify the familiar 300 or 1500 box rules, or when you want to work backward from a known rate to the R-R spacing you would expect to see. If consecutive R-R intervals vary substantially, a single interval is not representative; a timed-strip method and professional rhythm interpretation are more appropriate.

How to calculate

  1. The calculator opens with a complete demonstration: 20 mm between R waves, big boxes selected, 25 mm/s paper speed, and a calculated rate of 75 bpm. The Excel download is already available for this example.
  2. Replace the value in R-R interval (mm), R-R interval (boxes), or Beats per minute (BPM). Whichever of those three fields you edit most recently becomes the driving measurement.
  3. Set Type of box to small 1 mm or big 5 mm, and set Paper speed to the value printed on the ECG, usually 25 or sometimes 50 mm/s. The linked measurements and result update live.
  4. Read Heart rate, R-R duration, Small boxes, Big boxes, and the calculation line. Use Download Excel to save the current typed values and derived results as a real XLSX workbook.
  5. Reset clears the demonstration and all data measurements. After Reset, Download Excel is disabled until you enter a complete positive measurement again.

Input guide

R-R interval (mm) is a required driving value when you choose to measure with a ruler. Enter a positive decimal number in millimeters, for example 20. A larger interval produces a lower calculated BPM at the same paper speed. Do not enter seconds in this field. Type of box is a required selection: small means 1 mm and big means 5 mm. It changes how the box count is converted to distance, so choosing the wrong grid size changes the result by a factor of five. R-R interval (boxes) is a required driving value when you work from grid squares; 4 big boxes is a realistic example and corresponds to 20 mm. Fractional box counts are allowed. Paper speed is required and offers 25 or 50 mm/s; do not assume 25 mm/s if the strip is explicitly marked 50 mm/s. Beats per minute (BPM) is a positive numeric field that can be edited for reverse calculation; 75 bpm is the startup example. Each numeric field accepts ordinary decimal notation with a period and uses a high software safety ceiling rather than imposing a clinical “normal” range.

Output guide

Heart rate is the estimated beat frequency in bpm from the current R-R spacing and paper speed. R-R duration is the time between the two R peaks in seconds. Small boxes and Big boxes show the same horizontal interval expressed in 1 mm and 5 mm grid units. The top summary pills repeat Paper speed, Box type, and the current Driving value so you can see which measurement controls the linked calculation. The calculation line displays the active numerical relationship. These values are mathematical conversions; a low, high, or boundary rate is not by itself a clinical interpretation.

Worked example

With the startup values, the R-R interval is 20 mm and paper speed is 25 mm/s. The interval duration is 20 ÷ 25 = 0.8 seconds. Heart rate is therefore 60 ÷ 0.8 = 75 bpm. Because a big box is 5 mm, 20 mm is exactly 4 big boxes; because a small box is 1 mm, it is 20 small boxes. This is the same result as the quick rules 300 ÷ 4 = 75 and 1500 ÷ 20 = 75 at 25 mm/s.

Why paper speed and rhythm regularity matter

ECG paper translates horizontal distance into time, so the paper-speed setting is part of the formula. At 25 mm/s, one large 5 mm box spans 0.20 seconds and one small 1 mm box spans 0.04 seconds. At 50 mm/s, the same physical distance represents half as much time, so the calculated BPM is twice as high for the same measured R-R distance. A peer-reviewed review indexed by PubMed on ECG interpretation fundamentals describes the standard grid and interval approach used for rate calculation.

The single-interval method is best understood as an estimate of the instantaneous cycle length. If the rhythm is irregular, one R-R interval can be unusually short or long and may not represent the average rate. The American Heart Association ECG overview notes that an ECG provides information about both how fast the heart beats and whether the rhythm is steady or irregular. That distinction is why rate calculation should be kept separate from rhythm diagnosis.

Formula in practical terms

First convert distance to time: R-R duration in seconds equals R-R distance in millimeters divided by paper speed in millimeters per second. Then convert cycle time to frequency: BPM equals 60 divided by the R-R duration. Combining the two steps gives BPM = 60 × paper speed ÷ R-R distance. At 25 mm/s this becomes 1500 divided by the number of small boxes or 300 divided by the number of big boxes. At 50 mm/s the corresponding constants double to 3000 and 600.

For education and calculation support only. ECG interpretation, symptoms, medications, age, activity level, and rhythm pattern can all change the clinical meaning of a measured rate. Seek qualified medical evaluation for symptoms or abnormal ECG findings.