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 numerical metric in DeFi lending protocols that measures the safety of a borrowing position, calculated as (Collateral Value * Liquidation Threshold) / Total Borrowed Value.
Chainscore © 2026
definition
DEFI RISK METRIC

What is Health Factor?

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

The Health Factor (HF) is a numerical value, typically displayed as a ratio like 2.5 or 1.8, that indicates the risk level of a user's borrowed position. It is calculated by dividing the total value of the user's collateral (adjusted by its collateral factor or loan-to-value ratio) by the total value of their borrowed assets. A higher Health Factor signifies a larger safety buffer, meaning the position is less likely to be liquidated. For example, an HF of 2.5 means the collateral value is 2.5 times the borrowed value, while an HF of 1.0 indicates the position is exactly at the liquidation threshold.

The primary function of the Health Factor is to trigger liquidation. Each protocol sets a liquidation threshold, often around 1.0. If market volatility causes the value of the collateral to drop or the value of the debt to rise, the Health Factor will decrease. When it falls below the liquidation threshold (e.g., HF < 1.0), the position becomes eligible for liquidation. In this process, a liquidator can repay part of the debt in exchange for the undercollateralized assets at a discount, ensuring the protocol remains solvent. Users must monitor their HF closely to avoid this penalty.

Several key variables dynamically influence a position's Health Factor. These include: - Collateral Value Fluctuations: The market price of deposited assets (e.g., ETH, WBTC). - Borrowed Asset Value: The market price of the tokens borrowed (e.g., USDC, DAI). - Protocol-specific Parameters: The collateral factor assigned to each asset, which determines how much debt can be taken against it. A volatile market can cause rapid changes in HF, making it a critical real-time metric for risk management. Users can improve their Health Factor by depositing more collateral or repaying part of their debt.

