Foundations · Exchanges, DEX & DeFi

TVL (Total Value Locked)

Total value locked (TVL) is the current market value of the assets deposited in a DeFi protocol's smart contracts. It moves with token prices as well as with deposits.

  • Intermediate
  • 5 min read
  • Updated

Why it matters

TVL is the headline number of DeFi. Dashboards rank protocols and whole blockchains by it, and news reports quote it as a measure of growth or decline.

It is a useful number with narrow meaning. It says how much is deposited at current prices. It does not say why the deposits are there, whether they are safe, or whether the protocol earns anything from them.

How it is calculated

TVL = sum of (amount of each deposited token x its current price)Calculated across all the smart contracts that belong to the protocol, usually expressed in U.S. dollars.

Total value locked counts the tokens sitting in a protocol’s contracts: the reserves in a liquidity pool, the deposits and collateral in a lending market, the coins in a staking contract. Each balance is multiplied by a market price and the results are added up.

The balances can be read directly from the blockchain by anyone. The prices come from market data, and the choice of which contracts and tokens to include is made by whoever publishes the figure.

TVL can fall with no withdrawal at all
Day 1: token A at 100150,000

1,000 A worth 100,000, plus 50,000 in stablecoins.

Day 30: token A at 70120,000

The same 1,000 A are now worth 70,000. Nothing was withdrawn.

TVL fell by 20% while the number of tokens deposited did not change. Hypothetical numbers.

Because price is half of the formula, TVL changes whenever token prices change. A protocol whose deposits are mostly volatile tokens will see its TVL rise in a rally and fall in a sell-off, even if nobody deposits or withdraws.

In plain words

Think of a warehouse that reports the total value of the goods stored in it. If the price of the goods halves overnight, the reported figure halves too, although not one crate has left the building.

How it is read

Observation What it shows What it does not show
TVL is high A lot of value is deposited at today’s prices That the protocol is safe, profitable or well run
TVL is rising Deposits grew, prices rose, or both Which of the two it was
TVL is falling Withdrawals, falling prices, or both That users are leaving
TVL is concentrated A few wallets hold most deposits How quickly they could leave

Separating the two causes takes a second measure: deposits counted in tokens instead of in dollars.

Going deeper

Double counting

One deposit, counted twice
  1. Deposit 100 of coin AInto a staking protocol. Its TVL rises by 100.
  2. Receipt token issuedThe depositor receives a token representing the deposit.
  3. Receipt token depositedAs collateral in a lending protocol. Its TVL rises by 100.
  4. Total reported200 across two protocols, from 100 of capital.
Adding up protocol figures can count the same capital more than once.

DeFi protocols stack on one another. A token deposited in one protocol often produces a receipt token, which is then deposited in a second protocol, and sometimes a third. Each protocol truthfully reports what it holds. Adding the figures together counts the same underlying capital several times. Some data sites publish totals with and without such layers, and the two can differ widely.

Different methods, different numbers

There is no single standard. Publishers disagree on questions such as:

  • whether borrowed tokens count as well as supplied ones;
  • whether a protocol’s own token, deposited in its own contracts, should count;
  • whether staked governance tokens belong in the total;
  • which price source is used for thinly traded tokens.

Two sites can therefore show different TVL for the same protocol on the same day.

Deposits that follow rewards

A protocol can attract deposits quickly by issuing reward tokens to depositors. TVL rises, and often falls again when the program ends. Such reward rates are variable, are not guaranteed, are often paid in a token whose price can fall, and come with the risks of the protocol paying them. A TVL figure built on them describes the incentive more than the demand.

TVL and market value

TVL is sometimes set beside a protocol token’s market capitalization. The two measure different things. TVL is other people’s assets held in the contracts. Market cap is the value of the protocol’s own token. Depositors can withdraw their assets, and token holders have no claim on them.

A hypothetical month of more deposits and lower TVLHypothetical illustration

Made-up numbers. On day 1 a protocol holds 1,000 of token A, priced at 100, and 50,000 of a stablecoin.

  • TVL: 1,000 x 100 + 50,000 = 150,000.

Over the next month depositors add another 100 A, and the price of A falls to 70.

  • TVL: 1,100 x 70 + 50,000 = 77,000 + 50,000 = 127,000.

Measured in dollars, TVL fell by 23,000, or about 15.3%. Measured in tokens, deposits of A grew by 10%. A headline reading “TVL drops 15%” and one reading “deposits rise 10%” would both be describing the same month.

What it does NOT mean

  • High TVL does not mean a protocol is safe. Large protocols have been exploited, and a large balance is also a large target.
  • TVL is not revenue. It is the size of deposits, not what the protocol or its users earn.
  • TVL is not locked in the everyday sense. Most deposits can be withdrawn at any time, and can leave within hours.
  • Rising TVL does not mean new money arrived. A price rise alone produces the same change.
  • TVL is not a valuation. It says nothing about what a protocol’s token is worth.

Common misunderstandings

  1. Reading a price move as user activity. A TVL chart should be checked against the prices of the main deposited tokens.
  2. Adding up protocols to size a market. Layered deposits make the sum larger than the capital behind it.
  3. Comparing figures from different sources. Methods differ, so only numbers from one publisher are comparable.
  4. Treating TVL as a quality score. Deposits attracted by temporary rewards look the same on the chart as lasting ones.

Risks and limits

  • TVL depends on price feeds, which can be unreliable for illiquid tokens.
  • A protocol’s own token can inflate its TVL when counted at a price that would not survive selling.
  • Concentration is hidden: one large depositor leaving can move the figure sharply.
  • The metric says nothing about smart contract risk, governance or the quality of collateral.

Key takeaway

TVL is the market value of assets deposited in a protocol at a given moment. It rises and falls with token prices as well as with deposits, can count the same capital more than once, and measures size, not safety.

Sources and further reading

  • Ethereum accounts (opens in a new tab), ethereum.org. A contract account is a smart contract deployed to the network that can receive, hold and send ETH and tokens
  • ERC-20 Token Standard (opens in a new tab), ethereum.org. Token contracts keep track of balances and total supply; a contract implementing the standard tracks the tokens it created
  • Mastering Ethereum, Andreas M. Antonopoulos and Gavin Wood (2018)