Intermediate DeFi · 🕑 9 min read

Collateral Ratios and Over-Collateralization: The Math Behind DeFi Lending

Learn why DeFi lending protocols require you to deposit more collateral than you borrow, how collateral ratios work, and how to calculate safe positions that won't get liquidated.

Introduction

If you've explored DeFi lending protocols like Aave, Compound, or MakerDAO, you've probably noticed something counterintuitive: to borrow $100, you might need to deposit $150 in collateral first. This feels inefficient compared to traditional banking, where you might borrow against 80% of your home's value.

But this "over-collateralization" isn't a bug—it's the core security mechanism that keeps decentralized lending protocols solvent. Without it, a single market crash could bankrupt the entire protocol.

In this lesson, you'll learn exactly why over-collateralization exists, how collateral ratios actually work, and how to calculate safe borrowing positions that maximize your returns without risking liquidation.

The Core Problem: Why DeFi Can't Trust Borrowers

Traditional lending relies on trust, legal contracts, and collateral enforcement. If you default on a mortgage, banks can seize your house. They have lawyers, court systems, and recourse.

Decentralized finance has none of that. There's no court to enforce a loan. There's no legal identity to sue. If you borrow funds and the collateral value drops, you can simply walk away—the protocol has no way to force you to repay.

This creates a fundamental risk: if a borrower's collateral drops in value, they have zero incentive to repay the loan, because doing so would be throwing money away.

The Protocol's Dilemma: How do you lend money to strangers on the internet when the borrowers can default with zero consequences?

The answer is over-collateralization. By requiring borrowers to deposit more collateral than the loan amount, protocols create a buffer. Even if collateral prices drop significantly, there's still enough value to cover the debt.

Understanding Collateral Ratios and LTV

Loan-to-Value (LTV) is the key metric that defines how much you can borrow relative to your collateral.

LTV = (Loan Amount / Collateral Value) × 100

For example:

  • You deposit $1,000 in ETH as collateral
  • The protocol allows a 75% LTV
  • You can borrow up to $750 in stablecoins

The inverse relationship is the collateral ratio:

Collateral Ratio = (Collateral Value / Loan Amount) × 100

Using the same example:

  • $1,000 collateral / $750 loan = 133% collateral ratio

A 133% collateral ratio means you need $1.33 in collateral for every $1 borrowed. Different protocols set different LTVs based on asset volatility and risk:

  • Stablecoins: 90% LTV (only 10% over-collateralized) — low volatility means less risk
  • Blue-chip assets (ETH, BTC): 70-75% LTV — moderate volatility
  • Altcoins: 50% LTV or lower — high volatility means higher risk
  • Newly launched tokens: May not be accepted as collateral at all

The more volatile an asset, the lower the LTV, because the protocol needs a bigger safety buffer.

The Liquidation Threshold: Your Personal Risk Line

Protocols set two different ratios: the LTV (loan origination threshold) and the liquidation threshold.

Let's say you deposit $1,000 in ETH with a 75% LTV. You borrow $750. But the protocol also sets a 80% liquidation threshold—meaning if your LTV rises to 80%, your position gets liquidated.

Here's how this works in practice:

Starting Position:

  • Collateral: $1,000 ETH
  • Loan: $750 stablecoins
  • Current LTV: 75%
  • Liquidation threshold: 80%

Now ETH price drops 10%:

  • Collateral: $900 ETH
  • Loan: $750 stablecoins (unchanged)
  • Current LTV: $750 / $900 = 83.3%
  • Status: LIQUIDATED

Your collateral gets automatically seized and sold off to repay the loan. You keep the difference (if any), but you've lost the upside on your ETH, and you pay a liquidation penalty (typically 5-15%).

The reason there are two thresholds is to create an incentive layer:

  • At 75% LTV, you can initiate new borrows
  • Between 75-80%, you're in the danger zone but can still act
  • At 80%, the protocol liquidates you automatically

This buffer between origination and liquidation threshold is your margin for error.

Calculating Safe Borrow Amounts

Let's work through a realistic example. You want to build a leveraged yield farming position:

Your Scenario:

  • You have $10,000 USDC
  • You want to deposit it in Aave and borrow ETH to farm on Uniswap
  • ETH is highly volatile, so the liquidation threshold is 80%
  • You want to keep a 20% safety margin below liquidation

Step 1: Find the maximum LTV

Aave allows a 75% LTV on USDC. This means you can borrow up to:

$10,000 × 75% = $7,500 maximum borrow

Step 2: Apply your safety margin

