For educational purposes only; not investment advice. Investing may result in loss.
Direct answer
A liquidation buffer is the distance between a lending position’s stressed health factor and the protocol’s liquidation boundary. Set it by recalculating the entire position under simultaneous collateral-price falls, debt-price increases, accrued interest, and a delay long enough to execute a repayment onchain. Do not treat a displayed health factor above 1 as a complete risk limit.
Use three action lines rather than one last-minute alert:
- Target line: the health factor to restore during normal conditions, chosen so the defined stress scenario still leaves an operating margin.
- Warning line: the point at which borrowing stops and the operator verifies that prepared repayment assets and gas are immediately spendable in the wallet and chain where the debt exists.
- Mandatory deleveraging line: a level above the protocol’s liquidation boundary at which debt is repaid immediately, without depending on a collateral transfer, bridge, exchange withdrawal, or discretionary price rebound.
The lines are position-specific. Volatility, collateral-debt correlation, liquidity, oracle design, interest-rate variability, protocol parameters, and the time required to transact all matter. Aave’s documentation likewise states that there is no universally safe health factor.
- Liquidation buffer
- $22,000
- Approximate drop to HF 1
- 33.33%
Outputs are educational approximations. They exclude venue rules, taxes, latency, oracle behavior, and other protocol-specific parameters unless shown.
How it works
For a position with several collateral and debt assets, a common health-factor form is:
HF = Σ(q_i × P_i × LT_i) ÷ Σ(D_j)
Here, q_i is collateral quantity, P_i is the protocol oracle price, LT_i is that asset’s liquidation threshold, and D_j is the oracle value of each debt including accrued interest. Each collateral must use its own threshold; the highest threshold cannot be applied to the whole portfolio.
On Aave, a health factor below 1 makes a position eligible for permissionless liquidation. The liquidator repays debt and receives collateral plus a liquidation bonus. Aave’s current documentation also shows that the amount eligible for liquidation depends on health factor and position size. Other protocols can use different triggers, close factors, bonuses, isolation rules, or auction mechanics, so read the live parameters for the exact market and deployment.
For a one-collateral position with unchanged debt, threshold, and oracle relationship, the collateral-price decline that would take the position to HF = 1 is:
d_liq = 1 - 1 ÷ HF_current
Therefore, HF_current = 1.20 implies only a 16.67% collateral-price decline to the boundary under those narrow assumptions, not 20%. The shortcut is invalid when debt price, interest, collateral composition, or protocol parameters also change.
Build the real buffer with a stressed health factor:
HF_stress = Σ[q_i × P_i × (1 - s_i) × LT_i] ÷ Σ[D_j × (1 + u_j) × (1 + r_j × t)]
In this planning approximation, s_i is the collateral-price shock, u_j is the debt-price shock, r_j is an annualized borrowing-rate assumption, and t is the delay in years. Use the protocol’s actual debt projection when available; a changing borrow rate and compounding can make the simple approximation optimistic.
Example
Assume a position has 10 ETH of collateral, an ETH oracle price of $2,000, an 80% liquidation threshold, and 12,000 units of stablecoin debt priced at $1. Its current health factor is:
HF_current = (10 × 2,000 × 0.80) ÷ 12,000 = 1.333
Now combine three stresses instead of testing them separately:
- ETH falls
20%, so its stressed oracle price is$1,600. - The debt asset trades
5%above its reference value. - Debt accrues for
30 daysat an assumed30%annual rate before repayment executes.
The approximate stressed debt is 12,000 × 1.05 × (1 + 0.30 × 30 ÷ 365) = 12,910.68. The threshold-adjusted collateral value is 10 × 1,600 × 0.80 = 12,800, producing HF_stress ≈ 0.991. A position that began at 1.333 would therefore cross the liquidation boundary in this combined scenario.
Turn the worksheet into decisions. Record the current value, stressed value, data source, and update time for every collateral and debt asset; then record the exact repayment amount needed to restore the target line. Keep that repayment asset and enough native gas token on the correct chain. Recalculate after every borrow, withdrawal, collateral change, governance parameter change, or material market move.
Risks
Price and correlation risk
Stress every collateral and debt leg together. A collateral fall can coincide with a debt-asset premium, and correlations observed in calm markets can break during a sell-off. Apply larger shocks to thinly traded, bridged, wrapped, or newly launched assets, and do not assume a stablecoin remains exactly at $1.
Oracle and parameter risk
Liquidation uses the price and rules read by the protocol, not necessarily the latest quote on a preferred exchange. Oracle feeds differ in sources, liquidity coverage, update behavior, and market-risk category. Chainlink’s documentation tells integrators to assess feed accuracy, availability, market liquidity, and risk controls. Monitor the protocol’s actual feed, and include governance changes to LT_i, caps, mode settings, and liquidation rules in the review process.
Interest and liquidity risk
Borrow interest begins accruing immediately and can change with utilization and governance parameters. Project debt through the full response window, not merely to the next alert. Also test whether the intended repayment size can be acquired and swapped without unacceptable slippage when market liquidity is impaired.
Execution risk
Assume the normal front end, RPC endpoint, or hardware-wallet path may fail. Test an alternative interface or direct protocol transaction in advance. Budget for a large gas increase, keep the native fee token outside the collateral position, and allow for nonce replacement, failed approvals, chain congestion, and L2 sequencer or bridge delays. An emergency plan that requires several sequential transfers is not an immediate buffer.
Liquidation loss
Liquidation is not a neutral stop-loss order. The borrower gives up collateral value through the liquidation bonus and may also face protocol fees, adverse prices, and a changed residual portfolio. A close factor can limit one liquidation call without preventing further calls if the position remains unhealthy.
Common misconceptions
Myth 1: HF = 1.20 means a 20% safety margin
For the simplified one-collateral case, the boundary decline is 1 - 1 ÷ 1.20 = 16.67%. Multi-asset positions require the full stressed calculation.
Myth 2: Adding more of the same collateral always makes the position safer
It raises the current health factor but also increases exposure to the same price shock. Repaying debt reduces the denominator directly and is usually the cleaner emergency deleveraging action.
Myth 3: A stablecoin debt is fixed at $1
The debt token can trade above its reference value, while borrow interest increases the token amount owed. Both effects reduce the buffer.
Myth 4: Alert time is the same as action time
An alert can arrive after the oracle has moved, and repayment can still require wallet access, an approval, block inclusion, and finality. The warning line must include those delays.
Myth 5: Funds on another chain or exchange are ready liquidity
Withdrawals, bridges, rate limits, maintenance, and finality create dependencies. Emergency repayment inventory should already be on the debt’s chain and under the borrower’s control.
Related topics
Sources
- Health Factor & Liquidations - Aave (accessed: 2026-08-20)
- Borrow Tokens - Aave (accessed: 2026-08-20)
- Selecting Quality Data Feeds - Chainlink (accessed: 2026-08-20)