Educational content, not investment advice. Crypto-asset values fluctuate.

Modulis 3 Β· DeFi lending
2/6

Liquidation β€” a controlled number, not a surprise

Imagine you have a house and a loan. If you stop paying β€” the bank can take your house. DeFi works the same way, just much faster.

Liquidation is the moment a smart contract automatically sells your collateral (SOL or ETH) because your debt has become too large compared to it. The key thing you'll take from this lesson: it happens at one specific price, which you know in advance.

A simple analogy

Imagine you gave a friend your bike as collateral for a 50 EUR loan. If the bike's value dropped to 55 EUR β€” your friend would sell the bike to get their money back. Without asking you. That's liquidation.


When does liquidation happen?

When your LTV (loan-to-value ratio; debt/collateral) exceeds 71% β€” the smart contract (self-executing program code) sells your assets.

The smart contract runs on code β€” not mood, not negotiation. That works in your favor: the rules are known in advance and identical for everyone. You know the exact threshold (71% LTV) and the exact price at which it will be reached β€” so you can always choose to stand a safe distance from it.

The threshold is known β€” so it's manageable

The liquidation rule is fixed: LTV above 71%. Because you know the threshold in advance, you also know how much room you have before it. In practice you keep LTV well below that (30–45%), so a wide buffer stays between you and the limit β€” plenty of room to react.


The liquidation price formula

Liquidation price is the SOL price at which your LTV reaches 71%.

Formula

Liquidation price = (Debt Γ— 1.05) / (SOL amount Γ— 0.90 Γ— 0.71)

Calculating with our example

Liquidation price = (4,704 Γ— 1.05) / (126 Γ— 0.90 Γ— 0.71)

= 4,939.20 / 80.51

β‰ˆ $61.3

What this means: if the SOL price drops from $88 to $61.30 (that's βˆ’30%), your position gets liquidated.


How liquidation happens, step by step

1

SOL price drops

A sharp decline hits the market. SOL reaches $61. Your LTV crosses 71%.

2

Bots spot the opportunity

Specialized programs (bots) constantly scan the blockchain looking for positions with an LTV that's too high. They earn a reward for executing the liquidation.

3

The smart contract sells your SOL

A bot submits the command. The smart contract sells part or all of your SOL to cover the debt. The sale happens at the market price.

4

A penalty is added

On top of covering the debt, a liquidation penalty is deducted from the assets being sold. Its size depends on the platform and the asset. It's an extra loss for you.

Aave [ETH]: ~5% (E-Mode ~1%). Kamino [SOL] liquidates in increments (soft liquidation) with a much lower penalty β€” from ~1% down to 0.1%. Check your platform's penalty BEFORE you borrow.

5

What's left is returned

If anything remains after all that β€” it's returned to you. But often what's left is very small.


How much can you lose? A worked example

Before liquidation

42%Saugu
Starting LTV β€” safe zone
45%
55%
65%
71%
100%
Collateral126 SOL Γ— $88 = $11,088
Debt4,704 USDC
Room until dangerβˆ’30%

At the moment of liquidation (SOL = $61)

71%Kritinis
Liquidation threshold β€” the protocol starts selling
45%
55%
65%
71%
100%
Collateral value126 SOL Γ— $61 = $7,686
Debt (weighted)$4,939
LTV71% β€” LIQUIDATION!

After liquidation

Why it's worth avoiding liquidation

This example shows why prevention pays off: your equity of $6,384 would shrink to ~$2,745. Most of that gap is driven by the price drop itself β€” liquidation adds a ~$235 penalty on top and closes the position right at the bottom, so you no longer participate in the later recovery. That's exactly why we keep LTV low and have a plan. Knowing the liquidation price, you manage your buffer on purpose.


What determines how fast liquidation happens?

What's happeningFast/painfulSlow/gentler
Speed of the price dropSudden crash within minutesSlow decline over a week
Network loadCongested (fees spike temporarily)Normal
How many bots are watchingMany β€” liquidates fastFew β€” you may have time to react
Your LTV bufferSmall (55%+) β€” immediateLarge (30%) β€” you have time

SOL On Solana, liquidations happen within seconds (blocks every ~0.4s).

ETH On Ethereum, it can take a few minutes β€” and during a crisis, network fees spike temporarily because everyone is acting at once.


How to avoid liquidation β€” a 4-level plan

Have a plan IN ADVANCE

Never wait until things get bad. Have a plan ready for every situation:

Level 1 β€” LTV > 45% (Warning)

Level 2 β€” LTV > 55% (Danger)

Level 3 β€” LTV > 65% (Critical)

  • Urgently repay debt from every available source
  • Close other positions and use the funds for debt repayment

Level 4 β€” LTV > 68% (Emergency)

  • Repay the ENTIRE debt. This is no longer optimization β€” it's damage control.

Our strategy's protection measures

Options protection (insurance)

Deribit
PositionWhat it does
Long Put $90 (200 SOL)Insurance β€” its value rises as SOL falls
Short Put $65 (100 SOL)Helps pay for the insurance
Short Call $160 (50 SOL)Generates extra income

The LP position as a helper

Orca

Action plan by scenario

SOL price changeWhat to do
βˆ’20% ($70)Sell the options, close the LP, start over
βˆ’30% ($61.60)DANGER β€” you should have already acted before this point
+15–20%Roll the insurance upward
+100% ($176)SOL gets sold through the option β€” a good outcome!

LTV table β€” how it shifts with the price

SOL priceChangeCollateral value weighted (Γ—0.90)LTV (weighted)Status
$120+36%$13,60836.3%Safe
$100+14%$11,34043.6%Watch
$880%$9,97949.5%Watch
$80βˆ’9%$9,07254.4%Danger
$70βˆ’20%$7,93862.2%Critical
$65βˆ’26%$7,37167.0%Emergency
$61βˆ’31%$6,91771.4%LIQUIDATION

Glossary

TermWhat it means in plain terms
LiquidationThe system automatically sells your assets because the debt is too large
Liquidation priceThe SOL price at which liquidation begins
Liquidation penaltyAn extra fee (depends on the platform: ~0.1–10%) you lose during liquidation
LiquidatorThe bot that executes liquidations and earns a reward
Crisis planA pre-prepared action plan for every LTV zone
BufferHow much "cushion" you have left before liquidation

Summary

Quick check
At what LTV level does the smart contract automatically sell your collateral?
Practice task
0 / 5
Find your own liquidation price

The liquidation price is the single most important number you need to know BEFORE you borrow. This task takes about 10 minutes, and you'll learn to calculate it yourself.

This whole task is just calculations on paper or in a calculator. No real borrowing, no wallet connection.

This is learning, not investing β€” use only small amounts you treat as tuition.

You just calculated your own liquidation price and a 4-level plan β€” that's how people who use DeFi for years, not days, operate.