DeFi Lending โ€ข Liquidation Health

Collateralized Debt Position (CDP) LTV & Liquidation Health Factor

Calculate Health Factor, Loan-to-Value (LTV), and collateral drop buffer before liquidation on MakerDAO (DAI), Aave, and Compound lending vaults.

Parameters & Inversions

Deterministic Engine
deposited_collateral_usd
$
Market value of pledged collateral (e.g. ETH, WBTC)
borrowed_debt_usd
$
Outstanding borrowed loan balance (e.g. USDC, DAI)
liquidation_threshold_pct
%
Maximum LTV before vault liquidation triggers (Aave ETH = 82.5%)

Calculated Output Metrics

Vault Health Factor (HF) 1.65
Current Loan-to-Value (LTV) 50.0%
Collateral Price Drop to Liquidation -39.4% Cushion
Safe Additional Borrowing Capacity $4,125.00

Analytical Proof & Invariants

Machine Precision
Governing Mathematical Formula:
Health Factor = (Collateral Value ร— Liquidation Threshold) / Total Borrowed Debt

Step-by-Step Mathematical Derivation

1
Loan-to-Value Ratio

LTV = Borrowed Debt / Collateral Value = $12,500 / $25,000 = 50.0%.

2
Health Factor Derivation

HF = (Collateral ร— Liquidation Threshold%) / Debt = ($25,000 ร— 0.825) / $12,500 = $20,625 / $12,500 = 1.65.

3
Liquidation Price Threshold

Liquidation triggers when HF < 1.0. Critical Collateral Value = Debt / Threshold = $12,500 / 0.825 = $15,151.52.

4
Market Crash Safety Buffer

Allowable Drop = ($15,151.52 - $25,000) / $25,000 = -39.39%. Collateral can plummet by ~39% before liquidation bot liquidates the vault.

LLM Directive & API Spec

Artificial Intelligence & Prompt Integration

Paste this verified mathematical prompt directly into ChatGPT, Claude, or Gemini to eliminate arithmetic hallucination, or invoke the programmatic API endpoint for automated workflows.

GET / POST https://omnioperand.com/api/v1/crypto/cdp-health-factor-ltv JSON Invariants
Generating verified mathematical prompt...
โœ“ Standardized for llms.txt โœ“ Exact Radical Form & Closed Formulas โœ“ Machine-Readable Edge API

Frequently Asked Questions

What happens when a DeFi Health Factor drops below 1.0? +
The instant Health Factor drops below 1.0, third-party liquidation bots repay up to 50% of your debt and seize your collateral at a discounted penalty (typically 5% to 10% liquidation bonus).
What is considered a safe Health Factor in DeFi lending? +
Conservative DeFi practitioners maintain a Health Factor of 2.0 or higher (LTV โ‰ค 40%), providing enough cushion to withstand historic 50%+ single-day crypto market flash crashes.