← Back to all posts

DeFi Liquidation Price Calculator: LTV, Health Factor and Collateral Risk

By
DeFi liquidation price calculator showing collateral, LTV and health factor
The Hold & Borrow modeler helps compare collateral value, debt, LTV, health factor and liquidation price before borrowing.
Brief Summary: A DeFi liquidation price calculator helps borrowers answer one practical question: how far can collateral fall before the position becomes liquidatable? The answer depends on collateral value, borrowed amount, liquidation threshold, health factor, borrow rate and protocol rules. DeFiRiskSim turns those inputs into a clear scenario model for Aave-style and Morpho-style borrowing risk.

What a DeFi Liquidation Calculator Should Actually Show

A useful liquidation calculator is not just a simple loan-to-value widget. It should show the relationship between collateral, debt and liquidation rules in a way that a borrower can use before opening a position.

In lending protocols such as Aave, Compound, Morpho, Spark and Maker/Sky, users deposit collateral and borrow against it. The position remains healthy while the collateral value is high enough relative to the debt. If the collateral falls, the debt grows, or the protocol changes risk parameters, the position can move toward liquidation.

The DeFiRiskSim Hold & Borrow Modeler is built for this workflow. It helps users compare collateral value, borrowed amount, LTV, health factor, liquidation price, borrow APY and drawdown buffers before they put real capital at risk.

LTV, Liquidation Threshold and Health Factor

Loan-to-value, or LTV, compares borrowed value with collateral value. If a user deposits $10,000 of ETH and borrows $4,000 of USDC, the position has a 40% LTV before interest and price movement.

Liquidation threshold is different. It is the protocol's risk boundary for a collateral asset. A volatile asset usually has a lower threshold than a stable or highly liquid asset. Health factor is the safety score derived from collateral value, liquidation threshold and debt. A health factor above 1 means the position has a buffer. A health factor below 1 means it can be liquidated.

Health Factor = Collateral Value x Liquidation Threshold / Borrowed Value

This is why two borrowers with the same LTV can have different risk. The collateral asset, liquidation threshold, oracle behavior and borrow growth all matter.

How Liquidation Price Is Estimated

Liquidation price estimates the market price where health factor reaches the liquidation boundary. For single-collateral borrowing, the intuition is simple: as collateral price falls, collateral value falls. Debt remains the same or grows with interest. At some point the position no longer has enough collateral margin.

A calculator should not hide that estimate behind a black box. It should show the borrow amount, collateral price, liquidation threshold and resulting buffer. DeFiRiskSim focuses on these visible assumptions so users can test different collateral prices instead of relying on one optimistic scenario.

Borrow APY Can Move the Liquidation Boundary

Many borrowers focus only on collateral price, but borrow cost matters too. If borrow APY rises, debt grows faster. Over time, the position can become less safe even if the collateral price does not crash immediately.

This is especially important in recursive strategies. A leverage loop increases both collateral and debt. When the yield spread is positive, looping may look attractive. When borrow APY rises, the same position can quickly become fragile. The Leverage Loop Calculator extends the same liquidation logic into recursive borrowing scenarios.

A Practical Borrowing Workflow

  1. Choose the collateral asset and lending protocol model.
  2. Enter collateral value and borrowed amount.
  3. Check current LTV and health factor.
  4. Lower the collateral price until the model approaches liquidation.
  5. Increase borrow APY to test debt growth.
  6. Compare the liquidation price with historical volatility and your own risk tolerance.
  7. Keep a larger buffer than the minimum number the protocol allows.

Common Mistakes Borrowers Make

  • Borrowing to the limit: A position can look efficient but leave no room for volatility.
  • Ignoring borrow rate changes: Variable borrow rates can change when utilization rises.
  • Assuming stablecoins are risk-free: Stablecoin depegs and oracle behavior still matter.
  • Ignoring correlation: Collateral and borrowed assets can move in unexpected ways during stress.
  • Using one price scenario: A serious model needs normal, bad and severe cases.

FAQ

What is liquidation price in DeFi?

It is the estimated collateral price where the borrowing position reaches the protocol's liquidation boundary. The exact mechanics depend on protocol parameters, collateral type and oracle behavior.

Is health factor better than LTV?

Health factor is usually more useful for liquidation risk because it includes liquidation threshold. LTV is still helpful, but it is not the whole risk score.

Can a simulator prevent liquidation?

No. A simulator can show risk scenarios and help users choose larger buffers, but it cannot control markets, oracles, protocol rules or future prices.

Works Cited

  1. Aave Help Center, Liquidations, https://aave.com/help/borrowing/liquidations
  2. Aave Docs, Risk Parameters and Health Factor, https://aave.com/docs
  3. Morpho Documentation, Markets and Collateral, https://docs.morpho.org/