Interest Rate Mechanics - How Yields Are Set
Learning Objectives
Explain the utilization-based interest rate model including the mathematical formulas protocols use to calculate rates dynamically
Calculate supply and borrow rates given utilization and protocol parameters, understanding the relationship between them
Interpret rate movements as market signals identifying what high utilization, rate spikes, and inversions indicate about market conditions
Compare rate models across protocols and evaluate which approaches suit different investment strategies
Predict rate behavior under various market scenarios, enabling better timing of lending and borrowing decisions
- Central bank policy (Fed funds rate)
- Bank committee decisions (prime rate)
- Bond market trading (market rates)
- Individual negotiation (commercial loans)
This system involves countless humans making judgment calls, and rates typically change slowly—monthly at most for policy rates, quarterly for bank pricing.
DeFi eliminated all of this.
Instead, a mathematical formula determines the interest rate based on a single variable: utilization rate—what percentage of deposited funds are currently borrowed.
- Rates adjust automatically with every transaction
- No committees, no judgment calls, no delays
- Pure supply-and-demand price discovery
- Rates can change dramatically within hours or minutes
The elegance is real: Markets clear efficiently without human intervention.
The challenge is also real: Rates can spike 10x during volatile periods, and borrowers may find themselves paying rates they never anticipated.
This lesson teaches you to read rates like a market professional.
Every lending pool's rates derive from one metric:
UTILIZATION RATE FORMULA:
Utilization = Total Borrowed / Total Supplied
Example:
├── Total supplied: $100 million
├── Total borrowed: $65 million
├── Utilization: $65M / $100M = 65%
└── Meaning: 65% of deposits are actively lent out
WHY UTILIZATION MATTERS:
Low Utilization (e.g., 20%):
├── Lots of idle capital sitting unused
├── Lenders earning less (less demand for their capital)
├── Borrowers have cheap access (supply exceeds demand)
└── Pool wants to INCENTIVIZE borrowing (lower rates)
Optimal Utilization (e.g., 80%):
├── Most capital productively deployed
├── Good balance of supply and demand
├── Lenders earning fair return
├── Borrowers paying market rate
└── Pool wants to MAINTAIN this level
High Utilization (e.g., 95%):
├── Almost all capital borrowed
├── New borrowers can't borrow (no liquidity)
├── Lenders can't withdraw (locked funds)
├── Emergency: Pool wants to ATTRACT deposits, DISCOURAGE borrowing
└── Rates spike dramatically
UTILIZATION DYNAMICS:
What Increases Utilization:
├── New borrowing (numerator up)
├── Lenders withdrawing (denominator down)
├── Interest accrual on borrows (numerator up)
└── Market bullishness (leverage demand up)
What Decreases Utilization:
├── Loan repayments (numerator down)
├── New deposits (denominator up)
├── Liquidations (numerator down, debt eliminated)
└── Market fear (deleveraging)
```
Protocols use piecewise linear functions to set rates based on utilization:
BASIC INTEREST RATE MODEL:
BELOW OPTIMAL UTILIZATION (gentle slope):
Rate = Base Rate + (Utilization / Optimal) × Slope1
Example (0-80% utilization):
├── Base Rate: 2%
├── Optimal Utilization: 80%
├── Slope1: 4%
├── At 40% utilization: 2% + (40/80) × 4% = 2% + 2% = 4%
├── At 80% utilization: 2% + (80/80) × 4% = 2% + 4% = 6%
└── Linear increase, manageable rates
ABOVE OPTIMAL UTILIZATION (steep slope):
Rate = Base Rate + Slope1 + ((Utilization - Optimal) / (100% - Optimal)) × Slope2
Example (80-100% utilization):
├── At optimal (80%): 6% (from above)
├── Slope2: 100% (very steep)
├── At 90% utilization: 6% + ((90-80)/(100-80)) × 100% = 6% + 50% = 56%
├── At 95% utilization: 6% + ((95-80)/(100-80)) × 100% = 6% + 75% = 81%
├── At 100% utilization: 6% + 100% = 106%
└── Exponential-like increase above optimal
VISUALIZING THE CURVE:
Utilization | Borrow Rate | Zone
─────────────────────────────────────
0% | 2% | Low demand
20% | 3% | Normal
40% | 4% | Normal
60% | 5% | Normal
80% | 6% | Optimal
85% | 31% | Warning
90% | 56% | Crisis
95% | 81% | Emergency
100% | 106% | Unsustainable
The "kink" at optimal utilization is the key design feature.
```
The dramatic rate increase above optimal serves critical purposes:
RATE KINK RATIONALE:
1. LIQUIDITY PRESERVATION
1. EMERGENCY PRICE DISCOVERY
1. PREVENTING BANK RUNS
1. MARKET SIGNAL
HISTORICAL RATE SPIKES:
USDC on Aave during Demand Surges:
├── Normal: 3-5%
├── High demand: 20-40%
├── Extreme: 100%+
├── Duration: Hours to days
└── Returns to normal as market adjusts
Why This Happens:
├── Everyone wants to borrow stables simultaneously
├── To buy dips, leverage positions
├── Or to sell crypto for stable value
├── Existing lenders won't add more in uncertainty
└── Rates spike until behavior changes
---
Supply rates (what lenders earn) and borrow rates (what borrowers pay) are mathematically linked:
RATE RELATIONSHIP FORMULA:
Supply Rate = Borrow Rate × Utilization × (1 - Reserve Factor)
Example:
├── Borrow Rate: 10%
├── Utilization: 80%
├── Reserve Factor: 10%
├── Supply Rate = 10% × 0.80 × 0.90 = 7.2%
WHY SUPPLY RATE < BORROW RATE:
Utilization Effect
Reserve Factor
Mathematical Necessity
DETAILED BREAKDOWN:
Scenario: $100M pool at 80% utilization, 10% borrow rate
Interest Generated:
├── Amount borrowed: $80M
├── Borrow rate: 10%
├── Annual interest: $80M × 10% = $8M
Interest Distribution:
├── Total interest: $8M
├── Reserve factor (10%): $0.8M to protocol
├── Remaining for lenders: $7.2M
Lender Return:
├── Total supplied: $100M
├── Interest received: $7.2M
├── Supply rate: $7.2M / $100M = 7.2%
Verification:
├── Supply Rate = 10% × 0.80 × 0.90 = 7.2% ✓
└── Formula works
```
Tracking how both rates move together:
RATE TABLE (Example Protocol Parameters):
Util | Borrow Rate | Supply Rate | Spread
─────────────────────────────────────────────
20% | 3.0% | 0.54% | 2.46%
40% | 4.0% | 1.44% | 2.56%
60% | 5.0% | 2.70% | 2.30%
80% | 6.0% | 4.32% | 1.68%
85% | 31.0% | 23.72% | 7.28%
90% | 56.0% | 45.36% | 10.64%
95% | 81.0% | 69.26% | 11.74%
OBSERVATIONS:
Low Utilization:
├── Borrow rates are low (cheap to borrow)
├── Supply rates are very low (poor returns)
├── Spread is large relative to rates
└── Lenders are subsidizing borrower optionality
Optimal Utilization:
├── Borrow rates are moderate
├── Supply rates are reasonable
├── Both parties see fair value
└── Protocol at equilibrium
High Utilization:
├── Borrow rates spike dramatically
├── Supply rates also spike (but less than borrow)
├── Absolute spread increases
├── Emergency pricing to restore equilibrium
```
The reserve factor determines protocol income:
RESERVE FACTOR MECHANICS:
Definition:
├── Percentage of interest that goes to protocol
├── Typically: 5-20% depending on asset
├── Higher for riskier assets
└── Governance can adjust
Why Reserve Factors Exist:
Protocol Sustainability
Insurance Buffer
Token Value Accrual
RESERVE FACTOR BY ASSET TYPE (Typical):
Stablecoins (USDC, USDT):
├── Reserve Factor: 10%
├── Low risk, low margin
└── High volume compensates
Major Cryptos (ETH, BTC):
├── Reserve Factor: 15%
├── Moderate risk
└── Balanced approach
Altcoins:
├── Reserve Factor: 20%+
├── Higher risk, need more buffer
└── Compensates for potential bad debt
WHERE RESERVES GO:
Protocol Treasury:
├── Development funding
├── Security audits
├── Operational costs
└── Strategic initiatives
Token Buybacks/Burns:
├── Reduces supply
├── Increases scarcity
├── Benefits holders
Safety Module:
├── Insurance fund
├── Covers shortfall events
└── Paid out to stakers
---
Most DeFi lending uses variable rates:
VARIABLE RATE CHARACTERISTICS:
How They Work:
├── Rate calculated per block (every ~12 seconds)
├── Formula applied: Rate = f(Utilization)
├── Your rate changes constantly
├── Interest accrues at current rate
└── No commitment from protocol or borrower
Advantages:
├── Market-efficient pricing
├── Lower rates when demand low
├── No premium for rate guarantee
├── More liquidity for lenders
└── Simpler for protocol to manage
Disadvantages:
├── Unpredictable borrowing costs
├── Can spike 10x in stress
├── Hard to budget around
├── Requires active monitoring
└── May force unexpected repayment
VARIABLE RATE VOLATILITY:
Example: USDC on Aave over 30 days
Day 1: 4.5%
Day 5: 5.2%
Day 10: 3.8%
Day 15: 12.4% (market stress)
Day 16: 25.6% (utilization spike)
Day 17: 8.2% (stabilizing)
Day 20: 4.1% (back to normal)
Day 30: 4.8%
Average: 8.3%
Volatility: High (3.8% to 25.6%)
Planning difficulty: Significant
```
Some protocols offer "stable" rates (notably Aave):
STABLE RATE CHARACTERISTICS:
How They Work:
├── Lock in current rate at borrow time
├── Rate stays fixed unless extreme conditions
├── Premium over variable rate
├── Protocol may rebalance in extremes
└── Provides predictability
Stable Rate Premium:
Variable rate: 5%
Stable rate: 8%
Premium: 3% (for certainty)
You Pay More For:
├── Rate certainty
├── Protection from spikes
├── Budget predictability
├── Reduced monitoring need
└── Insurance against rate stress
STABLE RATE CAVEATS:
Not Truly Fixed:
├── Protocol can "rebalance" stable rates
├── If market rates far exceed your stable rate
├── Your rate may be adjusted upward
├── Protects protocol from arbitrage
Rebalancing Triggers (Aave example):
├── If your stable rate far below market
├── AND utilization is very high
├── Protocol may reset your rate
└── Partial protection, not absolute
Limited Availability:
├── Stable rates require protocol capital reserves
├── May not be available for all assets
├── May be disabled in high utilization
└── Check availability before planning
```
Strategic rate selection:
USE VARIABLE RATES WHEN:
Short-Term Borrowing:
├── Need loan for days or weeks
├── Rate volatility has less impact
├── Lower average cost likely
└── Can repay if rates spike
Active Monitoring Possible:
├── You check positions daily
├── Can respond to rate changes
├── Will repay if rates spike too high
└── Comfortable with uncertainty
Market View:
├── Expect utilization to stay low
├── No major market events expected
├── Rates likely to remain stable
└── Variable is cheaper on average
USE STABLE RATES WHEN:
Long-Term Borrowing:
├── Need loan for months or years
├── Rate certainty enables planning
├── Premium worthwhile for predictability
└── Budget requires fixed costs
Can't Monitor Actively:
├── Set and forget approach needed
├── Don't want to check daily
├── Other priorities
└── Willing to pay for convenience
Risk Aversion:
├── Can't afford sudden rate increases
├── Position can't survive cost spikes
├── Peace of mind valuable
└── Premium is insurance cost
HYBRID APPROACH:
Split Position:
├── 50% variable (cheaper on average)
├── 50% stable (protected portion)
├── Blended rate with partial protection
└── Reduces overall risk without full premium
---
Rates are information. Learn to read them:
HIGH UTILIZATION SIGNALS:
CAUSES OF HIGH UTILIZATION:
Market Bullishness
Market Panic
Yield Opportunities
Specific Asset Demand
HOW TO INTERPRET:
High USDC/USDT Utilization:
├── Demand for stable borrowing
├── People either leveraging up OR
├── Rotating from crypto to stable
├── Check: Is crypto pumping or dumping?
└── Pumping = leverage; Dumping = exit
High ETH Utilization:
├── Demand for ETH specifically
├── Often short positioning (borrow ETH to sell)
├── Or ETH yield opportunity elsewhere
├── Can indicate bearish positioning
└── Check: ETH price trend
High Altcoin Utilization:
├── Usually specific catalyst
├── New protocol, airdrop, event
├── Often manipulated/temporary
├── Higher risk of rate spikes
└── Proceed with caution
```
Sometimes rates behave unexpectedly:
RATE INVERSION:
Normal: Borrow rate > Supply rate
Inverted: Effective supply rate > Borrow rate
How Inversion Happens:
Token Incentives:
├── Protocol pays token rewards to suppliers
├── Token rewards + base yield > Borrow rate
├── Creates arbitrage opportunity
├── Borrow at 5%, earn 7% supplying elsewhere
└── Usually temporary, unsustainable
Example:
├── Supply APY: 3%
├── Token rewards: 5%
├── Total supply yield: 8%
├── Borrow APY: 6%
├── Arbitrage: Borrow at 6%, earn 8% = 2% free
└── Works until token rewards end or token dumps
INTERPRETING INVERSIONS:
Warning Signs:
├── Inversion = artificial incentive
├── Someone is subsidizing (usually unsustainably)
├── Token rewards can disappear instantly
├── "Free money" has hidden risks
└── Often ends badly
What To Do:
├── If participating, size appropriately
├── Don't assume persistence
├── Factor in token price risk
├── Have exit plan ready
└── Remember: No free lunch
RATE ANOMALIES:
Rates Stuck at Zero:
├── No borrowing demand
├── Possibly oracle/technical issue
├── May indicate protocol problems
└── Investigate before depositing
Extreme Rate Spikes (1000%+):
├── Likely temporary utilization spike
├── May be whale manipulation
├── Could be protocol bug
├── Wait for stabilization
└── Don't borrow into spikes
Rates Negative:
├── Shouldn't happen mechanically
├── If showing, likely UI bug
├── Or complex token mechanics
└── Verify before acting
```
While you can't predict rates precisely, you can anticipate trends:
RATE FORECASTING FRAMEWORK:
MACRO FACTORS:
Crypto Bull Market:
├── More leverage demand
├── More borrowing
├── Higher utilization
├── Higher rates likely
└── Plan for rate increases
Crypto Bear Market:
├── Deleveraging occurs
├── Less borrowing demand
├── Lower utilization
├── Lower rates likely
└── Good time to establish positions
Fed Policy:
├── Higher traditional rates
├── Capital flows to TradFi
├── Less DeFi liquidity
├── Upward rate pressure
└── Monitor macro environment
PROTOCOL-SPECIFIC FACTORS:
New Incentive Programs:
├── Will attract deposits
├── Increase supply
├── Lower utilization
├── Rates may drop
└── Watch governance proposals
Parameter Changes:
├── Governance can adjust curves
├── Higher base rate = higher floor
├── Changed optimal point = different dynamics
├── Review protocol updates
└── Follow governance
Market Events:
├── Major token launches
├── Protocol migrations
├── L2 deployments
├── Can cause utilization swings
└── Calendar awareness helps
PRACTICAL FORECASTING:
Check Before Borrowing:
├── Current utilization (how close to optimal?)
├── Historical utilization (stable or volatile?)
├── Upcoming events (known catalysts?)
├── Macro environment (bull/bear/neutral?)
└── Stress test: What if utilization hits 95%?
---
✅ Algorithmic rate models work - Billions of dollars have been borrowed and repaid with rates set purely by formula. Markets clear efficiently without human rate-setters.
✅ Utilization-based pricing is economically sound - When demand exceeds supply, rates rise. When supply exceeds demand, rates fall. This is textbook market dynamics.
✅ The kink model serves its purpose - Rate spikes have successfully restored liquidity in stress situations. The emergency pricing mechanism functions as designed.
⚠️ Optimal parameter settings - Different protocols use different base rates, optimal utilization targets, and slope parameters. No consensus on "best" configuration exists.
⚠️ Long-term rate behavior - DeFi lending hasn't existed through full economic cycles. How will rates behave during prolonged bear markets or TradFi rate normalization?
⚠️ Stable rate sustainability - Offering rate stability requires capital buffers. In extreme scenarios, even "stable" rates may be rebalanced, defeating their purpose.
🔴 Assuming rate stability - Variable rates can spike 10-20x in hours. Borrowers must plan for worst-case rates, not average rates.
🔴 Chasing high supply rates - Very high supply APY usually means very high utilization, which means potential withdrawal difficulties. High yield = high risk signal.
🔴 Ignoring rate forecasting - Entering positions without considering rate trajectory can lead to unexpected costs or liquidity problems.
DeFi interest rates are elegantly simple in design—one variable (utilization) determines rates for everyone. This efficiency comes with volatility that traditional banking doesn't have. Understanding the rate model isn't optional; it's essential for avoiding surprises. The protocol won't warn you when rates are about to spike—you have to understand the conditions that cause spikes and plan accordingly.
Assignment: Research and compare interest rate mechanics across multiple protocols, building a reference guide for rate-informed lending decisions.
Requirements:
Part 1: Protocol Rate Comparison (35%)
Aave (Ethereum mainnet)
Compound
One additional protocol of your choice
Current supply APY
Current borrow APY (variable)
Current utilization rate
Reserve factor
Optimal utilization target
Rate at 90% utilization (if available)
Part 2: Rate Calculation Verification (25%)
- Calculate the supply rate from borrow rate, utilization, and reserve factor
- Verify your calculation matches displayed rates
- Show your work with formulas
Part 3: Historical Analysis (20%)
- Chart USDC borrow rates over the past 30 days for one protocol
- Identify the highest and lowest rates
- Correlate rate spikes with any market events
- Calculate average rate and standard deviation
Part 4: Strategic Recommendations (20%)
Which protocol currently offers best supply rates for stablecoins?
Which has most stable rates historically?
What utilization level would you avoid borrowing above?
How would you monitor rates for an active position?
Data accuracy and sourcing (30%)
Mathematical correctness (25%)
Quality of analysis (25%)
Practical applicability (20%)
Time investment: 2-3 hours
Value: This analysis provides a real-time snapshot of the lending market and methodology for ongoing monitoring.
Knowledge Check
Question 1 of 4(Tests Basic Understanding):
- Aave Interest Rate Model: docs.aave.com/risk/liquidity-risk/borrow-interest-rate
- Compound Interest Rate Model: compound.finance/governance/comp/interest-rate-model
- MakerDAO Stability Fee Documentation
- DeFi Llama: defillama.com/rates (cross-protocol rate comparison)
- Aave Analytics: aave.com/analytics
- Historical rate archives on protocol dashboards
- "Interest Rate Models in DeFi: A Comparative Analysis" - Academic papers on rate dynamics
- Gauntlet risk reports - Rate parameter recommendations
For Next Lesson:
Lesson 4 examines what happens when positions become undercollateralized: the mechanics of liquidation, who liquidators are, and how to avoid joining the billions of dollars that have been liquidated in DeFi history.
End of Lesson 3
Total words: ~6,200
Estimated completion time: 55 minutes reading + 2-3 hours for deliverable exercise
Key Takeaways
Utilization drives everything
: One metric—total borrowed / total supplied—determines all interest rates. Understanding utilization is understanding rates.
The kink at optimal utilization is critical
: Below optimal, rates rise gently. Above optimal, rates spike dramatically. This emergency pricing protects liquidity but can catch borrowers off guard.
Supply rate derives from borrow rate
: Lenders earn a fraction of what borrowers pay, reduced by utilization and reserve factor. Supply APY is always less than borrow APY.
Variable vs. stable is a trade-off
: Variable saves money on average but risks spikes. Stable costs more but provides predictability. Choose based on your monitoring capacity and risk tolerance.
Rates are market signals
: High utilization, rate spikes, and inversions all carry information about market conditions. Reading rates helps you understand what other participants are doing. ---