DeFi borrowing risk

DeFi Health Factor & Liquidation Buffer Calculator

Estimate a lending position's health factor, liquidation price, price buffer, and collateral or repayment needed for a target buffer.

✓ Runs in your browser✓ No account✓ No wallet signature
Calculated locally

Stress-test one collateral position

Use the protocol's liquidation threshold, not loan-to-value, for this estimate.

Result

Your manual estimate

Calculated locally
Method

How this calculator works

01

Enter collateral quantity and price, debt value, liquidation threshold, and a target health factor.

02

CoinCalcs validates the manual inputs and applies this published model: Health factor = collateral value × liquidation threshold ÷ debt value

03

The result is calculated locally in the browser and is not sent to CoinCalcs or a market-data provider.

Formula

The calculation

Health factor = collateral value × liquidation threshold ÷ debt value
Example

A concrete scenario

Collateral worth $10,000 at an 80% liquidation threshold against $5,000 debt has a health factor of 1.6.

Data provenance

Sources used

Privacy: Calculator inputs are processed locally in your browser. CoinCalcs does not receive or store these inputs. Theme and cookie preferences may be stored on this device.

Known limits

What this estimate cannot guarantee

  • Protocols can use multiple assets, oracle-specific prices, accrued interest, isolation modes, and changing governance parameters.
  • The result is only as current and accurate as the assumptions entered in the form.
  • The output is educational scenario arithmetic, not financial, investment, tax, legal, or security advice.
FAQ

Questions about this tool

What does the DeFi Health Factor & Liquidation Buffer Calculator calculate?

Estimate a lending position's health factor, liquidation price, price buffer, and collateral or repayment needed for a target buffer.

Does the Health factor use live market or wallet data?

No. It uses only the values entered in the form and labels the result as a manual estimate.

Are my inputs uploaded or stored?

No. The calculation runs in your browser. CoinCalcs does not receive or retain the form values.

Last reviewed: July 22, 2026