DeFi Health Factor Calculator

Calculate lending health factor from collateral amounts, USD prices, and liquidation thresholds versus total debt. See LTV, max borrow at HF=1, buffer USD, uniform price drop to liquidation, and per-asset liquidation price — educational DeFi lending risk math.

Lending position (Aave-style)

Health factor ≈ weighted collateral (× liquidation threshold) ÷ debt. Below 1.0 risks liquidation. Thresholds are protocol-specific (e.g. 80–85% for ETH on Aave).

Collateral

Health factor

Health factor
1.650
Safer — room before liquidation
Loan-to-value (LTV)+50%
Max borrow at HF = 1$24,750.00
Safety buffer (USD)$9,750.00
Uniform price drop to HF = 1+39.39%

Liquidation price (ETH): $1,818.18

Drop to liquidate: +39.39%

Simplified single-protocol math. Real lending uses oracle prices, e-mode, isolation, and partial liquidations — not financial advice.

Health factor on lending markets

On protocols like Aave, health factor measures how safe your loan is. It is roughly the sum of each collateral’s value times its liquidation threshold, divided by total debt. Below 1.0, liquidation can occur (partially or fully depending on protocol). This calculator supports multiple collateral rows, shows LTV, safety buffer in USD, uniform price drop to reach HF=1, and per-asset liquidation price when you hold a single collateral.

Health factor math

HF = Σ(amount_i × price_i × threshold_i) / debt_USD. LTV = debt / Σ(collateral USD). Max borrow at HF=1 = weighted liquidation value. For one asset: liquidation price = debt / (amount × threshold). Uniform drop to HF=1 ≈ (1 − 1/HF)×100% when only collateral prices move.

Examples

  1. 10 ETH collateral, $15k debt

    ETH $3,000, 82.5% threshold.

    Weighted collateral $24,750×0.825; HF ≈ 1.36.

    See buffer and liquidation price near $1,818/ETH.

Health factor FAQ

What is a safe health factor?
Many users target 1.5+; markets vary.
Aave v2 vs v3?
Same HF concept; thresholds differ by asset and e-mode.
Stablecoin debt?
Enter debt in USD; collateral prices in USD.
Partial liquidation?
Not simulated — real protocols liquidate a portion.
Oracle prices?
Use market prices; on-chain oracles may differ.
Advice?
Educational only — not financial advice.

DeFi trio & related tools

How it works

  • Enter total debt in USD.
  • Add one or more collateral rows with amount, price, and protocol liquidation threshold %.
  • Read health factor, LTV, safety buffer, and liquidation price band.

For education only — not financial advice. Past performance does not guarantee future results.