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 83% β€” 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 (83% 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 83%. 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 83%.

Formula

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

Calculating with our example

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

= 4,939.20 / 94.12

β‰ˆ $52.5

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


How liquidation happens, step by step

1

SOL price drops

A sharp decline hits the market. SOL reaches $52. Your LTV crosses 83%.

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%
83%
100%
Collateral126 SOL Γ— $88 = $11,088
Debt4,704 USDC
Room until dangerβˆ’40%

At the moment of liquidation (SOL = $52)

83%Kritinis
Liquidation threshold β€” the protocol starts selling
45%
55%
65%
83%
100%
Collateral value126 SOL Γ— $52 = $6,552
Debt (weighted)$4,939
LTV83% β€” LIQUIDATION!

After liquidation

Why it's worth avoiding liquidation

This example shows why prevention pays off: your equity of $6,384 would shrink to ~$1,612. 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) β€” this is a DELIBERATELY early trigger, not the technical one: Kamino liquidates at 83%. You act sooner so you still have time.

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

Our strategy's protection measures

Options protection (insurance)

Deribit

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
βˆ’40% ($52.50)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%Safe
$80βˆ’9%$9,07254.4%Watch
$70βˆ’20%$7,93862.2%Warning
$65βˆ’26%$7,37167.0%Danger
$61βˆ’31%$6,91771.4%Emergency β€” but still not liquidation
$52βˆ’41%$5,89783.8%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.

Support

Free material is easy to put off

Something practice teaches: when you paid nothing to learn, it is easy to postpone learning indefinitely. If these lessons actually gave you something β€” saved you a mistake, or explained what nobody else did β€” you can pay whatever you think they were worth.

This is not a price, a subscription, or a fee for access. The amount is yours to choose, and paying nothing is entirely fine.

Solana address

CUj6wYQLSBxidzm7Lqtkxbw2d8Sv2H2tbJELyAjR756M

Solana network only

Send SOL or SPL tokens (e.g. USDC) only on the Solana network. Sending from an exchange over a different network loses the funds permanently β€” nobody can recover them.

What you get for it

Nothing extra, and that is deliberate. Every lesson, all three difficulty levels and every calculator stay free and sign-up-free, with or without a donation. There is no gated section, no share of profits, no future token and no claim on anything.

Where the money goes

A donation becomes my own money. I use it to keep the site running and to fund a public demonstration position on a lending protocol β€” real money, so the lessons have something to show instead of only theory. I publish the results, losses included, publicly and free for everyone. It is my position and my risk, not a pooled fund.

This is a gift for content already received, not an investment and not a payment for a service. Non-refundable. Educational content, not an investment recommendation.