RMSSD RMSSD Root mean square of successive differences: an HRV metric built from how much each heartbeat interval differs from the next, in milliseconds. It mainly reflects vagal activity. More about RMSSD measures how much each gap between heartbeats differs from the one before it. SDNN SDNN The standard deviation of all NN intervals in a recording, in milliseconds. It measures overall variability, and its value depends strongly on how long the recording lasts. More about SDNN measures how spread out all the gaps are around their average. lnRMSSD lnRMSSD The natural logarithm of RMSSD, with no unit. Taking the log evens out the spread of RMSSD values, which makes day-to-day changes easier to compare and analyse. More about lnRMSSD is the natural log of RMSSD, which sports scientists use to follow trends. All three come from the same list of heartbeats, but they answer different questions, so you cannot swap one for another.
In lesson 5 you worked out an HRV number by hand from a short list of gaps. This lesson names the three numbers you are most likely to meet in an app or a paper, and shows what each one is good for.
Three numbers from one list of heartbeats
| Metric | What it measures | Mostly reflects | Changes with recording length? | Where you see it |
|---|---|---|---|---|
| RMSSD | How much each gap differs from the one before | Fast, breathing-linked changes driven by the vagus nerve Vagus nerve The main nerve of the parasympathetic nervous system, running from the brainstem to the heart, lungs and gut. Its fast signals to the heart drive most beat-to-beat HRV. More about Vagus nerve | A little | Most rings and bands (see lesson 8); research |
| SDNN | How spread out all the gaps are | Breathing-linked changes in short recordings; slow swings as well in long ones | A lot | Apple Watch; 24-hour medical recordings |
| lnRMSSD | The natural log of RMSSD | The same as RMSSD, on a log scale | A little | Sports science research |
A fourth number, pNN50 pNN50 The percentage of neighbouring NN intervals that differ by more than 50 milliseconds. It tracks fast, vagally driven changes, like RMSSD, but as a share rather than a size. More about pNN50 , also turns up in research. It is the share of neighbouring gaps that differ by more than 50 ms, and like RMSSD it is closely linked with vagal activity Vagal tone The ongoing influence of the vagus nerve on the heart, which slows it down. It is usually estimated from HRV measures such as RMSSD and HF power. More about Vagal tone (Task Force, 1996; Shaffer and Ginsberg, 2017).
RMSSD: change from beat to beat
RMSSD stands for “root mean square of successive differences”. To get it, take the difference between each gap and the next, square those differences, average them, and take the square root. This is the definition in the international standards for HRV (Task Force, 1996).
Step through it below with ten heartbeats from this course’s teaching recording. Each step adds one part of the sum, and you can change any beat to see every step update.
RMSSD step by step
Ten beats, every number shown
RMSSD of these 10 intervals is 26.9 ms.
Step 5 of 5
Step 1 of 5 Start with the intervals
Beat 1 880 ms Beat 2 826 ms Beat 3 812 ms Beat 4 823 ms Beat 5 848 ms Beat 6 877 ms Beat 7 880 ms Beat 8 866 ms Beat 9 828 ms Beat 10 815 ms 10 intervals between 11 beats, in milliseconds.
Step 2 of 5 Subtract each interval from the next
Beat 2 − beat 1 −54 ms Beat 3 − beat 2 −14 ms Beat 4 − beat 3 +11 ms Beat 5 − beat 4 +25 ms Beat 6 − beat 5 +29 ms Beat 7 − beat 6 +3 ms Beat 8 − beat 7 −14 ms Beat 9 − beat 8 −38 ms Beat 10 − beat 9 −13 ms Plus means the heart slowed down for a beat; minus means it sped up.
Step 3 of 5 Square each difference
Difference 1 2916 Difference 2 196 Difference 3 121 Difference 4 625 Difference 5 841 Difference 6 9 Difference 7 196 Difference 8 1444 Difference 9 169 Sum 6517 Squaring makes every value positive and gives big changes more weight.
Step 4 of 5 Average the squares
6517 ÷ 9 724.11 Step 5 of 5 Take the square root
√724.11 26.9 ms RMSSD 26.9 ms
With JavaScript on, the steps show one at a time and the beats can be changed.
A row of ten editable heartbeat intervals in milliseconds, then the calculation of RMSSD as numbered steps: start with the intervals; subtract each interval from the next; square each difference; average the squares; take the square root. The final step reads RMSSD 26.9 ms. Back and Next buttons move between the steps.
Because it only compares neighbours, RMSSD picks up quick changes. The biggest of these is the speeding up and slowing down of your heart as you breathe in and out. You met this in lesson 3. It is driven by the vagus nerve, the main “ rest and digest Parasympathetic nervous system The "rest and digest" branch of the autonomic nervous system. It slows the heart, mainly through the vagus nerve, and drives most of the beat-to-beat variation in HRV. More about Parasympathetic nervous system ” nerve to the heart. That is why RMSSD is the main time-based measure researchers use to estimate vagal activity (Shaffer and Ginsberg, 2017).
RMSSD also holds up well in short recordings. In a study of 3,387 adults measured lying down, even a single 10-second stretch gave a valid RMSSD compared with a 4- to 5-minute recording. SDNN needed more: the authors recommend at least 30 seconds, or several 10-second stretches averaged. RMSSD matched the longer recording better than SDNN at every length tested (Munoz and colleagues, 2015). Most of the rings and bands you will meet in lesson 8 report RMSSD.
SDNN: the total spread
SDNN is the standard deviation of the normal-to-normal gaps (the “NN” means gaps between ordinary heartbeats, with extra or missed beats removed) (Task Force, 1996). It tells you how far, on average, each gap sits from the overall average gap.
Work it out below on the same ten beats. Then make beat 1 much longer: one gap far from the average adds a large squared deviation, and SDNN jumps.
SDNN step by step
Ten beats, every number shown
SDNN of these 10 intervals is 28.0 ms.
Step 6 of 6
Step 1 of 6 Start with the intervals
Beat 1 880 ms Beat 2 826 ms Beat 3 812 ms Beat 4 823 ms Beat 5 848 ms Beat 6 877 ms Beat 7 880 ms Beat 8 866 ms Beat 9 828 ms Beat 10 815 ms 10 intervals between 11 beats, in milliseconds.
Step 2 of 6 Find the mean interval
Sum of the intervals 8455 ms Number of intervals 10 Mean 8455 ÷ 10 = 845.5 ms Step 3 of 6 Subtract the mean from each interval
Beat 1 880 − 845.5 = 34.5 Beat 2 826 − 845.5 = −19.5 Beat 3 812 − 845.5 = −33.5 Beat 4 823 − 845.5 = −22.5 Beat 5 848 − 845.5 = 2.5 Beat 6 877 − 845.5 = 31.5 Beat 7 880 − 845.5 = 34.5 Beat 8 866 − 845.5 = 20.5 Beat 9 828 − 845.5 = −17.5 Beat 10 815 − 845.5 = −30.5 Step 4 of 6 Square each deviation
Beat 1 1190.25 Beat 2 380.25 Beat 3 1122.25 Beat 4 506.25 Beat 5 6.25 Beat 6 992.25 Beat 7 1190.25 Beat 8 420.25 Beat 9 306.25 Beat 10 930.25 Sum 7044.50 Step 5 of 6 Divide by one less than the number of intervals
7044.50 ÷ 9 782.72 Dividing by N − 1 rather than N is the sample standard deviation, the usual choice.
Step 6 of 6 Take the square root
√782.72 28.0 ms SDNN 28.0 ms
With JavaScript on, the steps show one at a time and the beats can be changed.
A row of ten editable heartbeat intervals in milliseconds, then the calculation of SDNN as numbered steps: start with the intervals; find the mean interval; subtract the mean from each interval; square each deviation; divide by one less than the number of intervals; take the square root. The final step reads SDNN 28.0 ms. Back and Next buttons move between the steps.
The difference shows up over time. In a short resting recording, a large share of SDNN comes from the same breathing rhythm that drives RMSSD. Over longer recordings, SDNN also counts slower swings, such as changes in activity and the shift between day and night (Shaffer and Ginsberg, 2017). The longer you record, the more slow swings you catch, so SDNN keeps growing. The international standards for HRV call it “inappropriate” to compare SDNN values from recordings of different lengths (Task Force, 1996). A 24-hour SDNN from a medical Holter monitor and a 5-minute SDNN from a watch are different numbers.
Apple Health stores Apple Watch HRV as SDNN. Its data type is called “heartRateVariabilitySDNN”, the standard deviation of the gaps between normal heartbeats. If you own one, read why Apple Watch HRV is different.
lnRMSSD: why use a log
RMSSD values are skewed. Most readings sit in a middle band, but a few are very high, which stretches the scale. A jump from 80 to 100 ms looks huge next to a change from 20 to 25 ms, yet both are a 25% rise.
Taking the natural log evens this out. On a log scale, equal percentage changes look equal, and averages and other statistics behave as they should. Sports scientists who track athletes day by day log-transform RMSSD because of this skew, and usually follow lnRMSSD as a 7-day rolling average (Plews and colleagues, 2012 and 2013). You will use that idea in lesson 10.
A quick example: an RMSSD of 40 ms gives ln(40) ≈ 3.69. An RMSSD of 50 ms gives ln(50) ≈ 3.91.
Some apps turn lnRMSSD into a score on their own scale. If your app shows a number like 65 with no “ms” after it, check the app’s help pages to see how it is built. Do not compare it with RMSSD tables.
Go deeper The maths behind lnRMSSD
“ln” is the natural logarithm, the log to base e (about 2.718). It turns multiplication into addition: ln(a × b) = ln(a) + ln(b). So a 10% rise in RMSSD always adds about 0.095 to lnRMSSD, whether you start at 20 ms or 80 ms.
To go back from lnRMSSD to RMSSD, raise e to that power: e^3.69 ≈ 40 ms. The HRV checker does this for you if you enter lnRMSSD.
Researchers also log-transform because many common statistical tests assume values spread evenly on both sides of the average. Raw RMSSD has a long tail of high values; its log is much more even.
Which one should you track?
Use the metric your device gives you, and use it consistently. For daily recovery trends, RMSSD or lnRMSSD is the usual choice because it responds to short-term changes and works from short recordings. If your device reports SDNN, track SDNN against itself. Your trend is still meaningful.
What you should never do is mix them. An SDNN of 48 ms and an RMSSD of 48 ms are not the same thing. The HRV checker asks which metric you have and compares it only with reference values for that metric. For the wider picture, see how HRV is measured and HRV on Oura, Whoop, Garmin and Apple Watch.
Go deeper The rest of the time-domain family
The international standards list more time-based measures than the three above (Task Force, 1996). You will meet them in research papers and in analysis software such as Kubios HRV:
- Mean RR, the average gap, and heart rate, which is 60,000 divided by it.
- SDSD, the standard deviation of the beat-to-beat differences. In a resting recording it is almost the same number as RMSSD.
- NN50 and pNN50, the count and share of differences larger than 50 ms, and pNN20, the same with a 20 ms line, which still moves in people whose beats rarely jump 50 ms.
- SDANN and the SDNN index, which split a 24-hour SDNN into the slow drift between 5-minute pieces and the variation inside them.
- The HRV triangular index and TINN, read off the histogram of the gaps, and SD1 and SD2, read off the Poincaré plot Poincaré plot A scatter plot of each heartbeat interval against the one after it, in milliseconds on both axes. The shape of the cloud of dots shows short-term and overall variability at a glance. More about Poincaré plot . SD1 SD1 and SD2 Two measures of the spread of dots in a Poincaré plot, in milliseconds. SD1 is the width and tracks short-term variability, like RMSSD; SD2 is the length and tracks overall variability. More about SD1 and SD2 is RMSSD divided by the square root of 2.
The glossary pages work each one out on this course’s teaching recording, with every step shown.
Frequency measures
Research papers and a few apps also split HRV into rhythms of different speeds, the way a sound can be split into bass and treble. The two you will meet most are HF, the fast rhythm that follows your breathing and is the frequency-domain partner of RMSSD, and LF, a slower rhythm of about one wave every 10 seconds. Apps sometimes show their ratio, LF/HF LF/HF ratio LF power divided by HF power, with no unit. It was proposed as a gauge of balance between the sympathetic and parasympathetic systems, but research shows it cannot measure that reliably. More about LF/HF ratio , as a “balance” score. Treat it with caution: it may estimate the balance between the two branches of the nervous system only under controlled conditions (Shaffer and Ginsberg, 2017), and lesson 3 explained why. You do not need any of these to read your own data. Lesson 18, in the Analyst level, builds a spectrum step by step with an explorer you can drive, and What do LF, HF, VLF and nu mean in my HRV app? decodes a full frequency screen.