The liquidation threshold is 80%. But a prudent trader adds extra cushion. Let's target a 65% LTV instead of the max 75%:

$10,000 × 65% = $6,500 safe borrow amount

Step 3: Verify the math under price stress

If ETH price drops 15% after you've borrowed and farmed, can you still avoid liquidation?

  • Your collateral stays at $10,000 (it's USDC, not volatile)
  • Your loan is $6,500
  • LTV = $6,500 / $10,000 = 65%
  • Status: Safe (well below 80% threshold)

Now, if your farming position drops 15% in value, that affects your net position but not your collateral directly. Your USDC collateral remains $10,000, so you're still safe from liquidation.

Pro Tip: When calculating safety, separate collateral risk from yield farming risk. Your collateral ratio protects you from liquidation. Your yield farming returns depend on farming strategy—a different calculation entirely.

What if you had borrowed the maximum $7,500?

  • LTV = $7,500 / $10,000 = 75% (at max threshold)
  • A 5% price correction puts you at 75% + 5% = 80% (liquidated immediately)
  • You have zero margin for error

This is why aggressive borrowers get liquidated—they're borrowing at maximum capacity with no buffer for market moves.

Real-World Variables: Risk Factors You Can't Ignore

1. Collateral Asset Volatility

If you use an altcoin as collateral, its price could drop 20% in a day. Protocols account for this by setting lower LTVs. A $10,000 position in a highly volatile token might only let you borrow $3,000-5,000.

2. Multi-Collateral Risk

Most DeFi users deposit multiple collateral types (ETH, stablecoins, etc.). Each has a different LTV and liquidation threshold. Your overall LTV is a weighted average. If your most volatile collateral crashes, your entire position's LTV jumps.

3. Oracle Manipulation Risk

Protocols rely on price oracles to value your collateral. If an oracle is manipulated or delays a price update, liquidations might not trigger until it's too late. Flash loan attacks have exploited this.

4. Liquidation Cascades

During extreme market moves (like March 2020 or May 2022), thousands of positions liquidate simultaneously. This floods the market with selling pressure, driving prices down further, which triggers more liquidations. Your safe 70% LTV position might become unsafe in hours.

5. Liquidation Penalties and Slippage

When you're liquidated, the protocol sells your collateral at market prices. During volatile markets, slippage can be severe. A 5% liquidation penalty stated in the docs might become 15% in practice during a crash.

Strategies for Sustainable Borrowing

Conservative Approach (Low Risk):

  • Target 50% of maximum LTV
  • Use stablecoins as collateral when possible
  • Borrow stablecoins to earn yield, not volatile assets
  • Rebalance monthly
  • Expected outcome: Safe, sustainable, low returns (~5-15% APY)

Moderate Approach (Medium Risk):

  • Target 65-70% of maximum LTV
  • Use blue-chip assets (ETH, BTC) as collateral
  • Keep 20% buffer below liquidation threshold
  • Monitor positions weekly
  • Expected outcome: Decent returns (~20-40% APY) with manageable risk

Aggressive Approach (High Risk):

  • Borrow near maximum LTV (80%+)
  • Use correlated assets (e.g., stETH as collateral, borrow ETH)
  • Leverage multiple times (deposit → borrow → deposit → borrow)
  • Expected outcome: High returns but extreme liquidation risk; one 10% market move ends your position

Most retail users should operate in the conservative to moderate range. Aggressive strategies require professional risk management and are often used only by sophisticated traders with hedge positions.

Key Takeaways

  • Over-collateralization is mandatory in DeFi because there's no legal recourse for defaults. Protocols protect themselves by requiring more collateral than the loan amount.
  • LTV (Loan-to-Value) determines how much you can borrow. Lower LTV for volatile assets, higher for stable assets. The maximum LTV is not the safe LTV.
  • Your liquidation threshold is where you get automatically liquidated. Stay well below it—aim for 50-70% of max LTV to keep a safety buffer.
  • Calculate safe borrow amounts by stress-testing your position. Ask: "If this asset drops 15%, am I still safe?" Work backward from there.
  • Liquidation cascades during crashes make even safe positions risky. Add extra margin during high-volatility periods or when you're using correlated collateral and borrowed assets.
  • Monitor your position regularly. Collateral ratios change as prices move. Weekly reviews catch problems before liquidation.

Over-collateralization feels inefficient, but it's the elegant solution to the trust problem in decentralized lending. Understanding these mechanics transforms you from a blind borrower hoping not to get liquidated into a confident trader who knows exactly how much risk you're taking.

← Back to all lessons
Scroll to Top