Free crypto tool

Liquidation Calculator

Check your health factor and the exact price that would liquidate your lending position.

Liquidation threshold is set by the protocol per asset (e.g. ~80% for ETH on Aave). Collateral price is used to show your liquidation price, leave it as-is or match your main collateral asset.

A health factor can fall fast in a sell-off. Otomato watches your real positions and alerts you before liquidation, not after.

Health factor

2.00

Safe

Collateral can fall 50%Liquidation price $1,500
0.51.01.52.02.53.0-90%-60%-30%0%+30%liquidation (HF 1.0)

Health factor vs collateral price change

Health factor

2.00

Drop buffer

50%

Liq. price

$1,500

How the liquidation calculator works

On lending protocols like Aave, Morpho and Euler, your position is judged by its health factor: collateral value × the protocol’s liquidation threshold, divided by your debt. Above 1 you are safe; at 1 or below, liquidators can repay part of your loan and seize your collateral at a penalty.

Because health factor scales with your collateral price, you can read your risk as a single number: a health factor of 2 means your collateral can fall about 50% before liquidation, while 1.2 means only about 17%. The chart plots this, the blue line is your health factor as the collateral price moves, and the red zone below 1.0 is liquidation territory.

The liquidation price is simply the collateral price at which the health factor hits 1. Knowing it ahead of time is the difference between adjusting calmly and getting caught in a cascade. Otomato monitors your real health factor and alerts you well before it gets there.

The complete guide

What liquidation means in DeFi lending

On-chain lending protocols like Aave, Morpho, and Euler let you deposit collateral and borrow against it. To protect lenders, every loan must stay overcollateralized, meaning your collateral is always worth more than your debt by a defined margin. Liquidation is the protocol's safety mechanism. When your collateral value falls too close to your debt, the protocol allows third parties to repay part of your loan and seize your collateral in return.

Liquidation is not a penalty for borrowing. It is the automatic enforcement of the margin rule that keeps the protocol solvent. It usually happens because the price of your collateral dropped, your borrowed asset rose in value, or interest quietly accrued on your debt over time. The result is the same. You lose a slice of your collateral plus a penalty, and you keep the borrowed funds.

What this liquidation calculator does

This liquidation calculator turns your position into three clear numbers. It computes your health factor, the buffer you have before liquidation expressed as a percentage drop in collateral price, and your estimated liquidation price. Together these tell you how safe your position is right now and how much room the market can move against you before you are at risk.

It is built for Aave, Morpho, and Euler style positions, the most common overcollateralized lending markets on EVM chains. You enter your collateral value, your debt, the liquidation threshold of your collateral asset, and the current collateral price. The calculator does the rest, so you can stress test a position before you open it or sanity check one you already hold.

What a health factor is and the formula

The health factor is a single number that summarizes how safe your borrowing position is. It is the canonical safety signal across Aave, Morpho, and Euler. A health factor above 1 means your position is solvent. A health factor at or below 1 means your position can be liquidated.

The formula is straightforward. Health factor equals collateral value multiplied by the liquidation threshold, divided by total debt. If you supply 10,000 dollars of ETH with an 80 percent liquidation threshold and borrow 4,000 dollars, your health factor is (10,000 times 0.80) divided by 4,000, which equals 2.0.

The further above 1 your health factor sits, the more price movement your position can absorb. A health factor of 2.0 is comfortable. A health factor of 1.1 is fragile and can flip into liquidation on a small market move or a few days of accrued interest.

How the liquidation price is derived

Your liquidation price is the collateral price at which your health factor reaches exactly 1. Below that price, the protocol can liquidate you. The calculator finds it by solving the health factor formula for the collateral price.

For a single collateral position, the liquidation price equals your debt divided by the product of your collateral quantity and the liquidation threshold. Using the example above, with one collateral asset, the drop buffer tells you how far the current price can fall before reaching that level. If your collateral can drop 50 percent before liquidation, you have a healthy cushion. If it can only drop 5 percent, any normal volatility could trigger it.

How to read the inputs and results

Each input maps to a real part of your position. Read them carefully, because small errors change the output a lot.

  • Collateral value: the current market value of all assets you have supplied as collateral.
  • Debt: the current value of everything you have borrowed, including interest accrued so far.
  • Liquidation threshold: the protocol parameter for your collateral asset, expressed as a percentage, such as 80 percent for ETH on many markets.
  • Collateral price: the current price of your collateral asset, used to compute the drop buffer and liquidation price.
  • Drop buffer: the percentage your collateral price can fall before your health factor hits 1.

On the results side, treat the health factor as your headline safety number and the drop buffer as your intuition check. A high health factor with a wide drop buffer means you can relax. A liquidation price sitting just under the current price means you should act.

Liquidation threshold and LTV, and typical values

Two parameters often get confused. The maximum loan to value (LTV) is how much you are allowed to borrow against an asset at the moment you open the loan. The liquidation threshold is the higher level at which the protocol liquidates you. The gap between them is your safety margin.

For example, ETH might have a max LTV around 75 percent and a liquidation threshold around 80 percent. That means you can borrow up to 75 percent of your ETH value, but you are only liquidated once your debt reaches 80 percent of collateral value. Stablecoins often carry higher thresholds, while volatile or thinly traded assets carry lower ones.

  • Major assets like ETH and wstETH: liquidation thresholds often around 80 percent.
  • Blue chip stablecoins: thresholds frequently in the mid 80s to low 90s percent.
  • Volatile or long tail assets: lower thresholds, sometimes 50 percent or less.
  • Isolated and high risk markets: tighter parameters set per market by the protocol.

