Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Health Factor

A Health Factor is a numerical metric used in decentralized finance (DeFi) lending protocols to represent the safety of a borrowing position, where a value below 1 risks liquidation.
Chainscore © 2026
definition
DEFI RISK METRIC

What is Health Factor?

A quantitative measure of the safety margin for a loan position in a decentralized finance (DeFi) lending protocol.

The Health Factor (HF) is a numerical value, typically expressed as a ratio like 1.5 or 2.0, that represents the risk level of a user's collateralized debt position (CDP) in a lending protocol such as Aave or Compound. It is calculated by dividing the total collateral value (in a base currency like USD) by the total borrowed value, adjusted for each asset's liquidation threshold. A higher Health Factor indicates a safer, less risky position, as the collateral value significantly exceeds the borrowed amount. Conversely, a lower Health Factor signals increased risk of liquidation.

The core mechanism works by assigning each type of collateral asset a specific liquidation threshold, which is a percentage (e.g., 75% for ETH) representing the maximum loan-to-value (LTV) ratio at which the position remains safe. The formula is: Health Factor = (Total Collateral Value in USD * Liquidation Threshold) / Total Borrowed Value in USD. If the Health Factor drops to or below 1.0, the position becomes undercollateralized, triggering an automatic liquidation event. In this event, a portion of the user's collateral is sold, often at a discount, to repay the debt and restore the protocol's solvency.

Users must actively monitor their Health Factor, as it fluctuates with market volatility. A drop in the price of deposited collateral assets or an increase in the value of borrowed assets can rapidly decrease the HF. To improve a low Health Factor, a user can either deposit more collateral or repay a portion of their debt. This metric is fundamental to the overcollateralized lending model, allowing protocols to offer permissionless loans without credit checks by algorithmically enforcing solvency through the threat of automated liquidation.

Different protocols implement slight variations. For example, MakerDAO uses a similar concept called the Collateralization Ratio, where values above 150% are typically safe. Understanding Health Factor is critical for DeFi participants, as mismanagement can lead to significant losses during liquidations, especially in volatile markets where prices can move swiftly past the liquidation threshold, sometimes resulting in liquidation cascades across the ecosystem.

how-it-works
DEFINITION

How Health Factor Works

The Health Factor is a core risk metric in DeFi lending protocols that measures the safety of a user's collateralized debt position.

The Health Factor (HF) is a numerical ratio that indicates the risk level of a borrower's position in a decentralized lending protocol. It is calculated as the Total Collateral Value divided by the Total Borrowed Value, adjusted by the collateral's Liquidation Threshold. A position is considered safe when its Health Factor is greater than 1.0. If the HF falls to or below 1.0, the position becomes undercollateralized and is subject to liquidation, where a portion of the collateral is automatically sold to repay the debt and restore protocol solvency.

The calculation incorporates the Loan-to-Value (LTV) ratio concept but is its inverse. For example, if a user deposits $10,000 of ETH (with a 75% liquidation threshold) as collateral and borrows $5,000 of USDC, the Health Factor is calculated as: ($10,000 * 0.75) / $5,000 = 1.5. This buffer protects the protocol from market volatility. Key factors that cause the HF to decrease include a drop in the collateral asset's price, an increase in the borrowed asset's value, or the protocol adjusting risk parameters like the liquidation threshold.

Users must actively monitor their Health Factor to avoid liquidation. Most protocols display this metric prominently and allow users to perform risk mitigation actions. These include depositing more collateral, repaying a portion of the borrowed assets, or converting the position to a safer collateral type. A higher Health Factor (e.g., 2.0 or above) provides a greater safety cushion against market fluctuations. The specific liquidation threshold and penalties vary by protocol and asset, making it critical for users to understand the exact terms of their chosen platform.

key-features
MECHANICS

Key Features of Health Factor

The Health Factor is a core risk metric in DeFi lending protocols that quantifies the safety margin of a user's collateralized debt position.

01

Risk Threshold

The Health Factor (HF) is a numerical representation of a position's solvency. It's calculated as (Collateral Value * Collateral Factor) / Borrowed Value. An HF > 1 indicates a safe position, while HF ≤ 1 triggers liquidation. This threshold is the protocol's primary defense against undercollateralized loans.

02

Dynamic Calculation

The HF is not static; it fluctuates in real-time based on:

  • Oracle Price Feeds: Changes in the market price of collateral and borrowed assets.
  • Accrued Interest: The increasing debt from variable or stable interest rates.
  • Protocol Parameters: Updates to the Loan-to-Value (LTV) or liquidation threshold for specific assets. This requires users to monitor their position's health actively.
03

Liquidation Trigger