Health Factor is a foundational risk mechanism in major lending protocols like Aave, Compound, and MakerDAO (where it's analogous to the Collateralization Ratio). It automates the enforcement of solvency without a central authority. By providing a clear, calculable risk metric, it protects both the protocol from bad debt and lenders from loss, while giving borrowers a transparent framework for managing leverage. Understanding and actively managing one's Health Factor is therefore essential for safe participation in DeFi lending and borrowing markets.

key-features
MECHANISM

Key Features of Health Factor

The Health Factor (HF) is a core risk metric in DeFi lending protocols that measures the safety of a user's collateralized debt position. It is calculated as the ratio of the total collateral value to the total borrowed value, adjusted for asset-specific risk parameters.

01

Collateralization Ratio

The Health Factor is fundamentally a dynamic collateralization ratio. It is calculated as: HF = (Total Collateral Value * Collateral Factor) / Total Borrowed Value

  • Collateral Factor (Loan-to-Value): The maximum percentage of an asset's value that can be borrowed against (e.g., ETH may have a 75% LTV).
  • A higher HF indicates a larger safety buffer against liquidation.
02

Liquidation Threshold

The liquidation threshold is the critical Health Factor value, typically HF = 1.0, where a position becomes eligible for liquidation.

  • HF > 1.0: Position is safe.
  • HF ≤ 1.0: Position is undercollateralized and can be liquidated by other users to repay the debt, often incurring a liquidation penalty for the borrower. Protocols may use a buffer (e.g., HF < 1.1) to trigger warnings.
03

Price Oracle Dependency

The Health Factor is highly sensitive to real-time price feeds from oracles. Since it's calculated using the current market value of collateral and debt assets:

  • Volatility Risk: Rapid price drops in collateral (e.g., ETH) or spikes in borrowed assets can cause HF to plummet.
  • Oracle Manipulation: A core security assumption is that oracle prices are accurate and resistant to manipulation, as incorrect prices can trigger unjust liquidations.
04

Portfolio-Level Metric

HF aggregates risk across a user's entire borrowing portfolio, not per asset.

  • Cross-Collateralization: Users can supply multiple asset types as collateral (e.g., ETH, WBTC, UNI).
  • Net Risk Calculation: The HF accounts for the weighted risk of the entire collateral basket and total debt across all borrowed assets. This allows for more capital efficiency but introduces interconnected risk.
05

Dynamic & Proactive Management

HF is not static; it changes with market conditions and user actions. Key management levers include:

  • Adding Collateral: Depositing more assets increases the numerator, raising HF.
  • Repaying Debt: Reducing borrowed amount decreases the denominator, raising HF.
  • Withdrawing Collateral: This decreases the numerator, lowering HF and increasing risk. Users must monitor HF actively to avoid liquidation.
06

Protocol-Specific Parameters

While the core formula is consistent, each protocol implements unique parameters affecting HF:

  • Collateral & Borrow Factors: Set by governance and vary by asset risk (e.g., stablecoins have higher factors than volatile assets).
  • Liquidation Bonus: The discount liquidators receive, which impacts the effective liquidation threshold.
  • Close Factor: On some protocols (e.g., Compound), limits how much debt can be liquidated in one transaction. Understanding these is crucial for risk assessment.
how-it-works
DEFINITION

How Health Factor Works

A technical deep dive into the Health Factor, a core risk metric in decentralized finance (DeFi) lending protocols that determines the safety of a user's collateralized debt position.

The Health Factor (HF) is a numerical ratio, typically calculated as (Total Collateral Value * Liquidation Threshold) / Total Borrowed Value, that measures the risk level of a collateralized debt position (CDP) in a DeFi lending protocol. It acts as a real-time solvency indicator, where a value above 1.0 signifies a safe, overcollateralized position, and a value dropping to or below 1.0 triggers liquidation. This mechanism protects the protocol from undercollateralized loans by ensuring borrowed assets can be recovered.

The calculation relies on three key inputs: the total collateral value (the current market worth of deposited assets), the liquidation threshold (a risk-adjusted discount, e.g., 80% for ETH, set per asset), and the total borrowed value (including accrued interest). A higher Health Factor indicates a larger safety buffer against market volatility. For example, an HF of 2.0 means the adjusted collateral value is twice the debt, while an HF of 1.05 is perilously close to liquidation. Users must actively monitor this metric, as fluctuating asset prices and compounding interest constantly alter the ratio.

When the Health Factor reaches the liquidation threshold (usually 1.0), the position becomes eligible for liquidation. In this process, a liquidator repays part or all of the user's outstanding debt in exchange for a discounted portion of the collateral, plus a liquidation bonus. This penalty incentivizes third parties to clear risky positions, ensuring the protocol remains solvent. The specific mechanics—such as the size of the liquidation penalty and whether it's a fixed or sliding scale—vary between protocols like Aave, Compound, and MakerDAO.

Managing your Health Factor is critical for DeFi borrowers. Strategies include: depositing additional collateral, repaying a portion of the debt, or using less volatile assets as collateral with higher liquidation thresholds. Automated tools and bots can provide alerts for positions nearing liquidation. It's important to understand that the Health Factor is a dynamic metric; a sudden market crash can cause it to plummet rapidly, leaving little time for manual intervention before assets are liquidated at a loss.

ecosystem-usage
HEALTH FACTOR

Protocol Implementation

The Health Factor is a core risk metric in lending protocols like Aave and Compound, quantifying a user's loan safety margin. It is calculated as the ratio of the collateral value to the borrowed value, adjusted for asset-specific risk parameters.

01

Core Calculation

The Health Factor (HF) is computed as: HF = (Σ Collateral_i × Price_i × LTV_i) / (Σ Debt_j × Price_j). Key components are:

  • Collateral Value: The total USD value of deposited assets.
  • Loan-to-Value (LTV) Ratio: The maximum borrowing power for each collateral type (e.g., 80% for ETH).
  • Borrowed Value: The total USD value of outstanding loans. A value above 1.0 indicates a safe position; below 1.0 triggers liquidation.
02

Liquidation Threshold

When the Health Factor drops below 1.0, the position becomes eligible for liquidation. Protocols set a Liquidation Threshold for each asset, which is lower than its LTV, creating a buffer. For example, an asset with an 80% LTV might have an 85% liquidation threshold. This means borrowing up to 80% is allowed, but liquidation risk begins when the borrowed value exceeds 85% of the collateral's adjusted value.

03

Risk Parameters & Governance

The Health Factor is governed by protocol-specific risk parameters set by decentralized governance (e.g., Aave's Risk Council, Compound's COMP holders). These include:

  • LTV & Liquidation Threshold: Per-asset values defining borrowing limits and safety margins.
  • Liquidation Bonus/Penalty: The discount liquidators receive when seizing collateral.
  • Reserve Factors: Fees taken from interest to build a safety reserve. These parameters are dynamically adjusted based on market volatility and asset liquidity.
04

Real-World Example: Aave V3

A user deposits 10 ETH as collateral (worth $30,000) and borrows 15,000 USDC. Assuming ETH has a 75% LTV:

  • Adjusted Collateral: $30,000 × 0.75 = $22,500
  • Health Factor: $22,500 / $15,000 = 1.5 If ETH's price drops to $2,500, the adjusted collateral becomes $18,750, and the HF falls to 1.25. A drop to ~$2,000 would push the HF below 1.0, triggering liquidation.
05

Comparison: Compound's Collateral Factor

Compound uses a Collateral Factor (CF), which is functionally equivalent to the LTV in the Health Factor calculation. A user's borrowing limit is Σ (Collateral × CF). The key difference is in liquidation mechanics: Compound allows borrowing up to the CF, while Aave's LTV is the safe limit, with a separate liquidation threshold. Both systems aim to ensure the protocol remains over-collateralized.

security-considerations
HEALTH FACTOR

Security & Risk Considerations

The Health Factor is a critical risk metric in DeFi lending protocols, representing the safety margin of a user's collateralized debt position. A lower value indicates higher risk of liquidation.

01

Core Definition & Calculation

The Health Factor (HF) is a numerical ratio that measures the safety of a collateralized debt position (CDP). It is calculated as:

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

  • Collateral Factor (Loan-to-Value Ratio): The maximum percentage of an asset's value that can be borrowed against (e.g., 80% for ETH).
  • A higher HF (>1.0) indicates a safer position, while HF ≤ 1.0 triggers liquidation.
02

Liquidation Threshold & Process

When the Health Factor drops to or below the protocol's liquidation threshold (typically 1.0), the position becomes undercollateralized and is eligible for liquidation.

  • Liquidation: A third-party liquidator repays part or all of the debt in exchange for the collateral at a discount.
  • Liquidation Penalty: An additional fee (e.g., 5-15%) is applied to the seized collateral, penalizing the borrower and incentivizing liquidators.
  • The process is automated and designed to protect the protocol from bad debt.
03

Primary Risk: Volatility & Price Oracles

The main risk to a Health Factor is asset price volatility. A sudden drop in collateral value or a spike in borrowed asset value can rapidly decrease the HF.

  • Oracle Reliance: HF calculations depend entirely on external price oracles. Inaccurate or manipulated oracle data can cause incorrect HF readings and unfair liquidations.
  • Liquidation Cascades: Mass liquidations in a volatile market can further depress collateral prices, triggering more liquidations in a feedback loop.
04

Monitoring & Risk Management

Users must actively monitor their Health Factor to avoid liquidation.

  • Safety Buffer: Maintaining an HF significantly above 1.0 (e.g., >1.5) provides a buffer against market swings.
  • Proactive Management: Users can improve their HF by:
    • Adding more collateral.
    • Repaying part of the borrowed amount.
  • Automated Tools: Many protocols and third-party dashboards offer alerts for declining Health Factors.
05

Protocol-Specific Variations

While the core concept is universal, implementation details vary by protocol.

  • Aave: Uses Health Factor with a liquidation threshold of 1.0. Also features a Liquidation Bonus for liquidators.
  • Compound: Uses a similar metric called Collateral Factor to determine borrowing limits, with a separate Liquidation Incentive.
  • MakerDAO: Employs a Collateralization Ratio for its Vaults, where the Liquidation Ratio is the critical threshold. Understanding the specific parameters of your chosen protocol is essential.
06

Related Risk Metrics

Health Factor interacts with other key risk parameters in a lending system.

  • Loan-to-Value (LTV) Ratio: The inverse perspective of collateral factor; the debt amount relative to collateral value.
  • Liquidation Threshold: The specific HF value at which liquidation begins.
  • Maximum LTV: The highest LTV allowed when opening a position.
  • Liquidation Fee/Penalty: The cost incurred by the borrower upon liquidation. Together, these create the protocol's risk framework.
COMPARISON

Health Factor vs. Related Risk Metrics

A breakdown of key metrics used to assess risk and solvency in DeFi lending and borrowing protocols.

Metric / FeatureHealth Factor (HF)Loan-to-Value (LTV)Liquidation ThresholdCollateral Factor

Primary Purpose

Real-time solvency indicator for a specific position

Maximum initial borrow amount against collateral

Price level triggering liquidation

Maximum borrow amount (Compound-specific term)

Typical Safe Range

1.5

< 80%

100%

< 75%

Calculation Basis

Collateral Value / (Borrowed Value * Liquidation Threshold)

Borrowed Value / Collateral Value

Protocol-set parameter per asset

Protocol-set parameter per asset (synonymous with LTV on Compound)

Dynamic vs. Static

Dynamic (changes with asset prices & debt)

Static at inception, then dynamic

Static protocol parameter

Static protocol parameter

Trigger for Action

HF ≤ 1.0 triggers liquidation

Exceeding initial LTV prevents borrowing

When HF ≤ 1.0

Exceeding prevents borrowing

User-Facing Display

Prominently shown in user interface

Shown during borrow calculation

Found in protocol documentation/risk parameters

Shown as key asset parameter

Direct User Control

Can be increased by repaying debt or adding collateral

Chosen by user at borrow time within limit

None

None

HEALTH FACTOR

Common Misconceptions

Clarifying frequent misunderstandings about the Health Factor, a core risk metric in DeFi lending and borrowing protocols.

A Health Factor (HF) is a numerical risk metric used in decentralized lending protocols to measure the safety of a user's borrowed position relative to their supplied collateral. It is calculated as the ratio of the total collateral value (in the protocol's base currency, like ETH or USD) to the total borrowed value, adjusted by each asset's collateral factor (or Loan-to-Value ratio). The formula is typically: Health Factor = (Total Collateral Value * Collateral Factor) / Total Borrowed Value. A Health Factor above 1.0 indicates a safe position, while a value at or below 1.0 risks liquidation, where a portion of the collateral is automatically sold to repay the debt. Protocols like Aave and Compound popularized this mechanism.

