Sub topic 8
Overcollateralization and the Collateral Ratio
This chapter assumes you understand wallets, token transfers, blockchains, and basic supply and demand. It focuses on crypto-backed stablecoins, where users lock volatile crypto assets to create stable-value tokens.
Why overcollateralization is needed
A crypto-backed stablecoin uses cryptocurrency as collateral. Collateral is an asset locked to secure a loan or obligation. The system lets a user deposit, for example, ETH and mint stablecoins against it.
The collateral can change value quickly. If a user locks $10,000 of ETH and mints $10,000 of stablecoins, a small ETH price fall can leave the system without enough value to repay the stablecoins. Overcollateralization avoids this by requiring collateral worth more than the debt.
If the minimum collateral ratio is 150%, a user must lock at least $1.50 of collateral for every $1.00 of stablecoins minted.
Calculating the collateral ratio
The collateral ratio compares the current market value of locked collateral with the value of the stablecoin debt:
\[ \text{Collateral ratio} = \frac{\text{collateral amount} \times \text{collateral price}} {\text{debt value}} \]
A ratio of 1.0 is 100%. A ratio of 1.5 is 150%.
Suppose a user locks 10 ETH while ETH is worth $3,000. The collateral value is $30,000. If the user mints 10,000 stablecoins, the ratio is:
\[ 30{,}000 / 10{,}000 = 3.0 = 300\% \]
The position has a large safety buffer. The collateral could lose half its value before reaching a 150% 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.0Finding the liquidation price
A liquidation price is the collateral price at which the position reaches the protocol's minimum ratio. Liquidation is the forced sale or transfer of collateral to protect stablecoin holders and the wider system.
Rearranging the ratio formula gives:
\[ \text{Liquidation price} = \frac{\text{debt} \times \text{minimum ratio}} {\text{collateral units}} \]
For 10 ETH, $10,000 of debt, and a 150% minimum, the liquidation price is $1,500 per ETH. At that price, the collateral is worth $15,000, exactly 150% of the debt.
A protocol may begin liquidation before the position reaches the simple calculated price. It may include a liquidation penalty, auction costs, interest, or a safety margin. The exact rule is defined by the protocol.
How liquidation protects the system
A typical process works like this:
When the ratio falls too close to the minimum, a liquidator may repay some or all of the debt and receive collateral, often with a discount or reward. This reduces the outstanding stablecoin liability. If the collateral value falls extremely quickly, the system can become undercollateralized, meaning the collateral is worth less than the debt.
Common errors and trade-offs
Do not confuse a 150% collateral ratio with 150% excess collateral. A 150% ratio means $150 of collateral supports $100 of debt. The excess is $50, or 50% of the debt.
Also check which price the protocol uses. A stale, manipulated, or delayed oracle can trigger liquidation too late or too early. A collateral asset that is highly correlated with the stablecoin's risks can fail during the same market event. Higher minimum ratios improve safety but reduce capital efficiency because users must lock more assets to mint the same amount of stablecoins.
Exercise
A user locks 4 ETH at $2,000 each and mints $4,000 of stablecoins. What is the collateral ratio? If the minimum ratio is 150%, at what ETH price does liquidation begin, ignoring fees and penalties?
Show answer
The collateral is worth $8,000, so the ratio is 8,000 / 4,000 = 2.0, or 200%. The liquidation price is (4,000 × 1.5) / 4 = $1,500 per ETH.