When HF drops to or below 1, the position becomes eligible for liquidation. Liquidators can repay a portion of the debt in exchange for the underlying collateral, often at a liquidation bonus (discount). This mechanism ensures the protocol remains solvent by closing risky positions before they become insolvent.

04

Safety Buffer & Management

A higher HF provides a larger safety buffer against market volatility. Users manage their HF by:

  • Adding more collateral to increase the numerator.
  • Repaying borrowed assets to decrease the denominator.
  • Withdrawing excess collateral if the HF is sufficiently high, which decreases the buffer.
05

Protocol-Specific Variations

While the core concept is universal, implementation details vary:

  • Aave: Uses a Health Factor where liquidation occurs at HF ≤ 1.
  • Compound: Uses a Collateral Factor (max borrow limit) and a separate Liquidation Threshold; insolvency occurs when Borrows > Collateral * Liquidation Threshold.
  • MakerDAO: Uses a Collateralization Ratio (CR); liquidation (bite) occurs when CR < Liquidation Ratio.
06

Related Metrics

Health Factor interacts with other key risk parameters:

  • Loan-to-Value (LTV): The maximum borrowing power against collateral (e.g., 75% for ETH).
  • Liquidation Threshold: The LTV level at which liquidation begins (e.g., 80% for ETH).
  • Liquidation Penalty: The bonus paid to liquidators, added to the user's debt.
  • Maximum LTV: The highest LTV allowed when opening a position.
calculation-formula
DEFINITION

The Health Factor Calculation Formula

The health factor is a core risk metric in decentralized finance (DeFi) lending protocols, quantifying the safety margin of a user's collateralized debt position.

The health factor (HF) is a numerical value calculated by a lending protocol to assess the risk of a borrower's position becoming undercollateralized. It is defined as the ratio of the total collateral value, adjusted by its liquidation threshold, to the total borrowed value. The generic formula is: Health Factor = (Total Collateral Value * Liquidation Threshold) / Total Borrowed Value. A health factor above 1.0 indicates a safe position, while a value at or below 1.0 triggers liquidation, where collateral is automatically sold to repay the debt.

The calculation's components are critical. The Total Collateral Value is the sum of all deposited assets, priced by the protocol's oracle. Each asset has a Liquidation Threshold—a percentage (e.g., 80% for ETH) representing the maximum borrowable value against it. Multiplying these gives the "borrowable value" of the collateral. The Total Borrowed Value is the sum of all outstanding loans plus accrued interest, denominated in the protocol's base currency. This formula dynamically updates with market price movements, making the health factor a real-time risk indicator.

For example, a user deposits 1 ETH as collateral when ETH is worth $3,000. If ETH's liquidation threshold is 75%, the borrowable value is $2,250. If the user borrows $1,000 of a stablecoin, the health factor is ($3,000 * 0.75) / $1,000 = 2.25. If ETH's price drops to $1,500, the health factor falls to ($1,500 * 0.75) / $1,000 = 1.125, moving closer to the liquidation threshold of 1.0. This demonstrates the sensitivity of the health factor to volatility.

Maintaining a healthy health factor is a primary concern for DeFi users. Strategies include - depositing additional collateral, - repaying a portion of the borrowed assets, or - using less volatile collateral assets. Protocols like Aave and Compound display this metric prominently in their interfaces. A high health factor provides a buffer against market swings, while a low one risks a liquidation event, which can incur substantial penalty fees for the borrower.

The health factor formula is foundational to overcollateralized lending in DeFi. It automates risk management without intermediaries, enabling the trustless issuance of loans. Understanding this calculation is essential for developers building on these protocols, analysts assessing systemic risk, and users managing leveraged positions. It directly links collateral volatility, debt accumulation, and liquidation mechanics into a single, actionable metric.

protocol-examples
IMPLEMENTATION COMPARISON

Health Factor in Major Protocols

While the core concept of a Health Factor (HF) is universal—a ratio of collateral value to borrowed value—different DeFi lending protocols implement it with distinct formulas, liquidation thresholds, and safety mechanisms.

06

Common Safety Features & User Tools

Across protocols, several features help users manage Health Factor risk:

  • Safety Buffers: Borrowing well below the maximum (e.g., targeting HF > 2.0) to absorb market volatility.
  • Health Factor Warnings & Alerts: Front-ends and bots notify users when their HF approaches dangerous levels.
  • Automated Repayment Bots: Services can automatically repay debt using collateral to prevent liquidation.
  • Liquidation Price Calculators: Tools that show the asset price at which your position will be liquidated, based on the specific protocol's formula.
security-considerations
HEALTH FACTOR

Security & Risk Considerations

The Health Factor is a critical risk metric in DeFi lending protocols, quantifying the safety margin of a user's collateralized debt position. It is the primary mechanism for determining liquidation risk.

