What TVL measures, and what it leaves out

How DefiLlama's documentation defines total value locked, what it excludes by default, and what to note before you compare two TVL figures.

Published · Last verified · Tools

Total value locked is the number most often quoted about a DeFi protocol, and one of the easiest to misread. The label is short. The rules behind it are long, and they differ between data providers. This guide walks through how one provider, DefiLlama, defines the metric in its own documentation, so you know what a TVL figure contains before you repeat it. We quote no live values here.

The basic definition

DefiLlama’s TVL inclusion page defines TVL as the value users have locked inside a protocol’s own contracts. Its data definitions page adds that a chain’s TVL is the sum of the TVL of the protocols on it.

Two details follow from that definition. First, the assets have to be in the protocol’s contracts. The methodology page says funds held in smart contract wallets, such as a Safe, are not counted. Second, TVL is a value, so it depends on prices. The methodology page says most tokens are priced with CoinGecko’s API, with onchain methods used when that is not possible. A TVL figure can move because prices moved, with no deposits or withdrawals at all.

Borrowed assets

In a lending protocol, a deposit can be lent out, redeposited and lent again. If every step counted, the same dollar would be counted several times. The data definitions page says borrowed value is kept out of TVL for this reason, to prevent inflation from cycled lending, and offers it as an optional “Borrowed” toggle instead. The TVL inclusion page describes the same category as deposits that have been borrowed out from the platform.

This matters when you compare a lending protocol such as Aave with an exchange. With the toggle off, the lending protocol’s TVL shows what is deposited, not what is lent.

Double counting

The documentation treats double counting at two levels. Within one protocol, the methodology page says a deposit that produces a receipt token, which is then used elsewhere in the same protocol, is counted once.

Across protocols, the TVL inclusion page says assets a protocol issues that are then locked in another protocol count toward the later one, not the original. The data definitions page adds that receipt or LP tokens deposited into a second protocol are flagged, that users can switch this on with a “double counting” toggle, and that double-counted amounts are excluded from chain and category totals.

Staking and Pool2

“Staking” means two different things in DefiLlama’s documentation, and the difference is easy to miss.

Native staking, where a chain’s own token is staked to secure the network, is not counted at all. The methodology page gives Cosmos Hub staking as an example. The FAQ says this rule applies to every chain, so that DeFi activity stays visible in the totals.

Staking TVL, as a separate category, is a protocol’s own governance token staked in its own contracts. The FAQ gives CRV locked as veCRV and AAVE staked as stkAAVE as examples. It is excluded from core TVL by default. The FAQ’s reasons include that a protocol without a token should not be penalised, and that a protocol can mint more of its own token.

Pool2 is a related category: staked LP tokens where one side is the protocol’s own governance token. It is also excluded from core TVL and offered as a toggle.

Liquid staking

Liquid staking protocols such as Lido are tracked, and their deposits appear as their TVL. The methodology page says they are not counted toward chain TVL by default. A chain total and the sum of the protocols on it may therefore not match.

Other exclusions

The documentation lists several more categories:

  • Vesting and non-circulating tokens. Tokens a team locks in a vesting contract do not count.
  • Offers. Funds approved for spending on a non-custodial platform but not deposited are tracked separately.
  • Off-chain assets. Bonds or fiat held at a bank are excluded. Only tokenised real-world assets issued and traded onchain count.
  • Bridges. Bridge TVL is tracked for the bridge itself but does not add to any chain.
  • Unproductive positions. The TVL inclusion page says DefiLlama removes positions it considers artificial, such as pools with only a few providers and no activity, or wrapped assets without verifiable backing.

What to note when you quote a TVL figure

A TVL number is only comparable to another one computed under the same rules. Before you repeat one, write down:

  • the provider and the page you read it on
  • which toggles were on, such as Staking, Pool2, Borrowed or double counting
  • the date the figure refers to and the date you read it

The same protocol can show a different number on a different site, or on the same site with a toggle switched, and neither number is wrong. The definitions are different. Our checklist for verifying a DeFi figure covers the general process, and the DefiLlama listing summarises how the dashboard computes its numbers.

Questions

Does TVL include borrowed assets?
Not in DefiLlama's core TVL. Its data definitions page lists Borrowed as an optional toggle and says it is kept out of TVL to prevent inflation from cycled lending.
Is staked ETH counted in a chain's TVL?
Not by default. DefiLlama does not count native token staking, and its methodology page says liquid staking protocols are tracked but not counted toward chain TVL by default.
Why do two sites show different TVL for the same protocol?
Usually because they count different things. Check each source's definition, its toggles and the date before comparing.

Sources

  1. DefiLlama and our methodology, DefiLlama Docsaccessed
  2. What to include as TVL?, DefiLlama Docsaccessed
  3. Data definitions, DefiLlama Docsaccessed
  4. Frequently asked questions, DefiLlama Docsaccessed