DeFi Loan Health Calculator

Check a DeFi loan's safety from collateral, debt and liquidation threshold: LTV, health factor, the liquidation trigger level and top-up needed.

All calculations happen locally in your browser. Nothing leaves your device.

—
LTV
—
Health factor
—
Liquidation price
—
Collateral to add (HF=1.5)
—

A simplified model: it ignores accrued interest, borrowing and liquidation fees, oracle slippage and the specific liquidation bonus of a protocol. Not financial advice.

How DeFi Loan Health Works

A collateralized loan is only as safe as the distance between your position and the point where the protocol can seize your collateral. This tool compresses that safety into three numbers: your LTV, your health factor, and the exact collateral level at which liquidation would trigger.

LTV (loan-to-value)
Your debt divided by your collateral value, as a percentage: LTV = debt ÷ collateral. With $6,000 borrowed against $10,000 of collateral, LTV = 60%. A lower LTV means the price can fall further before you get into trouble.
Health factor (HF)
In the Aave style, the health factor is the liquidation threshold divided by your LTV: HF = threshold ÷ LTV. With an 80% threshold and a 60% LTV, HF = 80% ÷ 60% = 1.33. An HF above 1.5 is comfortable, 1.2–1.5 is close, and below 1.2 you are in the danger zone. The bigger the HF, the more the price can move against you.
Liquidation price
Liquidation happens the moment your LTV reaches the threshold, which means your collateral value has fallen to debt ÷ threshold. With $6,000 of debt and an 80% threshold, that level is $6,000 ÷ 0.80 = $7,500. If your collateral is worth $10,000, the price can drop 25% before a liquidator can act. This tool also tells you how much extra collateral you would need to add to push your health factor back up to a safe 1.5.

Frequently Asked Questions

What is a health factor?

The health factor (HF) measures how safe a loan is, in the Aave style. It is the liquidation threshold divided by your LTV: HF = threshold ÷ LTV. A higher number means a wider safety margin. An HF above 1.5 is comfortable, between 1.2 and 1.5 you are getting close to liquidation, and below 1.2 you are in the danger zone.

How is the liquidation price calculated?

Liquidation triggers when your collateral value falls to debt ÷ threshold. For example, with $6,000 of debt and an 80% threshold, the position is liquidated when the collateral value drops to $7,500. That is the exact level the price has to reach before a liquidator can act.

What does LTV mean?

LTV stands for loan-to-value and is simply your debt divided by your collateral value, expressed as a percentage. An LTV of 60% means you have borrowed 60% of what your collateral is worth. A lower LTV means more buffer before liquidation.

What do the status tiers mean?

SAFE (green) is shown when your health factor is above 1.5, NEAR LIQUIDATION (yellow) when it is between 1.2 and 1.5, and DANGER (red) when it is below 1.2. The tiers are a quick read on how much the price can fall before you get liquidated.

Is this accurate?

It is a simplified, protocol-agnostic model. It ignores accrued interest, borrowing and liquidation fees, oracle slippage, and the specific liquidation bonus of a given protocol, so treat it as an estimate. Real risk can be higher than the numbers suggest. Nothing here is financial advice.