Deciphr Academy
Track 4 · Module 20 · Lesson 2 of 7 · 7 min read

How do DeFi lending apps set interest rates?

Short answer

Rates follow utilisation, the share of a pool that is lent out.1,2 Aave and Compound use a rate curve with a bend, or "kink": the rate rises slowly at first, then sharply once the pool is nearly all lent out.3,1

The rate follows utilisationborrow rate0%80%: the kink100%utilisation = borrowed ÷ suppliedgentle: plenty left to lendsteep: money is scarce
Fig. 2. A kinked rate curve. Below the kink, the rate climbs gently. Above it, the rate shoots up to pull money back into the pool.

Utilisation

Compound's documentation gives the formula: utilisation = total borrowed ÷ total supplied.1 Aave describes the utilisation rate as the share of supplied money in a pool that is borrowed.2

So a pool with $10 million supplied and $6 million borrowed has a utilisation of $6 million ÷ $10 million = 60%.1

Why the rate follows utilisation

Aave's risk documentation explains the logic.4

  • When there is plenty of money in the pool, rates are low, to encourage borrowing.4
  • When money is scarce, rates are high, to encourage borrowers to repay and lenders to supply more.4

This matters because lenders can only take out what is not lent out. Aave says lenders can withdraw as long as there is enough unborrowed money in the pool.2 It says rising rates help make sure enough remains for withdrawals and liquidations.5

The kinked curve

Aave's V3 model has two slopes around an "optimal" utilisation point. Below that point, the borrow rate rises with the first slope. Above it, the rate rises faster, with the second slope.3 Compound calls the bend a "kink": above it, the rate increases more rapidly.1

Aave's risk documentation writes the model like this.4

  • Up to the optimal point: rate = base rate + (utilisation ÷ optimal utilisation) × slope 1.4
  • Above it: rate = base rate + slope 1 + ((utilisation − optimal) ÷ (100% − optimal)) × slope 2.4

Each pool has its own numbers, set through governance.5,1 Aave's risk documentation says that when a pool is fully lent out, its rates rise sharply, to above 50% a year.4

Variable rates

Most DeFi loans have a variable rate. Aave's risk documentation says the rate on variable debt keeps changing with utilisation.4 So the rate you see when you borrow is not a promise.2

Interest is added all the time. Compound says interest accrues every second.1 On Aave, a borrower's debt is tracked by tokens that grow as interest builds up.3

Compound turns its per-second rate into a yearly rate, the APR, by multiplying by the number of seconds in a year.1 Aave's glossary explains the difference between APR and APY: APY includes compounding, and APR does not.6 Module 21 covers APR, APY and yield in more detail.

What lenders earn

Lenders are paid from borrowers' interest, minus the reserve factor that goes to the protocol.3,6 So lenders earn a lower rate than borrowers pay. Only part of the pool is lent out, and part of the interest is kept back.3,1

Some designs treat collateral separately. In Compound III, collateral earns no interest at all; only the main asset that is lent and borrowed does.1

How we work out rates and interest

Utilisation = borrowed ÷ supplied.1

Borrow rate follows the two formulas above.4

What lenders get (our simplified sum): borrowed × borrow rate, minus the reserve factor, shared across everything supplied.3,6

Interest over a few days = debt × yearly rate × days ÷ 365. This is simple interest: it leaves out compounding, as an APR does.6 Real apps add interest every second, so the real figure is a little higher.1 The quizzes use these methods.

Our viewA variable rate is not a quote. It is whatever the pool's curve says right now, and other people's borrowing can push it up overnight.
Sources
  1. Interest Rates (Compound III docs). Compound III documentation, page read 24 October 2026.
  2. Liquidity Pool (Aave V3 concepts). Aave Protocol Documentation, page read 24 October 2026.
  3. Aave V3 Overview. Aave Protocol Documentation, page read 24 October 2026.
  4. Borrow Interest Rate (Aave risk documentation). Aave, aave/risk-v3 repository on GitHub, last edited 9 October 2023; read 24 October 2026.
  5. Reserve (Aave V3 concepts). Aave Protocol Documentation, page read 24 October 2026.
  6. Glossary. Aave Protocol Documentation, page read 24 October 2026.

General education built from the publicly available sources listed above. Not financial, legal, tax or investment advice. Naming a company, project or regulator is not an endorsement either way. Last checked 2026-10-24. Terms and disclaimer.