Terra

Integration

API
Unified API
SDK
SDK
Authentication
Authentication
Streaming
Streaming
Blood
Blood Report API
Planned Workout
Planned Workout
AI Interface
AI Interface

User engagement

Graph API
Graph API
Scores
Health Scores
Rewards
Health Rewards

Use cases

Enterprise
Enterprise
Insurance
Insurance

Developers

Wearable Data
Wearable Data
Community
Community
Documentation
Documentation

Learn

Blog
Blog
Podcast
Podcast
Events
Events
Reports
Reports

Company

Customers
Customers
Careers
Careers
Partners
Partners
Support
Support
Become an integration
Become an integration
next ventures
pioneer fund
samsung next
y combinator
general catalyst

The world's best health apps run on Terra data

ProductsIntegrations Authentication Mobile Development Documentation GraphAPI
DocumentationAPI SDK Quickstart
CommunityBlog Research Community Podcast Github
CompanyAboutCareersCustomersBecome an IntegrationCookies PolicyGDPRPrivacy PolicyTerms of Purchase
© Terra API. 2025 — All rights reserved.

Cookie Preferences

Essential CookiesAlways On
Advertisement Cookies
Analytics Cookies

Crunch Time: Embrace the Cookie Monster Within!

We use cookies to enhance your browsing experience and analyse our traffic. By clicking “Accept All”, you consent to our use of cookies according to our Cookie Policy. You can change your mind any time by visiting out cookie policy.

< Blogs
Ernest
Ernest

October 19, 2022

Measuring HRV: Optical (PPG) vs ECG/EKG

Wearable devices often detect HRV for health and fitness metrics. Here we compare devices that use PPG vs ECG.

Heart rate variability (HRV) has gained traction in clinical science and more recently in sports/performance as an immensely useful and informative metric that can predict cardiac risk, track sleep, recovery, and stress, and for some as an overall measure of general fitness and health. Wearable devices using PPG and/or ECG each have their advantages which will be discussed here.

PPG or Optical HR Sensor

Photoplethysmography (PPG) is the method of illuminating the skin and the microvascular bed beneath, measuring the reflected light to estimate the change in blood volume. Outside clinical use, it is also often called Optical Heart Rate sensor.

Example of a smartwatch using PPG

PPGs found their way into sports and fitness tracking as it was relatively simple to implement, all that was needed was a miniature LED light and a photodiode to capture the reflected light. These days the majority of smartwatches or wrist wearable devices use PPG sensors, and in comparison to ECG on smartwatches, PPGs do not require the user to hold on to the smartwatch during measurement, allowing them to take part in the activity they wish to continuously track. HRV measurements with PPGs use the peak of the pulse detected to measure inter-beat-intervals IBI.

HRV measurements with PPGs however are not without their drawbacks, they tend to be more prone to motion artifacts, less effective when worn loosely, affected by ambient light, and because of these, they have a tendency to miss individual beats or produce false beats, reducing the accuracy of HRV measurements that rely on accurate counting of the beats and inter-beat-interval (IBI). They are also less capable of discerning abnormal beats which are not included in the Standard Deviation of NN (N here represents normal beats without irregular beats) Intervals SDNN HRV measurements. SDNN HRV is the clinical standard for HRV assessment for cardiac health. They are also much more power intensive than ECGs and in many cases may not be suitable for continuous HRV monitoring beyond a couple of minutes, depending on the device.

Although PPG is less effective at measuring HRV for the same given sampling period than ECG. PPG can be used to monitor a user for more extended periods of time than an ECG smartwatch, it counters its lower accuracy by having a longer sampling time. Many PPG devices will monitor the user over their sleep, as it minimizes motion and ambient light, to produce a general HRV measurement for health and fitness assessment.

As most wearable devices use PPG, at Terra we have plenty of integrations with these devices! and read this to see which wearable samples HRV and how often.

ECG/EKG

Electrocardiogram ECG (sometimes also known as EKG for Electrokardiographe) is perhaps the most widely known form of heartbeat detection and measurement. ECG is the technology most used in the clinical setting for detecting overall heart rate, it is also used to detect atrial fibrillation (AF or Afib), which is the irregular beating of the heart.