How liquidation works mechanically

When your health factor falls to 1 or below, your position becomes eligible for liquidation. Independent actors called liquidators, usually bots, repay part of your debt on your behalf. In exchange, they receive an equivalent value of your collateral plus a liquidation bonus, also called the liquidation penalty.

That penalty is the cost you pay. It typically ranges from a few percent to around 10 percent or more depending on the asset and protocol. The liquidator profits from the discounted collateral, which is what incentivizes them to keep the protocol solvent. You keep the borrowed funds, but your collateral shrinks by the repaid amount plus the bonus, leaving you worse off than if you had managed the position yourself.

How to stay safe and avoid liquidation

Staying safe is mostly about maintaining a comfortable margin and reacting before the market does. Pick a target health factor and defend it rather than borrowing the maximum the protocol allows.

  • Target a health factor with real margin, such as 1.5 to 2.0 for volatile collateral, higher in fast markets.
  • Add collateral to raise your health factor when prices fall.
  • Repay part of your debt to reduce the denominator and move your liquidation price further away.
  • Prefer correlated or stable collateral against stable debt to reduce price gap risk.
  • Account for borrow interest, which slowly increases your debt even when prices are flat.

The earlier you act, the cheaper it is. Once liquidation triggers, you pay the penalty. Before that, a small repayment or top up costs you nothing but gas.

Differences across Aave, Morpho, and Euler

The health factor concept is shared, but the risk architecture differs. On Aave, collateral and borrows often sit in a shared pool, so your health factor reflects your whole cross collateral position and uses one liquidation threshold per asset. Spark, built on Aave technology, follows the same model.

Morpho is built around isolated markets. Each market pairs one collateral asset with one loan asset and has its own liquidation loan to value parameter. Risk does not bleed between markets, which makes each position simpler to reason about but means you manage health per market rather than across one combined account.

Euler offers a flexible model with tunable risk parameters and configurable collateral relationships, including isolated and cross positions. Always check the specific liquidation threshold or liquidation LTV for the exact market you are in, since two markets on the same asset can carry very different parameters.

Common mistakes and misconceptions

The most dangerous mistake is false safety from multiple collaterals. Holding several assets can make a position feel diversified, but a broad market selloff tends to drag correlated crypto assets down together. A multi collateral position can move toward liquidation faster than the per asset numbers suggest, and a single weighted health factor can hide which asset is dragging you down.

The second common error is ignoring borrow interest accrual. Your debt grows continuously as interest compounds, so a position that looks safe today can drift toward liquidation over weeks even if prices never move. Variable borrow rates can also spike when utilization rises, accelerating the drift.

  • Assuming a healthy current price means a safe position, while ignoring volatility.
  • Borrowing near the max LTV and leaving almost no buffer above a health factor of 1.
  • Forgetting that a rising borrowed asset, not just falling collateral, can liquidate you.
  • Not rechecking parameters after a protocol governance change to thresholds or caps.

A worked example

Suppose you supply 5 ETH as collateral at a price of 3,000 dollars, giving 15,000 dollars of collateral. The liquidation threshold for ETH is 80 percent. You borrow 6,000 dollars of USDC.

Your health factor is (15,000 times 0.80) divided by 6,000, which equals 2.0. Your liquidation price is 6,000 divided by (5 times 0.80), which equals 1,500 dollars per ETH. That means ETH can fall from 3,000 to 1,500 before you are liquidated, a drop buffer of 50 percent.

Now imagine interest accrues and your debt grows to 8,000 dollars while ETH is unchanged. Your health factor falls to (15,000 times 0.80) divided by 8,000, which equals 1.5, and your liquidation price rises to 2,000 dollars per ETH. Nothing happened to the price, yet your buffer shrank. This is exactly the kind of silent drift that catches borrowers off guard.

How Otomato tracks your live health factor and alerts you

A liquidation calculator is a snapshot. Real positions move every block as prices change and interest accrues. Otomato turns that snapshot into continuous monitoring. Paste a wallet address and Otomato automatically detects your lending positions across 11 chains, including Aave, Morpho, Euler, and Spark, with no manual setup and no signatures.

Otomato tracks your live health factor and watches the buffer between your current price and your liquidation price in real time. When your position approaches risk, it sends a precise, actionable alert to the Otomato app or Telegram, before liquidation, so you have time to add collateral or repay rather than discovering the loss afterward.

It also monitors the events around your position that calculators cannot capture, such as borrow rate spikes, collateral depegs, and protocol parameter changes that move your liquidation threshold. The result is a portfolio that monitors itself, so you only get interrupted when something genuinely deserves your attention.

Frequently asked questions

What is a health factor?
The health factor is a single number that summarises how safe a lending position is. It equals your collateral value times the liquidation threshold, divided by your debt. Above 1 you are safe; if it falls to 1 or below, your collateral can be liquidated. The higher the number, the more buffer you have.
How is the liquidation price calculated?
For a single volatile collateral against stable debt, liquidation happens when collateral value × liquidation threshold = debt. So the liquidation price equals your current price × debt / (collateral value × threshold). This calculator shows that price and how far your collateral can fall before it is reached.
What is a safe health factor?
There is no universal number, but many borrowers keep a health factor of 1.5 to 2 or higher to survive volatility. A health factor just above 1 leaves almost no margin, a small price move can trigger liquidation. Otomato alerts you before your health factor reaches dangerous levels.

More crypto calculators

Get alerted before you get liquidated

Otomato tracks the live health factor on your Aave, Morpho and Euler positions across 11 chains and warns you while you still have time to act.

Monitor my portfolio