HEALTH FACTOR

Technical Deep Dive

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. This section explores its mechanics, calculation, and implications for liquidation.

A Health Factor (HF) is a numerical ratio that measures the safety of a collateralized debt position (CDP) in a lending protocol, indicating its proximity to liquidation. It is calculated by dividing the total value of a user's collateral (adjusted by its collateral factor) by the total value of their borrowed assets. The standard formula is:

code
Health Factor = (Σ Collateral Amount * Collateral Price * Collateral Factor) / (Σ Borrowed Amount * Borrowed Asset Price)

A Health Factor above 1.0 indicates the position is sufficiently collateralized. As the value of collateral falls or debt rises, the HF decreases. Protocols like Aave and Compound set a liquidation threshold (e.g., 1.0 for many assets); if the HF drops below this threshold, the position becomes eligible for liquidation to repay the debt and protect the protocol.

HEALTH FACTOR

Frequently Asked Questions

The Health Factor is a critical risk metric in DeFi lending protocols. These questions address its calculation, implications, and management.

A Health Factor (HF) is a numerical metric used by decentralized lending protocols, like Aave and Compound, to quantify the safety of a user's loan position relative to the risk of liquidation. It is calculated as the ratio of the total collateral value (in the protocol's base currency, e.g., USD) to the total borrowed value, adjusted by each asset's Loan-to-Value (LTV) ratio. A Health Factor above 1.0 indicates a safe, overcollateralized position, while a value at or below 1.0 triggers a liquidation event, where a portion of the user's collateral is automatically sold to repay the debt.

Key Components:

  • Collateral Value: The total USD value of assets deposited.
  • Borrowed Value: The total USD value of assets borrowed.
  • Liquidation Threshold: The maximum percentage of an asset's value that can be borrowed against it.

The formula is typically: Health Factor = (Σ Collateral in USD * Liquidation Threshold) / Σ Borrowed in USD.

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: DeFi Lending Risk Metric | ChainScore Glossary