ECGs tend to provide a more accurate measurement of HRV, they are not prone to motion artifacts or ambient light, however, it does require continuous electrical contact, which motion can interrupt. Whilst ECG requires very low power to operate and therefore a more suitable continuous monitoring tool, in the scenario of smartwatches, however, as it requires holding on to the watch, continuous monitoring of HRV may not always be viable for smartwatches.

As HRV is calculated using the inter-beat-interval (IBI), i.e. the time between each beat, the sharper more defined peak of the ECG signal, and the lower likelihood of false/missed beats provide a more accurate HRV value than PPG. ECG is the preferred mode of HRV assessment in the clinic, though there is increasing clinical acceptance of PPG[1]. However as most ECG wearables require the user to hold on to the device, the short duration of the measurement is insufficient for useful or reliable HRV assessment.

Terra has experience with ECG devices and here is a handy article discussing ECG wearables

See this article for how HRV specifically is measured and sampled

Conclusion

ECG and PPG both have their advantages and drawbacks for measuring HRV, in fact, many new devices try to implement both sensing options into their devices. No matter which method you use to measure your HRV, Terra will be here to ensure your health and fitness application is integrated with these products!

References

[1]Lu G, Yang F, Taylor JA, Stein JF. A comparison of photoplethysmography and ECG recording to analyse heart rate variability in healthy subjects. J Med Eng Technol. 2009;33(8):634–41. doi: 10.3109/03091900903150998. PMID: 19848857.

Related Articles

A new chapter of period prediction

July 26, 2023

A new chapter of period prediction

A new chapter of period prediction Temperature changes and menstrual cycle tracking As a brief introduction, the menstrual cycle is separated into the follicular phase pr

Luba DziojevaLuba Dziojeva
Comprehensive list of wireless sensors in wearable devices (BLE, BT, ANT+)

January 10, 2023

Comprehensive list of wireless sensors in wearable devices (BLE, BT, ANT+)

Comprehensive list of wireless sensors in wearable devices (BLE, BT, ANT+) Many of our clients have asked for a detailed breakdown of what different wearables providers u

Halvard RamstadHalvard Ramstad
Wireless Communication Technologies Breakdown by Wearable Devices (BLE, BT, ANT+)

January 9, 2023

Wireless Communication Technologies Breakdown by Wearable Devices (BLE, BT, ANT+)

Wireless Communication Technologies Breakdown by Wearable Devices (BLE, BT, ANT+) Many of our clients have asked for a detailed breakdown of what different wearables prov

Halvard RamstadHalvard Ramstad

More Topics

All Blogs
Team Spotlight
Startup Spotlight
How To
Blog
Podcast
Product Updates
Wearables
See All >
Head of Samsung Next: David Lee

Head of Samsung Next: David Lee

David Lee shares insights from his 30-year journey in healthcare and tech, revealing how his battle with stage four lymphoma shaped his career.

Kyriakos EleftheriouKyriakos Eleftheriou
May 1, 2026
HYROX CGO: Douglas Gremmen

HYROX CGO: Douglas Gremmen

Douglas Gremmen shares how HYROX sold 42,000 tickets in a day and expanded to 15,000 gyms worldwide.

Kyriakos EleftheriouKyriakos Eleftheriou
April 8, 2026
CTO + Director of AI at Flo Health: Roman Bugaev + Vladislav Nedosekin

CTO + Director of AI at Flo Health: Roman Bugaev + Vladislav Nedosekin

Roman Bugaev and Vladislav Nedosekin discuss scaling Flo Health to 80 million users and the AI innovations driving their growth.

Kyriakos EleftheriouKyriakos Eleftheriou
March 2, 2026
Glovo and Yellow.vc Co-Founder: Sacha Michaud

Glovo and Yellow.vc Co-Founder: Sacha Michaud

Sacha Michaud shares how Glovo scaled to 25+ countries and a $2.3 billion acquisition, starting with a simple text button app.

Kyriakos EleftheriouKyriakos Eleftheriou
January 18, 2026
Thriva CTO: Tom Livesey

Thriva CTO: Tom Livesey

Tom Livesey, CTO of Thriva, discusses how the company scaled to deliver over 4 million tests and raised $11 million.

Kyriakos EleftheriouKyriakos Eleftheriou
October 21, 2025