Crypto collateral liquidation threshold · Calculation guide

Find the collateral price at which a single-asset loan reaches its liquidation threshold.

Calculation guide

One collateral asset, fixed debt and threshold. A health factor of one marks the boundary. Use actual protocol parameters. Excludes interest accrual, fees and oracle lag.

trigger = debt/(units*threshold/100) · health = units*price*threshold/100/debt

Inputs

Collateral units

Example entry 10.

Debt in quote currency

Example entry 12000 (in the selected currency).

Liquidation threshold (debt / collateral)

Example entry 80 %. Allowed range 0 to 100.

Current collateral price

Example entry 2000 (in the selected currency).

Worked example

InputValue
Collateral units10
Debt in quote currency12,000
Liquidation threshold (debt / collateral)80%
Current collateral price2,000
ResultValue
Liquidation boundary price1,500
Current health factor1.333333

Calculation steps

Liquidation boundary price = (Debt in quote currency ÷ ((Collateral units × Liquidation threshold (debt / collateral)) ÷ 100))

(12,000 ÷ ((10 × 80) ÷ 100)) = 1,500

Current health factor = ((((Collateral units × Current collateral price) × Liquidation threshold (debt / collateral)) ÷ 100) ÷ Debt in quote currency)

((((10 × 2,000) × 80) ÷ 100) ÷ 12,000) = 1.333333

How each input affects this example

Each row starts from the worked example and changes one input.

InputOriginal inputNew inputAffected resultOriginal resultNew result
Collateral units1011Liquidation boundary price1,5001,363.636364
Debt in quote currency12,00013,200Liquidation boundary price1,5001,650
Liquidation threshold (debt / collateral)80%88%Liquidation boundary price1,5001,363.636364
Current collateral price2,0002,200Current health factor1.3333331.466667
Crypto collateral liquidation threshold →