Full article
Read the numerator
For one collateral asset, multiply its value by its liquidation threshold and divide by the debt value. Aave uses a value-weighted average threshold when several assets serve as collateral.
Set up the position
Assume $10,000 of collateral, an 80% threshold and debt worth a constant $6,000. The adjusted collateral is $8,000, giving a health factor of about 1.33. The threshold is an assumption for this example.
Locate the boundary
At $7,500 of collateral, 80% equals $6,000 and the ratio is exactly one. At $7,200, the adjusted collateral falls to $5,760. The ratio is now 0.96, below the eligibility threshold.
Change the debt column
Keep collateral at $7,500 and let the borrowed asset appreciate until the debt is worth $6,250. Dividing $6,000 by $6,250 also gives 0.96. A different price moved the position across the same boundary.
What happens next
A liquidator can repay debt and receive collateral plus a liquidation bonus. Position size and health factor affect how much debt is eligible. The ratio alone does not tell the borrower exactly how much collateral will be taken.
Recalculate after a repayment
Return to the $7,200 collateral example. If the debt falls to $5,400 before liquidation executes, $5,760 divided by $5,400 gives about 1.07. This calculation holds prices and parameters constant.
