Sub topic 8
Overcollateralization and the Collateral Ratio
This chapter assumes you know what a blockchain, a wallet, and a token transfer are. It also assumes you understand basic supply and demand. You should have read the earlier chapter on crypto-backed stablecoins, which introduced the idea of locking crypto in a smart contract to mint a stablecoin.
Why a crypto-backed stablecoin needs a cushion
A fiat-backed stablecoin holds dollars or short-term government debt. Those assets barely move in price. A crypto-backed stablecoin holds assets such as ETH, and ETH can lose 20% of its value in a day.
Suppose a protocol let you lock $100 of ETH and mint 100 stablecoins. If ETH then fell 10%, the collateral would be worth $90 and the protocol would owe 100 stablecoins against it. Each token would be backed by only 90 cents. The peg would be at risk, and holders would have reason to sell.
The fix is to require more collateral than the debt. This is overcollateralization. The extra value is a buffer that absorbs price drops before the stablecoin itself becomes under-backed.
Key terms
- Collateral is the asset a user locks in a smart contract to secure a loan. Here it is usually ETH or a similar token.
- Debt is the amount of stablecoin the user minted against the collateral. It is measured in US dollars because one stablecoin targets one dollar.
- Position (also called a vault) is one user's collateral and debt, tracked together by the contract.
- Collateral ratio is the collateral's dollar value divided by the debt's dollar value.
- Minimum collateral ratio is the lowest ratio the protocol allows before a position can be liquidated. Liquidation is covered in the next chapter.
The collateral ratio
The formula is:
collateral ratio = (collateral amount × collateral price) / debtA ratio of 3.0 is often written as 300%. It means the collateral is worth three times the debt.
The following Python code computes the ratio and the price at which a position reaches the minimum ratio.
def collateral_ratio(collateral_amount, collateral_price, debt_usd):
return collateral_amount * collateral_price / debt_usd
def liquidation_price(collateral_amount, debt_usd, min_ratio):
return debt_usd * min_ratio / collateral_amount
# 10 ETH locked, 10,000 stablecoins minted, minimum ratio 150%
print(collateral_ratio(10, 3000, 10_000)) # 3.0
print(liquidation_price(10, 10_000, 1.5)) # 1500.0The liquidation price comes from solving the ratio formula for price. The position hits the minimum when amount × price / debt = min_ratio, so price = debt × min_ratio / amount.
In the example, 10 ETH at $3,000 is worth $30,000 against $10,000 of debt, a ratio of 3.0. The position becomes eligible for liquidation when ETH falls to $1,500, a 50% drop.
A worked example step by step
Take a user named Ana who wants to borrow stablecoins without selling her ETH.
- Ana locks 10 ETH when ETH trades at $3,000. The collateral is worth $30,000.
- She mints 10,000 stablecoins. Her debt is $10,000.
- Her ratio is 30,000 / 10,000 = 3.0, or 300%.
- ETH falls to $2,000. Collateral is now $20,000, so the ratio is 2.0.
- ETH falls to $1,500. Collateral is $15,000, so the ratio is 1.5. This equals the minimum, so the position can be liquidated.
Ana has three ways to protect herself before step 5. She can add collateral, which raises the ratio. She can repay some debt by returning stablecoins to the contract, which also raises the ratio. Or she can do both.
The next table shows how the ratio moves as ETH changes, using the same position.
| ETH price | Collateral value | Debt | Ratio | Status |
|---|---|---|---|---|
| $3,000 | $30,000 | $10,000 | 3.00 | Safe |
| $2,400 | $24,000 | $10,000 | 2.40 | Safe |
| $2,000 | $20,000 | $10,000 | 2.00 | Safe |
| $1,600 | $16,000 | $10,000 | 1.60 | Close to limit |
| $1,500 | $15,000 | $10,000 | 1.50 | Liquidatable |
Two ratios: the minimum and the one you choose
Users often confuse two different numbers.
- The minimum ratio is set by the protocol. It is a rule enforced by the contract.
- The actual ratio is whatever the user picks when minting, as long as it is above the minimum.
A user who mints at exactly the minimum has no room for error. Any small price drop triggers liquidation. Careful users mint at a much higher ratio. Ana chose 300% against a 150% minimum, which means ETH can halve before she is at risk.
The trade-off is capital efficiency. At 300%, Ana locks $30,000 to access $10,000. At 150% she would lock $15,000 for the same $10,000. Lower ratios let you borrow more per dollar of collateral, and they carry more liquidation risk.
Why the minimum is set where it is
Protocols choose minimum ratios per collateral type. The choice depends on several factors.
- Volatility. A more volatile asset needs a higher minimum. A token that swings 30% in a day needs a bigger buffer than one that swings 5%.
- Liquidity. If the collateral is hard to sell in size, the protocol cannot convert it into dollars quickly. It needs a bigger buffer to cover the slippage, which is the price drop caused by the sale itself.
- Speed of liquidation. The buffer must cover the price movement that can happen between the moment a position becomes unsafe and the moment someone actually closes it. During a crash, blockchains can become congested, and this delay can be long.
- Oracle reliability. The contract needs a price feed, called an oracle, to compute ratios. Oracle prices lag or can be manipulated, and the buffer must cover that error too.
For these reasons, major assets like ETH may have minimums around 110% to 170%, depending on the protocol. Smaller or more volatile tokens often have much higher minimums, or are not accepted at all.
Common errors and edge cases
Treating the ratio as static
The ratio changes with every price move, even though the debt stays the same. A position that is safe on Monday can be unsafe on Tuesday without the owner doing anything. Positions need monitoring, or automated alerts.
Forgetting fees and interest
Many protocols charge a stability fee, which is interest on the debt. Debt grows over time, so the ratio drifts down even when the collateral price is flat. The debt in the formula should include accrued fees.
Mixing up ratio and loan-to-value
Loan-to-value (LTV) is the inverse of the collateral ratio: debt divided by collateral value. A 150% collateral ratio equals an LTV of about 66.7%. Documents from different protocols use one or the other, so check which you are reading.
def ltv(collateral_ratio):
return 1 / collateral_ratio
print(round(ltv(1.5), 3)) # 0.667
print(round(ltv(3.0), 3)) # 0.333Correlated collateral
Overcollateralization assumes that collateral prices and the stablecoin's safety are independent. If the collateral is closely tied to the protocol itself, they are not. A protocol that accepts its own governance token as collateral can see both fall together, and the buffer vanishes when it is needed most.
Gaps in price
The liquidation price assumes a smooth path. Prices can gap down faster than liquidators can act. In that case the position is closed at a ratio below the minimum, and the buffer may be used up completely. If the collateral is worth less than the debt, the protocol is left with bad debt, a loss that no one has repaid.
Overcollateralization does not guarantee the peg
A fully backed system can still trade below $1. Market confidence, redemption friction, and liquidity all affect the market price. The buffer protects the protocol's solvency, meaning its ability to cover its debts. It does not directly set the market price.
Pros and cons
| Aspect | Effect of overcollateralization |
|---|---|
| Solvency | Strong protection against ordinary price drops |
| Transparency | Collateral and ratios are visible on-chain |
| Capital efficiency | Poor: much more value is locked than is borrowed |
| User risk | Positions can be liquidated, and the user loses collateral |
| Scalability | Growth requires large amounts of locked crypto |
Compare this with the fiat-backed design, where each token has roughly one dollar of reserves behind it. Fiat-backed coins use capital efficiently, but they require trusting an issuer. Crypto-backed coins avoid that trust, but they lock up more capital and carry liquidation risk.
Checking your understanding
Exercise
A user locks 5 ETH worth $2,000 each and mints 4,000 stablecoins. The protocol's minimum collateral ratio is 130%. (a) What is the current collateral ratio? (b) At what ETH price does the position become eligible for liquidation?
Show answer
(a) Collateral value is 5 × 2,000 = $10,000. The ratio is 10,000 / 4,000 = 2.5, or 250%. (b) The liquidation price is debt × min_ratio / amount = 4,000 × 1.3 / 5 = $1,040. ETH would have to fall about 48% from $2,000.
Exercise
The user above wants to avoid liquidation while ETH sits at $1,200. They cannot add collateral. How many stablecoins must they repay to get back to a ratio of 2.0?
Show answer
At $1,200, collateral is 5 × 1,200 = $6,000. For a ratio of 2.0, debt must be 6,000 / 2.0 = $3,000. They currently owe $4,000, so they must repay 1,000 stablecoins.
Exercise
A protocol accepts its own governance token as collateral with a 150% minimum. Why is this riskier than accepting ETH at the same minimum?
Show answer
The governance token's price is likely to fall at the same time as confidence in the protocol falls. The collateral loses value exactly when the stablecoin is under stress, so the buffer shrinks when it is needed. Liquidations of this token also add selling pressure to a thin market, which pushes the price down further.