01

Core Definition & Calculation

The Health Factor (HF) is a numerical ratio representing the safety of a borrowing position. It is calculated as:

Health Factor = (Total Collateral Value * Collateral Factor) / Total Borrowed Value

  • A Collateral Factor (or Loan-to-Value ratio) is applied to each asset, discounting its value for risk.
  • An HF > 1.0 indicates a safe position. An HF ≤ 1.0 triggers liquidation.
02

Liquidation Threshold & Process

When the Health Factor drops to or below 1.0, the position becomes undercollateralized and is subject to liquidation. This is an automated process where:

  • A portion of the user's collateral is sold (often at a discount) to repay the debt.
  • The borrower incurs a liquidation penalty (e.g., 5-15%), paid from the remaining collateral.
  • Liquidations protect the protocol from bad debt but can be costly for users, resulting in significant loss of funds.
03

Key Risk Factors

A Health Factor is dynamic and can drop due to several market forces:

  • Collateral Value Decline: If the price of the deposited asset falls.
  • Debt Value Increase: If the price of the borrowed asset rises.
  • Volatility & Slippage: Sharp price moves can cause HF to cross the threshold before a user can react.
  • Oracle Manipulation: If the price feeds used to value assets are compromised, it can trigger false liquidations.
04

Risk Mitigation Strategies

Users actively manage their Health Factor to avoid liquidation:

  • Adding Collateral: Depositing more assets increases the numerator in the HF formula.
  • Repaying Debt: Reducing borrowed value increases the HF.
  • Using Stablecoins: Borrowing against stablecoin collateral reduces volatility risk.
  • Monitoring Tools: Using dashboards and setting up price alerts for collateral assets is essential.
  • Understanding Parameters: Knowing the specific collateral factors and liquidation penalties for each asset in the protocol.
05

Protocol-Specific Nuances

While the core concept is universal, implementations vary:

  • Aave & Compound: Use the term Health Factor with a liquidation threshold at 1.0.
  • MakerDAO: Uses a similar metric called the Collateralization Ratio (CR), with a Liquidation Ratio specific to each vault type (e.g., 150% for ETH).
  • Liquity: Uses a Collateral Ratio but has no liquidation penalty; instead, it employs a stability pool and redistribution mechanism.
  • Risk Parameters: Each protocol's governance sets unique collateral factors, liquidation thresholds, and penalties, which directly impact user risk.
06

Systemic Risk & Cascading Liquidations

Health Factors can create systemic risk during market-wide downturns:

  • Cascading Liquidations: A sharp price drop can trigger many liquidations at once, forcing the sale of collateral into a falling market, which drives prices down further and triggers more liquidations.
  • Liquidity Crunch: If there is insufficient liquidity to absorb the collateral being sold, slippage increases, and liquidators may not act, potentially leaving the protocol with undercollateralized debt.
  • Oracle Latency: In extreme volatility, price feed updates may lag, causing liquidations at non-market prices.
LIQUIDATION RISK MATRIX

Health Factor States and Implications

A comparison of user account states based on the Health Factor value, detailing the associated risks, system actions, and recommended user actions.

Health Factor RangeAccount StateLiquidation RiskProtocol ActionRecommended User Action

HF > 1.5

Safe

Low

None

Monitor positions; optional deleveraging

1.0 < HF ≤ 1.5

Moderate Risk

Elevated

None

Add collateral or repay debt to increase HF

HF = 1.0

At Liquidation Threshold

High

Liquidation becomes possible

Immediately improve HF to avoid liquidation

HF < 1.0

Unsafe / Underwater

Critical

Liquidation is triggered

Liquidated assets are sold to repay debt

HF ≤ 0.95

Severely Underwater

Maximum

Aggressive liquidation

Account faces maximum loss from liquidation penalties

HEALTH FACTOR

Frequently Asked Questions (FAQ)

A Health Factor is a critical risk metric in DeFi lending protocols that measures the safety of a user's loan position against potential liquidation.

A Health Factor (HF) is a numerical representation of the safety margin for a borrowed position in a decentralized lending protocol. It is calculated by dividing the total collateral value (in the protocol's base currency, like USD) by the total borrowed value, adjusted for each asset's Loan-to-Value (LTV) ratio. For example, if you deposit $10,000 of ETH (with a 75% LTV) as collateral and borrow $5,000 of USDC, your Health Factor would be ($10,000 * 0.75) / $5,000 = 1.5. A higher number indicates a safer position. If the value of your collateral falls or your debt rises, causing the HF to drop to or below 1.0 (often with a small buffer, e.g., 1.1), your position becomes eligible for liquidation.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Health Factor in DeFi: Definition & Liquidation Risk | ChainScore Glossary