Health Factor Calculator: Crypto Loan Liquidation Price and LTV

When you borrow against crypto, the number that matters is not the interest rate. It is the price at which your collateral gets sold without asking you. Enter what you have deposited, what you owe and the liquidation threshold your platform shows. The calculator gives your health factor, the price that triggers liquidation, how far the market can fall before that happens, and what it would take to get back to a safer level.

It works for lending protocols such as Aave, Spark or Compound, and for loans from an exchange or crypto lender, as long as you know the threshold at which your position is closed.

How the health factor and liquidation price are calculated

Each asset you post as collateral has a liquidation threshold: the share of its value that counts toward your borrowing limit. If ETH has a threshold of 82.5%, every $1,000 of ETH supports up to $825 of debt before the position can be liquidated. The health factor compares that adjusted collateral with what you owe:

  • Health factor = Σ(collateral amount × price × liquidation threshold) ÷ debt
  • Current LTV (loan-to-value) = debt ÷ total collateral value
  • Liquidation price of the main collateral = (debt − value of the other collateral × its threshold) ÷ (amount of main collateral × its threshold), with everything else unchanged
  • Drop to liquidation if all collateral falls together = 1 − 1 ÷ health factor
  • Debt with interest = debt × (1 + APR ÷ 365)days, because most lending markets add interest continuously
  • Days until interest alone takes you to 1 = ln(health factor) ÷ ln(1 + APR ÷ 365), at flat prices

A health factor of 1 is the line. Above it, the position is safe at current prices. Below it, anyone can repay part of your debt and take your collateral at a discount. The calculator also works out the two ways back to a target health factor you choose:

  • Collateral to add = (target × debt − adjusted collateral) ÷ threshold of the main collateral
  • Debt to repay = debt − adjusted collateral ÷ target

Repaying almost always takes fewer dollars than adding collateral, because each dollar of new collateral only counts at its threshold, while each dollar repaid comes straight off the debt.

Worked examples

These are examples with round numbers, not current prices or current platform settings.

  • 10 ETH at $3,000, threshold 82.5%, debt $15,000: adjusted collateral is $30,000 × 0.825 = $24,750, so the health factor is 24,750 ÷ 15,000 = 1.65. Your LTV is 50%. ETH would have to fall to 15,000 ÷ (10 × 0.825) = $1,818, a drop of about 39%, before liquidation.
  • Same loan, 5% APR, one year, prices flat: the debt grows to about $15,769 and the health factor slips to 1.57. Interest alone would take it to 1 in about 3,656 days, or ten years. Interest is a slow leak. Price is the real threat.
  • Back to a health factor of 1.8: you need $27,000 of adjusted collateral. You can add $2,250 ÷ 0.825 = about $2,727 of ETH (0.91 ETH at $3,000), or repay 15,000 − 24,750 ÷ 1.8 = $1,250 of debt.
  • 1 BTC at $90,000 plus 20,000 USDC, both at a 78% threshold, debt $50,000: the health factor is (70,200 + 15,600) ÷ 50,000 = 1.72. Because the stablecoin holds its value, BTC can fall to about $44,103, a 51% drop, before liquidation. If every asset fell together, the limit would be a 42% drop.

What happens when a position is liquidated

A liquidation is not a margin call. Nobody emails you first. On a lending protocol, any bot can step in the moment your health factor drops below 1. On Aave, according to its documentation and governance records checked in November 2026, it works like this:

  • Close factor: with a health factor between 0.95 and 1, a liquidator can repay up to 50% of your debt in one transaction. Below 0.95, the whole debt can be repaid at once. Since Aave v3.3, small positions can also be closed in full, so they do not leave dust behind.
  • Liquidation bonus: the liquidator receives collateral worth the debt repaid plus a bonus, set for each asset by Aave governance. That bonus is your penalty. Part of it goes to the protocol as a fee.

