Sub topic 9
What TVL Measures and What It Leaves Out
This chapter assumes you know basic blockchain terms, ERC-20 tokens, smart contracts, and simple SQL. You should also understand that a protocol can hold tokens for users without owning those tokens economically.
TVL is a value snapshot
Total value locked, or TVL, is the estimated market value of assets deposited in a protocol or ecosystem. A lending market, decentralized exchange, liquid staking service, or vault may report TVL.
A simplified calculation is:
TVL = token quantity × token price
For several assets, the calculation is repeated for each asset and then added:
| Asset | Quantity | Price | Value |
|---|---|---|---|
| ETH | 1,000 | $3,000 | $3,000,000 |
| USDC | 2,000,000 | $1 | $2,000,000 |
The example has a TVL of $5 million. The quantity comes from blockchain balances or protocol positions. The price usually comes from market data collected by the data provider.
TVL is therefore a valuation, not a direct measurement of usage, revenue, or profit. It can rise because users deposit more assets, because asset prices rise, or because both happen at the same time.
How DefiLlama assembles TVL
DefiLlama tracks protocols and maps their contracts, chains, tokens, and accounting rules. Its adapters determine which balances belong to a protocol and how those balances should be valued. The result is then displayed by protocol, chain, category, and time.
A simplified data path looks like this:
The exact result depends on methodology. One protocol may count assets held directly by its contracts. Another may count underlying assets represented by vault shares. Some integrations include staking positions or liabilities. Others exclude them.
Protocol TVL and chain TVL
Protocol TVL describes assets attributed to one application. Chain TVL aggregates protocols on a blockchain. These numbers should not automatically be added together across protocols because the same economic asset can appear in multiple layers.
For example, a user deposits ETH into a liquid staking protocol and receives a liquid staking token. The user then deposits that token into a lending market. The ETH may appear in the staking protocol's TVL and the lending market's TVL. Adding both figures can count the same underlying value twice.
What TVL leaves out
TVL does not tell you:
- How many unique users deposited assets.
- How often those assets are used.
- Whether the protocol earns fees.
- Whether deposits are profitable for users.
- Whether the assets can be withdrawn immediately.
- How much debt or leverage supports the reported positions.
- Whether the protocol is secure or economically sustainable.
- Whether the reported prices are liquid and reliable.
A protocol can have high TVL and little activity. A trading application can have low TVL but high volume because its liquidity turns over rapidly. Conversely, a lending protocol may show substantial TVL while most assets remain idle.
Price movements also create misleading comparisons. If ETH rises from $2,000 to $3,000 while the deposited quantity stays constant, the ETH-denominated balance is unchanged but USD TVL rises by 50%.
Reading changes in TVL
When TVL changes, separate the possible causes:
- Net deposits or withdrawals changed token quantities.
- Market prices changed the USD value.
- A protocol or chain was added, removed, or remapped.
- Accounting rules changed.
- An integration moved assets between protocol categories.
- An exploit, liquidation, or contract migration changed recognized balances.
For a careful analysis, compare TVL with token quantities, volume, fees, and event-level data. DefiLlama is useful for standardized comparisons. Dune is useful when you need to inspect the underlying transfers, positions, or contract events.
Exercise
ETH deposits remain at 1,000, but ETH's price rises from $2,000 to $2,500. Assuming no methodology change, what happens to the ETH portion of TVL?
Show answer
It rises from $2 million to $2.5 million, a 25% increase caused entirely by price.