Overcollateralized Lending - The DeFi Standard
Learning Objectives
Explain why DeFi requires overcollateralization and how it substitutes for credit assessment and legal enforcement
Calculate Loan-to-Value ratios and health factors for any borrowing position and determine proximity to liquidation
Evaluate collateralization requirements across different asset types and understand why they vary
Assess the capital efficiency trade-off between DeFi and traditional lending for different use cases
Design a collateral strategy that balances borrowing capacity against liquidation risk
When you take out a bank loan, the bank relies on multiple layers of protection:
- **Credit assessment** - Your income, history, and score predict repayment probability
- **Legal contracts** - Signed agreements enable lawsuits and wage garnishment
- **Collateral registration** - Liens on houses and cars can be enforced through courts
- **Identity verification** - KYC ensures they know who you are
- **Regulatory oversight** - Banking laws and enforcement create systemic accountability
DeFi lending has exactly zero of these protections.
Borrowers are wallet addresses—pseudonymous, unverified, and unlocatable. Smart contracts can't file lawsuits. There's no credit bureau in crypto. If someone borrows and simply walks away, there's no recourse whatsoever.
So how does DeFi lending work at all?
The answer is elegant but demanding: overcollateralization. You can only borrow if you first deposit assets worth more than you're borrowing. If you don't repay, the protocol simply takes your collateral. No courts needed—it's automatic.
This creates a fundamental trade-off. Traditional lending allows you to borrow based on future income—money you don't have yet. DeFi lending only works if you already have assets. You can't bootstrap capital through DeFi; you can only reposition capital you already own.
For sophisticated investors, this limitation is often acceptable—they have assets and want flexibility. For those without existing capital, DeFi lending offers nothing.
Understanding this trade-off is essential to evaluating whether DeFi lending serves your needs.
If you borrow $100 and deposit exactly $100 as collateral, the protocol has no safety margin:
SCENARIO: 100% Collateralization
Initial State:
├── Collateral: $100 ETH
├── Borrowed: $100 USDC
└── Ratio: 100%
What Happens When ETH Drops 5%?
├── Collateral value: $95
├── Debt value: $100
├── Result: Collateral < Debt
└── Protocol is now underwater (bad debt)
Why This Fails:
├── Price movements are continuous
├── Liquidation takes time (even seconds)
├── Market conditions can prevent liquidation
├── Oracle updates aren't instant
└── Protocol would accumulate bad debt
```
Overcollateralization provides a buffer:
SCENARIO: 150% Collateralization (67% LTV)
Initial State:
├── Collateral: $150 ETH
├── Borrowed: $100 USDC
├── Ratio: 150%
└── Buffer: 50% price drop before underwater
What Happens When ETH Drops 20%?
├── Collateral value: $120
├── Debt value: $100
├── Ratio: 120%
├── Still overcollateralized
└── Protocol still safe
When Does Liquidation Trigger?
├── Liquidation threshold: typically 125% (80% LTV)
├── At $100 collateral / $100 debt = underwater
├── Liquidation at $125 gives 25% buffer
└── Liquidator takes collateral, repays debt
Three metrics describe the same relationship from different angles:
METRIC DEFINITIONS:
LOAN-TO-VALUE (LTV):
├── Formula: Debt / Collateral Value
├── Example: $75 borrowed / $100 collateral = 75% LTV
├── Higher LTV = More borrowed relative to collateral
├── Higher LTV = Closer to liquidation
└── Max LTV: The most you can borrow (e.g., 80%)
COLLATERALIZATION RATIO:
├── Formula: Collateral Value / Debt
├── Example: $100 collateral / $75 debt = 133%
├── Higher ratio = More collateral relative to debt
├── Higher ratio = Further from liquidation
└── Inverse of LTV: 133% = 1/0.75 = 1/LTV
HEALTH FACTOR:
├── Formula: (Collateral × Liquidation Threshold) / Debt
├── Example: ($100 × 0.825) / $75 = 1.1
├── Health Factor > 1.0 = Safe (for now)
├── Health Factor < 1.0 = Liquidatable
└── Protocol-specific terminology (Aave uses this)
CONVERTING BETWEEN THEM:
If LTV = 75% and Liquidation Threshold = 82.5%:
├── Collateralization Ratio = 1/0.75 = 133%
├── Health Factor = 82.5% / 75% = 1.1
└── All describe same position differently
```
Each asset type has specific parameters:
TYPICAL LIQUIDATION PARAMETERS (Aave V3 Example):
HIGH-QUALITY COLLATERAL (ETH, BTC):
├── Max LTV: 80%
├── Liquidation Threshold: 82.5-85%
├── Liquidation Penalty: 5%
└── Reasoning: Liquid, lower volatility
MEDIUM-QUALITY COLLATERAL (Large altcoins):
├── Max LTV: 65-75%
├── Liquidation Threshold: 70-80%
├── Liquidation Penalty: 7.5%
└── Reasoning: More volatile, less liquid
LOWER-QUALITY COLLATERAL (Small altcoins):
├── Max LTV: 50-60%
├── Liquidation Threshold: 60-70%
├── Liquidation Penalty: 10%
└── Reasoning: High volatility, limited liquidity
STABLECOINS (USDC, DAI):
├── Max LTV: 75-80%
├── Liquidation Threshold: 80-85%
├── Liquidation Penalty: 4-5%
└── Reasoning: Low volatility, but still has risk
WHY PARAMETERS DIFFER:
More Volatile Asset:
├── Price can drop further before liquidation executes
├── Requires larger buffer (lower LTV)
├── Higher penalty to incentivize fast liquidation
└── Examples: Small caps, meme coins
Less Liquid Asset:
├── Liquidation may cause price impact
├── Liquidators need larger incentive
├── Protocol limits exposure
└── Examples: Long-tail tokens
Correlated Assets:
├── If collateral and debt are correlated, risk is lower
├── ETH collateral, stETH debt = low risk (prices track)
├── Can have higher LTV (Efficiency Mode)
└── Examples: ETH/stETH, USDC/DAI
---
Let's work through a complete example:
SCENARIO: Borrowing USDC Against ETH
GIVEN:
├── ETH price: $2,000
├── Amount of ETH deposited: 5 ETH
├── ETH collateral value: 5 × $2,000 = $10,000
├── ETH max LTV: 80%
├── ETH liquidation threshold: 82.5%
├── Liquidation penalty: 5%
STEP 1: Calculate Maximum Borrowing
├── Max borrow = Collateral × Max LTV
├── Max borrow = $10,000 × 80% = $8,000
└── You COULD borrow $8,000 USDC (but shouldn't max out)
STEP 2: Choose Conservative Borrow Amount
├── Recommended: 50-60% LTV for volatile collateral
├── Chosen borrow: $6,000 USDC (60% LTV)
└── Buffer: 20% room before hitting max, more before liquidation
STEP 3: Calculate Health Factor
├── Health Factor = (Collateral × Liquidation Threshold) / Debt
├── Health Factor = ($10,000 × 0.825) / $6,000
├── Health Factor = $8,250 / $6,000 = 1.375
└── Healthy: Significantly above 1.0
STEP 4: Calculate Liquidation Price
├── At what ETH price does Health Factor = 1.0?
├── Liquidation when: (5 ETH × Price × 0.825) = $6,000
├── Price × 4.125 = $6,000
├── Liquidation Price = $6,000 / 4.125 = $1,454.55
└── ETH must drop 27% ($2,000 → $1,455) to liquidate
STEP 5: Calculate Safety Buffer
├── Current price: $2,000
├── Liquidation price: $1,455
├── Buffer: ($2,000 - $1,455) / $2,000 = 27.3%
└── Position can survive 27% drop before liquidation
Memorize this formula for quick calculations:
LIQUIDATION PRICE FORMULA:
For single-asset collateral, single-asset debt:
Liquidation Price = (Debt × Entry Price) / (Collateral × Liquidation Threshold × Entry Price / Current Price)
Simplified (when you entered at current price):
Liquidation Price = Debt / (Collateral Units × Liquidation Threshold)
Example:
├── Debt: $6,000
├── Collateral: 5 ETH
├── Liquidation Threshold: 0.825
├── Liquidation Price = $6,000 / (5 × 0.825)
├── Liquidation Price = $6,000 / 4.125 = $1,454.55
└── Same as calculated above
PERCENTAGE DROP TO LIQUIDATION:
Drop % = 1 - (LTV / Liquidation Threshold)
Example:
├── Current LTV: 60%
├── Liquidation Threshold: 82.5%
├── Drop % = 1 - (0.60 / 0.825)
├── Drop % = 1 - 0.727 = 27.3%
└── Confirms our earlier calculation
```
Your position changes constantly as prices move:
POSITION EVOLUTION OVER TIME:
Starting Position:
├── 5 ETH at $2,000 = $10,000 collateral
├── $6,000 USDC borrowed
├── LTV: 60%
├── Health Factor: 1.375
DAY 1: ETH rises to $2,200 (+10%)
├── Collateral: 5 × $2,200 = $11,000
├── Debt: $6,000 (unchanged)
├── LTV: $6,000 / $11,000 = 54.5%
├── Health Factor: ($11,000 × 0.825) / $6,000 = 1.51
└── Position improved—could borrow more (but should you?)
DAY 7: ETH drops to $1,800 (-10% from start)
├── Collateral: 5 × $1,800 = $9,000
├── Debt: $6,000 (unchanged)
├── LTV: $6,000 / $9,000 = 66.7%
├── Health Factor: ($9,000 × 0.825) / $6,000 = 1.24
└── Position weakened—monitor closely
DAY 14: ETH crashes to $1,500 (-25% from start)
├── Collateral: 5 × $1,500 = $7,500
├── Debt: $6,000 (unchanged)
├── LTV: $6,000 / $7,500 = 80%
├── Health Factor: ($7,500 × 0.825) / $6,000 = 1.03
└── DANGER ZONE—liquidation imminent if drops further
DAY 15: ETH drops to $1,400 (-30% from start)
├── Collateral: 5 × $1,400 = $7,000
├── Debt: $6,000 (unchanged)
├── LTV: $6,000 / $7,000 = 85.7%
├── Health Factor: ($7,000 × 0.825) / $6,000 = 0.96
└── LIQUIDATED—Health Factor below 1.0
When health factor drops below 1.0, anyone can liquidate:
LIQUIDATION PROCESS:
TRIGGERING CONDITIONS:
├── Health Factor < 1.0 (or equivalent threshold)
├── Position is "liquidatable"
├── Any address can call liquidation function
└── First valid liquidator wins
TYPICAL LIQUIDATION FLOW:
Detection:
Calculation:
Execution:
Settlement:
EXAMPLE LIQUIDATION:
Pre-Liquidation State:
├── Collateral: 5 ETH at $1,400 = $7,000
├── Debt: $6,000 USDC
├── Health Factor: 0.96 (liquidatable)
Liquidator Action:
├── Repays 50% of debt: $3,000 USDC
├── Receives: $3,000 + 5% penalty = $3,150 worth of ETH
├── ETH received: $3,150 / $1,400 = 2.25 ETH
├── Liquidator profit: $150 (minus gas)
Post-Liquidation State:
├── Collateral: 5 - 2.25 = 2.75 ETH = $3,850
├── Debt: $6,000 - $3,000 = $3,000 USDC
├── New LTV: $3,000 / $3,850 = 77.9%
├── New Health Factor: ($3,850 × 0.825) / $3,000 = 1.06
└── Position restored to healthy state
BORROWER'S LOSS:
├── Lost: 2.25 ETH
├── Debt reduced: $3,000
├── Net loss: 2.25 ETH worth $3,150 for $3,000 debt reduction
├── Penalty paid: $150 (liquidation cost)
└── Still owns 2.75 ETH, owes $3,000
```
Individual liquidations can trigger market-wide events:
CASCADING LIQUIDATION SCENARIO:
SETUP:
├── Many borrowers have similar positions
├── ETH is popular collateral
├── Market is leveraged (lots of borrowed positions)
TRIGGER:
├── ETH drops 15% in 1 hour
├── Many positions now liquidatable
├── Liquidators begin selling ETH for stablecoins
FIRST ORDER EFFECTS:
├── Liquidations = Forced ETH selling
├── Selling pressure → Price drops further
├── More positions become liquidatable
└── More liquidations trigger
SECOND ORDER EFFECTS:
├── Price drops → Panic selling (non-liquidation)
├── CEX liquidations trigger (leveraged traders)
├── Oracle updates lag → Brief price mismatches
└── Network congestion increases
THIRD ORDER EFFECTS:
├── Gas prices spike (everyone trying to act)
├── Some liquidations fail (out of gas)
├── Positions fall deeper underwater
├── Protocol may accumulate bad debt
└── Market temporarily dysfunctional
HISTORICAL EXAMPLES:
March 2020 "Black Thursday":
├── ETH dropped 50%+ in 24 hours
├── MakerDAO liquidations stalled (gas prices)
├── Some liquidators got ETH for free (oracle lag)
├── $8M+ in bad debt for MakerDAO
├── Led to DAI supply reduction
└── Protocol survived but was stressed
May 2021 Flash Crash:
├── BTC/ETH dropped 30-40%
├── $8B+ liquidated across DeFi
├── Network congestion extreme
├── Many positions liquidated at worse prices than models predicted
└── Demonstrated cascade risk at scale
```
Modern liquidations often use flash loans:
FLASH LOAN LIQUIDATION MECHANICS:
TRADITIONAL LIQUIDATION:
├── Liquidator needs capital upfront
├── Borrow $3,000 USDC to repay debt
├── Receive $3,150 ETH as collateral
├── Sell ETH for USDC
├── Profit: ~$150 minus capital cost
└── Requires starting capital
FLASH LOAN LIQUIDATION:
├── Liquidator borrows $3,000 USDC via flash loan
├── Uses borrowed USDC to repay victim's debt
├── Receives $3,150 ETH as collateral
├── Sells ETH on DEX for $3,150 USDC
├── Repays flash loan ($3,000 + 0.09% fee)
├── Keeps profit: ~$147
└── Requires ZERO starting capital
WHY THIS MATTERS:
For Liquidators:
├── No capital requirements
├── Risk-free profit (if transaction succeeds)
├── Atomic: Everything happens in one block
├── Highly competitive (MEV bots)
└── Anyone can become a liquidator
For Borrowers:
├── Liquidations are very efficient
├── No delay waiting for liquidator capital
├── Positions get liquidated quickly
├── Less chance of protocol bad debt
└── Also less chance to add collateral
For Markets:
├── Efficient liquidations = Efficient markets
├── More liquidity for liquidation events
├── But: Reinforces cascade dynamics
└── Everything happens very fast
---
Overcollateralization creates capital inefficiency:
CAPITAL EFFICIENCY COMPARISON:
TRADITIONAL MORTGAGE:
├── Home price: $400,000
├── Down payment: $80,000 (20%)
├── Borrowed: $320,000 (80% LTV)
├── Capital deployed: $80,000
├── Asset controlled: $400,000
├── Leverage: 5x
└── Capital efficiency: High
DeFi COLLATERALIZED LOAN:
├── Want to borrow: $80,000 USDC
├── Required collateral (75% LTV): $106,667 ETH
├── Capital deployed: $106,667
├── Asset received: $80,000
├── No leverage (negative: deposited more than received)
└── Capital efficiency: Low
TRADITIONAL MARGIN LOAN:
├── Deposit $100,000 in brokerage
├── Borrow $50,000 (50% margin)
├── Buy additional stocks: $50,000
├── Total exposure: $150,000
├── Leverage: 1.5x
├── Interest rate: Prime + 1%
└── Capital efficiency: Medium
DeFi "LEVERAGE" STRATEGY:
├── Deposit $100,000 ETH
├── Borrow $60,000 USDC (60% LTV)
├── Buy more ETH with USDC: $60,000
├── Total ETH exposure: $160,000
├── Effective leverage: 1.6x
├── Interest paid: 3-8%
└── Capital efficiency: Medium (but requires initial capital)
Given capital inefficiency, who actually uses DeFi lending?
IDEAL USE CASES:
1. TAX-EFFICIENT LIQUIDITY
1. LEVERAGE FOR CONVICTION
1. CAPITAL EFFICIENCY (Same Asset Pairs)
1. EMERGENCY LIQUIDITY
1. YIELD FARMING
POOR USE CASES:
├── Borrowing for consumption (just sell the asset)
├── High-interest debt consolidation (rates not competitive)
├── Borrowing without monitoring capability
├── Maximizing leverage on volatile assets
└── Hoping to avoid ever repaying
```
Different collateral choices have different trade-offs:
COLLATERAL COMPARISON MATRIX:
ETH AS COLLATERAL:
├── Pros:
│ ├── Highest LTV available
│ ├── Most liquid for liquidations
│ ├── Well-understood by protocols
│ └── Can earn staking yield while collateralized
├── Cons:
│ ├── Volatile (liquidation risk)
│ ├── May miss upside if liquidated
│ └── Opportunity cost of locking
└── Best for: Long-term ETH holders needing liquidity
STABLECOINS AS COLLATERAL:
├── Pros:
│ ├── No volatility risk (minimal liquidation concern)
│ ├── Predictable position value
│ ├── Can borrow other stables for yield
│ └── High LTV available
├── Cons:
│ ├── No upside (stables don't appreciate)
│ ├── Still have smart contract risk
│ ├── Why not just use the stable directly?
│ └── Makes sense only for specific strategies
└── Best for: Yield arbitrage, delta-neutral strategies
BTC AS COLLATERAL:
├── Pros:
│ ├── Good LTV (second to ETH usually)
│ ├── Decent liquidity
│ ├── Lower volatility than altcoins
│ └── Institutional acceptance
├── Cons:
│ ├── Must use wrapped version (additional risk)
│ ├── Still volatile
│ └── Cross-chain complexity
└── Best for: BTC holders wanting exposure to DeFi
XRP AS COLLATERAL:
├── Pros:
│ ├── Native to XRPL ecosystem
│ ├── Liquid on XRPL markets
│ ├── Growing institutional acceptance
│ └── Lower correlation to ETH (diversification)
├── Cons:
│ ├── Less established in DeFi lending
│ ├── Likely lower LTV than ETH/BTC
│ ├── Limited protocol support currently
│ └── Volatility similar to other alts
└── Best for: XRPL-native lending (future)
ALTCOINS AS COLLATERAL:
├── Pros:
│ ├── May have higher appreciation potential
│ ├── Can access liquidity without selling
│ └── Some protocols support
├── Cons:
│ ├── Low LTV (50-65%)
│ ├── High liquidation risk
│ ├── Limited liquidity for liquidations
│ ├── Protocols may not support
│ └── Can drop 50%+ in days
└── Best for: Avoid unless absolutely necessary
✅ Overcollateralization enables trustless lending - The system works. Billions of dollars have been borrowed and repaid through protocols with no legal enforcement, purely through collateral mechanics.
✅ Liquidation mechanisms generally function - Even during market stress, protocols have successfully liquidated positions and maintained solvency (with some exceptions). The incentive structure for liquidators works.
✅ Capital inefficiency is a real limitation - You must have assets to borrow against. This restricts who can use DeFi lending and for what purposes.
⚠️ Optimal collateralization ratios - Protocols experiment with different parameters. Too conservative = less utility. Too aggressive = cascade risk. The right balance is still being determined.
⚠️ Behavior during extreme stress - Black swan events (50%+ drops in hours) have caused protocol issues. Can systems survive events worse than we've seen?
⚠️ Long-term liquidation bot competition - As MEV extraction becomes more competitive, will liquidation remain profitable enough to ensure market stability?
🔴 Maximizing LTV - Borrowing the maximum available is the fastest path to liquidation. The "buffer" is not optional—it's survival.
🔴 Ignoring correlation - If your collateral and debt can move against you simultaneously (ETH collateral during crypto crash + need to repay USDC), you face compounded risk.
🔴 Assuming liquidation won't happen - It happens constantly. Over $10 billion liquidated in major events. Planning for liquidation is essential.
Overcollateralization is an elegant solution to a hard problem: enabling trustless lending without identity or legal systems. It works but at a cost—you must already have capital to access capital. This makes DeFi lending a tool for asset reallocation and leverage, not for those bootstrapping from nothing. Understanding where you sit on the LTV spectrum is literally the difference between keeping and losing your collateral.
Assignment: Build a spreadsheet model that calculates position dynamics under various price scenarios, enabling you to make informed decisions about collateral management.
Requirements:
Part 1: Position Calculator (30%)
Collateral asset and amount
Current collateral price
Borrowed asset and amount
Protocol parameters (Max LTV, Liquidation Threshold, Penalty)
Current LTV
Collateralization Ratio
Health Factor
Liquidation Price
Percentage buffer to liquidation
Part 2: Scenario Analysis (30%)
10% price drop
25% price drop
50% price drop
10% price increase
25% price increase
Updated LTV
Updated Health Factor
Whether liquidation occurs
If liquidated, remaining collateral after penalty
Part 3: Interest Accumulation (20%)
- Input: Annual borrow rate
- Calculate: Daily/monthly interest accrual
- Show: How debt growth affects LTV over time
- Model: Position after 30, 90, 180 days (assuming flat collateral price)
Part 4: Safe Borrowing Calculator (20%)
Given collateral amount and price
Given desired "safe" price drop buffer (e.g., 30%)
Calculate: Maximum safe borrow amount
Show: Resulting LTV and Health Factor
Mathematical accuracy (30%)
Scenario comprehensiveness (25%)
Usability and clarity (25%)
Practical applicability (20%)
Time investment: 2-3 hours
Value: This tool will inform every borrowing decision you make—use it before opening any position.
Knowledge Check
Question 1 of 4(Tests Basic Understanding):
- Aave V3 Documentation: Risk Parameters and Liquidations
- Compound III Documentation: Collateral and Risk Model
- MakerDAO Documentation: Vault Mechanics
- "Liquidations: DeFi on a Knife-edge" - Paradigm Research
- Gauntlet Risk Reports - Parameter recommendations and analysis
- DeFi Llama Liquidations Dashboard - Real-time liquidation tracking
- "Black Thursday for MakerDAO" - Post-mortem analysis
- "The State of DeFi Liquidations" - Academic research
- Rekt.news case studies - Liquidation-related incidents
For Next Lesson:
Lesson 3 examines how interest rates are actually determined in DeFi lending—why they fluctuate, what drives them, and how to interpret the rates you see across protocols.
End of Lesson 2
Total words: ~6,500
Estimated completion time: 60 minutes reading + 2-3 hours for deliverable exercise
Key Takeaways
Overcollateralization replaces trust with math
: No credit checks, no legal contracts—just collateral worth more than the loan. The protocol protects itself through automatic seizure rights.
Three metrics describe your position
: LTV (Debt/Collateral), Collateralization Ratio (Collateral/Debt), and Health Factor (risk-adjusted ratio). All tell the same story differently.
Liquidation parameters vary by asset quality
: More volatile assets require more collateral, have lower LTV limits, and carry higher liquidation penalties. This reflects real risk differences.
Liquidation cascades are systemic risk
: Individual liquidations can trigger selling that causes more liquidations. This dynamic has caused multi-billion-dollar events.
Capital efficiency is the core trade-off
: DeFi lending requires existing capital—you can't borrow your way to wealth, only reposition what you have. Ideal for tax efficiency and leverage; useless for those without assets. ---