Example: in the first case above, ETH falls to $1,800 and the health factor drops to 0.99. A liquidator repays $7,500, half the debt, and with a 5% bonus takes $7,875 of ETH, or 4.375 ETH. You keep 5.625 ETH worth $10,125 and owe $7,500. The health factor is back at 1.11, but you have lost $375 on top of selling ETH near the low. Enter the bonus your platform shows to see your own figure; the calculator assumes the 50% case.

Other protocols use the same idea under different names: liquidation penalty, liquidation incentive or liquidation fee. Aave’s next version changes how liquidations are sized, so always read the rules of the market you actually use.

Loans from an exchange or crypto lender

Centralized platforms rarely talk about a health factor. They show your LTV and two limits: a margin call level, when they ask you to add collateral, and a liquidation level, when they sell it. The maths is the same. Your health factor equals the liquidation LTV divided by your current LTV. If the platform liquidates at 80% LTV and you are at 50%, your health factor is 1.6.

To use the calculator for a centralized loan, enter the platform’s liquidation LTV as the liquidation threshold. Then check three things the calculator cannot see: whether interest is added daily or monthly, whether the platform charges its own liquidation fee, and whether it can change the limits during the loan. With a centralized lender you also depend on the company itself. If it fails, your collateral is part of its bankruptcy, as customers of several crypto lenders found out in 2022.

How to keep a crypto loan away from liquidation

  • Borrow less than you can. The maximum LTV a platform allows is a limit, not a target. A health factor of 1.65 still disappears in a 40% fall, and ETH has fallen by more than that several times in its history.
  • Decide your action level in advance. Pick the health factor at which you add collateral or repay, for example 1.4, and set an alert on your platform or a portfolio app.
  • Keep the top-up ready. Stablecoins in your wallet can be repaid in minutes. Coins sitting on an exchange may take longer to move when networks are busy.
  • Watch the borrow rate. Rates on DeFi markets move with demand, so a cheap loan can get expensive in a week.
  • Do not borrow against coins you cannot afford to lose. Collateral that is liquidated is sold at the worst moment.

Key takeaway: your health factor tells you how far prices can fall before you lose collateral. Divide 1 by it, subtract from 1, and you have the size of the crash you can survive if everything falls together.

The coins you do not post as collateral are usually the bulk of a long-term holding. Keeping them off exchanges and lending platforms, under keys only you control, limits what you can lose if a platform fails or a loan goes wrong. Our guide on how to store crypto safely covers the options.

A hardware wallet keeps your private keys offline, so the coins you are not borrowing against stay out of reach of exchanges, lending apps and online attacks.

See Ledger hardware wallets

Frequently asked questions

What is a good health factor on Aave?

There is no safe number, only a cushion. A health factor of 1.5 survives a fall of about 33% if all your collateral drops together, and 2 survives about 50%. Many borrowers stay between 1.5 and 2 and act when they get close to their lower level.

What is the difference between LTV and liquidation threshold?

The maximum LTV is how much you can borrow when you open or increase a loan. The liquidation threshold is a little higher and is where liquidation starts. The gap between them is your built-in margin on day one.

Does borrowing stablecoins against stablecoins carry liquidation risk?

Less, but some. If the collateral or the borrowed stablecoin loses its peg, or interest builds up for long enough, the health factor can still fall below 1.

Can I lose more than my collateral?

On a lending protocol, no: the worst case is losing the collateral while keeping what you borrowed. In a fast crash you can still lose most of it, because each liquidation takes a penalty and prices may not recover before the next one.

Why does my liquidation price change over time?

Because interest adds to your debt every day, and governance can change liquidation thresholds. Each one moves the liquidation price, so check it again whenever you look at your position.

Related guides

More calculators

This page contains affiliate links: if you buy through them we may earn a commission at no extra cost to you. How we make money.

The calculator gives estimates. Liquidation thresholds, penalties and rates are set by each platform and can change, so check the figures on yours before you borrow. Crypto is high-risk; you can lose all the money you put in.