Health Factor Calculation

Calculation

The health factor calculation determines the safety margin of a collateralized loan in a DeFi lending protocol. It is typically calculated as the ratio of the collateral value to the borrowed amount, adjusted by a liquidation threshold. A health factor below one indicates that the loan is undercollateralized and subject to liquidation.