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

Modulis 3 · DeFi lending
2/6

Liquidation — a controlled number, not a surprise

Video · 3 min.
Liquidation mechanics

Edith does nothing, her debt stays the same, and her LTV climbs from 30% to 75% because the price falls. How liquidation works on Kamino and Aave, how to calculate the liquidation price in advance, why slices of liquidation repeat at the bottom, and a 4-level plan at LTV 40, 50, 58 and 62%.

Narrated, with light music
The full lesson with numbers and rules is below.
Watch on YouTube

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 75% — 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 (75% 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 a property of the COLLATERAL, not of the platform
The threshold is known — so it's manageable

The liquidation rule is fixed: LTV above 75%. 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–40%), 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 75%.

Formula

Liquidation price = (Debt × 1.05) / (SOL amount × 0.90 × 0.75)

Why 1.05 and 0.90? That is a course safety margin, not Kamino math

The protocol applies neither of those two factors: Kamino simply compares your debt against your collateral value and checks whether the 75% threshold has been crossed. In this course we inflate the debt by 5% and discount the collateral by 10% on purpose — that makes the formula return a slightly higher liquidation price than the real one, so it warns you earlier. It is a margin in your favor, not a protocol rule.

Calculating with our example

About the numbers in this lesson

The example uses SOL = $88. At the time of writing (2026-09) the market is around $102 — the figures are illustrative, and the mechanism does not depend on the price level. Plug in your own numbers and you get your own liquidation price.

Liquidation price = (4,704 × 1.05) / (126 × 0.90 × 0.75)

= 4,939.20 / 85.05

≈ $58.1

What this means: if the SOL price drops from $88 to $58.10 (that's −34%), your position gets liquidated.


How liquidation happens, step by step

  1. SOL price drops

    A sharp decline hits the market. SOL reaches $58. Your LTV crosses 75%.

  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 — below the threshold, but already worth watching
45%
55%
65%
75%
100%
Collateral126 SOL × $88 = $11,088
Debt4,704 USDC
Room until danger−34%

At the moment of liquidation (SOL = $58)

75%Kritinis
Liquidation threshold — the protocol starts selling
45%
55%
65%
75%
100%
Collateral value126 SOL × $58 = $7,308
Debt (weighted)$4,939
LTV75% — LIQUIDATION!

After liquidation — Kamino SOL liquidates in slices

Kamino does not sell the whole position in one go. A single liquidation covers up to 10% of the debt (the close factor), and the penalty is dynamic — from 0.1% up to 10% of the amount covered (in practice near the lower end; this example uses ~1%). The position stays open afterwards, and you can still rescue it.

Why it's worth avoiding liquidation

Notice where the money actually goes. Your equity (collateral − debt) was $6,384 at $88 and is $2,604 at $58. Almost all of that gap comes from the price drop, not from the liquidation itself: the Kamino soft-liquidation penalty in this example is only about $5. But the penalty is not the worst part — liquidation sells your SOL right at the bottom, so that slice no longer participates in any later recovery. And if the price keeps falling, liquidations repeat one after another. That is exactly why we keep LTV low and have a plan.

A real case, not theory

In June 2026 SOL fell from about $81 to about $62.50. During that wave Kamino processed 48,905 partial liquidations, with a median of 25% of a position's collateral and an average liquidation bonus of 0.074% of position size; the protocol took on no bad debt. Earlier, on 2026-02-05/06, SOL dropped 18% in two days and Kamino recorded 55,649 liquidations worth $19.4M. This is not a rare event — it is a market state that recurs every few months.


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
Network availabilityOutage — you cannot take ANY actionNetwork running normally
How many bots are watchingMany — liquidates fastFew — you may have time to react
Your LTV bufferSmall (50%+) — immediateLarge (30%) — you have time
The risk nobody talks about: network availability

On 2026-08-12 a routing (BGP) error at a single hosting provider knocked roughly 29% of staked SOL off the Solana network — close to the 33% line at which block finality is lost. For you that means a window in which you physically cannot top up collateral or repay debt.

Two practical conclusions:

  1. Size your buffer so you survive at least 30 minutes of being unable to act at all.
  2. Set a price alert, not only an LTV alert — a price alert still works when the network or the protocol's interface does not.

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 > 40% (Warning)

Level 2 — LTV > 50% (Danger)

Level 3 — LTV > 58% (Critical)

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

Level 4 — LTV > 62% (Emergency) — this is a DELIBERATELY early trigger, not the technical one: with SOL collateral Kamino liquidates at 75%. You act sooner so you still have time.

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

Note: these levels are recalculated from the real 75% threshold. The 45/55/65/68 ladder used earlier in this course was derived from an inflated 83% threshold and would leave you far too little time to react.


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
−34% ($58.10)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%Calm zone
$100+14%$11,34043.6%Level 1 — warning
$880%$9,97949.5%Level 1 — check daily
$80−9%$9,07254.4%Level 2 — danger
$70−20%$7,93862.2%Level 4 — emergency
$65−26%$7,37167.0%Repay the entire debt
$61−31%$6,91771.4%Liquidation is very close
$58−34%$6,57775.1%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.

Mark as read

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.